docs(comfyui): bind director SelfLift fixed reference batch141

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-11-01 10:32:18 +08:00
co-authored by multica-agent
parent b626757bbf
commit 4d8b87f040
118 changed files with 193544 additions and 1 deletions
@@ -15,6 +15,11 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
DEFINITIONS = {
(
"example_ComfyUI_workflows/4-视频生成/Minimax-"
"h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大"
".json"
): "3e1db9af8f0ee85e0d48a05dd7bf7a837f318fd725d0971cc71eb439ee34115f",
(
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json"
): "5d9000e1cb2b23236cb9f12bfdefa0035ce5ae4fe41db1e8d9d9327e4d1ba0c5",
File diff suppressed because one or more lines are too long
@@ -0,0 +1,208 @@
"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/director-selflift-document-evidence")
PATH = (
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/"
+ "MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.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 (
canonical(pointer(SOURCE, f["named_pointer"]))
== canonical(f["named_value"])
== canonical(f["value"])
)
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"]
if raw:
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
else:
assert e["lines"] == [0, 0] and "零字节" in e["claim"]
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
@pytest.mark.parametrize("variant", ["source", "text", "named"])
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:
selected_pointer = f["named_pointer"] if variant == "named" else f["pointer"]
p, _, key = selected_pointer.rpartition("/")
parent = pointer(s, p)
parent[int(key) if isinstance(parent, list) else key] = "forged"
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
assert not doc(s, r)["fixed_version"]["matched"]
@pytest.mark.parametrize("key", ["extra", "links", "id", "groups", "version", "definitions"])
def test_whole_graph_mutations_fail_closed(key):
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
source[key] = {"subgraphs": []} if key == "definitions" else "forged"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
@pytest.mark.parametrize("key", ["mode", "properties", "inputs", "outputs"])
@pytest.mark.parametrize("index", [0, 1, 4])
def test_node_identity_and_state_fail_closed(key, index):
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
source["nodes"][index][key] = "forged"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
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
review = copy.deepcopy(REVIEW)
review["source_sha"] = "forged"
assert not doc(SOURCE, review)["fixed_version"]["matched"]
@pytest.mark.parametrize("suffix", [b"\n", b" ", b"\t"])
def test_original_byte_identity_rejects_equivalent_json(suffix):
altered = RAW + suffix
assert json.loads(altered) == SOURCE
assert review_for(PATH, hashlib.sha1(altered).hexdigest()) is None
@pytest.mark.parametrize("key", ["user_overview", "source_sha256", "sources", "flow", "counts"])
def test_editorial_or_citation_rehash_cannot_replace_code_owned_pin(key):
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
review["fixed_version_document"][key] = "forged"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
@pytest.mark.parametrize("key", ["properties", "inputs", "outputs", "mode"])
@pytest.mark.parametrize("nid", [n["id"] for n in SOURCE["nodes"]])
def test_control_identity_and_state_forgery_fail_closed(nid, key):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
next(n for n in s["nodes"] if n["id"] == nid)[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 PATH in DEFINITIONS and len(DEFINITIONS) >= 122 and doc()["fixed_version"]["matched"]
assert BLOCK["counts"]["saved_fields"] == 114 and len(BLOCK["comments"]) == 0
assert len(BLOCK["boundaries"]) == 1 and len(BLOCK["zero_saved_nodes"]) == 8
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_raw_source_version_mismatch_is_fail_closed():
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
source["nodes"][1]["properties"]["ver"] = "other-plugin-version"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
def test_old_reviews_and_qualification_are_unchanged():
import subprocess
name = "calliope-backend/src/calliope/comfyui/source_reviews.json"
previous = json.loads(
subprocess.check_output(
["git", "show", "b626757bbf3f4f2f4a8d893e96832e7f54fe4f17:" + name], cwd=REPO
)
)
current = json.loads((REPO / name).read_bytes())
for path, review in previous.items():
if path != PATH:
assert current[path] == review
else:
current_without = dict(current[path])
current_without.pop("fixed_version_document")
assert current_without == review
old = [r["fixed_version_document"] for r in previous.values() if "fixed_version_document" in r]
assert len(old) == 121 and sum(len(b["fields"]) for b in old) == 7064
@pytest.mark.parametrize(
"b",
[
e
for e in BLOCK["node_bindings"]
if e["class_type"] in ["SetNode", "GetNode", "Label (rgthree)"]
],
ids=lambda e: e["node_id"],
)
def test_unversioned_identity_is_unknown(b):
assert b["source_id"] == "unknown" and not b["candidates"]
@pytest.mark.parametrize("nid", [0, 1, 2])
@pytest.mark.parametrize(
"key", ["properties", "inputs", "outputs", "widgets_values", "widgets_values_named", "mode"]
)
def test_internal_identity_and_value_forgery(nid, key):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
s["definitions"]["subgraphs"][0]["nodes"][nid][key] = "forged"
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
assert not doc(s, r)["fixed_version"]["matched"]
def test_host_and_internal_saved_values_are_independent():
host = next(n for n in SOURCE["nodes"] if n["id"] == 286)
assert host["widgets_values"][2] == "depth"
inner = SOURCE["definitions"]["subgraphs"][0]
assert next(n for n in inner["nodes"] if n["id"] == 5)["widgets_values"] == ["mask"]
assert inner["widgets"] == [] and len(BLOCK["boundaries"][0]["inputs"]) == 5
fields = [f for f in BLOCK["fields"] if f["node_id"] == "286"]
assert len(fields) == 4 and all(f["role"] == "boundary_saved_cache" for f in fields)
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
{
"total": 155,
"audit_scope": "current_delivery",
"source_files": 156,
"target_files": 155,
"user_excluded": 1,
"source_structure_purpose_partially_reviewed": 155,
"full_documents_completed": 0,
"files_with_selected_named_fields_reviewed": 41,
"selected_named_fields_reviewed": 1217,
"real_executions": 0,
"states": {
"pending_check": 16,
"needs_conversion": 139
},
"named_values_preserved": 1217,
"unnamed_widget_nodes": 3660,
"semantic_batch_files": 139,
"semantic_batch_without_named_fields": 114,
"semantic_batch_named_fields": 490,
"named_values_without_manual_field_review": 0,
"named_values_without_verified_units_ranges_effects": 1217,
"scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
}
@@ -0,0 +1,4 @@
Building source distribution...
Building wheel from source distribution...
Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz
Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl
@@ -0,0 +1,144 @@
{
"fixed_count": 374,
"fixed_paths": {
"/api/workflows": 3,
"/api/workflows/119": 4,
"/api/workflows/120": 4,
"/api/workflows/113": 3,
"/api/workflows/115": 3,
"/api/workflows/110": 3,
"/api/workflows/130": 3,
"/api/workflows/127": 3,
"/api/workflows/124": 3,
"/api/workflows/125": 3,
"/api/workflows/126": 3,
"/api/workflows/109": 3,
"/api/workflows/107": 3,
"/api/workflows/108": 3,
"/api/workflows/132": 3,
"/api/workflows/131": 3,
"/api/workflows/133": 3,
"/api/workflows/106": 3,
"/api/workflows/63": 3,
"/api/workflows/59": 3,
"/api/workflows/65": 3,
"/api/workflows/60": 3,
"/api/workflows/61": 3,
"/api/workflows/66": 3,
"/api/workflows/71": 3,
"/api/workflows/69": 3,
"/api/workflows/68": 3,
"/api/workflows/67": 3,
"/api/workflows/43": 3,
"/api/workflows/95": 3,
"/api/workflows/88": 3,
"/api/workflows/89": 3,
"/api/workflows/90": 3,
"/api/workflows/96": 3,
"/api/workflows/91": 3,
"/api/workflows/92": 3,
"/api/workflows/102": 3,
"/api/workflows/93": 3,
"/api/workflows/100": 3,
"/api/workflows/98": 3,
"/api/workflows/99": 3,
"/api/workflows/97": 3,
"/api/workflows/101": 3,
"/api/workflows/105": 3,
"/api/workflows/104": 3,
"/api/workflows/103": 3,
"/api/workflows/94": 3,
"/api/workflows/87": 3,
"/api/workflows/86": 3,
"/api/workflows/85": 3,
"/api/workflows/84": 3,
"/api/workflows/74": 3,
"/api/workflows/73": 3,
"/api/workflows/72": 3,
"/api/workflows/83": 3,
"/api/workflows/82": 3,
"/api/workflows/81": 3,
"/api/workflows/80": 3,
"/api/workflows/79": 3,
"/api/workflows/78": 3,
"/api/workflows/77": 3,
"/api/workflows/76": 3,
"/api/workflows/75": 3,
"/api/workflows/54": 3,
"/api/workflows/55": 3,
"/api/workflows/56": 3,
"/api/workflows/58": 3,
"/api/workflows/57": 3,
"/api/workflows/44": 3,
"/api/workflows/53": 3,
"/api/workflows/52": 3,
"/api/workflows/51": 3,
"/api/workflows/50": 3,
"/api/workflows/49": 3,
"/api/workflows/47": 3,
"/api/workflows/48": 3,
"/api/workflows/46": 3,
"/api/workflows/45": 3,
"/api/workflows/42": 3,
"/api/workflows/41": 3,
"/api/workflows/40": 3,
"/api/workflows/39": 3,
"/api/workflows/38": 3,
"/api/workflows/37": 3,
"/api/workflows/18": 3,
"/api/workflows/20": 3,
"/api/workflows/30": 3,
"/api/workflows/32": 3,
"/api/workflows/34": 3,
"/api/workflows/33": 3,
"/api/workflows/31": 3,
"/api/workflows/29": 3,
"/api/workflows/28": 3,
"/api/workflows/27": 3,
"/api/workflows/26": 3,
"/api/workflows/17": 3,
"/api/workflows/4": 3,
"/api/workflows/15": 3,
"/api/workflows/11": 3,
"/api/workflows/3": 3,
"/api/workflows/9": 3,
"/api/workflows/16": 3,
"/api/workflows/10": 3,
"/api/workflows/23": 3,
"/api/workflows/8": 3,
"/api/workflows/22": 3,
"/api/workflows/5": 3,
"/api/workflows/6": 3,
"/api/workflows/7": 3,
"/api/workflows/19": 3,
"/api/workflows/13": 3,
"/api/workflows/12": 3,
"/api/workflows/64": 3,
"/api/workflows/62": 3,
"/api/workflows/70": 3,
"/api/workflows/1": 3,
"/api/workflows/36": 3,
"/api/workflows/35": 3,
"/api/workflows/2": 3,
"/api/workflows/25": 3,
"/api/workflows/24": 3,
"/api/workflows/21": 3,
"/api/workflows/14": 3,
"/api/settings": 1,
"/api/workflows/156": 1,
"/api/workflows/157": 1
},
"polling_count": 42,
"polling_paths": {
"/api/jobs": 42
},
"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,
"polling_acceptance": "仅允许后端比浏览末次快照多0或1次/api/jobs;/api/events与所有固定路径零差额"
}
@@ -0,0 +1,18 @@
........................................................................ [ 9%]
........................................................................ [ 18%]
........................................................................ [ 27%]
........................................................................ [ 36%]
........................................................................ [ 46%]
........................................................................ [ 55%]
........................................................................ [ 64%]
........................................................................ [ 73%]
........................................................................ [ 82%]
........................................................................ [ 92%]
.............................................................. [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
782 passed, 1 warning in 12.11s
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,728 @@
{
"base": "b626757bbf3f4f2f4a8d893e96832e7f54fe4f17",
"files": [
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/01.api.json",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
},
{
"path": "calliope-backend/src/calliope/comfyui/registry.py",
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
},
{
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
},
{
"path": "calliope-backend/src/calliope/comfyui/client.py",
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
},
{
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
},
{
"path": "calliope-backend/src/calliope/routers/workflows.py",
"sha256": "3f1d5fdacc841080973dcafb9cd87a42433ec19080a3ff14a29561f13d512c97"
},
{
"path": "calliope-backend/src/calliope/queue/worker.py",
"sha256": "54f5505ae78802f77fedf23690579444c9ccfbb0949b32f9e96980e8d55c2d3b"
},
{
"path": "docs/hel-892/h3-chain-evidence/library.json",
"sha256": "667c09ebd5ba14c281366a1b9f7647d74f74e055a863b121d9324ac75a423cd4"
},
{
"path": "docs/hel-892/media-evidence/protected-six-cases.json",
"sha256": "c2b9dffd7f1a9c5f0de51c26c9dd81beedd3ad7f6b67a54aa3eb5cead55c8c5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
},
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
},
{
"path": "calliope-backend/src/calliope/comfyui/library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
}
],
"originals": 156,
"old_blocks_unchanged": 121,
"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
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,666 @@
"Static MiniMax H3 SelfLift reference; no upstream execution."
import ast
import hashlib
import json
from pathlib import Path
REPO = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "director-selflift-reference"
PATHS = [
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json"
]
HOST = "ffb7cd05-f9d8-4931-bf81-5287dcd75327"
LAYOUTS = {
"SetNode": ["Constant"],
"GetNode": ["Constant"],
"easy minimaxH3ToVideo": [
"prompt",
"mode",
"width",
"height",
"length",
"ref_image_size",
"locked_video_timing_frames",
],
"easy seed": ["seed", "control_after_generate", "🎲 Manual Random Seed"],
"easy multiTrackEditor": ["resolution", "resolution.resize_method", "format", "track_data"],
"easy multiTrackTaskOutput": ["task_index", "prompt_format"],
"easy saveVideo": [
"input_mode",
"input_mode.fps",
"output_mode",
"output_mode.save_metadata",
"filename_prefix",
],
"CreateVideo": ["fps", "bit_depth", "color_space", "codec"],
"SaveVideo": ["filename_prefix", "format", "format.codec", "codec"],
"LoraLoaderModelOnly": ["lora_name", "strength_model"],
"VAELoader": ["vae_name"],
"CLIPLoader": ["clip_name", "type", "device"],
"UNETLoader": ["unet_name", "weight_dtype"],
"BlockSparseAttention": [
"selection",
"selection.keep_percent",
"start_percent",
"end_percent",
"dense_blocks",
"min_tokens",
"extra_tokens",
"sink_conditioning",
"verbose",
],
"ModelAttentionBackend": ["attention"],
"MiniMaxH3SigmaShift": ["shift_video", "shift_audio"],
"ffb7cd05-f9d8-4931-bf81-5287dcd75327": [
"resolution_level",
"batch_size",
"output",
"model_name",
],
"KSamplerSelect": ["sampler_name"],
"BasicScheduler": ["scheduler", "steps", "denoise"],
"H3SigmaRefiner": ["extra_steps", "start_at_sigma", "end_at_sigma", "spacing"],
"SelfLiftAvatarH3Sampler": [
"seed",
"control_after_generate",
"cfg",
"transition_step",
"lowres_scale",
"rho",
"w_min",
"w_max",
"upscaler_model",
"highres_tiling",
"tiling_mode",
"tiling_tiles",
"tiling_axis",
"selflift_tiling_plan",
],
"LoadMoGeModel": ["model_name"],
"MoGeInference": [
"resolution_level",
"fov_x_degrees",
"batch_size",
"force_projection",
"apply_mask",
"refine_steps",
],
"MoGeRender": ["output"],
}
LABELS = {
"transition_step": "阶段切换位置保存",
"lowres_scale": "低阶段空间比例保存",
"rho": "混合权重条件保存",
"w_min": "混合起始权重保存",
"w_max": "混合结束权重保存",
"upscaler_model": "完整潜变量放大模型引用",
"highres_tiling": "高阶段切块开关保存",
"tiling_mode": "额外切块模式(映射未知)",
"tiling_tiles": "额外切块数(COMBO/int差异)",
"tiling_axis": "额外切块轴(映射未知)",
"selflift_tiling_plan": "额外完整空计划(映射未知)",
"selection.keep_percent": "稀疏子项保存(不换算)",
"shift_video": "视频sigma位移保存",
"shift_audio": "音频sigma位移保存",
"fov_x_degrees": "视场角缓存(int/FLOAT分列)",
"model_name": "完整几何模型引用",
"resolution_level": "几何分辨率等级缓存",
"batch_size": "几何批量缓存",
"output": "输出模式独立保存",
"force_projection": "投影条件保存",
"apply_mask": "遮罩条件保存",
"refine_steps": "v3细化次数保存",
"extra_steps": "sigma尾段增项保存",
"start_at_sigma": "尾段起点条件保存",
"end_at_sigma": "尾段终点条件保存",
"spacing": "尾段插值方式保存",
"num_blocks": "模型块迁移数量(-1条件另核)",
"boolean": "分支选择缓存(受外线覆盖)",
"Constant": "别名名称保存(版本未知)",
"seed": "独立种子缓存",
"control_after_generate": "种子前端控制保存",
"steps": "采样步数保存",
"cfg": "CFG保存",
"sampler_name": "采样算法保存",
"scheduler": "调度器保存",
"denoise": "降噪保存",
"sage_attention": "Sage实现选择保存",
"allow_compile": "编译允许保存",
"prompt": "完整提示文本缓存",
"mode": "模式选择保存(外线覆盖按实例核对)",
"width": "宽度保存缓存",
"height": "高度保存缓存",
"length": "帧长保存缓存",
"ref_image_size": "参考尺寸策略",
"🎲 Manual Random Seed": "手动随机种子辅助null",
"filename_prefix": "完整保存前缀",
"format": "容器/轨道格式保存",
"codec": "编码器选择保存",
"fps": "fps保存缓存(受外线覆盖)",
"bit_depth": "图像位深保存",
"task_index": "任务索引保存",
"prompt_format": "提示格式保存(非本次API请求)",
"string": "查找源字符串",
"substring": "待查子串缓存(受外线覆盖)",
"case_sensitive": "大小写匹配保存",
"expression": "完整数学表达式(不求值)",
"start_index": "起始行索引缓存(受外线覆盖)",
"max_rows": "最大行数保存",
"remove_empty_lines": "空行开关源字符串/BOOLEAN差异",
"get values from COMBO link": "额外COMBO前端辅助空串",
"upscale_method": "缩放算法选择",
"keep_proportion": "比例策略保存",
"pad_color": "完整填充颜色字符串",
"crop_position": "裁剪位置保存",
"divisible_by": "尺寸对齐倍数",
"device": "设备选择保存",
"value": "布尔开关原保存值",
"resolution": "分辨率保存(含义按节点接口核对)",
"resolution.resize_method": "轨道尺寸处理保存",
"track_data": "完整轨道状态原字符串(仅文本)",
"unet_name": "完整扩散模型文件引用",
"weight_dtype": "权重dtype选择",
"clip_name": "完整文本模型文件引用",
"type": "文本模型类型保存",
"vae_name": "完整VAE文件引用",
"lora_name": "完整普通LoRA文件引用",
"strength_model": "模型LoRA强度保存",
}
def canonical(v):
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
def build(index=0):
raw = (REPO / PATHS[index]).read_bytes()
g = json.loads(raw)
editorial = json.loads((OUT / "editorial.json").read_bytes())
sg = g["definitions"]["subgraphs"][0]
scopes = [("", "", g), ("286", "/definitions/subgraphs/0", sg)]
nodes = [
((pre + ":" if pre else "") + str(n["id"]), ptr + f"/nodes/{i}", pre or "root", n)
for (pre, ptr, graph) in scopes
for (i, n) in enumerate(graph["nodes"])
]
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
sources = []
trees = {}
for e in manifest:
data = (REF / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
sources.append(
dict(
e,
local_file="../director-selflift-reference/" + e["local_file"],
lines=[1, len(data.decode().splitlines())],
claim="本图准确声明来源文本/元数据;Git与许可取得状态按各记录分列,未执行,代码许可不等于模型许可",
)
)
if e["file"].endswith(".py"):
trees[e["local_file"]] = ast.parse(data)
bindings = []
prose = json.loads((OUT / "prose.json").read_bytes())
refs = {}
schemas = {}
for nid, ptr, scope, n in nodes:
cls = n["type"]
if cls in ["Note", "MarkdownNote"]:
continue
symbol = {
"easy ifElse": "IfElse",
"easy saveVideo": "EasySaveVideo",
"easy cleanGpuUsed": "cleanGPUUsed",
"easy matchLine": "MatchLine",
"SimpleMathDual+": "SimpleMathDual",
"easy seed": "easySeed",
"easy promptLine": "promptLine",
"easy minimaxH3ToVideo": "EasyMiniMaxH3ToVideo",
"easy multiTrackInfoOutput": "MultiTrackInfoOutput",
"easy multiTrackTaskOutput": "MultiTrackTaskOutput",
"easy multiTrackEditor": "MultiTrackEditor",
"easy anythingIndexSwitch": "anythingIndexSwitch",
"PrimitiveStringMultiline": "StringMultiline",
"CR Prompt Text": "CR_PromptText",
"VHS_VideoCombine": "VideoCombine",
"LayerUtility: ImageScaleByAspectRatio V2": "ImageScaleByAspectRatioV2",
"PrimitiveFloat": "Float",
"PrimitiveInt": "Int",
"PrimitiveBoolean": "Boolean",
"ComfyMathExpression": "MathExpressionNode",
"ShowText|pysssss": "ShowText",
"Image Comparer (rgthree)": "RgthreeImageComparer",
"ComfySwitchNode": "SwitchNode",
"Images to RGB": "WAS_Images_To_RGB",
"忽略多组孤海": "IgnoreGroupsGuHai",
"GH_ImageVideoComparer": "GHImageVideoComparer",
}.get(cls, cls)
version = n.get("properties", {}).get("ver", "未知")
core_id = {
"0.29.0": "core0290",
"0.30.2": "core0302",
"0.33.0": "core0330",
"0.38.0": "core0380",
"fcfa42394d6347b4f04295041afdd7d92ba78c12": "mediaeditor",
"829a7a6030b151cb6ac091595570eb3a3d8c4512": "mediaout",
"9d0282d4e19ef2718c084edf55864dfb4533032f": "media85",
"595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7": "easy",
"5df288a083fa8585a563c9c2af7ebfa0e79188c7": "selflift",
"146207295c1d2bd6b64a6552484cb6ed8be1c9ef": "yc",
}.get(version, "unknown")
if cls == HOST:
core_id = "subgraph-definition"
candidates = []
rs = []
for i, e in enumerate(manifest):
if e["id"] != core_id or not e["file"].endswith(".py"):
continue
if (
cls in ["PrimitiveInt", "PrimitiveFloat", "PrimitiveBoolean"]
and e["file"] != "comfy_extras/nodes_primitive.py"
):
continue
if cls == "KSampler" and e["file"] != "nodes.py":
continue
if cls == "PreviewAudio" and e["file"] != "comfy_extras/nodes_audio.py":
continue
for c in trees[e["local_file"]].body:
if not isinstance(c, ast.ClassDef) or c.name != symbol:
continue
sources.append(
dict(
sources[i],
lines=[c.lineno, c.end_lineno],
claim=f"本节点准确{core_id}声明类实现;不等于目标安装或宿主恢复认证",
)
)
rs += [i, len(sources) - 1]
candidates.append(dict(source=i, symbol=symbol, lines=[c.lineno, c.end_lineno]))
if cls in ["LoraLoaderModelOnly", "LoraLoaderBypassModelOnly"]:
parent = next(
p
for p in trees[e["local_file"]].body
if isinstance(p, ast.ClassDef)
and p.name
== (
"LoraLoaderBypass"
if cls == "LoraLoaderBypassModelOnly"
else "LoraLoader"
)
)
sources.append(
dict(
sources[i],
lines=[parent.lineno, parent.end_lineno],
claim=f"本节点准确{core_id}父类及加载条件;只静态读取",
)
)
rs.append(len(sources) - 1)
for d in ast.walk(c):
if isinstance(d, ast.Dict):
for k, v in zip(d.keys, d.values, strict=True):
if (
isinstance(k, ast.Constant)
and isinstance(k.value, str)
and isinstance(v, ast.Tuple)
):
default = "无显式default;动态枚举/方法条件只作参考"
for opts in v.elts[1:]:
if isinstance(opts, ast.Dict):
for dk, dv in zip(opts.keys, opts.values, strict=True):
if (
isinstance(dk, ast.Constant)
and dk.value == "default"
):
default = ast.unparse(dv)
schemas[nid, k.value] = (default, ast.unparse(v))
if (
isinstance(d, ast.Call)
and isinstance(d.func, ast.Attribute)
and (d.func.attr == "Input")
):
arg = (
d.args[0]
if d.args
else next((k.value for k in d.keywords if k.arg == "id"), None)
)
if not isinstance(arg, ast.Constant) or not isinstance(arg.value, str):
continue
name = arg.value
if cls == "TextGenerate" and name in [
"temperature",
"top_k",
"top_p",
"min_p",
"repetition_penalty",
"seed",
"presence_penalty",
]:
name = "sampling_mode." + name
default = next(
(ast.unparse(k.value) for k in d.keywords if k.arg == "default"),
"无显式default,不从execute函数缺省补值",
)
if cls == "SaveImageAdvanced" and name in [
"bit_depth",
"input_color_space",
]:
# Keep the first exact PNG DynamicCombo branch.
schemas.setdefault((nid, "format." + name), (default, ast.unparse(d)))
else:
schemas[nid, name] = (default, ast.unparse(d))
assert len(candidates) <= 1, (nid, candidates)
if not candidates and core_id not in ["unknown", "subgraph-definition"]:
core_id = "unresolved-" + core_id
bindings.append(
dict(
node_id=nid,
class_type=cls,
source_version=version,
source_id=core_id,
candidates=candidates,
)
)
if core_id.replace("unresolved-", "") in [
"goohai",
"rgthree",
"showtext",
"ghgroup",
"ghcompare",
"was",
"vosr",
]:
rs += [
i for i, e in enumerate(manifest) if e["id"] == core_id.replace("unresolved-", "")
]
if cls == "KSampler":
rs += [
i
for i, e in enumerate(manifest)
if e["id"] == core_id and e["file"] == "comfy/samplers.py"
]
if cls in [
"KSampler",
"LoadImage",
"ShowText|pysssss",
"Image Comparer (rgthree)",
"忽略多组孤海",
]:
rs += [i for i, e in enumerate(manifest) if e["id"] in ["frontend", "litegraph"]]
if cls == "QwenImage21Cache":
rs += [
i
for i, e in enumerate(manifest)
if e["id"] == core_id
and e["file"].startswith(("comfy/ldm/qwen_image21/", "comfy_api/latest/"))
]
rs += [i for i, e in enumerate(manifest) if e["id"] == core_id.removeprefix("unresolved-")]
rs += [i for i, e in enumerate(manifest) if e["id"] == "frontend"]
refs[nid] = list(dict.fromkeys(rs))
fields = []
comments = []
flow = []
empty = []
for nid, ptr, scope, n in nodes:
cls = n["type"]
if cls in ["Note", "MarkdownNote"]:
comments.append(
dict(
node_id=nid,
pointer=ptr + "/widgets_values/0",
text=n["widgets_values"][0],
meaning=prose["notes"][nid],
named_pointer=ptr + "/widgets_values_named/text",
named_value=n["widgets_values_named"]["text"],
evidence=[],
)
)
flow.append(nid + " 原注释节点 " + json.dumps(n, ensure_ascii=False))
continue
core_id = next(b["source_id"] for b in bindings if b["node_id"] == nid)
effect = (
editorial[nid]
+ " 原mode="
+ str(n["mode"])
+ (
"(旁路保存态,不模拟穿透或执行)。"
if n["mode"] == 4
else "(mode2禁用/忽略保存态,不模拟组控制或执行)。"
if n["mode"] == 2
else "(活动保存态,不认证执行)。"
)
)
flow += [
effect,
nid + " 原属性 " + json.dumps(n.get("properties", {}), ensure_ascii=False),
nid
+ " 原输入/输出 "
+ json.dumps({k: n[k] for k in ["inputs", "outputs"]}, ensure_ascii=False),
nid
+ " 原具名保存 "
+ json.dumps(n.get("widgets_values_named", "missing"), ensure_ascii=False),
nid
+ " 原其它属性 "
+ json.dumps(
{
k: v
for k, v in n.items()
if k
not in [
"inputs",
"outputs",
"properties",
"widgets_values",
"widgets_values_named",
]
},
ensure_ascii=False,
),
]
if not n.get("widgets_values"):
empty.append(
dict(
node_id=nid,
class_type=cls,
pointer=ptr,
scope=scope,
state="missing" if "widgets_values" not in n else "empty_list",
effect=effect,
named_state="empty_object"
if n.get("widgets_values_named") == {}
else "missing",
)
)
continue
for j, (name, value) in enumerate(
n["widgets_values"].items()
if isinstance(n["widgets_values"], dict)
else zip(LAYOUTS[cls], n["widgets_values"], strict=True)
):
saved_key = (
name.replace("~", "~0").replace("/", "~1")
if isinstance(n["widgets_values"], dict)
else str(j)
)
found = [i for (i, x) in enumerate(n["inputs"]) if x["name"] == name]
inp = found[0] if len(found) == 1 else None
linked = inp is not None and n["inputs"][inp].get("link") is not None
boundary = cls == HOST
aux = name in [
"control_after_generate",
"audioUI",
"preview",
"🎲 Manual Random Seed",
"get values from COMBO link",
"fixed",
"upload",
"text_0",
"rgthree_comparer",
"guhai_ig",
"videopreview",
]
(default, limits) = schemas.get(
(nid, name),
(
"未知:本准确类未给出该保存字段的独立schema默认",
"源保存位置与准确schema字段缺口分列,不认证后端执行映射",
),
)
unit = "无准确物理单位时只按原接口文本;源JSON类型与schema分列,不计算实际结果"
meta = prose.get("field_meta", {}).get(cls, {}).get(name, {})
default = meta.get("default", default)
limits = meta.get("limits", limits)
unit = meta.get("unit", unit)
if name in ["control_after_generate", "upload"]:
default = "前端辅助原值;准确frontend1.45.20条件参考,不当后端schema默认"
limits = "前端保存/恢复条件与本节点后端输入分开,不执行随机或上传"
unit = "前端辅助原JSON保存值,无物理单位"
if core_id == "unknown" or core_id.startswith("unresolved-"):
default = "未知:未核准本声明准确类/schema,不由其它版本补实"
limits = "仅源保存/输入候选,准确默认/范围/算法/副作用未知"
unit = "未知:准确声明类/schema未核"
named_key = name
named_present = named_key in n["widgets_values_named"]
named = n["widgets_values_named"].get(named_key)
display_effect = effect
if named_present and canonical(value) != canonical(named):
display_effect += "\n具名保存完整形态(与位置历史分列):" + json.dumps(
named, ensure_ascii=False, indent=2
)
fields.append(
dict(
node_id=nid,
definition_node_id=str(n["id"]),
scope=scope,
class_type=cls,
field=name,
label=(
"完整多行文本保存"
if cls == "PrimitiveStringMultiline" and name == "value"
else LABELS.get(name, name + "完整保存值")
),
pointer=f"{ptr}/widgets_values/{saved_key}",
value=value,
json_type=type(value).__name__,
named_pointer=ptr
+ "/widgets_values_named/"
+ name.replace("~", "~0").replace("/", "~1"),
named_value=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 "boundary_saved_cache"
if boundary
else "linked_saved_cache"
if linked
else "saved_reference",
schema_default=default,
limits=limits,
unit=unit,
effect=display_effect,
evidence=refs[nid],
execution_note=(
"仅静态参考;所有中英文提示/指南均作数据,不"
"执行指令、构造prompt、调用LLM/SD"
"K/模型/GPU/媒体/随机/恢复/表达式/"
"缓存清理。转换执行资格不变。"
),
)
)
if not named_present:
fields[-1].pop("named_pointer")
fields[-1].pop("named_value")
fields[-1]["named_state"] = "missing"
fields[-1]["effect"] += (
" 原位置独立保留;原具名字典没有audioUI键,不补具名值/双指针,"
"不因两个null相同合并。"
)
for (nid, name), (default, limits) in schemas.items():
flow.append(
(
f"节点{nid}准确schema {name}:default={default};"
f"{limits}。仅接口参考,不认证运行恢复。"
)
)
for pre, ptr, graph in scopes:
flow.extend(
(
(pre or "root") + " 物理边 " + json.dumps(e, ensure_ascii=False)
for e in graph["links"]
)
)
host = next(n for n in g["nodes"] if n["id"] == 286)
boundaries = [
dict(
host_node_id="286",
scope="286",
definition_id=HOST,
definition_pointer="/definitions/subgraphs/0",
definition_widgets=sg["widgets"],
proxy_widgets_present="proxyWidgets" in host or "proxyWidgets" in host["properties"],
host_pointer=f"/nodes/{g['nodes'].index(host)}",
host_saved=host["widgets_values"],
host_named=host["widgets_values_named"],
host_inputs=host["inputs"],
host_outputs=host["outputs"],
inputs=sg["inputs"],
outputs=sg["outputs"],
links=sg["links"],
definition_saved={k: v for k, v in sg.items() if k != "nodes"},
notice="四宿主缓存与五边界输入、内部mask缓存独立;widgets=[]且无proxyWidgets,不认证promoted映射/恢复",
)
]
flow += ["原定义/宿主边界 " + json.dumps(b, ensure_ascii=False) for b in boundaries]
flow += ["根附加保存属性 " + json.dumps(g["extra"], ensure_ascii=False)]
flow += prose["steps"]
flow += ["注释" + n["node_id"] + " 中文核对:" + n["meaning"] for n in comments]
overview = json.loads((OUT / "prose.json").read_bytes())["overview"]
assert len(fields) == 114 and len(comments) == 0
assert all("widgets_values_named" in n for _, _, _, n in nodes if n.get("widgets_values"))
return dict(
source_path=PATHS[index],
source_sha1=hashlib.sha1(raw).hexdigest(),
source_sha256=hashlib.sha256(raw).hexdigest(),
canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),
notice="仅固定参考:MoGe宿主缓存/五输入边界/内部mask独立,准确SelfLift/YC/core0.38逐实例绑定;轨道36070原串仅文本。内部双阶段采样、放大、tiling与种子仅保存/源码条件,不执行或保证音频/尺寸/人物效果。",
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()
]
+ [
"旧121块7064保存条目/214注释冻结;新增114列表位置(根106/内部8,含1null)/零标准Note,总122图7178条目/214注释仅参考。local_file以docs/hel-892/director-selflift-document-evidence为基准。"
],
counts=dict(
saved_fields=114,
root_saved_fields=106,
internal_saved_fields=8,
linked_saved_fields=sum(f["role"] == "linked_saved_cache" for f in fields),
boundary_saved_fields=sum(f["role"] == "boundary_saved_cache" for f in fields),
frontend_only=sum(f["role"] == "frontend_reference_only" for f in fields),
source_nodes=61,
root_nodes=58,
internal_nodes=3,
physical_edges=65,
source_notes=0,
saved_objects=0,
history_objects=0,
final_scalars=0,
final_prompt_constructed=False,
),
node_bindings=bindings,
fields=fields,
sources=sources,
comments=comments,
flow=flow,
flow_evidence=list(range(len(sources))),
zero_saved_nodes=empty,
boundaries=boundaries,
steps=[overview] + json.loads((OUT / "prose.json").read_bytes())["steps"],
)
@@ -0,0 +1,79 @@
"""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/director-selflift-document/browser"
def main():
stopped = json.loads((LOCAL / "service-stop.json").read_bytes())
assert stopped["ports_released"] == [8247, 5173]
ports = []
for port in [8247, 5173]:
with socket.socket() as s:
s.settimeout(1)
result = s.connect_ex(("127.0.0.1", port))
assert result != 0
ports.append({"port": port, "connect_ex": result, "connection_refused": True})
data = json.loads((LOCAL / "browser-results.json").read_bytes())
assert not data["errors"] and data["viewports"] == [1440, 390]
backend = collections.Counter(
re.findall('"GET ([^ ]+) HTTP/1.1"', (LOCAL / "service-0.log").read_text())
)
polling = {p: n for (p, n) in backend.items() if p in ["/api/events", "/api/jobs"]}
fixed = {p: n for (p, n) in backend.items() if p not in polling}
browser = collections.Counter((urlsplit(r["url"]).path for r in data["requests"]))
intercepted = collections.Counter((urlsplit(r["url"]).path for r in data["interceptions"]))
expected = browser.copy()
for p, n in intercepted.items():
expected[p] -= n
expected["/api/workflows"] += 1
polling_delta = {p: backend[p] - expected[p] for p in ["/api/jobs", "/api/events"]}
assert polling_delta["/api/events"] == 0
assert polling_delta["/api/jobs"] in [0, 1]
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,
"polling_acceptance": (
"仅允许后端比浏览末次快照多0或1次/api/jobs;" + "/api/events与所有固定路径零差额"
),
}
(OUT / "backend-request-counts.json").write_text(
json.dumps(counts, ensure_ascii=False, indent=2) + "\n"
)
(OUT / "ports-independent.json").write_text(json.dumps(ports, indent=2) + "\n")
for name in ["browser-results.json", "service-stop.json", "service-0.log", "service-1.log"]:
shutil.copyfile(LOCAL / name, OUT / name.replace(".log", ".txt"))
print(
"PASS browser",
data["assertion_count"],
data["assertionGroups"],
"fixed/polling/fixture",
data["request_accounting"]["fixed_count"],
data["request_accounting"]["polling_count"],
len(data["interceptions"]),
"backend",
counts["fixed_count"],
counts["polling_count"],
"readiness1; independently refused8247/5173",
)
if __name__ == "__main__":
main()
File diff suppressed because one or more lines are too long
@@ -0,0 +1,19 @@
第141批:MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大固定中文参考已完成,交总管接回HEL-893一次功能+界面审核。基线b626757bbf3f4f2f4a8d893e96832e7f54fe4f17,分支agent/agent/a64a969a6a44、PR25 → main。产品仅本图source_reviews固定块及fixed_document路径/pin;未改转换器/执行器/Drawer整文件/CSS/依赖,未增加生成入口。
原件SHA256 97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7。根58节点57边、唯一MoGe定义3节点8含边界记录,全部mode0。114列表位置=根106/内部8,str72/int32/bool5/float4/null1,全部具名/原类型/双指针,零标准Note;根八缺widgets/具名仍缺失。宿主四缓存depth与内部mask、五输入和空widgets/no proxy分别保存,不制造promoted映射。
213完整36070码点track_data及全部嵌套prompt/素材/属性/空白/转义可逆保存;CR/LF0、字面反斜杠n416、无尾LF,原串和渲染UTF8 SHA c30443f05d5052ffa08158c500873ab4376ae4d911af3dbcf2d557369dc1b75a。递归非空敏感键扫描为空;task/video各一段0..173、frame_rate24只保存数据。未读取素材/URL或创建编辑器/canvas/media/iframe,长文不称逐字目验。
133准确来源行/936文件闭包,28准确类、32未知身份(30 Set/Get+两Label)、1子图宿主定义。core0.29/.30.2/.33/.38、Easy595e、EasyMedia fcfa/829a/9d、frontend1.45.20同树锁/LiteGraph及独立许可逐实例绑定。SelfLift准确aux 5df288a083fa8585a563c9c2af7ebfa0e79188c7的入口、类、schema、双阶段/切块/upscaler必要helpers只静态读取。派生registry slug selflift-avatar返回404仅该查询,canonical绑定未知;PROVENANCE无上游commit,准确树无LICENSE/依赖manifest/前端JS,许可未知,不套main/上游。末四tiling_mode/tiling_tiles/tiling_axis/selflift_tiling_plan准确schema/方法缺失,映射未知;COMBO/int2不认证二块,空plan不冒充已证前端辅助。seed control_after_generate=True与frontend标准helper支持fixed单列;999/fixed与Easy独立1002069665555849/randomize/null不合并。model_hires无外线。每块均预测音频但仅首块预测保留,不能保证音频/倍率/画质/人物一致性。
准确YC146207295c1d2bd6b64a6552484cb6ed8be1c9ef H3SigmaRefiner插值/早返/边界、core0.33 Scheduler/KSamplerSelect、core0.38 SigmaShift/AttentionBackend/Sparse以及MoGe三类注册/schema/算法条件/依赖/许可均在中文报告和源码引用分列,不执行或计算sigmas/NFE/比例。四SelfLift缺口、MoGe宿主depth/内部mask、fov int/FLOAT与公制条件、稀疏dynamic字典/int/float、kitchen可用条件均保留。源模型引用/HuggingFace地址不是安装/素材许可证明。
物理链261 LATENT664→291,同LATENT667/668双解码,238 IMAGE659直接CreateVideo(无resize);原视频经MoGe/清理/EasySave再Getdepth_video仅名称意图。Task额外previous/LOCKED_AUDIO、261额外locked_video_timing_frames、GetVideo位深COMBO/额外色域、CLIP0.29无minimax、视频nested首项/音频直接decode、Create额外字段、Save typed codec对auto串及准确单Video+UI均保留。本轮独立核原件纠正预读:Save227两个VIDEO输出links=null,140是缺键;原件未改。nodes_attention.py候选不在准确树,未获取blob,实际类在nodes_model_advanced.py。所有更正、原失败日志、历史SeedVR/127grep/132/135猜测路径/136404/137首取未知/138/139/140审计均不倒改。
782后台专项+工作流库回归通过,1条既有AnyIO弃用警告。三正式pytest/Ruff/format确选本图/显式配置;JS、前后端build、wheel/sdist三资源相等、双次定义/报告零差异通过,不累计轮次或称全仓绿。真实b626757旧代码隔离库升级1/跳过154且154整行不变;幂等155、精确回退重升、用户前后修改各冲突1/29列保护;155导入/1排除、16/139、1217/3660/294、停用未检查/空时间戳不变。旧121块7064条目/214注释和其它155对象、13370基线文件、163原件/191资源/28profile/九候选/六差分/资格冻结。
最终双屏1440×1000/390×844浏览5870断言,分组{"aggregate": 6, "new_director_selflift": 2946, "old_one_hundred_twenty_one": 2904, "shared_regressions": 14}。实际GET doc_json与隔离导出全等,逐114位置/作用域/原类型/具名/null/所有轨道嵌套值与渲染SHA、宿主边界/未知身份/准确来源/流程差异、旧121摘要、共享回退/迟到重试/焦点/无横溢通过。32最终截图,实际目验14张代表区域;此前浏览/检查日志独立保存,不计入本轮断言。
Node fetch/Python readiness/导航HTTP发送前仅允许http本机hostname8247/5173且无凭据,四错误URL拒绝,字体就地响应/HMR关闭。固定浏览379/后端374扣六夹具加一次就绪逐路径一致;轮询浏览42/后端42,快照差{"/api/jobs": 0, "/api/events": 0},仅允许确证快照后末次/api/jobs多0或1条。finally停自有服务并独立拒绝端口,无PNG/pyc入Git。
累计122参考7178位置/214标准注释,剩33张;155全量仍未完成,最终定稿/新增可靠转换/真实生成0。未连接目标/请求定义/启停TTS或ComfyUI/读Input Assets/构造prompt/执行上游/MoGe/SelfLift/YC/LLM/SDK/attention/数学/随机/sigmas/模型/GPU/放大/图音视频/预览/别名/清理/云API/模型目录/在线库,未增依赖付费/合并部署。当前无需材料/机器窗口。交完整补丁/用途SHA自排除清单/可逆中文和doc/GET/来源缺口闭包/最终head及pin/保护与复现/全部最终截图。
@@ -0,0 +1,63 @@
{
"231": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"233": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"235": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"238": "291同一LATENT667/668分别给238视频/243音频解码,Get241/239各VAE。准确core0.29视频nested取unbind()[0]后decode,而音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码不证明SelfLift输出可解码或音画同步。238 IMAGE659直接给262,无resize;243 AUDIO603/Get244fps604也给262→VIDEO628→227。 262四保存int30/int8/sRGB/none,准确core0.30.2只有images/fps/audio/可选INT bit_depth,fps默认30.0/1..120/step1、bit_depth8/8..10/step2;源bit_depth COMBO与额外color_space/codec差异保留。VideoFromComponents/Fraction(fps)/bit_depth只是构造协议,state24/cache30/未知Get外线分别保存,不算时长或保证色域/色深/同步。",
"239": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"240": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"241": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"242": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"243": "291同一LATENT667/668分别给238视频/243音频解码,Get241/239各VAE。准确core0.29视频nested取unbind()[0]后decode,而音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码不证明SelfLift输出可解码或音画同步。238 IMAGE659直接给262,无resize;243 AUDIO603/Get244fps604也给262→VIDEO628→227。",
"244": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"246": "261准确enable_expand/is_input_list、reference与multi_frames分支及MiniMaxH3ImageToVideo扩图、9图/3视频/3音/参考桥接只是源码条件;本图无promptLine/matchLine。positive661直给291,另584→246 ConditioningZeroOut→662negative;LATENT664才是291起点,Get250 VAE663/Get254 MODEL660给291。288 KSamplerSelect euler→665;289 BasicScheduler simple/int6/int1→653→290 H3SigmaRefiner→666→291。没有外线seed到291,model_hires link=null。",
"249": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"250": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"251": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"253": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"254": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"256": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"259": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"261": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 原第七保存locked_video_timing_frames=int0在准确9d0282 schema/execute缺失,保留额外字段,不借后版补实。 261准确enable_expand/is_input_list、reference与multi_frames分支及MiniMaxH3ImageToVideo扩图、9图/3视频/3音/参考桥接只是源码条件;本图无promptLine/matchLine。positive661直给291,另584→246 ConditioningZeroOut→662negative;LATENT664才是291起点,Get250 VAE663/Get254 MODEL660给291。288 KSamplerSelect euler→665;289 BasicScheduler simple/int6/int1→653→290 H3SigmaRefiner→666→291。没有外线seed到291,model_hires link=null。",
"264": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"265": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"266": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"267": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"268": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"269": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"270": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源576x1024与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 263 task_index0/prompt_format api只是提示格式,不是本次网络请求/LLM;准确829a schema只有tracks_info/images/audio/video/task_index/prompt_format及八输出,没有源previous输入或第九LOCKED_AUDIO。源previous link=null、LOCKED_AUDIO links=null原样,不搬新版支持、不虚构锁音频、自动循环或LLM接口。execute任务排序、marker区间、task索引/端点、媒体index/音视频裁剪/音量/build_prompt_request和api/llm格式条件仅静态,不索引/裁剪/重写提示或认证素材非空。",
"271": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"273": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"274": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"276": "276准确Easy595e easySeed后端只有seed及隐藏元数据、doit返回seed;原1002069665555849/randomize/null保持,标准control_after_generate与额外骰子null分开,后端不自行随机。它与291999/fixed是两套独立缓存。 准确SelfLift后端schema/方法均无tiling_mode/tiling_tiles/tiling_axis/selflift_tiling_plan,准确树无对应前端实现;四字段映射具体未知,不造第十五参数,不把空plan认证成前端辅助。源tiling_tiles输入COMBO但保存JSON int2,不认证准确实现实际选择二块。highres_tiling true只保存态,模型文件名仅引用,无权重读取/许可/安装证明。291 seed999/fixed无外线,276 Easy独立1002069665555849/randomize/null→273 Setseed,没有Getseed到291物理边,不合并、不随机或保证可复现。",
"213": "213 Editor准确EasyMedia fcfa四保存576 x 1024 (9:16)/stretch/MiniMax/完整track_data原字符串。36070码点,真实CR/LF0、字面反斜杠n416、无尾LF,SHAc30443f05d5052ffa08158c500873ab4376ae4d911af3dbcf2d557369dc1b75a。原位置/原具名独立,全部嵌套prompt/素材引用/属性/转义/空白可逆JSON保留,不解析后回写或改键序。递归凭据键子串检查未见非空值;原数据中的作者系统提示只文本,不执行指令/构造prompt/请求素材URL或目录/文件,不创建编辑器/canvas/media/iframe。 轨道顶层muted false/volume_db JSON int0/task_markers[]/task_overview false/total_length173/frame_rate24,两轨task与video各一段0..173。保存的173不是当前实际生成帧数/时长、媒体存在/访问许可或恢复证明。准确fcfa后端is_input_list、resolution DynamicCombo及resize_method共享默认stretch、format默认Wan与源MiniMax分列,自定义TRACK_DATA无独立后端default。execute解包/parse/非空prompt_override及_build_tracks_info_and_media_outputs按格式/任务/媒体条件构造输出;MiniMax帧网格17k+5/尺寸网格32等条件只静态,不手算输出。准确插件前端TRACK_DATA React widget/normalize/serializeValue参照与宿主frontend1.45.20声明分列,不认证编辑器恢复。 213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源576x1024与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。",
"263": "263 task_index0/prompt_format api只是提示格式,不是本次网络请求/LLM;准确829a schema只有tracks_info/images/audio/video/task_index/prompt_format及八输出,没有源previous输入或第九LOCKED_AUDIO。源previous link=null、LOCKED_AUDIO links=null原样,不搬新版支持、不虚构锁音频、自动循环或LLM接口。execute任务排序、marker区间、task索引/端点、媒体index/音视频裁剪/音量/build_prompt_request和api/llm格式条件仅静态,不索引/裁剪/重写提示或认证素材非空。 213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源576x1024与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。",
"280": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"257": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"247": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"248": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"225": "Get278 video625→224 GetVideoComponents IMAGE645→286 MoGe3宿主→646→226 cleanGpuUsed→568→225 EasySave图像口,原AUDIO569/fps567仍给225;225 VIDEO626→279 Set depth_video/Get280627→261.videos,Set/Get间无物理边,不认证深度视频、动作保持或音轨锁定。286宿主四缓存[9,4,depth,moge_3_vitg_fp16.safetensors]与五输入image/resolution_level/batch_size/output/model_name独立;definition.widgets=[],无proxyWidgets,不按位置制造promoted映射或执行恢复。 225准确829a入口导出EasySaveVideo类,不是core SaveVideo/VHS。源五保存images+audio/int24/save/false/video/ComfyUI,input_mode.fps被567覆盖。准确input_mode/output_mode均字典协议,.get读取input_mode/images/audio/fps及output_mode/save_metadata;源字符串与扁平子字段独立保留,未认证宿主组装。共享fps FLOAT默认24.0/1..120/step1,metadata Boolean默认false,filename_prefix默认ComfyUI,不能把源JSON int24改float。 225准确images+audio分支要求非空images,normalize_video_images条件裁到偶数后VideoFromComponents/Fraction(fps);video分支要求VIDEO且可替换音轨,FFmpeg快速替换失败可回tensor路径。preview_only/hide写temp,save/hide&save写output,hide/hide&save不返回PreviewUI;source_video.save_to AUTO容器与AUTO codec、目录计数命名均是实际写入条件,不执行。save_metadata条件收hidden extra_pnginfo/prompt并可空为None;返回VIDEO及relative_path(实现是temp/output相对路径,描述full written file path不等同实际绝对路径),UI SavedResult只非隐藏时附加。源save/false不代表编码、预览、元数据或音轨效果已核准。",
"279": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"226": "Get278 video625→224 GetVideoComponents IMAGE645→286 MoGe3宿主→646→226 cleanGpuUsed→568→225 EasySave图像口,原AUDIO569/fps567仍给225;225 VIDEO626→279 Set depth_video/Get280627→261.videos,Set/Get间无物理边,不认证深度视频、动作保持或音轨锁定。286宿主四缓存[9,4,depth,moge_3_vitg_fp16.safetensors]与五输入image/resolution_level/batch_size/output/model_name独立;definition.widgets=[],无proxyWidgets,不按位置制造promoted映射或执行恢复。 226准确Easy595e cleanGPUUsed(不是139的4de)是output节点,execute无条件cleanGPUUsedForce后返回anything。helper remove_cache(\"*\")、gc.collect,torch导入/同步异常捕获且CUDA可用才synchronize,随后unload_all_models/soft_empty_cache。它不是无副作用普通透传;本轮不执行清理/卸载/同步或任何分支。",
"224": "Get278 video625→224 GetVideoComponents IMAGE645→286 MoGe3宿主→646→226 cleanGpuUsed→568→225 EasySave图像口,原AUDIO569/fps567仍给225;225 VIDEO626→279 Set depth_video/Get280627→261.videos,Set/Get间无物理边,不认证深度视频、动作保持或音轨锁定。286宿主四缓存[9,4,depth,moge_3_vitg_fp16.safetensors]与五输入image/resolution_level/batch_size/output/model_name独立;definition.widgets=[],无proxyWidgets,不按位置制造promoted映射或执行恢复。 224准确core0.29 GetVideoComponents只video输入,execute video.get_components返回images/audio/float(frame_rate)/video.get_bit_depth四输出,末口准确INT。原件四口bit_depth却COMBO且缺links、另有color_space COMBO links=null,与准确实现分列,不借后版/补色域、认证色深或执行媒体拆分。",
"278": "所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"262": "291同一LATENT667/668分别给238视频/243音频解码,Get241/239各VAE。准确core0.29视频nested取unbind()[0]后decode,而音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码不证明SelfLift输出可解码或音画同步。238 IMAGE659直接给262,无resize;243 AUDIO603/Get244fps604也给262→VIDEO628→227。 262四保存int30/int8/sRGB/none,准确core0.30.2只有images/fps/audio/可选INT bit_depth,fps默认30.0/1..120/step1、bit_depth8/8..10/step2;源bit_depth COMBO与额外color_space/codec差异保留。VideoFromComponents/Fraction(fps)/bit_depth只是构造协议,state24/cache30/未知Get外线分别保存,不算时长或保证色域/色深/同步。",
"227": "227源四保存video/ComfyUI/auto/auto/auto,format/format.codec/codec独立;源两个VIDEO出口均links=null,与140缺键分列。准确core0.30.2只有一个Video数据输出加UI PreviewVideo,codec DynamicCombo typed字典与execute codec[\"codec\"]/encoding/crf条件对原auto字符串分列,不补format.codec后端字段或认证宿主恢复。hidden prompt/extra_pnginfo受disable_metadata控制、目录/命名/video.save_to只静态,不执行编码/文件输出或保证音轨/时长/动作模仿/1080P。",
"281": "281/282无版本Label,原标题/字体Arial/fontSize200/颜色/背景/UE7.8等属性完整保存于原其它属性;不造widgets或借rgthree旧实现,不把1080P/动作模仿/双采样字样当效果证明。",
"282": "281/282无版本Label,原标题/字体Arial/fontSize200/颜色/背景/UE7.8等属性完整保存于原其它属性;不造widgets或借rgthree旧实现,不把1080P/动作模仿/双采样字样当效果证明。",
"252": "MODEL245→642→252普通ref2v turbo4step LoRA/int1→643→285 MiniMaxH3SigmaShift[int10,int3]→644→284 ModelAttentionBackend[comfy kitchen attention]→640→283 BlockSparseAttention→639→253 Setmodel。Get254通过655给289、660给291,仅名称意图不补别名物理边。本图无DA3/UniBlockSwap/Sage/mode4 resize,不沿用前图链。 252准确core0.30.2普通LoraLoaderModelOnly及父类,strength_model FLOAT默认1.0/-100..100/step.01,源int1保持;路径、安全加载、缓存/补丁只源码条件,不由turbo4step文件名改Scheduler6或YC/SelfLift流程、不认证兼容/步数/效果。",
"232": "245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
"234": "245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
"230": "245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
"245": "MODEL245→642→252普通ref2v turbo4step LoRA/int1→643→285 MiniMaxH3SigmaShift[int10,int3]→644→284 ModelAttentionBackend[comfy kitchen attention]→640→283 BlockSparseAttention→639→253 Setmodel。Get254通过655给289、660给291,仅名称意图不补别名物理边。本图无DA3/UniBlockSwap/Sage/mode4 resize,不沿用前图链。 245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
"283": "MODEL245→642→252普通ref2v turbo4step LoRA/int1→643→285 MiniMaxH3SigmaShift[int10,int3]→644→284 ModelAttentionBackend[comfy kitchen attention]→640→283 BlockSparseAttention→639→253 Setmodel。Get254通过655给289、660给291,仅名称意图不补别名物理边。本图无DA3/UniBlockSwap/Sage/mode4 resize,不沿用前图链。 283准确core0.38.0 BlockSparseAttention九保存[vsa,JSON int10,float0.2,int1,空串,int12288,int256,exact_kv_and_rows,false]完整原类型;selection DynamicCombo execute取selection[selection]字典,keep_percent为嵌套FLOAT默认10.0/.5..95/step.5,与扁平保存分列,不转百分比或恢复字典。start/end FLOAT默认.2/1.0、0..1/step.01;dense_blocks空串解析、min_tokens INT12288/0..1048576/step512、extra_tokens INT256/0..256/step64(VSA忽略)、sink_conditioning三选默认exact_kv_and_rows、verbose false。条件sigma窗口/min_tokens/dense_blocks/支持机型会回退dense;VSA仅MiniMaxH3且训练权重条件不由ref2va名证明,sink音频/条件行处理不等于音频保真。不执行parse/比例运算/attention/张量或承诺稀疏速度。",
"284": "MODEL245→642→252普通ref2v turbo4step LoRA/int1→643→285 MiniMaxH3SigmaShift[int10,int3]→644→284 ModelAttentionBackend[comfy kitchen attention]→640→283 BlockSparseAttention→639→253 Setmodel。Get254通过655给289、660给291,仅名称意图不补别名物理边。本图无DA3/UniBlockSwap/Sage/mode4 resize,不沿用前图链。 284准确core0.38.0 ModelAttentionBackend默认pytorch attention,comfy kitchen attention只在COMFY_KITCHEN_INT8_ATTENTION_IS_AVAILABLE时加入选项。validate_inputs返回True不证明可用;execute按名称取attention function,缺失警告后回退pytorch,clone并set_model_optimized_attention。不导入attention/运行GPU,不保证当前厨房实现或低显存/加速。",
"285": "MODEL245→642→252普通ref2v turbo4step LoRA/int1→643→285 MiniMaxH3SigmaShift[int10,int3]→644→284 ModelAttentionBackend[comfy kitchen attention]→640→283 BlockSparseAttention→639→253 Setmodel。Get254通过655给289、660给291,仅名称意图不补别名物理边。本图无DA3/UniBlockSwap/Sage/mode4 resize,不沿用前图链。 285准确core0.38.0 MiniMaxH3SigmaShift:shift_video FLOAT默认12.0、shift_audio默认3.0,均.01..100/step.01;源JSON int10/int3独立。clone构建ModelSamplingAV/CONST,set_parameters shift/audio_shift并条件复制noise_scale、patch model_sampling与transformer_options视频/音频shift键;不计算sigmas或执行采样。",
"286": "Get278 video625→224 GetVideoComponents IMAGE645→286 MoGe3宿主→646→226 cleanGpuUsed→568→225 EasySave图像口,原AUDIO569/fps567仍给225;225 VIDEO626→279 Set depth_video/Get280627→261.videos,Set/Get间无物理边,不认证深度视频、动作保持或音轨锁定。286宿主四缓存[9,4,depth,moge_3_vitg_fp16.safetensors]与五输入image/resolution_level/batch_size/output/model_name独立;definition.widgets=[],无proxyWidgets,不按位置制造promoted映射或执行恢复。 唯一MoGe定义作用域286:内部1 LoadMoGeModel、2 MoGeInference、5 MoGeRender各有自己的core0.38.0声明,不传播宿主身份。边界-10.slot0→2.image(id2)、slot1→2.resolution_level(id8)、slot2→2.batch_size(id9)、slot3→5.output(id10)、slot4→1.model_name(id11),内部1→2(id1)、2→5(id4)、5→-20.slot0(id5)。五边界/八字典边只是保存结构,宿主depth和内部mask均保留,不认证恢复或虚拟边执行。 准确core0.38.0 MoGeExtension注册LoadMoGeModel/MoGeInference/MoGeRender。LoadMoGeModel的model_name动态geometry_estimation枚举与安全权重读取、MoGeModel构造只是源码条件,不查模型目录/文件。properties.models中HuggingFace地址仅原引用,不下载模型、不认证模型/素材许可或安装。Comfy代码LICENSE与模型许可分列。 286:2 MoGeInference六保存[JSON int9,int0,int4,true,true,int3];准确resolution_level默认9/0..9,fov_x_degrees FLOAT默认0.0/0..170/step0.1,源int0独立,<=0时自动估计只是条件;batch_size默认4/1..64,force_projection/apply_mask默认true,refine_steps默认3/0..8仅v3、v1/v2忽略。RGB→BCHW、按batch分块infer、cat points/depth/intrinsics/mask/可选normal及CPU保存均不执行。MoGeModel默认apply_metric_scale只在模型metric_scale可用时缩放;mask可使点/深度为inf,不能由文件名声称公制米、相机准确或实际输出。 286:5 MoGeRender独立保存mask,宿主保存depth;准确output默认depth,选项depth/depth_colored/normal_opengl/normal_directx/mask。mask分支要求mask,转float并扩三通道;depth处理视差归一化、normal需要条件,返回中间设备/dtype。两种缓存不互改,不执行渲染或计算深度/正常图;五边界输入不等于四缓存已恢复。",
"288": "261准确enable_expand/is_input_list、reference与multi_frames分支及MiniMaxH3ImageToVideo扩图、9图/3视频/3音/参考桥接只是源码条件;本图无promptLine/matchLine。positive661直给291,另584→246 ConditioningZeroOut→662negative;LATENT664才是291起点,Get250 VAE663/Get254 MODEL660给291。288 KSamplerSelect euler→665;289 BasicScheduler simple/int6/int1→653→290 H3SigmaRefiner→666→291。没有外线seed到291,model_hires link=null。 288/289准确core0.33.0注册KSamplerSelect/BasicScheduler。KSamplerSelect从SAMPLER_NAMES选euler并调用sampler_object;BasicScheduler保存simple/JSON int6/int1,准确steps INT默认20/1..10000、denoise FLOAT默认1.0/0..1/step.01。denoise<=0早返空张量、0<denoise<1按条件扩大total_steps,calculate_sigmas使用model_sampling并取尾段/CPU;仅静态条件,不计算本图sigmas、有效步数或NFE。",
"289": "261准确enable_expand/is_input_list、reference与multi_frames分支及MiniMaxH3ImageToVideo扩图、9图/3视频/3音/参考桥接只是源码条件;本图无promptLine/matchLine。positive661直给291,另584→246 ConditioningZeroOut→662negative;LATENT664才是291起点,Get250 VAE663/Get254 MODEL660给291。288 KSamplerSelect euler→665;289 BasicScheduler simple/int6/int1→653→290 H3SigmaRefiner→666→291。没有外线seed到291,model_hires link=null。 288/289准确core0.33.0注册KSamplerSelect/BasicScheduler。KSamplerSelect从SAMPLER_NAMES选euler并调用sampler_object;BasicScheduler保存simple/JSON int6/int1,准确steps INT默认20/1..10000、denoise FLOAT默认1.0/0..1/step.01。denoise<=0早返空张量、0<denoise<1按条件扩大total_steps,calculate_sigmas使用model_sampling并取尾段/CPU;仅静态条件,不计算本图sigmas、有效步数或NFE。",
"290": "261准确enable_expand/is_input_list、reference与multi_frames分支及MiniMaxH3ImageToVideo扩图、9图/3视频/3音/参考桥接只是源码条件;本图无promptLine/matchLine。positive661直给291,另584→246 ConditioningZeroOut→662negative;LATENT664才是291起点,Get250 VAE663/Get254 MODEL660给291。288 KSamplerSelect euler→665;289 BasicScheduler simple/int6/int1→653→290 H3SigmaRefiner→666→291。没有外线seed到291,model_hires link=null。 290准确aux yichengup/ComfyUI-YCNodes-MiniMax-H3 commit146207295c1d2bd6b64a6552484cb6ed8be1c9ef,入口注册H3SigmaRefiner。extra_steps INT默认1/0..15,start_at_sigma FLOAT默认.7/0..20/step.01,end_at_sigma FLOAT默认0.0/0..5/step.01(源int0保留),spacing cosine/linear/exponential默认cosine。extra<=0、无首个sig<=start或该点已末尾直接返回;其余保留head,按原tail长加extra生成tail,终点max(end,last),余弦/线性/指数alpha3分支与必要终零保留、回原device/dtype只是源码条件。不计算sigmas/NFE/有效步数或保证去抖。准确树无LICENSE,代码许可未知,不以README当授权。",
"291": "261准确enable_expand/is_input_list、reference与multi_frames分支及MiniMaxH3ImageToVideo扩图、9图/3视频/3音/参考桥接只是源码条件;本图无promptLine/matchLine。positive661直给291,另584→246 ConditioningZeroOut→662negative;LATENT664才是291起点,Get250 VAE663/Get254 MODEL660给291。288 KSamplerSelect euler→665;289 BasicScheduler simple/int6/int1→653→290 H3SigmaRefiner→666→291。没有外线seed到291,model_hires link=null。 291准确aux slmonker/selflift-Avatar commit5df288a083fa8585a563c9c2af7ebfa0e79188c7/tree及__init__→nodes.py注册SelfLiftAvatarH3Sampler已核。源图无cnr_id;按派生slug selflift-avatar有界registry请求404仅该查询结果,规范registry绑定未知。PROVENANCE说明本地安装快照、上游commit未记录,逐文件SHA不替代上游版本;准确树无LICENSE/依赖manifest/前端JS,许可未知,必要依赖按源码imports记录,不套upstream/main或其它SelfLift。Avatar名不作人物属性证明。 291十四保存[999,fixed,JSON int1,int4,float.5,int0,float.5,int1,minimax_h3_latent_upscaler_3d_conv_v1_fp16.safetensors,true,auto,int2,auto,空串]与具名逐项独立。准确seed INT默认0/0..0xffffffffffffffff有control_after_generate=True,frontend1.45.20标准widgets.ts条件创建control_after_generate,fixed为该标准前端辅助,不是第二后端参数。cfg FLOAT默认5.0/0..100/step.1,transition_step INT默认6/1..10000,lowres_scale FLOAT默认.5/.25..1/step.05,rho默认0、w_min默认.5/w_max默认1,均FLOAT 0..1/step.05,源int/float不改。upscaler_model是动态模型枚举,highres_tiling BOOLEAN默认false而源true;optional model_hires空连接不认证第二模型接入。 准确SelfLift后端schema/方法均无tiling_mode/tiling_tiles/tiling_axis/selflift_tiling_plan,准确树无对应前端实现;四字段映射具体未知,不造第十五参数,不把空plan认证成前端辅助。源tiling_tiles输入COMBO但保存JSON int2,不认证准确实现实际选择二块。highres_tiling true只保存态,模型文件名仅引用,无权重读取/许可/安装证明。291 seed999/fixed无外线,276 Easy独立1002069665555849/randomize/null→273 Setseed,没有Getseed到291物理边,不合并、不随机或保证可复现。 准确SelfLift H3 AV属于实验扩展:sample在rho==0且upscaler none时报错;rho>0和w_max>0使用外部upscaler时有hybrid实验提示。progressive_sample校验scale/rho/权重区间、Euler与rectified flow、transition索引,sigmas不足2可早返;选择model_hires或model,highres_tiling+noise_mask不支持。低阶段视频空间缩放、音频流与boundary预测/过渡x0、latent格式变换、paired_lifts按rho/w权重条件调用VAE或learned latent lift、校正/重加噪/高阶段采样与mask保留均只是源码条件,未计算或执行。 h3_upscaler按latent_upscale_models动态文件列表、safe权重加载/结构检测/严格state_dict、CoreModelPatcher设备卸载与缓存、分块memory预算/归一化条件完成learned_latent_lift;本轮只文本核对。h3_tiling按空间布局与可用workspace选择轴/块数,音频/参考全局,每块均获得音频输入并产生预测,但只保留首块音频预测,不等于保证音频原样。环境DEBUG诊断分支可能VAE decode/保存PNG、CUDA timing可能同步;均未启用。不执行双阶段/张量/权重/切块/随机/清理,不保证倍率/尺寸/画质/人物一致/时长/音频或NFE。",
"286:1": "唯一MoGe定义作用域286:内部1 LoadMoGeModel、2 MoGeInference、5 MoGeRender各有自己的core0.38.0声明,不传播宿主身份。边界-10.slot0→2.image(id2)、slot1→2.resolution_level(id8)、slot2→2.batch_size(id9)、slot3→5.output(id10)、slot4→1.model_name(id11),内部1→2(id1)、2→5(id4)、5→-20.slot0(id5)。五边界/八字典边只是保存结构,宿主depth和内部mask均保留,不认证恢复或虚拟边执行。 准确core0.38.0 MoGeExtension注册LoadMoGeModel/MoGeInference/MoGeRender。LoadMoGeModel的model_name动态geometry_estimation枚举与安全权重读取、MoGeModel构造只是源码条件,不查模型目录/文件。properties.models中HuggingFace地址仅原引用,不下载模型、不认证模型/素材许可或安装。Comfy代码LICENSE与模型许可分列。",
"286:2": "唯一MoGe定义作用域286:内部1 LoadMoGeModel、2 MoGeInference、5 MoGeRender各有自己的core0.38.0声明,不传播宿主身份。边界-10.slot0→2.image(id2)、slot1→2.resolution_level(id8)、slot2→2.batch_size(id9)、slot3→5.output(id10)、slot4→1.model_name(id11),内部1→2(id1)、2→5(id4)、5→-20.slot0(id5)。五边界/八字典边只是保存结构,宿主depth和内部mask均保留,不认证恢复或虚拟边执行。 286:2 MoGeInference六保存[JSON int9,int0,int4,true,true,int3];准确resolution_level默认9/0..9,fov_x_degrees FLOAT默认0.0/0..170/step0.1,源int0独立,<=0时自动估计只是条件;batch_size默认4/1..64,force_projection/apply_mask默认true,refine_steps默认3/0..8仅v3、v1/v2忽略。RGB→BCHW、按batch分块infer、cat points/depth/intrinsics/mask/可选normal及CPU保存均不执行。MoGeModel默认apply_metric_scale只在模型metric_scale可用时缩放;mask可使点/深度为inf,不能由文件名声称公制米、相机准确或实际输出。",
"286:5": "唯一MoGe定义作用域286:内部1 LoadMoGeModel、2 MoGeInference、5 MoGeRender各有自己的core0.38.0声明,不传播宿主身份。边界-10.slot0→2.image(id2)、slot1→2.resolution_level(id8)、slot2→2.batch_size(id9)、slot3→5.output(id10)、slot4→1.model_name(id11),内部1→2(id1)、2→5(id4)、5→-20.slot0(id5)。五边界/八字典边只是保存结构,宿主depth和内部mask均保留,不认证恢复或虚拟边执行。 286:5 MoGeRender独立保存mask,宿主保存depth;准确output默认depth,选项depth/depth_colored/normal_opengl/normal_directx/mask。mask分支要求mask,转float并扩三通道;depth处理视差归一化、normal需要条件,返回中间设备/dtype。两种缓存不互改,不执行渲染或计算深度/正常图;五边界输入不等于四缓存已恢复。"
}
@@ -0,0 +1,17 @@
[
{
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_director_selflift_fixed_document.py calliope-backend/tests/test_workflow_library.py -q",
"exit_code": 0,
"log": "backend-tests.txt"
},
{
"command": "uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/director-selflift-document-evidence/*.py calliope-backend/tests/test_director_selflift_fixed_document.py e2e/run-director-selflift-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 0,
"log": "ruff-entry.txt"
},
{
"command": "uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/director-selflift-document-evidence/*.py calliope-backend/tests/test_director_selflift_fixed_document.py e2e/run-director-selflift-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 0,
"log": "format-entry.txt"
}
]
@@ -0,0 +1,3 @@
FETCH selflift 5df288a083fa8585a563c9c2af7ebfa0e79188c7 3
FETCH core0380 6b747c0428c343e1417219641db93a4fb7cb69ae 9
REGISTRY 404
@@ -0,0 +1 @@
FETCH selflift 5df288a083fa8585a563c9c2af7ebfa0e79188c7 7
@@ -0,0 +1,710 @@
{
"base": "b626757bbf3f4f2f4a8d893e96832e7f54fe4f17",
"self_excluded": true,
"self_path": "docs/hel-892/director-selflift-document-evidence/file-purpose-sha256.json",
"reason": "清单不递归摘要自身;最终head/完整补丁另在提交后交付包中",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
"bytes": 27097,
"sha256": "d9a487103c00d8009ec7298d107eeaec4949d8f9bc8122c180158fa09d017ac4"
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
"bytes": 37827701,
"sha256": "fbbaf6346dff0b906471c682f5635d805558318ee8319898c82f6fd5ec503df6"
},
{
"path": "calliope-backend/tests/test_director_selflift_fixed_document.py",
"purpose": "本图逐保存位置/完整长字符串/全图和调用方重哈希失败关闭测试",
"bytes": 8538,
"sha256": "a28666040bfb8d5307e33e70fdf1f39e7fb0bb1f74e8102849d001870b1107b4"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/actual-MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 967660,
"sha256": "3cea0aff4061cdc14ec8aeedc07df95cc6e947ceb2521cda3189345ec16635f3"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/actual-get.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1004954,
"sha256": "2574d402952151820ed2439f73327adf63e9b99e710ebae0fb1f28295439d8a8"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/audit-summary.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 797,
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/backend-build.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 211,
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/backend-request-counts.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 4027,
"sha256": "5a25802cabdf0fad562817e979fa7b89acaa74052aaa75db0a0d5c8afee1c580"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/backend-tests.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1521,
"sha256": "d0f9fa93063f9fe88e051d1faaf5b925d55f33447f2bbfd2e58a020e6ab206a8"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/baseline-frozen-files.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 3216594,
"sha256": "58e8c0aed87a826f07e1e002b792495bcd3a3239570b876b8ad1255c61987f17"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/boundaries.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 38620,
"sha256": "9c1587fdf115a96ac76d7ff57919d480d2bc93fd9c1bda1063ebcb5a62add198"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/browser-before-final-prose.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 385147,
"sha256": "8e6790e1a541b3165105afcc7cc0d832c257a25fab3c19d83b1b10107ca02062"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/browser-final-entry.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 385344,
"sha256": "085f81d9d819f9435fc99dcfd361ff577f8b05d44a65194461a1c34f6d7f4fc3"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/browser-results.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 439873,
"sha256": "bb5d3c6b3a590a2f66dbcad838766a4e476ebf4ccd1f384245f5bccc1972787b"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/build_definition.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 28774,
"sha256": "ed642d65aab3d3098b941a80562dab56821216189a270b6db6d2d7b78db59243"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/collect_browser.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 3223,
"sha256": "3c7f292e8123275606fbd81deb965ac19607ff9d8d7d041cf77a4decd0906d1c"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/definition-0.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 825016,
"sha256": "846ec81220b706e3c956b5d4425102785c7ee1567cb8525d8ced5047fc4f00d0"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/delivery-summary.md",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 5631,
"sha256": "5ea5d3e5d3505c85498367631ccdedc224ed01bf20829b4b4b23a96380505f57"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/editorial.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 35904,
"sha256": "8dea10f8372d81cf18c2b352144e63485881c9dc377b8f07476700615ea82c91"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/entry-executed.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1050,
"sha256": "7966d7f9ffe0bf5c873bde01aa58a6026db8d1c063d958cd71437a22f7cc1b55"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/extend-director-selflift.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 129,
"sha256": "f41b30eacfc46e32a657e9dba7561bab475c86d9fc71548c2c187c4990f3bd1b"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/extend2-director-selflift.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 58,
"sha256": "3396365adf33cf16b7749adf92f6da1d1fdf683ef998b550378726f56d1135f3"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/fixed-source-index.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 226361,
"sha256": "13476c2fd005f858645fbd1cb567a61ac1c10f5f0befe80c412eb6860b736d76"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/format-entry.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 27,
"sha256": "04eb0d6e6734823dcd2b2b704729e976f683df7a8f334da7216520ef1cb319bf"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/freeze.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 2452,
"sha256": "2da492ffeaa22c26981c55b47455df88b5eb903f93c0c8ca1d139c29b9b6cb9b"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/frontend-build.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 24104,
"sha256": "66b2370cb9633eacc55ec92433ba1023a4ffae45424cd564193b6721b832af4f"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/frozen-resource-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 40348,
"sha256": "aff8195623b8be37cc845b0470192280f32f11943078f86edc570a822b7a7f0d"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/get-binding.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 552,
"sha256": "a12e66c81ae843b7a230e499d4a5629d98360245413d080b7904a20b907768a6"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/identity-gaps.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 3533,
"sha256": "86bd6a7188256d32c6ce2fbb3b90273ce01021f31eae8ccb3c8ee0f19c14520d"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/import-protection.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1273,
"sha256": "13598b7d9d4918f0ec4b7d9eaa1315d956794ae1d3f61911c6e9c0bed53def0d"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/independent-inventory.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 307932,
"sha256": "538865cc27d57ea41ddf98e061194b42c545291c871a363c177550ed15e29828"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/initial-backend-tests.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1168,
"sha256": "a478b0e98ca5ecac20ca6d5f32a1111d743c679a7431bd66089bf7ede8b22924"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/initial-format-entry.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 27,
"sha256": "04eb0d6e6734823dcd2b2b704729e976f683df7a8f334da7216520ef1cb319bf"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/initial-ruff-entry.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1288,
"sha256": "32b1b79ed3902a243cd430b4bb808be304567105161b6b23f68a21437772611f"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/inventory.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 3666,
"sha256": "9137daaf810513ff1dc86baa7ff6f32c7c566e83b3001d6910dcefa870ac9c2a"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/js-check.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/json-pointer-delta.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 493,
"sha256": "e1b9900f876f68566b5bd89a8e00d79abbd8504a0e60da178143089340c0d069"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/node-version-bindings.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 13073,
"sha256": "613e83ab0ee9529d6750c8258239fc838459312c8cc46a25d55de78873059bb7"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/originals-163-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 46597,
"sha256": "86d65768b7fa7c8057fdb70337e46f3b7d59fc6e60a366a44c4812b77bfba170"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/package-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 553,
"sha256": "abb48f26b620a2838cf248c6fb5e2cfa241a6f54d19134b9694d57b43db97dc7"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/pins.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 204,
"sha256": "2993f12ccb7091294e8fac824396bd50c459d8b4cc5dd42e9c3ffcbc9dd49b5d"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/ports-independent.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 165,
"sha256": "1e487821f761ab96db779fb3b6fb5e5411005f9027f12a880a779aefb23c50bc"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/prose.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 22156,
"sha256": "66a2b77991154fc177488db3001fe9c5cdd62bab5aaaa504e5790ced327d269d"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/rebuild.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 2372,
"sha256": "9b4b447ae09ce6a299d17da1472be1ac1b571b8cf82c7ab5eede2acc46c47f4f"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/recompute.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 13537,
"sha256": "e232a48165d5b8896f9e7e22dae23e41cd3da7c2e49eeabc750ed753e28685f4"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/recompute.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 261,
"sha256": "6eed3d58ab1a89f3158af6d02adc1c4106704eaed95947f2be614383c3227a00"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/render_report.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 5307,
"sha256": "f8b6f9079f65f3a2a1cfa85b3d5a2bcc357adf4b43d15b7fbf0a0f72bfe060a6"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/repeat.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1344,
"sha256": "e6475db70c14158fcf9df24cd4e871bf46f54baefe3b84fdd6c829f5a93a837a"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/repeatability.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 437,
"sha256": "c00b44b7554e48304b60475c43dff671d79dabf9d9d4ac80631a81faa41a2c11"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/review-delta.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 432,
"sha256": "92e1e36599110ffdad78c22c2f14dd36faeb2067ce95f6f324e2ab467cd4eb94"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/ruff-entry.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 19,
"sha256": "82b3e6a6c090a57601d22943bd23fca9218d1031dbe5a7b754092f9a156b4f18"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/scoped-diff-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 406,
"sha256": "ea10dad781ec9359456f5aa9a9d94849e2b45a95cd8e860236a009d554143cd6"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/scoped-diff-check.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/screenshot-review.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 5422,
"sha256": "8d59e99093443d549a5ef803d4b3839f2096f4b6280d19b85fd48ba9a78ab100"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/service-0.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 28753,
"sha256": "2fa5b188c94ae7b1ab102d1f46fe0873eb8f6f6e2641e7a15da30487075d657f"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/service-1.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 72,
"sha256": "4b90f4f4e9cb60781d0792e276c697bac940be5e2b68957eba8b047a73ea6faf"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/service-stop.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 65,
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/source-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 77522,
"sha256": "bde4a304a598e1ab2c0dc6ba2bec17c620049679759f62c9f1db8b5faf093857"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/source-check.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 81,
"sha256": "67f3018521ecc685b4aeea6380422ac53a4172e70c1afccadc2d2dd1f43e4e67"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/source-closure.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 247629,
"sha256": "5ce6e06eed73e8fd8c9b8325752a3928b9c632d8ae9b1e6f61c0fbaa95b3ccad"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/source_closure.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 4129,
"sha256": "289a5f0d1c398ffe8bbd1ed365c3d3b0d430ba4d8e1a7992f6884f6536331e12"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/sources-director-selflift.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1399,
"sha256": "388914d0799181460c8729186bdeef6752311731dd0703f3a7e35e7719f64a71"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/validation-commands.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 2872,
"sha256": "38fc52f664dc49aacaa7c3036f91098e1ad076defc64e8af1c1365626f14f97e"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/validation-summary.md",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 5631,
"sha256": "5ea5d3e5d3505c85498367631ccdedc224ed01bf20829b4b4b23a96380505f57"
},
{
"path": "docs/hel-892/director-selflift-document-evidence/verify_sources.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 13057,
"sha256": "77271a213da2646f08c3b775d2924b54b31a3c5a25838464c1809a932ff03d04"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 88,
"sha256": "e381ed704d67ffacc2d56a1c6c5f942ea7c244cbf20b111568e319cb2a1604e7"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 135,
"sha256": "dea1818eb073751e4fbf27b1e7359d2e54bea6bcafb7077b2b9021956a2dd483"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 171022,
"sha256": "b672950210c6036f571713c78213ef9a6166a00e0a349e4b5890a4cc34c892b0"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330__LICENSE",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 35149,
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330__comfy__samplers.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 64339,
"sha256": "69498999dd1198c05fa64fa2a7b7090d21090c470d2304191e483a0543fcefd2"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330__comfy_api__latest____init__.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 6307,
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330__comfy_api__latest___io.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 95099,
"sha256": "495aefa059aad4eed4181aa7fbb415679d3f269651e9fc6f542bdac1b99dd40f"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330__comfy_api__latest___io_public.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 33,
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330__comfy_extras__nodes_custom_sampler.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 49739,
"sha256": "b0ba1521c72475e06fed15db004274ed7c8bb2bf73f1d58849faf6f9f9d264fe"
},
{
"path": "docs/hel-892/director-selflift-reference/core0330__requirements.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 531,
"sha256": "162eb6c1d79d1f0dcf906498c425f01293199261553977791b16a96fceba7d07"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "395e9b87629ceb278fe61b493f10641d4c856e13b09a3dc1f994ce1e95211e7a"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 88,
"sha256": "4ccd73b2d59cb1554637616246d7bed3d599b7949c98a4c29dd8b2d069e9b003"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 135,
"sha256": "b8731fb9fb2c08f05f3cff85fe06ed4d4aa12ef5bfa6c51df4b22789764613fe"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "395e9b87629ceb278fe61b493f10641d4c856e13b09a3dc1f994ce1e95211e7a"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 208488,
"sha256": "35d060919ad11f6d515508f8072a523189d1c3a2f6ab29acf98f6e9975895844"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy__ldm__colormap.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 848,
"sha256": "502137c8cc6280c6641fac7199f4c6a25e16162bb2038452a2b470e3f7b60394"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy__ldm__modules__attention.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 53412,
"sha256": "bc0a142275a9b1ebacd42d75d674ac6ce74e1c6bbdedeb8fc52706599d4ad498"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy__ldm__moge__geometry.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 8537,
"sha256": "db8e2da75f13028a98067c517d6495fd9818b2878b44599beaa281ff7fde397c"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy__ldm__moge__model.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 21398,
"sha256": "1873c96a7f2e05de7d2f74060e4c99f7bc3ce7a1b6550f1461e75ab503554961"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy__ldm__moge__modules.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 16527,
"sha256": "26ff3bebfbcd6885ee650ba10f5a42084c9c0082dc11834dfa043d07fe0ccc7f"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy__ldm__moge__panorama.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 14230,
"sha256": "d278c70946c82356e786f00af5967cc597b0fdab9720f1a54539af781c2e7881"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy__model_sampling.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 16222,
"sha256": "8afdc665272589a567792bb652389df7d4a83f69574c2b7e5b3d533d55592990"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy__samplers.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 64383,
"sha256": "f2c264ca9d394612f828e3ffe167c856a278a10e1711b269f0ba65dccb66393f"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy__sd.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 146164,
"sha256": "ad1e6a9ff7b4abb48fb55b6054eace19e33f79359e24a0c4067d94a1a80e0e99"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy_extras__nodes_minimax_h3.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 30934,
"sha256": "108ceff11e5a5c9a34a57bbc380447cf9941beb673a1bd421abc818de54ccd5c"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy_extras__nodes_model_advanced.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 17086,
"sha256": "34c5065756d925791c7a238f084eefd5ff912e1e84976a2dbe94432deea8ffcc"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy_extras__nodes_moge.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 22744,
"sha256": "dcc0d9219d5780bb5d8ffca283210dd49528ea92f9cb79542c19b7376000b760"
},
{
"path": "docs/hel-892/director-selflift-reference/core0380__comfy_extras__nodes_sparse_attention.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 23011,
"sha256": "f205faa57e3d348ead3f60e59caed24c31ebf2976d8d50e9eaaa2e55b36ef067"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 313,
"sha256": "e4d6d2654e958f22a0e0aa20b50b492714f284e7329b2e253a4aa86a5d9481ae"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 125,
"sha256": "8d43b3c02c0ecdc551157c253ca4a2f8d797cc26c4e4d6149b8efb859957a10c"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift-registry-request.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 324,
"sha256": "295b09842cdf8176fee137be2596d4b22ba6f1a6637017f312abee7ad443d14c"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift-registry-response.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 40,
"sha256": "94fd27e893abbba909fe91abbe3143a4ff94afb8ce37685a735b5ce4dce55089"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 168,
"sha256": "c13248c80c8e6208297804b1a30fd5df422bcec41879fa27163253088fa72d36"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 313,
"sha256": "e4d6d2654e958f22a0e0aa20b50b492714f284e7329b2e253a4aa86a5d9481ae"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 2449,
"sha256": "0ab8a71c4527a1d9081fcd3f32c2f36696b365e847b2dfb58f72dc2a493231ed"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__PROVENANCE.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 1697,
"sha256": "e91d56f96dccbe03c929366b92e049043a414ea20264149c6edb4f3e265e1c12"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__README.md",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 8765,
"sha256": "bb6a232f6a40167c5a1a3e1e2c66702715ca90f464d963010b6831e8ab504e75"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift____init__.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 132,
"sha256": "4c0f96b0f0006df5a559d09d44b8d521a32d7992383223310b5ba2a3f88e3e42"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__avatar_masks.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 4876,
"sha256": "02238e92ad4ebf96ceb6959fadbc22a2a9e55afc70f8835935a5bb59a26eb4be"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__avatar_sampling.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 2113,
"sha256": "d4540a6e01ca79aca9b5e009a81fedb60d508eaa45f7fc297ca52d2055137e90"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__diagnostics.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 1341,
"sha256": "a4a81b2ddc6a2f8b4cf6be040c184e0b0b848513ed21a332a7169215f5f55641"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__h3_tiling.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 11654,
"sha256": "dd285f1af595c945d974de8e734b779bc4dad5bf125bc312895070bfa31a83bd"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__h3_tst.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 11998,
"sha256": "20fd3def8a1d172abb2ee2563ef5f83af28d006300f43a92d1abef244651af13"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__h3_upscaler.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 15471,
"sha256": "63d0683e04ed81dbfb2fcc6a61fa55cf742d6c04a87455fbf1f2353b1239322a"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__nodes.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 28697,
"sha256": "600f537d0bb0aaf7137ff26bed822bd1e0215f17fbba874da8b1a20ee7b0aee0"
},
{
"path": "docs/hel-892/director-selflift-reference/selflift__selflift.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 6115,
"sha256": "e38aa972b9bd6044aa28bf468018984ec7ac886e7aeb615dbd49c16cd779b26e"
},
{
"path": "docs/hel-892/director-selflift-reference/sources.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 143383,
"sha256": "5f8096ddab2b13e4a6b99b65edee1f0fb1bf4a2cee3e717512be75a06f84f47e"
},
{
"path": "docs/hel-892/导演台SelfLift双采样潜放大固定参考中文说明.md",
"purpose": "114条目和零标准Note/完整轨道原字符串/自定义原属性完整中文固定参考说明",
"bytes": 1410926,
"sha256": "f7c29fb15fbc019330f8ebf0f22ab7442ae34022e81fb2906bea6267419c9925"
},
{
"path": "e2e/director-selflift-document.mjs",
"purpose": "本图及旧121摘要真实本地浏览/服务清理复现入口",
"bytes": 23175,
"sha256": "d42cd05ac91d8ebb84f9ab49533cc0676f22ebe4fa87f6138ee76ac8337472c9"
},
{
"path": "e2e/run-director-selflift-document.py",
"purpose": "本图及旧121摘要真实本地浏览/服务清理复现入口",
"bytes": 3605,
"sha256": "16e3527110d46bbbf17b5dc82fba5c5bfa2547ac0d0010f3f84e0d90cfa01918"
}
]
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
13 files already formatted
@@ -0,0 +1,65 @@
"""Rehash every baseline blob except the two authorized product resources."""
import hashlib
import json
import subprocess
from build_definition import OUT, REPO
from rebuild import BASE, RESOURCE
def main():
allowed = {RESOURCE, "calliope-backend/src/calliope/comfyui/fixed_document.py"}
entries = subprocess.check_output(["git", "ls-tree", "-rz", BASE], cwd=REPO)
frozen = []
originals = []
for entry in entries.rstrip(b"\0").split(b"\0"):
meta, path = entry.split(b"\t", 1)
name = path.decode()
if name in allowed:
continue
mode, kind, digest = meta.decode().split()
assert kind == "blob"
raw = (REPO / name).read_bytes()
actual = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
assert actual == digest, name
item = dict(path=name, git_blob_sha1=digest, sha256=hashlib.sha256(raw).hexdigest())
frozen.append(item)
if name.startswith("example_ComfyUI_workflows/") or (
name.startswith("docs/hel-892/supplied-api/") and name.endswith(".api.json")
):
originals.append(item)
assert len(originals) == 163
for filename, data in [
("baseline-frozen-files.json", dict(base=BASE, count=len(frozen), files=frozen)),
("originals-163-check.json", dict(base=BASE, count=163, files=originals)),
]:
(OUT / filename).write_text(json.dumps(data, ensure_ascii=False, indent=2) + "\n")
previous = json.loads(subprocess.check_output(["git", "show", BASE + ":" + RESOURCE]))
current = json.loads((REPO / RESOURCE).read_bytes())
changed = [p for p in previous if previous[p] != current[p]]
assert len(changed) == 1
target = changed[0]
added = dict(current[target])
added.pop("fixed_version_document")
assert added == previous[target]
(OUT / "json-pointer-delta.json").write_text(
json.dumps(
dict(
base=BASE,
path=target,
only_added_key="fixed_version_document",
other_review_objects_unchanged=155,
other_baseline_blobs_unchanged=len(frozen),
allowed_product_resources=sorted(allowed),
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print("PASS baseline blobs", len(frozen), "originals", len(originals))
if __name__ == "__main__":
main()
@@ -0,0 +1,267 @@
> calliope-web@1.5.8 build
> vite build
vite v6.4.3 building SSR bundle for production...
transforming...
10:24:11 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>
10:24:11 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...
10:24:13 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>
10:24:14 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
https://svelte.dev/e/a11y_media_has_caption
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
155: {#if shot.job?.status === 'done' && shot.job.output}
156: <video
^
157: class="vshot-video"
158: src={assetUrl(shot.job.output) ?? undefined}
✓ 763 modules transformed.
rendering chunks...
computing gzip size...
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
.svelte-kit/output/client/.vite/manifest.json 26.73 kB │ gzip: 3.23 kB
.svelte-kit/output/client/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/assets/12.IyyrLGyK.css 0.22 kB │ gzip: 0.15 kB
.svelte-kit/output/client/_app/immutable/assets/6.C62bpzl4.css 0.22 kB │ gzip: 0.15 kB
.svelte-kit/output/client/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB │ gzip: 0.34 kB
.svelte-kit/output/client/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB │ gzip: 0.31 kB
.svelte-kit/output/client/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB │ gzip: 0.37 kB
.svelte-kit/output/client/_app/immutable/assets/ConfirmDialog.DOfiQL0c.css 0.91 kB │ gzip: 0.38 kB
.svelte-kit/output/client/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB │ gzip: 0.58 kB
.svelte-kit/output/client/_app/immutable/assets/18.DG2SembM.css 1.87 kB │ gzip: 0.70 kB
.svelte-kit/output/client/_app/immutable/assets/ImageLightbox.BK2SuPZK.css 2.20 kB │ gzip: 0.72 kB
.svelte-kit/output/client/_app/immutable/assets/10.-McisAlK.css 4.49 kB │ gzip: 1.20 kB
.svelte-kit/output/client/_app/immutable/assets/15.Do7_3xO3.css 4.84 kB │ gzip: 1.32 kB
.svelte-kit/output/client/_app/immutable/assets/ComfyDynamicForm.BMZDOzpt.css 4.86 kB │ gzip: 1.14 kB
.svelte-kit/output/client/_app/immutable/assets/16.D3s-Wa9z.css 5.02 kB │ gzip: 1.31 kB
.svelte-kit/output/client/_app/immutable/assets/AgentComposer.ub9gqAax.css 6.39 kB │ gzip: 1.59 kB
.svelte-kit/output/client/_app/immutable/assets/4.D4ArXiOU.css 10.48 kB │ gzip: 2.23 kB
.svelte-kit/output/client/_app/immutable/assets/11.CkE-wdAx.css 10.49 kB │ gzip: 2.33 kB
.svelte-kit/output/client/_app/immutable/assets/3.CU9FCfPU.css 10.86 kB │ gzip: 2.39 kB
.svelte-kit/output/client/_app/immutable/assets/AgentChat.DoddhUHp.css 11.39 kB │ gzip: 2.53 kB
.svelte-kit/output/client/_app/immutable/assets/AppShell.BDTKT42t.css 12.74 kB │ gzip: 2.91 kB
.svelte-kit/output/client/_app/immutable/assets/5.CYAHcbnz.css 15.04 kB │ gzip: 3.15 kB
.svelte-kit/output/client/_app/immutable/assets/0.DtQ4sRph.css 19.40 kB │ gzip: 4.66 kB
.svelte-kit/output/client/_app/immutable/assets/StudioGenerate.DLzq3T0v.css 21.08 kB │ gzip: 4.13 kB
.svelte-kit/output/client/_app/immutable/assets/19.DdIn3xwb.css 22.49 kB │ gzip: 3.73 kB
.svelte-kit/output/client/_app/immutable/assets/8.F76ywLuB.css 28.78 kB │ gzip: 5.24 kB
.svelte-kit/output/client/_app/immutable/assets/7._yLDI1qf.css 31.71 kB │ gzip: 5.43 kB
.svelte-kit/output/client/_app/immutable/nodes/5.DUJAhBNk.js 0.09 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/Bzak7iHL.js 0.10 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/DTQKaZHR.js 0.10 kB │ gzip: 0.11 kB
.svelte-kit/output/client/_app/immutable/chunks/IKQcdn9t.js 0.12 kB │ gzip: 0.12 kB
.svelte-kit/output/client/_app/immutable/entry/start.C_GRLscs.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.D8HEE3_p.js 0.16 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/nodes/9.DcZIXoeJ.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/TUkUdwOh.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.BREO4VWQ.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.BB6lpZZb.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.CxjzYf55.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.DtUB2r1p.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/CI85XDXZ.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.yv78Sy7X.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/CdPVWJEc.js 6.87 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.ZLljH9Me.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.BrJXgccH.js 11.97 kB │ gzip: 4.02 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.DhTyZEfW.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.B70fagqc.js 23.02 kB │ gzip: 7.51 kB
.svelte-kit/output/client/_app/immutable/chunks/D3fVwy4A.js 23.99 kB │ gzip: 9.32 kB
.svelte-kit/output/client/_app/immutable/nodes/11.B1Ptc9ZY.js 24.95 kB │ gzip: 8.35 kB
.svelte-kit/output/client/_app/immutable/nodes/3.BU3mo1Jn.js 25.68 kB │ gzip: 8.33 kB
.svelte-kit/output/client/_app/immutable/nodes/4.BBuLitbO.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/Dod_UQj7.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.Cn_xqluU.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/Dqkbkykb.js 81.38 kB │ gzip: 27.49 kB
.svelte-kit/output/client/_app/immutable/nodes/8.DDGRyNld.js 86.49 kB │ gzip: 28.96 kB
.svelte-kit/output/client/_app/immutable/nodes/7.Cl2dOSBk.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.49s
.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.69s
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-static
Wrote site to "build"
✔ done
@@ -0,0 +1,771 @@
{
"base": "b626757bbf3f4f2f4a8d893e96832e7f54fe4f17",
"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,10 @@
{
"get_sha256": "2574d402952151820ed2439f73327adf63e9b99e710ebae0fb1f28295439d8a8",
"export_sha256": "3cea0aff4061cdc14ec8aeedc07df95cc6e947ceb2521cda3189345ec16635f3",
"canonical_doc_sha256": "3444bc245db4c81852d25c15f551f5f761c429bb7a7bc87e9a8fef9d73fe87ee",
"doc_json_equals_isolated_export": true,
"workflow_id": 119,
"pins": {
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json": "3e1db9af8f0ee85e0d48a05dd7bf7a837f318fd725d0971cc71eb439ee34115f"
}
}
@@ -0,0 +1,92 @@
{
"batch": 141,
"canonical_selflift_registry_binding": "unknown; graph aux only; derived selflift-avatar query404 does not prove registry absence",
"selflift_license": "unknown; exact tree no license",
"selflift_upstream_commit": "PROVENANCE says unrecorded; per-file hashes are not upstream commit",
"selflift_extra_fields": [
"tiling_mode",
"tiling_tiles",
"tiling_axis",
"selflift_tiling_plan"
],
"yc_license": "unknown; exact tree lacks license",
"corrections": [
"Independent raw: SaveVideo two outputs links=null, contrary to task preread missing links; source unchanged",
"nodes_attention.py candidate absent tree; no blob fetched; actual ModelAttentionBackend nodes_model_advanced.py",
"SelfLift tiling each tile predicts audio; only first prediction retained, subsequent predictions discarded; corrected before final browser"
],
"upstream_executed": false,
"prior_cached_rows_not_used_as_current_evidence": [
{
"id": "core0302",
"file": "comfy_extras/nodes_string.py",
"local_file": "../director-one-reference/core0302__comfy_extras__nodes_string.py"
},
{
"id": "core0302",
"file": "comfy_extras/nodes_math.py",
"local_file": "../director-one-reference/core0302__comfy_extras__nodes_math.py"
},
{
"id": "core0302",
"file": "comfy_extras/nodes_primitive.py",
"local_file": "../director-one-reference/core0302__comfy_extras__nodes_primitive.py"
},
{
"id": "core0380",
"file": "comfy_extras/nodes_primitive.py",
"local_file": "../qwen21-multi-reference/core0380__comfy_extras__nodes_primitive.py"
},
{
"id": "core0380",
"file": "comfy_extras/nodes_qwen.py",
"local_file": "../qwen21-multi-reference/core0380__comfy_extras__nodes_qwen.py"
},
{
"id": "core0380",
"file": "comfy/ldm/qwen_image21/model.py",
"local_file": "../qwen21-multi-reference/core0380__comfy__ldm__qwen_image21__model.py"
},
{
"id": "core0380",
"file": "comfy_extras/nodes_images.py",
"local_file": "../qwen21-views-reference/core0380__comfy_extras__nodes_images.py"
},
{
"id": "core0380",
"file": "comfy_extras/nodes_textgen.py",
"local_file": "../qwen21-views-reference/core0380__comfy_extras__nodes_textgen.py"
},
{
"id": "core0380",
"file": "comfy_extras/nodes_logic.py",
"local_file": "../qwen21-views-reference/core0380__comfy_extras__nodes_logic.py"
},
{
"id": "core0380",
"file": "comfy_extras/nodes_preview_any.py",
"local_file": "../qwen21-views-reference/core0380__comfy_extras__nodes_preview_any.py"
},
{
"id": "core0380",
"file": "comfy_extras/nodes_post_processing.py",
"local_file": "../qwen21-real-reference/core0380__comfy_extras__nodes_post_processing.py"
},
{
"id": "core0380",
"file": "comfy_extras/nodes_resolution.py",
"local_file": "../qwen21-real-reference/core0380__comfy_extras__nodes_resolution.py"
},
{
"id": "core0330",
"file": "comfy_extras/nodes_lt_audio.py",
"local_file": "../h3-latent-reference/core0330__comfy_extras__nodes_lt_audio.py"
},
{
"id": "core0330",
"file": "comfy_extras/nodes_lt.py",
"local_file": "../h3-latent-reference/core0330__comfy_extras__nodes_lt.py"
}
],
"note": "These reused pre-existing bytes were not downloaded this turn; current evidence manifest excludes unrelated classes."
}
@@ -0,0 +1,69 @@
{
"base": "b626757bbf3f4f2f4a8d893e96832e7f54fe4f17",
"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": 114,
"new_notes": 0,
"old_saved": 7064,
"old_notes": 214,
"overviews": 122,
"all_disabled": true,
"doc_done": 0,
"executed": 0
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,14 @@
==================================== ERRORS ====================================
_______ ERROR collecting tests/test_director_selflift_fixed_document.py ________
tests/test_director_selflift_fixed_document.py::test_control_identity_and_state_forgery_fail_closed: duplicate parametrization of 'key'
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR calliope-backend/tests/test_director_selflift_fixed_document.py
!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
1 warning, 1 error in 0.42s
@@ -0,0 +1 @@
13 files already formatted
@@ -0,0 +1,34 @@
I001 [*] Import block is un-sorted or un-formatted
--> docs/hel-892/director-selflift-document-evidence/verify_sources.py:103:5
|
101 | assert f["scope"] == ("root" if x["scope"] == "root" else "286")
102 | assert canonical(f["value"]) == canonical(x["value"]) == canonical(f["named_value"])
103 | / from build_definition import PATHS, REPO
104 | | import collections
| |______________________^
105 |
106 | g = json.loads((REPO / PATHS[0]).read_bytes())
|
help: Organize imports
|
102 | assert canonical(f["value"]) == canonical(x["value"]) == canonical(f["named_value"])
- from build_definition import PATHS, REPO
103 | import collections
104 |
105 + from build_definition import PATHS, REPO
106 +
107 | g = json.loads((REPO / PATHS[0]).read_bytes())
|
E501 Line too long (106 > 100)
--> docs/hel-892/director-selflift-document-evidence/verify_sources.py:327:101
|
325 | )
326 | print(
327 | "PASS114 positions/root106/internal8;65edges/5boundaries;28exact/32unknown/1definition;track36070"
| ^^^^^^
328 | )
|
Found 2 errors.
[*] 1 fixable with the `--fix` option.
@@ -0,0 +1,96 @@
"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/4-视频生成/Minimax-h3/"
+ "MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json"
)
def inventory():
raw = (ROOT / PATH).read_bytes()
g = json.loads(raw)
(fields, empty, notes, scopes) = ([], [], [], [])
graphs = [("", g)] + [
(f"/definitions/subgraphs/{i}", s)
for (i, s) in enumerate(g.get("definitions", {}).get("subgraphs", []))
]
for prefix, graph in graphs:
scopes.append(
dict(
pointer=prefix or "/",
nodes=len(graph["nodes"]),
edges=len(graph["links"]),
modes=[n["mode"] for n in graph["nodes"]],
named_nodes=sum(("widgets_values_named" in n for n in graph["nodes"])),
)
)
for i, n in enumerate(graph["nodes"]):
p = f"{prefix}/nodes/{i}"
if "widgets_values" not in n or n["widgets_values"] in [None, []]:
empty.append(
dict(
node=n["id"],
pointer=p,
state="missing"
if "widgets_values" not in n
else "null"
if n["widgets_values"] is None
else "empty_list",
)
)
if n["type"] in ["Note", "MarkdownNote"]:
notes.append(
dict(
node=n["id"],
pointer=p + "/widgets_values/0",
text=n["widgets_values"][0],
characters=len(n["widgets_values"][0]),
lf_count=n["widgets_values"][0].count("\n"),
literal_backslash_n=n["widgets_values"][0].count("\\n"),
ends_with_lf=n["widgets_values"][0].endswith("\n"),
named=n.get("widgets_values_named"),
)
)
continue
saved = n.get("widgets_values") or []
entries = saved.items() if isinstance(saved, dict) else enumerate(saved)
for j, v in entries:
fields.append(
dict(
node=n["id"],
pointer=f"{p}/widgets_values/{j}",
value=v,
json_type=type(v).__name__,
scope="root" if not prefix else prefix,
named=n.get("widgets_values_named"),
)
)
return dict(
path=PATH,
sha256=hashlib.sha256(raw).hexdigest(),
git_blob_sha1=hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\x00" + raw).hexdigest(),
fields=fields,
empty=empty,
notes=notes,
scopes=scopes,
extra=g["extra"],
hosts=[n for n in g["nodes"] if n["id"] in [213, 281, 282, 286]],
definition_boundary=[
{k: s[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]}
for s in g.get("definitions", {}).get("subgraphs", [])
],
)
if __name__ == "__main__":
x = inventory()
(OUT / "independent-inventory.json").write_text(
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
)
print("Saved", len(x["fields"]), "notes", len(x["notes"]), "scopes", x["scopes"])
@@ -0,0 +1,11 @@
{
"base": "b626757bbf3f4f2f4a8d893e96832e7f54fe4f17",
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"only_added_key": "fixed_version_document",
"other_review_objects_unchanged": 155,
"other_baseline_blobs_unchanged": 13370,
"allowed_product_resources": [
"calliope-backend/src/calliope/comfyui/fixed_document.py",
"calliope-backend/src/calliope/comfyui/source_reviews.json"
]
}
@@ -0,0 +1,681 @@
[
{
"node_id": "231",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "233",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "235",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "238",
"class_type": "VAEDecode",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "VAEDecode",
"lines": [
313,
338
]
}
]
},
{
"node_id": "239",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "240",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "241",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "242",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "243",
"class_type": "VAEDecodeAudio",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 1,
"symbol": "VAEDecodeAudio",
"lines": [
111,
130
]
}
]
},
{
"node_id": "244",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "246",
"class_type": "ConditioningZeroOut",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "ConditioningZeroOut",
"lines": [
272,
295
]
}
]
},
{
"node_id": "249",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "250",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "251",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "253",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "254",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "256",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "259",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "261",
"class_type": "easy minimaxH3ToVideo",
"source_version": "9d0282d4e19ef2718c084edf55864dfb4533032f",
"source_id": "media85",
"candidates": [
{
"source": 36,
"symbol": "EasyMiniMaxH3ToVideo",
"lines": [
583,
770
]
}
]
},
{
"node_id": "264",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "265",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "266",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "267",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "268",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "269",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "270",
"class_type": "easy multiTrackInfoOutput",
"source_version": "829a7a6030b151cb6ac091595570eb3a3d8c4512",
"source_id": "mediaout",
"candidates": [
{
"source": 39,
"symbol": "MultiTrackInfoOutput",
"lines": [
1632,
1670
]
}
]
},
{
"node_id": "271",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "273",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "274",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "276",
"class_type": "easy seed",
"source_version": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
"source_id": "easy",
"candidates": [
{
"source": 21,
"symbol": "easySeed",
"lines": [
5,
22
]
}
]
},
{
"node_id": "213",
"class_type": "easy multiTrackEditor",
"source_version": "fcfa42394d6347b4f04295041afdd7d92ba78c12",
"source_id": "mediaeditor",
"candidates": [
{
"source": 44,
"symbol": "MultiTrackEditor",
"lines": [
1678,
1742
]
}
]
},
{
"node_id": "263",
"class_type": "easy multiTrackTaskOutput",
"source_version": "829a7a6030b151cb6ac091595570eb3a3d8c4512",
"source_id": "mediaout",
"candidates": [
{
"source": 39,
"symbol": "MultiTrackTaskOutput",
"lines": [
2264,
2439
]
}
]
},
{
"node_id": "280",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "257",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "247",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "248",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "225",
"class_type": "easy saveVideo",
"source_version": "829a7a6030b151cb6ac091595570eb3a3d8c4512",
"source_id": "mediaout",
"candidates": [
{
"source": 86,
"symbol": "EasySaveVideo",
"lines": [
113,
219
]
}
]
},
{
"node_id": "279",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "226",
"class_type": "easy cleanGpuUsed",
"source_version": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
"source_id": "easy",
"candidates": [
{
"source": 20,
"symbol": "cleanGPUUsed",
"lines": [
1415,
1430
]
}
]
},
{
"node_id": "224",
"class_type": "GetVideoComponents",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 75,
"symbol": "GetVideoComponents",
"lines": [
167,
190
]
}
]
},
{
"node_id": "278",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "262",
"class_type": "CreateVideo",
"source_version": "0.30.2",
"source_id": "core0302",
"candidates": [
{
"source": 8,
"symbol": "CreateVideo",
"lines": [
152,
192
]
}
]
},
{
"node_id": "227",
"class_type": "SaveVideo",
"source_version": "0.30.2",
"source_id": "core0302",
"candidates": [
{
"source": 8,
"symbol": "SaveVideo",
"lines": [
75,
149
]
}
]
},
{
"node_id": "281",
"class_type": "Label (rgthree)",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "282",
"class_type": "Label (rgthree)",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "252",
"class_type": "LoraLoaderModelOnly",
"source_version": "0.30.2",
"source_id": "core0302",
"candidates": [
{
"source": 7,
"symbol": "LoraLoaderModelOnly",
"lines": [
740,
752
]
}
]
},
{
"node_id": "232",
"class_type": "VAELoader",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "VAELoader",
"lines": [
754,
847
]
}
]
},
{
"node_id": "234",
"class_type": "VAELoader",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "VAELoader",
"lines": [
754,
847
]
}
]
},
{
"node_id": "230",
"class_type": "CLIPLoader",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "CLIPLoader",
"lines": [
991,
1016
]
}
]
},
{
"node_id": "245",
"class_type": "UNETLoader",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "UNETLoader",
"lines": [
966,
989
]
}
]
},
{
"node_id": "283",
"class_type": "BlockSparseAttention",
"source_version": "0.38.0",
"source_id": "core0380",
"candidates": [
{
"source": 117,
"symbol": "BlockSparseAttention",
"lines": [
353,
430
]
}
]
},
{
"node_id": "284",
"class_type": "ModelAttentionBackend",
"source_version": "0.38.0",
"source_id": "core0380",
"candidates": [
{
"source": 108,
"symbol": "ModelAttentionBackend",
"lines": [
374,
413
]
}
]
},
{
"node_id": "285",
"class_type": "MiniMaxH3SigmaShift",
"source_version": "0.38.0",
"source_id": "core0380",
"candidates": [
{
"source": 107,
"symbol": "MiniMaxH3SigmaShift",
"lines": [
367,
408
]
}
]
},
{
"node_id": "286",
"class_type": "ffb7cd05-f9d8-4931-bf81-5287dcd75327",
"source_version": "0.38.0",
"source_id": "subgraph-definition",
"candidates": []
},
{
"node_id": "288",
"class_type": "KSamplerSelect",
"source_version": "0.33.0",
"source_id": "core0330",
"candidates": [
{
"source": 102,
"symbol": "KSamplerSelect",
"lines": [
379,
394
]
}
]
},
{
"node_id": "289",
"class_type": "BasicScheduler",
"source_version": "0.33.0",
"source_id": "core0330",
"candidates": [
{
"source": 102,
"symbol": "BasicScheduler",
"lines": [
17,
44
]
}
]
},
{
"node_id": "290",
"class_type": "H3SigmaRefiner",
"source_version": "146207295c1d2bd6b64a6552484cb6ed8be1c9ef",
"source_id": "yc",
"candidates": [
{
"source": 103,
"symbol": "H3SigmaRefiner",
"lines": [
12,
96
]
}
]
},
{
"node_id": "291",
"class_type": "SelfLiftAvatarH3Sampler",
"source_version": "5df288a083fa8585a563c9c2af7ebfa0e79188c7",
"source_id": "selflift",
"candidates": [
{
"source": 114,
"symbol": "SelfLiftAvatarH3Sampler",
"lines": [
404,
446
]
}
]
},
{
"node_id": "286:1",
"class_type": "LoadMoGeModel",
"source_version": "0.38.0",
"source_id": "core0380",
"candidates": [
{
"source": 106,
"symbol": "LoadMoGeModel",
"lines": [
64,
81
]
}
]
},
{
"node_id": "286:2",
"class_type": "MoGeInference",
"source_version": "0.38.0",
"source_id": "core0380",
"candidates": [
{
"source": 106,
"symbol": "MoGeInference",
"lines": [
213,
268
]
}
]
},
{
"node_id": "286:5",
"class_type": "MoGeRender",
"source_version": "0.38.0",
"source_id": "core0380",
"candidates": [
{
"source": 106,
"symbol": "MoGeRender",
"lines": [
271,
335
]
}
]
}
]
@@ -0,0 +1,821 @@
{
"base": "b626757bbf3f4f2f4a8d893e96832e7f54fe4f17",
"count": 163,
"files": [
{
"path": "docs/hel-892/supplied-api/01.api.json",
"git_blob_sha1": "d9aa335ccc84908747673632b75304347bb57aef",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"git_blob_sha1": "c15d785a7a4301dc2228dda3a31440df8f3b3853",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"git_blob_sha1": "926937b3938400e3ca049e32555909bedd27fe19",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"git_blob_sha1": "c810796d8bf41878614ec95735499bad377f0327",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"git_blob_sha1": "94ec86088483c6c99cc677022a97bb278c404b65",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"git_blob_sha1": "b0bc0e69f2f188a5b1521612593e75b3ff7c0bb7",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"git_blob_sha1": "9c1b4417b8e43d1c13868f4eb4222fbf83cd4188",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"git_blob_sha1": "e31f6e589546264095425f3cf0adf5431220036e",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"git_blob_sha1": "876d62f7123a5858c69f97d4a0e225b121968cd5",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"git_blob_sha1": "b11aff5284ddaf5c1f2396bfdb86abf43bafaa98",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"git_blob_sha1": "ffb30ad882f1eba45821e03c39d42441fda4f2cb",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"git_blob_sha1": "4b3829097135b907d5682aaea44c12f6c99d0732",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"git_blob_sha1": "2553845a4432ef50cb695888ea69500b2d7b85e7",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"git_blob_sha1": "804708ea4a12f989da88d6cfdbbc55c74e62c113",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"git_blob_sha1": "b54acc28b31af6140bd1d11fae34419b0028841a",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"git_blob_sha1": "cb2de9b19e68400412d2a589b7a538fe42e7085b",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"git_blob_sha1": "b1797f5627c81fa0ea8af6e5ab2ab436683cf60a",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"git_blob_sha1": "a8a435ae452b8edee887cca5d47f1271577bd9f7",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"git_blob_sha1": "16eba66f72993efe960b7738aa77a60509cb0e69",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"git_blob_sha1": "7beb3d4d245f8a003700ea93927173048244073f",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"git_blob_sha1": "aba196c81bd1ee68cc7655dc4360ad8e221f2176",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"git_blob_sha1": "5dd39556ebb3207cd1899fa20fc4b0ba1b8de484",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"git_blob_sha1": "ae555547bf30b1e9fdb5be7154401389d8eaecaa",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"git_blob_sha1": "1db8cb408a731d5ca4e47509bfa46b671a79ecce",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"git_blob_sha1": "252e78d61c95bc41071e3b80cabfa9db03132f49",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"git_blob_sha1": "aaa2a222800bdc51da7285504d072a539fca3778",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"git_blob_sha1": "ac6689a1fb40632dd8259519ef4b4321c0a9fd2b",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"git_blob_sha1": "8953a9b2e6e878d1552d328c6c52c320c76a86c7",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"git_blob_sha1": "047a0574be89e5af860c999cced3a65a895b54fc",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"git_blob_sha1": "b9c2c08a668778192e14062492f2747e05f66c25",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"git_blob_sha1": "80f41829a6b46d827b20206c8d9811e4cd6b4fcd",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"git_blob_sha1": "6ec06d969a615801ca56bfc8e6fd4ff32e2b91ea",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"git_blob_sha1": "921e3ab0932a7272960fb3c643a67d9e79bce20f",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"git_blob_sha1": "a2d677e3cb4c9fc5600f2f0235dd499260f0cd3d",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"git_blob_sha1": "f2f898fff3aac49bdea6ecb77bedbce119f844cd",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"git_blob_sha1": "14e833876b69d86a7181178f47960633f2921e05",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"git_blob_sha1": "40da02c5845509759b3001260f60c816cfd162bb",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"git_blob_sha1": "7d9039d049444a5e6dda74fc6afd5c8c2a405022",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"git_blob_sha1": "399637bbbc446c034a9b758610d2fbe078fec671",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"git_blob_sha1": "fd733f43bf6b351793edb556d3bd0fc01f5c357d",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"git_blob_sha1": "702c704b9eb265ba70a26ae64b286c9e214b5309",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"git_blob_sha1": "65052793b127c4f172a439ba9414b8e5dd4407d6",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"git_blob_sha1": "380593b7dee9693d302d022d04be41e07d7590f4",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"git_blob_sha1": "4d157e3b02041a18d9a6b963e87236d0b8d48af6",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"git_blob_sha1": "83ce324ce781fb572b8bd38730a2bf61bed028aa",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"git_blob_sha1": "268c60b0415536bdd003e5d14c579dc8be1200af",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"git_blob_sha1": "b08904ef82808eac903c7fc7cd1f660f10b49206",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"git_blob_sha1": "b2b918392308b7fa1ccff5d5a2c9ae7226603141",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"git_blob_sha1": "b4b8265f470d9e901b34e5dc767960cc896c9cd8",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"git_blob_sha1": "d2269043797c917412229c2bc2978e316fcfdc14",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"git_blob_sha1": "c9c50fd97d0fad06ad2e8ba05bd8c9211a804b0d",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"git_blob_sha1": "6814dbb64ba5b60aa4a0d568c8f0a0c5aa049001",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"git_blob_sha1": "d603c64b9f633dd678437e1cd6fe517489d1609d",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"git_blob_sha1": "cc49eff2991dcd2717c043e9aee0a2cbc83fe8b3",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"git_blob_sha1": "b30b4cf41f85867ebf125820c4d4e9c84299dc71",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"git_blob_sha1": "86614fdf732b0457d10ac562d722b1b0eec57c1e",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"git_blob_sha1": "07ae9e389967bdc5f21dda21b707dec2f2ce967a",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"git_blob_sha1": "3426237570145f305bfb1cacfc03782f4aa1ba58",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"git_blob_sha1": "9f6c7ba1b07bce3cb4b5121d1b6d08fa17b34627",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"git_blob_sha1": "f6be8b3b244c4c870d185883da5c8e38833a204b",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"git_blob_sha1": "37567b73738ed4f74321bab9b9cfdcf247cfb64b",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"git_blob_sha1": "52c33ad3a062aa3d7b394d268672ad8cc7b50a63",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"git_blob_sha1": "2788f24c4c3beedccbdc464e296dfd343c23a572",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"git_blob_sha1": "11f78b6370a4380d523df54e6e4d0dcbf05b642a",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"git_blob_sha1": "91e5b6f95361526ee26200a3b71be12846145bb5",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"git_blob_sha1": "6cd89669d53f91817c21d93e4c9d73c030dc5856",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"git_blob_sha1": "83a3300937243e6b6363df401de265346f5752c7",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"git_blob_sha1": "aa4ebf9554470eaf2a2435738496f673a0f032a9",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"git_blob_sha1": "6ff2078caf00227ee9b764732d9b874e9c94a808",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"git_blob_sha1": "399484350ceb614e703ca70cda7d8677ecc909f6",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"git_blob_sha1": "1733c9f8f4c2353f1e879de5b29eb828d101ad66",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"git_blob_sha1": "459851077ab2d1605123fb1f008b6c5b594e205b",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"git_blob_sha1": "ec985152035a6a5ba0922e2ac15549629c6fe32a",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"git_blob_sha1": "2acba1f8dc5b6d44821b3af6f4e8a3da866686dd",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"git_blob_sha1": "f0516f46778d165004fc5c33290ad6ab247b97f7",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"git_blob_sha1": "0c9a3b2372d2bbc0910a30284ec8ca61cba7fe57",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"git_blob_sha1": "b194a4471ab013dd8300408c5938270e77de391a",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"git_blob_sha1": "5a0ccb4c38e11505fc5cfa85b5fafad24fced8bd",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"git_blob_sha1": "2da435704577258f405dc889158a0e521e4920be",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"git_blob_sha1": "56c34f9ccb7498c3f63940b760aacd5523e4b448",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"git_blob_sha1": "a02e16b02ae8182c5d3afeaee76918fe5927df89",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"git_blob_sha1": "f24014d5271de641b6508288034f26364b756019",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"git_blob_sha1": "5be698e6cee151220bcd6e7f325d165cfc982a10",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"git_blob_sha1": "b025181ea468749edcd80da7c8d13486a655ae1c",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"git_blob_sha1": "cc7530a19e80ecd44ff34593d892b25689a022b0",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"git_blob_sha1": "69ad92e8b195e5b1edc09f2bd6c831fc7be95e66",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"git_blob_sha1": "6341462e83cf0b8063c259e5b07f7453728fdf7c",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"git_blob_sha1": "aa247412d52f607d41ad04b601a57ded80b06c3c",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"git_blob_sha1": "0eee17206dbb02745382b6fefc5c2cc759b401b3",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"git_blob_sha1": "42cc21020468c769b866343fe44e97455e157a15",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"git_blob_sha1": "70658354310362200ac1f255df59a307f51a47d2",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"git_blob_sha1": "e40930fc49a67c958e9ffa5c2679d87c19880bd5",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"git_blob_sha1": "c2bcda91873271e0d967b50a7d099aaff51a7580",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"git_blob_sha1": "e88d92165d777a7bfe27f25aa658c0f0aa0dcf86",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"git_blob_sha1": "3a4f891bc9cf06e47c7dc06c8c69f3b8862e2e64",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"git_blob_sha1": "f1856a8172b27009db54f35f7c7dea42b6695ef5",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"git_blob_sha1": "e0c27abb30c8b334818353a2b34ac96493a62fda",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"git_blob_sha1": "ee87553ab6bd77931dbeee18ea4382bc24abd5f1",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"git_blob_sha1": "fde3b7159aca50756b5f9da424c46211e0177191",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"git_blob_sha1": "cf1c6e578263af16079514b756bda3de6fcdb21c",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"git_blob_sha1": "7236a321ad7d225c5400a167bc20221d36357079",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"git_blob_sha1": "b87c0e18923e9c3ce0965e70476740d731acc4ab",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"git_blob_sha1": "375998176c51f10bb12c2d185389585435bc2437",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"git_blob_sha1": "613de66d7c7c5592d8308cb7b0708066ed5aefdf",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"git_blob_sha1": "cc4c248639fbca3b87425cdc2b421ae2934acd79",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"git_blob_sha1": "60645825360b8eb8699085dc332cfdfea6ab9c90",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"git_blob_sha1": "694e9be1b6882d617f435fcf6c5dc67722ff1f25",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"git_blob_sha1": "849b9d2772bb17d1d59f2aeb532428ba6f36d08a",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"git_blob_sha1": "1def9d0e259c0a46c23285439bb512b1b01e627a",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"git_blob_sha1": "bf96637bceaad71ef6e9ac8f0141b823cd34c0d0",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"git_blob_sha1": "f1134ff4f454bc99181a48a45bb6a799712ca61c",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"git_blob_sha1": "759d14e161e6ff6a0dd6b333ef8b3ba5b64dcb3d",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"git_blob_sha1": "461a35a1d93079d17a1460b8a62229c4ec4eb7b8",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"git_blob_sha1": "3c26c4d3b669dc08ef2f4104926adf74b0efe571",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"git_blob_sha1": "0994df75aa4a089f924c12ea892805a2d96ec631",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"git_blob_sha1": "46930a40f7fa9eab1e0d2f25db5f7a5f115eafac",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"git_blob_sha1": "e75f2156a724b291b7849e4be30932fde9745778",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"git_blob_sha1": "20b2d8ace87f06dc7be0874b07b7795b04e10aed",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"git_blob_sha1": "831784b56d3ff4860af6fc6942f1fc8b68447e89",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"git_blob_sha1": "2d874dd6f98673dc3239fb325cb9da2976fd3985",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"git_blob_sha1": "cb9d142e6921219554ae8f4a648dcb393e9f0517",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"git_blob_sha1": "ed06ffb7ac68779f71d44c099d007aa867d77bac",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"git_blob_sha1": "90352226be5b233f8efcfed44e23473e025b24b3",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"git_blob_sha1": "3c0a16a883ca03974e31361d8adbc0b9c1eeb54b",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"git_blob_sha1": "1ade0467c7499ab273d8ec1f3f6bc083cbdee0f5",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"git_blob_sha1": "fe31f3eea780d1032724e3f72ed3aaadc2d22bfc",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"git_blob_sha1": "df94e399718b6dbeec7e328c7dfafac654760436",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"git_blob_sha1": "4f8f6f4a78ca3fc61618af4e72a04006afaf6419",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"git_blob_sha1": "422ef2867152a38d300803542501ddc2d589579d",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"git_blob_sha1": "db6467bafe95dcf758341cac1121f9a65680aff3",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"git_blob_sha1": "b9e940b687404280ded5444aa55b31a782ab83a3",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"git_blob_sha1": "340694a8595d0e1bf5aaec88a9da11c85260de65",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"git_blob_sha1": "c21024c7897c44750065b418dba839c0adf5342c",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"git_blob_sha1": "53009435a17cbd5a1c5450118e4aefb828af5aa6",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"git_blob_sha1": "50c9bffe71bfd6973e6e5504d68141d200aae729",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"git_blob_sha1": "2e57cda048947b24b58e28f8c2961eef1ab26972",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"git_blob_sha1": "94e412330b5673015d025a522846eea1539e5d27",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"git_blob_sha1": "f59624c3318eff6b258d3e8d845bacd4709baf73",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"git_blob_sha1": "42c6ab51460e438c9e95cb1c18403e6a1f60e78f",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"git_blob_sha1": "eb4797e20baf14c23389b8c14d13b75bf1927f12",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"git_blob_sha1": "fc9be27ba5bd93dc0ea71a8199760afec65072ae",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"git_blob_sha1": "9537162375710b54a22e453f89233dfa06d680c7",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"git_blob_sha1": "a14c8e7c48eaf11ac670bd7c0a3e81be9a4d419f",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"git_blob_sha1": "0dd89138b17824a4155325997f4963437bbc85dc",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"git_blob_sha1": "0c6b22d1c936bef2b80599f932e9f2775f31f351",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"git_blob_sha1": "ebff883553a517f0b4ed35e88b62188023a6abbc",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"git_blob_sha1": "26e0aa010a810cbeb4b1fdae1ea03d18a8c737a1",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"git_blob_sha1": "19306d89e6a52cb5e19591ee27bd3dbe0e7ffd27",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"git_blob_sha1": "76861275797cfdde0c032f73272d213d0085243a",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"git_blob_sha1": "cdf4b6b42615673f59cee385e41a3e17be8745e8",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"git_blob_sha1": "ea464e0a81d3169e3481c3460d14676e47ff9c50",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"git_blob_sha1": "73faa318cb0792cc57926211125e668f4dd651c2",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"git_blob_sha1": "a428cf6bca668783e56029fd69e32ec4291a647f",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"git_blob_sha1": "55b58d7977cb8534f688ad709fa9eaf9bd99cbb1",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"git_blob_sha1": "8f63d27cc854b4e4be45f16b314a8c7d433f2b9d",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"git_blob_sha1": "125e298586f8d3e9f371da3a10b8349eaa965907",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"git_blob_sha1": "0e001d55d2e12919fbbba9d2f12dc49be21704d4",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"git_blob_sha1": "0917678ae4620cd49f8badef68390d0353230977",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"git_blob_sha1": "9861bafbc6f93a1cc971c0ed570cb74b130861d7",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"git_blob_sha1": "bb27a0fc9246591172cf0eae81b0b7f5aa3ec47b",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"git_blob_sha1": "ef6ad57319a7c46aefefbd6663b11310d20421c9",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"git_blob_sha1": "82a1d62ec433df151d8fc9fdd9b09c378b1d1f04",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"git_blob_sha1": "ed70823b16254f261d91561ae37c8ed34a74c35c",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
}
]
}
@@ -0,0 +1,23 @@
[
{
"file": "fixed_document.py",
"sha256": "d9a487103c00d8009ec7298d107eeaec4949d8f9bc8122c180158fa09d017ac4",
"wheel": true,
"sdist": true,
"definitions": 122
},
{
"file": "source_reviews.json",
"sha256": "fbbaf6346dff0b906471c682f5635d805558318ee8319898c82f6fd5ec503df6",
"wheel": true,
"sdist": true,
"definitions": 122
},
{
"file": "library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
"wheel": true,
"sdist": true,
"definitions": 122
}
]
@@ -0,0 +1,3 @@
{
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json": "3e1db9af8f0ee85e0d48a05dd7bf7a837f318fd725d0971cc71eb439ee34115f"
}
@@ -0,0 +1,12 @@
[
{
"port": 8247,
"connect_ex": 111,
"connection_refused": true
},
{
"port": 5173,
"connect_ex": 111,
"connection_refused": true
}
]
@@ -0,0 +1,148 @@
{
"overview": "原视频按图意经MoGe几何推理、mask渲染和视频保存供MiniMax参考条件;SelfLift节点内部双阶段潜变量处理后,同一LATENT分送视频与音频解码,再合成保存。宿主depth与内部mask、四个SelfLift缺失映射字段、独立种子与动态接口冲突均保留;这里只提供静态固定参考。",
"steps": [
"根58节点57边,唯一ffb7cd05-f9d8-4931-bf81-5287dcd75327定义3节点/8含边界记录,全部mode0;根50具名、内部3具名。114列表位置=根106/内部8,str72/int32/bool5/float4/null1,零标准Note。238/243/246/270/226/224/281/282八处缺widgets和具名键,不补空列表或null。32无版本身份为30 Set/Get与两Label。原属性/原输入输出/具名/root extra及links缺键/[]/null独立保留。",
"213 Editor准确EasyMedia fcfa四保存576 x 1024 (9:16)/stretch/MiniMax/完整track_data原字符串。36070码点,真实CR/LF0、字面反斜杠n416、无尾LF,SHAc30443f05d5052ffa08158c500873ab4376ae4d911af3dbcf2d557369dc1b75a。原位置/原具名独立,全部嵌套prompt/素材引用/属性/转义/空白可逆JSON保留,不解析后回写或改键序。递归凭据键子串检查未见非空值;原数据中的作者系统提示只文本,不执行指令/构造prompt/请求素材URL或目录/文件,不创建编辑器/canvas/media/iframe。",
"轨道顶层muted false/volume_db JSON int0/task_markers[]/task_overview false/total_length173/frame_rate24,两轨task与video各一段0..173。保存的173不是当前实际生成帧数/时长、媒体存在/访问许可或恢复证明。准确fcfa后端is_input_list、resolution DynamicCombo及resize_method共享默认stretch、format默认Wan与源MiniMax分列,自定义TRACK_DATA无独立后端default。execute解包/parse/非空prompt_override及_build_tracks_info_and_media_outputs按格式/任务/媒体条件构造输出;MiniMax帧网格17k+5/尺寸网格32等条件只静态,不手算输出。准确插件前端TRACK_DATA React widget/normalize/serializeValue参照与宿主frontend1.45.20声明分列,不认证编辑器恢复。",
"213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源576x1024与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。",
"263 task_index0/prompt_format api只是提示格式,不是本次网络请求/LLM;准确829a schema只有tracks_info/images/audio/video/task_index/prompt_format及八输出,没有源previous输入或第九LOCKED_AUDIO。源previous link=null、LOCKED_AUDIO links=null原样,不搬新版支持、不虚构锁音频、自动循环或LLM接口。execute任务排序、marker区间、task索引/端点、媒体index/音视频裁剪/音量/build_prompt_request和api/llm格式条件仅静态,不索引/裁剪/重写提示或认证素材非空。",
"Get278 video625→224 GetVideoComponents IMAGE645→286 MoGe3宿主→646→226 cleanGpuUsed→568→225 EasySave图像口,原AUDIO569/fps567仍给225;225 VIDEO626→279 Set depth_video/Get280627→261.videos,Set/Get间无物理边,不认证深度视频、动作保持或音轨锁定。286宿主四缓存[9,4,depth,moge_3_vitg_fp16.safetensors]与五输入image/resolution_level/batch_size/output/model_name独立;definition.widgets=[],无proxyWidgets,不按位置制造promoted映射或执行恢复。",
"唯一MoGe定义作用域286:内部1 LoadMoGeModel、2 MoGeInference、5 MoGeRender各有自己的core0.38.0声明,不传播宿主身份。边界-10.slot0→2.image(id2)、slot1→2.resolution_level(id8)、slot2→2.batch_size(id9)、slot3→5.output(id10)、slot4→1.model_name(id11),内部1→2(id1)、2→5(id4)、5→-20.slot0(id5)。五边界/八字典边只是保存结构,宿主depth和内部mask均保留,不认证恢复或虚拟边执行。",
"准确core0.38.0 MoGeExtension注册LoadMoGeModel/MoGeInference/MoGeRender。LoadMoGeModel的model_name动态geometry_estimation枚举与安全权重读取、MoGeModel构造只是源码条件,不查模型目录/文件。properties.models中HuggingFace地址仅原引用,不下载模型、不认证模型/素材许可或安装。Comfy代码LICENSE与模型许可分列。",
"286:2 MoGeInference六保存[JSON int9,int0,int4,true,true,int3];准确resolution_level默认9/0..9,fov_x_degrees FLOAT默认0.0/0..170/step0.1,源int0独立,<=0时自动估计只是条件;batch_size默认4/1..64,force_projection/apply_mask默认true,refine_steps默认3/0..8仅v3、v1/v2忽略。RGB→BCHW、按batch分块infer、cat points/depth/intrinsics/mask/可选normal及CPU保存均不执行。MoGeModel默认apply_metric_scale只在模型metric_scale可用时缩放;mask可使点/深度为inf,不能由文件名声称公制米、相机准确或实际输出。",
"286:5 MoGeRender独立保存mask,宿主保存depth;准确output默认depth,选项depth/depth_colored/normal_opengl/normal_directx/mask。mask分支要求mask,转float并扩三通道;depth处理视差归一化、normal需要条件,返回中间设备/dtype。两种缓存不互改,不执行渲染或计算深度/正常图;五边界输入不等于四缓存已恢复。",
"224准确core0.29 GetVideoComponents只video输入,execute video.get_components返回images/audio/float(frame_rate)/video.get_bit_depth四输出,末口准确INT。原件四口bit_depth却COMBO且缺links、另有color_space COMBO links=null,与准确实现分列,不借后版/补色域、认证色深或执行媒体拆分。",
"226准确Easy595e cleanGPUUsed(不是139的4de)是output节点,execute无条件cleanGPUUsedForce后返回anything。helper remove_cache(\"*\")、gc.collect,torch导入/同步异常捕获且CUDA可用才synchronize,随后unload_all_models/soft_empty_cache。它不是无副作用普通透传;本轮不执行清理/卸载/同步或任何分支。",
"225准确829a入口导出EasySaveVideo类,不是core SaveVideo/VHS。源五保存images+audio/int24/save/false/video/ComfyUI,input_mode.fps被567覆盖。准确input_mode/output_mode均字典协议,.get读取input_mode/images/audio/fps及output_mode/save_metadata;源字符串与扁平子字段独立保留,未认证宿主组装。共享fps FLOAT默认24.0/1..120/step1,metadata Boolean默认false,filename_prefix默认ComfyUI,不能把源JSON int24改float。",
"225准确images+audio分支要求非空images,normalize_video_images条件裁到偶数后VideoFromComponents/Fraction(fps);video分支要求VIDEO且可替换音轨,FFmpeg快速替换失败可回tensor路径。preview_only/hide写temp,save/hide&save写output,hide/hide&save不返回PreviewUI;source_video.save_to AUTO容器与AUTO codec、目录计数命名均是实际写入条件,不执行。save_metadata条件收hidden extra_pnginfo/prompt并可空为None;返回VIDEO及relative_path(实现是temp/output相对路径,描述full written file path不等同实际绝对路径),UI SavedResult只非隐藏时附加。源save/false不代表编码、预览、元数据或音轨效果已核准。",
"261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 原第七保存locked_video_timing_frames=int0在准确9d0282 schema/execute缺失,保留额外字段,不借后版补实。",
"261准确enable_expand/is_input_list、reference与multi_frames分支及MiniMaxH3ImageToVideo扩图、9图/3视频/3音/参考桥接只是源码条件;本图无promptLine/matchLine。positive661直给291,另584→246 ConditioningZeroOut→662negative;LATENT664才是291起点,Get250 VAE663/Get254 MODEL660给291。288 KSamplerSelect euler→665;289 BasicScheduler simple/int6/int1→653→290 H3SigmaRefiner→666→291。没有外线seed到291,model_hires link=null。",
"MODEL245→642→252普通ref2v turbo4step LoRA/int1→643→285 MiniMaxH3SigmaShift[int10,int3]→644→284 ModelAttentionBackend[comfy kitchen attention]→640→283 BlockSparseAttention→639→253 Setmodel。Get254通过655给289、660给291,仅名称意图不补别名物理边。本图无DA3/UniBlockSwap/Sage/mode4 resize,不沿用前图链。",
"252准确core0.30.2普通LoraLoaderModelOnly及父类,strength_model FLOAT默认1.0/-100..100/step.01,源int1保持;路径、安全加载、缓存/补丁只源码条件,不由turbo4step文件名改Scheduler6或YC/SelfLift流程、不认证兼容/步数/效果。",
"285准确core0.38.0 MiniMaxH3SigmaShift:shift_video FLOAT默认12.0、shift_audio默认3.0,均.01..100/step.01;源JSON int10/int3独立。clone构建ModelSamplingAV/CONST,set_parameters shift/audio_shift并条件复制noise_scale、patch model_sampling与transformer_options视频/音频shift键;不计算sigmas或执行采样。",
"284准确core0.38.0 ModelAttentionBackend默认pytorch attention,comfy kitchen attention只在COMFY_KITCHEN_INT8_ATTENTION_IS_AVAILABLE时加入选项。validate_inputs返回True不证明可用;execute按名称取attention function,缺失警告后回退pytorch,clone并set_model_optimized_attention。不导入attention/运行GPU,不保证当前厨房实现或低显存/加速。",
"283准确core0.38.0 BlockSparseAttention九保存[vsa,JSON int10,float0.2,int1,空串,int12288,int256,exact_kv_and_rows,false]完整原类型;selection DynamicCombo execute取selection[selection]字典,keep_percent为嵌套FLOAT默认10.0/.5..95/step.5,与扁平保存分列,不转百分比或恢复字典。start/end FLOAT默认.2/1.0、0..1/step.01;dense_blocks空串解析、min_tokens INT12288/0..1048576/step512、extra_tokens INT256/0..256/step64(VSA忽略)、sink_conditioning三选默认exact_kv_and_rows、verbose false。条件sigma窗口/min_tokens/dense_blocks/支持机型会回退dense;VSA仅MiniMaxH3且训练权重条件不由ref2va名证明,sink音频/条件行处理不等于音频保真。不执行parse/比例运算/attention/张量或承诺稀疏速度。",
"290准确aux yichengup/ComfyUI-YCNodes-MiniMax-H3 commit146207295c1d2bd6b64a6552484cb6ed8be1c9ef,入口注册H3SigmaRefiner。extra_steps INT默认1/0..15,start_at_sigma FLOAT默认.7/0..20/step.01,end_at_sigma FLOAT默认0.0/0..5/step.01(源int0保留),spacing cosine/linear/exponential默认cosine。extra<=0、无首个sig<=start或该点已末尾直接返回;其余保留head,按原tail长加extra生成tail,终点max(end,last),余弦/线性/指数alpha3分支与必要终零保留、回原device/dtype只是源码条件。不计算sigmas/NFE/有效步数或保证去抖。准确树无LICENSE,代码许可未知,不以README当授权。",
"291准确aux slmonker/selflift-Avatar commit5df288a083fa8585a563c9c2af7ebfa0e79188c7/tree及__init__→nodes.py注册SelfLiftAvatarH3Sampler已核。源图无cnr_id;按派生slug selflift-avatar有界registry请求404仅该查询结果,规范registry绑定未知。PROVENANCE说明本地安装快照、上游commit未记录,逐文件SHA不替代上游版本;准确树无LICENSE/依赖manifest/前端JS,许可未知,必要依赖按源码imports记录,不套upstream/main或其它SelfLift。Avatar名不作人物属性证明。",
"291十四保存[999,fixed,JSON int1,int4,float.5,int0,float.5,int1,minimax_h3_latent_upscaler_3d_conv_v1_fp16.safetensors,true,auto,int2,auto,空串]与具名逐项独立。准确seed INT默认0/0..0xffffffffffffffff有control_after_generate=True,frontend1.45.20标准widgets.ts条件创建control_after_generate,fixed为该标准前端辅助,不是第二后端参数。cfg FLOAT默认5.0/0..100/step.1,transition_step INT默认6/1..10000,lowres_scale FLOAT默认.5/.25..1/step.05,rho默认0、w_min默认.5/w_max默认1,均FLOAT 0..1/step.05,源int/float不改。upscaler_model是动态模型枚举,highres_tiling BOOLEAN默认false而源true;optional model_hires空连接不认证第二模型接入。",
"准确SelfLift后端schema/方法均无tiling_mode/tiling_tiles/tiling_axis/selflift_tiling_plan,准确树无对应前端实现;四字段映射具体未知,不造第十五参数,不把空plan认证成前端辅助。源tiling_tiles输入COMBO但保存JSON int2,不认证准确实现实际选择二块。highres_tiling true只保存态,模型文件名仅引用,无权重读取/许可/安装证明。291 seed999/fixed无外线,276 Easy独立1002069665555849/randomize/null→273 Setseed,没有Getseed到291物理边,不合并、不随机或保证可复现。",
"准确SelfLift H3 AV属于实验扩展:sample在rho==0且upscaler none时报错;rho>0和w_max>0使用外部upscaler时有hybrid实验提示。progressive_sample校验scale/rho/权重区间、Euler与rectified flow、transition索引,sigmas不足2可早返;选择model_hires或model,highres_tiling+noise_mask不支持。低阶段视频空间缩放、音频流与boundary预测/过渡x0、latent格式变换、paired_lifts按rho/w权重条件调用VAE或learned latent lift、校正/重加噪/高阶段采样与mask保留均只是源码条件,未计算或执行。",
"h3_upscaler按latent_upscale_models动态文件列表、safe权重加载/结构检测/严格state_dict、CoreModelPatcher设备卸载与缓存、分块memory预算/归一化条件完成learned_latent_lift;本轮只文本核对。h3_tiling按空间布局与可用workspace选择轴/块数,音频/参考全局,每块均获得音频输入并产生预测,但只保留首块音频预测,不等于保证音频原样。环境DEBUG诊断分支可能VAE decode/保存PNG、CUDA timing可能同步;均未启用。不执行双阶段/张量/权重/切块/随机/清理,不保证倍率/尺寸/画质/人物一致/时长/音频或NFE。",
"276准确Easy595e easySeed后端只有seed及隐藏元数据、doit返回seed;原1002069665555849/randomize/null保持,标准control_after_generate与额外骰子null分开,后端不自行随机。它与291999/fixed是两套独立缓存。",
"245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
"291同一LATENT667/668分别给238视频/243音频解码,Get241/239各VAE。准确core0.29视频nested取unbind()[0]后decode,而音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码不证明SelfLift输出可解码或音画同步。238 IMAGE659直接给262,无resize;243 AUDIO603/Get244fps604也给262→VIDEO628→227。",
"262四保存int30/int8/sRGB/none,准确core0.30.2只有images/fps/audio/可选INT bit_depth,fps默认30.0/1..120/step1、bit_depth8/8..10/step2;源bit_depth COMBO与额外color_space/codec差异保留。VideoFromComponents/Fraction(fps)/bit_depth只是构造协议,state24/cache30/未知Get外线分别保存,不算时长或保证色域/色深/同步。",
"227源四保存video/ComfyUI/auto/auto/auto,format/format.codec/codec独立;源两个VIDEO出口均links=null,与140缺键分列。准确core0.30.2只有一个Video数据输出加UI PreviewVideo,codec DynamicCombo typed字典与execute codec[\"codec\"]/encoding/crf条件对原auto字符串分列,不补format.codec后端字段或认证宿主恢复。hidden prompt/extra_pnginfo受disable_metadata控制、目录/命名/video.save_to只静态,不执行编码/文件输出或保证音轨/时长/动作模仿/1080P。",
"281/282无版本Label,原标题/字体Arial/fontSize200/颜色/背景/UE7.8等属性完整保存于原其它属性;不造widgets或借rgthree旧实现,不把1080P/动作模仿/双采样字样当效果证明。",
"所有30无版本Set/Get只保留Constant名称意图,aux或UE7.8不认证准确实现/schema默认/范围/恢复/副作用,不补Set→Get虚拟物理边;两Label同样身份未知。",
"288/289准确core0.33.0注册KSamplerSelect/BasicScheduler。KSamplerSelect从SAMPLER_NAMES选euler并调用sampler_object;BasicScheduler保存simple/JSON int6/int1,准确steps INT默认20/1..10000、denoise FLOAT默认1.0/0..1/step.01。denoise<=0早返空张量、0<denoise<1按条件扩大total_steps,calculate_sigmas使用model_sampling并取尾段/CPU;仅静态条件,不计算本图sigmas、有效步数或NFE。",
"旧121块7064保存条目/214标准注释及其它155对象冻结;新增114位置/零Note,总122参考7178条目/214注释,剩33张;155最终定稿/新增可靠转换/真实生成0,停用未检查/空时间戳和资格不变。历史失败/获取未知/误取记录不倒改,本轮不连接目标、读Input Assets、执行上游/模型/媒体/恢复/清理,不增依赖、合并部署,当前无需材料/机器窗口。"
],
"notes": {},
"field_meta": {
"easy multiTrackEditor": {
"resolution.resize_method": {
"default": "准确fcfa共享resize_method默认stretch",
"limits": "DynamicCombo resolution子输入,原保存字符串独立,不认证字典恢复",
"unit": "尺寸处理枚举"
},
"track_data": {
"default": "自定义TRACK_DATA无独立后端default",
"limits": "完整36070原串/全部嵌套值可逆保留,不认证编辑器恢复",
"unit": "JSON状态字符串,无执行结果"
}
},
"easy seed": {
"🎲 Manual Random Seed": {
"default": "准确后端没有此额外辅助字段",
"limits": "null独立保留,不执行手动随机",
"unit": "辅助null"
}
},
"easy saveVideo": {
"input_mode.fps": {
"default": "准确共享Float默认24.0;源int24保持",
"limits": "1..120/step1,被567外线覆盖;动态字典子字段不认证恢复",
"unit": "帧每秒接口"
},
"output_mode.save_metadata": {
"default": "准确共享Boolean默认false",
"limits": "只save分支子字段;源false不执行元数据写入",
"unit": "布尔保存"
}
},
"CreateVideo": {
"color_space": {
"default": "准确0.30.2无此额外字段",
"limits": "原字符串完整保存,不补后端映射",
"unit": "额外原字符串"
},
"codec": {
"default": "准确0.30.2无此额外字段",
"limits": "原字符串完整保存,不补后端映射",
"unit": "额外原字符串"
}
},
"SaveVideo": {
"format.codec": {
"default": "准确后端无此独立扁平字段",
"limits": "动态codec恢复未知,源auto保持",
"unit": "前端原字符串"
},
"codec": {
"default": "准确后端DynamicCombo字典协议",
"limits": "源auto字符串不直接等同codec[codec]/encoding/crf",
"unit": "编码选择保存"
}
},
"easy minimaxH3ToVideo": {
"locked_video_timing_frames": {
"default": "准确9d0282后端schema/execute无此字段",
"limits": "原JSON int0独立保留,不借新版映射",
"unit": "额外保存值"
}
},
"SelfLiftAvatarH3Sampler": {
"tiling_mode": {
"default": "准确5df后端无此字段,准确树无对应前端实现",
"limits": "映射未知;源COMBO/int2或空串独立,不补参数或执行tiling",
"unit": "额外原保存值"
},
"tiling_tiles": {
"default": "准确5df后端无此字段,准确树无对应前端实现",
"limits": "映射未知;源COMBO/int2或空串独立,不补参数或执行tiling",
"unit": "额外原保存值"
},
"tiling_axis": {
"default": "准确5df后端无此字段,准确树无对应前端实现",
"limits": "映射未知;源COMBO/int2或空串独立,不补参数或执行tiling",
"unit": "额外原保存值"
},
"selflift_tiling_plan": {
"default": "准确5df后端无此字段,准确树无对应前端实现",
"limits": "映射未知;源COMBO/int2或空串独立,不补参数或执行tiling",
"unit": "额外原保存值"
},
"cfg": {
"unit": "无量纲引导接口,JSON int1与FLOAT schema分列"
},
"upscaler_model": {
"default": "准确_upscaler_input:动态扫描结果中首个名称含h3的文件,否则none;本轮未扫描",
"limits": "none加latent_upscale_models中.pth/.safetensors相对文件名排序;不读目录/权重,不认证保存模型安装",
"unit": "完整模型文件引用;代码许可不等于权重许可"
}
},
"BlockSparseAttention": {
"selection.keep_percent": {
"default": "准确嵌套FLOAT默认10.0",
"limits": ".5..95/step.5;源JSON int10,selection字典与扁平保存独立,不作百分比换算",
"unit": "准确schema接口数值,未计算执行比例"
}
},
"MoGeInference": {
"fov_x_degrees": {
"unit": "视场角接口度;源JSON int0/FLOAT默认0.0,自动估计条件不认证相机"
}
}
}
}
@@ -0,0 +1,63 @@
"""Offline batch evidence tooling; no upstream execution."""
from __future__ import annotations
import hashlib
import json
import subprocess
from build_definition import OUT, PATHS, REPO, build, canonical
BASE = "b626757bbf3f4f2f4a8d893e96832e7f54fe4f17"
RESOURCE = "calliope-backend/src/calliope/" + "co" + "mfyui/source_reviews.json"
def build_all():
previous = json.loads(subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO))
reviews = json.loads(json.dumps(previous, ensure_ascii=False))
for i, path in enumerate(PATHS):
block = build(i)
assert reviews[path]["source_sha"] == block["source_sha1"]
assert "fixed_version_document" not in previous[path]
reviews[path]["fixed_version_document"] = block
return (reviews, previous)
def main():
current = json.loads((REPO / RESOURCE).read_bytes())
(reviews, _previous) = build_all()
(REPO / RESOURCE).write_text(json.dumps(reviews, ensure_ascii=False, indent=2) + "\n")
pins = {}
for i, path in enumerate(PATHS):
block = reviews[path]["fixed_version_document"]
pins[path] = hashlib.sha256(canonical(block)).hexdigest()
(OUT / f"definition-{i}.json").write_text(
json.dumps(block, ensure_ascii=False, indent=2) + "\n"
)
module = REPO / ("calliope-backend/src/calliope/" + "co" + "mfyui/fixed_document.py")
text = module.read_text()
for path, digest in pins.items():
old_block = current[path].get("fixed_version_document")
old_digest = hashlib.sha256(canonical(old_block)).hexdigest() if old_block else None
if old_digest and old_digest in text:
text = text.replace(old_digest, digest)
elif digest in text:
pass
else:
text = text.replace(
"DEFINITIONS = {",
"DEFINITIONS = {\n (\n"
+ "".join(
(" " + repr(path[i : i + 41]) + "\n" for i in range(0, len(path), 41))
)
+ " ): "
+ repr(digest)
+ ",",
)
module.write_text(text)
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
print("PASS one new definition; other 155 reviews and old 121 blocks unchanged")
if __name__ == "__main__":
main()
@@ -0,0 +1,357 @@
"""Offline batch evidence tooling; no upstream execution."""
from __future__ import annotations
import hashlib
import io
import json
import os
import sqlite3
import subprocess
import sys
import tarfile
import tempfile
import zipfile
from pathlib import Path
from build_definition import OUT, PATHS, REPO, canonical
from rebuild import BASE, RESOURCE, build_all
BASE = os.environ.get("TTS_IMPORT_BASE", BASE)
sys.path.insert(0, str(REPO / "calliope-backend"))
def write(name, value):
(OUT / name).write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n")
def require_packages():
dist = REPO / "calliope-backend/dist"
w = sorted(dist.glob("*.whl"))
s = sorted(dist.glob("*.tar.gz"))
if not w or not s:
raise SystemExit(
"缺少wheel/sdist包产物,请先在仓库根执行:uv bui"
+ "ld --project calliope-backend --"
+ "offline"
)
return (w[-1], s[-1])
def main():
from calliope.comfyui.fixed_document import DEFINITIONS
from calliope.comfyui.library import rollback_batch
from scripts.audit_library_documents import audit
(wheels, sdists) = require_packages()
from verify_sources import main as verify_sources
verify_sources()
(rebuilt, previous) = build_all()
assert rebuilt == json.loads((REPO / RESOURCE).read_bytes())
old_blocks = {
p: r["fixed_version_document"]
for (p, r) in previous.items()
if "fixed_version_document" in r
}
assert len(old_blocks) == 121
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())) == 7064
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": 121,
"old_saved": 7064,
"old_notes": 214,
"new_saved": 114,
"new_notes": 0,
"total_documents": 122,
"total_saved": 7178,
"total_notes": 214,
},
)
with tempfile.TemporaryDirectory() as directory:
work = Path(directory)
old = work / "old"
old.mkdir()
data = subprocess.check_output(["git", "archive", BASE, "calliope-backend/src"], cwd=REPO)
with tarfile.open(fileobj=io.BytesIO(data)) as a:
a.extractall(old, filter="data")
db = work / "library.db"
def run(name, historical=False):
out = work / name
env = {
**os.environ,
"PYTHONPATH": str((old if historical else REPO) / "calliope-backend/src"),
}
subprocess.run(
[
sys.executable,
"-m",
"calliope.comfyui.library_cli",
"import",
"--root",
str(REPO / "example_ComfyUI_workflows"),
"--db",
str(db),
"--source-commit",
BASE,
"--companions",
str(REPO / ("docs/hel-892/supplied-api/mani" + "fe" + "st.json")),
"--output-dir",
str(out),
],
cwd=REPO,
env=env,
check=True,
stdout=subprocess.DEVNULL,
)
return (json.loads((out / "import_report.json").read_bytes()), out)
def rows():
with sqlite3.connect(db) as c:
c.row_factory = sqlite3.Row
return {
r["source_repo_path"]: dict(r) for r in c.execute("SELECT * FROM workflows")
}
(first, _) = run("historical", True)
before = rows()
assert first["counts"] == {"imported": 155, "user_excluded": 1}
assert all(
(
"fixed_version" in json.loads(before[p]["doc_json"])
if BASE.startswith("3c307e0")
else "fixed_version" not in json.loads(before[p]["doc_json"])
for p in PATHS
)
)
assert all(
(
json.loads(before[p]["doc_json"])["fixed_version"]["matched"]
for p in DEFINITIONS
if p not in PATHS
)
)
original = db
protected = []
def protect(name):
nonlocal db
db = work / (name + ".db")
with sqlite3.connect(original) as src, sqlite3.connect(db) as dst:
src.backup(dst)
for p in PATHS:
dst.execute(
"UPDATE workflows SET descripti" + "on" + "=? WHERE source_repo_path=?",
(name, p),
)
snapshot = rows()
(r, _) = run(name)
assert r["counts"] == {"conflict": 1, "skipped": 154, "user_excluded": 1}
assert rows() == snapshot and all((len(snapshot[p]) == 29 for p in PATHS))
protected.append({"phase": name, "counts": r["counts"], "whole_rows": 1, "columns": 29})
db = original
protect("user-before")
(upgrade, exported) = run("upgrade")
after = rows()
assert upgrade["counts"] == {"updated": 1, "skipped": 154, "user_excluded": 1}
for p, row in after.items():
if p not in PATHS:
assert row == before[p]
continue
assert len(row) == 29
assert all(
(
row[k] == before[p][k]
for k in row.keys()
- {"doc_json", "batch_id", "imported_at", "library_fingerprint"}
)
)
d = json.loads(row["doc_json"])
assert d["fixed_version"]["matched"]
old_doc = json.loads(before[p]["doc_json"])
without = dict(d)
fixed = without.pop("fixed_version")
generic = [
f"打开源工作流 {p},逐项核对下列源节点与注释。",
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
"明确触发真实测试后核对产物;本批未提交生成任务。",
]
offset = old_doc["steps"].index(generic[0])
assert old_doc["steps"][offset : offset + 3] == generic
assert (
without["steps"]
== old_doc["steps"][:offset] + fixed["steps"] + old_doc["steps"][offset + 3 :]
)
without["steps"] = old_doc["steps"]
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
old_doc.pop("fixed_version", None)
assert without == old_doc
write("actual-" + Path(p).stem + ".json", d)
(repeat, _) = run("repeat")
assert repeat["counts"] == {"skipped": 155, "user_excluded": 1}
with sqlite3.connect(db) as c:
c.row_factory = sqlite3.Row
r = rollback_batch(c, upgrade["batch_id"])
assert len(r["files"]) == 1 and all((f["result"] == "restored" for f in r["files"]))
assert rows() == before
(redo, _) = run("redo")
assert redo["counts"] == upgrade["counts"]
protect("user-after")
db = work / "fresh.db"
(fresh, exported) = run("fresh")
(fresh_repeat, _) = run("fresh-repeat")
assert fresh["counts"] == first["counts"] and fresh_repeat["counts"] == repeat["counts"]
assert fresh["states"] == {"pending_check": 16, "needs_conversion": 139}
companion = 0
for row in rows().values():
d = json.loads(row["doc_json"])
companion += sum(
(p.get("value_origin") == "supplied_api_companion" for p in d["params"])
)
assert (
not row["is_enabled"]
and row["doc_completed_at"] is None
and (row["exec_verified_at"] is None)
)
assert not d["status"]["doc_done"] and (not d["status"]["exec_verified"])
assert d["dependencies"]["check_state"] == "unchecked"
report = audit(REPO, exported)
assert (
report["named_values_preserved"] == 1217
and report["unnamed_widget_nodes"] == 3660
and (companion == 294)
)
assert report["full_documents_completed"] == report["real_executions"] == 0
write("audit-summary.json", {k: v for (k, v) in report.items() if k != "files"})
write(
"import-protection.json",
{
"base": BASE,
"first": first["counts"],
"upgrade": upgrade["counts"],
"repeat": repeat["counts"],
"restored_rows": 1,
"untouched_whole_rows": 154,
"eligibility_unchanged": True,
"redo": redo["counts"],
"user_protection": protected,
"fresh": fresh["counts"],
"fresh_repeat": fresh_repeat["counts"],
"states": fresh["states"],
"source_named_fields": 1217,
"positional_widgets": 3660,
"companion_values": companion,
"new_saved": 114,
"new_notes": 0,
"old_saved": 7064,
"old_notes": 214,
"overviews": 122,
"all_disabled": True,
"doc_done": 0,
"executed": 0,
},
)
old_reviews = json.loads(
subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO)
)
current = json.loads((REPO / RESOURCE).read_bytes())
for p in PATHS:
current[p].pop("fixed_version_document")
old_reviews[p].pop("fixed_version_document", None)
assert current == old_reviews
boundaries = json.loads(
(
REPO / ("docs/hel-892/h3-document-evide" + "nc" + "e/unchanged-boundaries.json")
).read_bytes()
)
paths = (
[f["path"] for f in boundaries["files"]]
+ boundaries["frozen_conversion_and_audits"]
+ ["calliope-backend/src/calliope/co" + "mfyui/library.py"]
)
kept = []
for p in paths:
raw = (REPO / p).read_bytes()
assert raw == subprocess.check_output(["git", "show", f"{BASE}:{p}"], cwd=REPO)
kept.append({"path": p, "sha256": hashlib.sha256(raw).hexdigest()})
ui = "calliope-web/src/lib/component" + "s/" + "WorkflowDocumentDrawer.svelte"
drawer_bytes = (REPO / ui).read_bytes()
assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO)
write(
"boundaries.json",
{
"base": BASE,
"files": kept,
"originals": 156,
"old_blocks_unchanged": 121,
"drawer_css_unchanged": True,
"drawer_whole_file_unchanged": True,
"drawer_sha256": hashlib.sha256(drawer_bytes).hexdigest(),
"conversion_rerun": False,
"profiles_28_candidates_9_diffs_6": "unchanged",
},
)
tracked = (
subprocess.check_output(["git", "ls-tree", "-rz", "--name-only", BASE], cwd=REPO)
.decode()
.rstrip("\x00")
.split("\x00")
)
frozen = [
p
for p in tracked
if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/"))
or (
p.startswith("calliope-backend/src/calliope/" + "co" + "mfyui/")
and p
not in [RESOURCE, "calliope-backend/src/calliope/" + "co" + "mfyui/fixed_document.py"]
)
]
for p in frozen:
assert (REPO / p).read_bytes() == subprocess.check_output(
["git", "show", f"{BASE}:{p}"], cwd=REPO
)
write(
"frozen-resource-check.json",
{
"base": BASE,
"files": [
{"path": p, "sha256": hashlib.sha256((REPO / p).read_bytes()).hexdigest()}
for p in frozen
],
"original_files": sum((p.startswith("example_ComfyUI_workflows/") for p in frozen)),
"all_unchanged": True,
},
)
packages = []
with zipfile.ZipFile(wheels) as w, tarfile.open(sdists) as s:
for name in ["fixed_document.py", "source_reviews.json", "library.py"]:
raw = (REPO / ("calliope-backend/src/calliope/" + "co" + "mfyui") / name).read_bytes()
assert w.read("calliope/comfyui/" + name) == raw
member = next((n for n in s.getnames() if n.endswith("/src/calliope/comfyui/" + name)))
assert s.extractfile(member).read() == raw
packages.append(
{
"file": name,
"sha256": hashlib.sha256(raw).hexdigest(),
"wheel": True,
"sdist": True,
"definitions": 122,
}
)
write("package-check.json", packages)
print(f"PASS actual {BASE} upgrade1/skip154, repeat155, rollback1, edits1/29cols")
print("fresh155, 1217/3660/294, 122 definitions, frozen boundaries, wheel/sdist")
if __name__ == "__main__":
main()
@@ -0,0 +1,3 @@
PASS114 root106/internal8;65edges/5boundaries;28exact/32unknown/1host;track36070
PASS actual b626757bbf3f4f2f4a8d893e96832e7f54fe4f17 upgrade1/skip154, repeat155, rollback1, edits1/29cols
fresh155, 1217/3660/294, 122 definitions, frozen boundaries, wheel/sdist
@@ -0,0 +1,144 @@
"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 = [
"# 导演台SelfLift双采样潜放大固定参考中文说明",
"",
(
"新增114列表保存条目(根106/内部8,含1null),零标准Note,唯一MoGe子图;原有具名保存逐项核对。旧121块7064保存条目/214注释冻结。"
),
"总122图7178保存条目/214源注释仅参考,155定稿0/实跑0/新增转换0。",
"",
"local_file以docs/hel-892/director-selflift-document-evidence为基准。",
"提示、指南和历史URL仅源数据;不执行、读取图片或认证模型许可/目标环境。",
"",
]
index = []
for i in range(1):
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
lines += [
"## " + Path(b["source_path"]).stem,
"",
b["user_overview"],
"",
b["notice"],
"",
"源路径:`" + b["source_path"] + "`",
"",
"SHA1:" + b["source_sha1"],
"",
"原字节SHA256:" + b["source_sha256"],
"",
"规范全图SHA256:" + b["canonical_sha256"],
"",
*[v + "\n" for v in b["versions"]],
"### 具体连线与处理条件",
"",
"```json",
json.dumps(b["flow"], ensure_ascii=False, indent=2),
"```",
"",
"### 使用与核对",
"",
*[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.get("named_pointer", "原件无具名保存,不造指针")
+ "`;作用域:"
+ f["scope"],
"",
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
"",
"范围/条件:" + f["limits"],
"",
f["execution_note"],
"",
"依据:",
]
for k in f["evidence"]:
e = b["sources"][k]
lines += [
(
f"- [{k}] {e['claim']};"
f"{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
f"commit {e['commit']};"
f"SHA256 {e['sha256']};"
f"{e['url']}"
)
]
if "named_value" in f and f.get("named_value", "missing:原具名键缺失") != f["value"]:
lines += [
"具名保存完整形态(与位置列表分开保留):",
"",
"```json",
json.dumps(
f.get("named_value", "missing:原具名键缺失"), ensure_ascii=False, indent=2
),
"```",
"",
]
lines += [""]
lines += ["### 零保存节点与源注释", ""]
for z in b["zero_saved_nodes"]:
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
for n in b["comments"]:
lines += [
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
"",
n["meaning"],
"",
"```json",
json.dumps(n["text"], ensure_ascii=False, indent=2),
"```",
"",
]
lines += ["### 固定原件索引", ""]
for k, e in enumerate(b["sources"]):
data = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
lines += [
(
f"{k}. {e['claim']};"
f"{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
f"提交{e['commit']};"
f"SHA256 {e['sha256']};"
f"{e['url']}"
),
"",
]
index.append(dict(document=b["source_path"], **e))
(OUT.parent / "导演台SelfLift双采样潜放大固定参考中文说明.md").write_text(
"\n".join(lines).rstrip() + "\n"
)
(OUT / "fixed-source-index.json").write_text(
json.dumps(index, ensure_ascii=False, indent=2) + "\n"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,47 @@
"""Compare deterministic definitions and rendered artifacts."""
import hashlib
import json
from build_definition import OUT, REPO, canonical
from rebuild import RESOURCE, build_all
from render_report import main as render
def main():
(a, old) = build_all()
(b, previous) = build_all()
assert a == b and old == previous
assert a == json.loads((REPO / RESOURCE).read_bytes())
render()
paths = [
OUT / "fixed-source-index.json",
OUT.parent / "导演台SelfLift双采样潜放大固定参考中文说明.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": 122,
"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": 122,
"repeated_build_equal": true,
"repeated_render_equal": true,
"resource_sha256": "590681ca58220cb4d2f252e3932968bf02f40a2999cf18b4fd8c2963ef7f703c",
"artifacts": {
"fixed-source-index.json": "13476c2fd005f858645fbd1cb567a61ac1c10f5f0befe80c412eb6860b736d76",
"导演台SelfLift双采样潜放大固定参考中文说明.md": "f7c29fb15fbc019330f8ebf0f22ab7442ae34022e81fb2906bea6267419c9925"
}
}
@@ -0,0 +1,15 @@
{
"base": "b626757bbf3f4f2f4a8d893e96832e7f54fe4f17",
"changed_paths": [
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json"
],
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 121,
"old_saved": 7064,
"old_notes": 214,
"new_saved": 114,
"new_notes": 0,
"total_documents": 122,
"total_saved": 7178,
"total_notes": 214
}
@@ -0,0 +1 @@
All checks passed!
@@ -0,0 +1,15 @@
{
"command": [
"git",
"diff",
"--cached",
"--check",
"--",
".",
":(exclude)docs/hel-892/director-selflift-reference",
":(exclude)docs/hel-892/director-selflift-document-evidence/*.txt"
],
"exit_code": 0,
"scope": "原始参考文本及原日志*.txt排除空白检查,仍在用途SHA清单内;其余本批代码/JSON/中文说明检查",
"new_png_or_pyc": 0
}
@@ -0,0 +1,93 @@
{
"pins": {
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json": "3e1db9af8f0ee85e0d48a05dd7bf7a837f318fd725d0971cc71eb439ee34115f"
},
"viewed": [
{
"file": "1440-119-default.png",
"sha256": "a79fffb152e6bb0585a6ee34d353331745d9e35910694edbc9e22e6d7f3788bc",
"viewport": 1440,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "1440-119-213-track_data-value.png",
"sha256": "eeeb90164c71f119f1e0e187c6a737be71e97c0c25968733453661ccab788356",
"viewport": 1440,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "1440-119-283-selection.keep_percent.png",
"sha256": "7dd6cdbe55c04f39d937b6adcc228f8128dd83196b5d28bccb85b214c50b8f8e",
"viewport": 1440,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "1440-119-286-output.png",
"sha256": "7be70c892b93cc766cea7c287f4c4a32c22dfc53dd6c394b29071a12ebb55903",
"viewport": 1440,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "1440-119-286:2-fov_x_degrees.png",
"sha256": "a1dec722a57a9051633c91678cbf9f1aba28f8d8ab05770ac6b686817e074190",
"viewport": 1440,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "1440-119-286:5-output.png",
"sha256": "510ba892b9cad59713d980302351cf25c59e59caf06b9cc92a8f091c2a4b3527",
"viewport": 1440,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "1440-119-291-tiling_tiles.png",
"sha256": "d19969bb20702d9ef166e6d90be4bab8e2642816b6fa61b3f2e2c710bfd6d4f7",
"viewport": 1440,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "1440-119-291-selflift_tiling_plan.png",
"sha256": "76cb6f7d9970f943dfdbdc605c3f6ed58015650d8e8dee41c6c7353f46a5c4a1",
"viewport": 1440,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "390-119-default.png",
"sha256": "dfe6e32051940f95d3c2d3f2270bb77228efdce9087d3c06390cc8b15b18a564",
"viewport": 390,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "390-119-213-track_data-value.png",
"sha256": "a8dfa5e933f53f092fb5273ca14bf4f3d1338eab674073abafdd0ffed82120d6",
"viewport": 390,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "390-119-286:5-output.png",
"sha256": "89a0ea433c7dfeea2553a99f1a023e577a769bfbcf6018bdc6ccbfa060aac984",
"viewport": 390,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "390-119-291-tiling_tiles.png",
"sha256": "b5030b3c2b0e6969c4b32a05b39ec8279617b551bdcb01a1dfdb82315badda48",
"viewport": 390,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "390-119-291-selflift_tiling_plan.png",
"sha256": "c8384d9326800fe6c4fee7222cc4325f04d1df461dc382fa79902603374e0523",
"viewport": 390,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
},
{
"file": "390-119-source-chain.png",
"sha256": "30bdebb915ad44af8396045125e9267e363fb1c11e01250fa6ea77bffc6cac61",
"viewport": 390,
"result": "实际查看代表可见区域:中文换行、抽屉边界与关闭按钮可见;技术说明展开且无横溢。长文仅该区域目验,全部值由DOM/SHA断言核对。"
}
],
"long_text_not_character_by_character": true,
"images_or_media_loaded": false
}
@@ -0,0 +1,425 @@
INFO: Started server process [1712121]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8247 (Press CTRL+C to quit)
{'counts': {'skipped': 154, 'updated': 1, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}}
INFO: 127.0.0.1:33548 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/119 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/120 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/113 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/115 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/110 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/130 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/127 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/124 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/125 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/126 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/108 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/132 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/131 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/133 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/106 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/63 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/59 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/65 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/60 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/61 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/66 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/71 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/69 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/68 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/67 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/43 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/95 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/88 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/89 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/90 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/96 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/91 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/92 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/102 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/93 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/100 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/98 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/99 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/97 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/101 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/105 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/104 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/103 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/94 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/87 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/86 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/85 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/84 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/74 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33570 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33592 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:33586 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 127.0.0.1:33604 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:33618 - "GET /api/workflows/119 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33626 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:42604 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:42616 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35020 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35034 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:44588 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:44604 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38554 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38568 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38576 - "GET /api/workflows/120 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38580 - "GET /api/workflows/113 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38582 - "GET /api/workflows/115 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38588 - "GET /api/workflows/110 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38598 - "GET /api/workflows/130 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38600 - "GET /api/workflows/127 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38610 - "GET /api/workflows/124 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38618 - "GET /api/workflows/125 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38624 - "GET /api/workflows/126 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38638 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38652 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38666 - "GET /api/workflows/108 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38668 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38680 - "GET /api/workflows/132 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47666 - "GET /api/workflows/131 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47672 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47682 - "GET /api/workflows/133 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47698 - "GET /api/workflows/106 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47714 - "GET /api/workflows/63 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47718 - "GET /api/workflows/59 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47726 - "GET /api/workflows/65 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47738 - "GET /api/workflows/60 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47742 - "GET /api/workflows/61 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47744 - "GET /api/workflows/66 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47746 - "GET /api/workflows/71 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47758 - "GET /api/workflows/69 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47764 - "GET /api/workflows/68 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47770 - "GET /api/workflows/67 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47774 - "GET /api/workflows/43 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47784 - "GET /api/workflows/95 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47798 - "GET /api/workflows/88 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47812 - "GET /api/workflows/89 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47822 - "GET /api/workflows/90 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47838 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47844 - "GET /api/workflows/96 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47850 - "GET /api/workflows/91 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47864 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47870 - "GET /api/workflows/92 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54244 - "GET /api/workflows/102 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54260 - "GET /api/workflows/93 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54268 - "GET /api/workflows/100 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54274 - "GET /api/workflows/98 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54282 - "GET /api/workflows/99 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54290 - "GET /api/workflows/97 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54302 - "GET /api/workflows/101 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54318 - "GET /api/workflows/105 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54328 - "GET /api/workflows/104 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54338 - "GET /api/workflows/103 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54350 - "GET /api/workflows/94 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54356 - "GET /api/workflows/87 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54362 - "GET /api/workflows/86 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54374 - "GET /api/workflows/85 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54378 - "GET /api/workflows/84 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54390 - "GET /api/workflows/74 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54392 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54402 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54410 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54418 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54430 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54434 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54448 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54458 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:50962 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:50974 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:50990 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:50998 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51014 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51018 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51030 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51042 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51046 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51060 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51068 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51074 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51090 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51098 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51110 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51116 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51128 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:51138 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51144 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51150 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:51154 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51162 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51164 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51168 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51180 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51190 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54238 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54246 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54254 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54256 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54264 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54266 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54282 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54286 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54298 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54302 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54318 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54328 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54338 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54346 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54356 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54366 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54370 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54386 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54398 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54406 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54414 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54420 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54430 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54438 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54444 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54454 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54470 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60366 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60370 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60374 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60386 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60400 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60414 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60426 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60434 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60436 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60444 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60450 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60460 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60462 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:60464 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60478 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60486 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60498 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:60512 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60526 - "GET /api/workflows/119 HTTP/1.1" 200 OK
INFO: 127.0.0.1:48412 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:48416 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:48098 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:48108 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35976 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35982 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37690 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37704 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37720 - "GET /api/workflows/120 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37734 - "GET /api/workflows/113 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37742 - "GET /api/workflows/115 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37754 - "GET /api/workflows/110 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37770 - "GET /api/workflows/130 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37774 - "GET /api/workflows/127 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37780 - "GET /api/workflows/124 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37784 - "GET /api/workflows/125 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37796 - "GET /api/workflows/126 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37808 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37814 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37820 - "GET /api/workflows/108 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37832 - "GET /api/workflows/132 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40026 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40042 - "GET /api/workflows/131 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40052 - "GET /api/workflows/133 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40068 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40074 - "GET /api/workflows/106 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40086 - "GET /api/workflows/63 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40096 - "GET /api/workflows/59 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40104 - "GET /api/workflows/65 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40110 - "GET /api/workflows/60 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40118 - "GET /api/workflows/61 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40132 - "GET /api/workflows/66 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40140 - "GET /api/workflows/71 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40152 - "GET /api/workflows/69 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40156 - "GET /api/workflows/68 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40162 - "GET /api/workflows/67 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40168 - "GET /api/workflows/43 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40172 - "GET /api/workflows/95 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40180 - "GET /api/workflows/88 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40194 - "GET /api/workflows/89 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40198 - "GET /api/workflows/90 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40202 - "GET /api/workflows/96 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40204 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40212 - "GET /api/workflows/91 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40224 - "GET /api/workflows/92 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46428 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:46442 - "GET /api/workflows/102 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46444 - "GET /api/workflows/93 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46458 - "GET /api/workflows/100 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46466 - "GET /api/workflows/98 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46478 - "GET /api/workflows/99 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46490 - "GET /api/workflows/97 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46496 - "GET /api/workflows/101 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46502 - "GET /api/workflows/105 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46518 - "GET /api/workflows/104 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46530 - "GET /api/workflows/103 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46538 - "GET /api/workflows/94 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46550 - "GET /api/workflows/87 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46560 - "GET /api/workflows/86 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46576 - "GET /api/workflows/85 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46584 - "GET /api/workflows/84 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46592 - "GET /api/workflows/74 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46598 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46604 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46606 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:46612 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46620 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46630 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:46636 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:46644 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33536 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33542 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33550 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33558 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33562 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33566 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33572 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33580 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33594 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33608 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33614 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33616 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33620 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33622 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33632 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33634 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33636 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33644 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33650 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:33664 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33680 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33682 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:33694 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33698 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33706 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33710 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33714 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54686 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54700 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54708 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54712 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54720 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54732 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54736 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54746 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54762 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54764 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54774 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54784 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54794 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54800 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54806 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54814 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54816 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54826 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54840 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54852 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:54854 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54858 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54860 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54870 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54872 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54884 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:54896 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42894 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42904 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42910 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42918 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42930 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42934 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42946 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42954 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42956 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42960 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42962 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42970 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42982 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42990 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:43002 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43016 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43018 - "GET /api/workflows/156 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43022 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:43034 - "GET /api/workflows/157 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43044 - "GET /api/workflows/120 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43056 - "GET /api/workflows/119 HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [1712121]
@@ -0,0 +1,4 @@
VITE v6.4.3 ready in 281 ms
➜ Local: http://127.0.0.1:5173/
@@ -0,0 +1 @@
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
PASS114 root106/internal8;65edges/5boundaries;28exact/32unknown/1host;track36070
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,111 @@
"""List source texts and their identity/permission evidence, without self hashing."""
import hashlib
import json
from build_definition import OUT, REF, REPO
def main():
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
paths = {p.resolve() for p in REF.iterdir() if p.is_file()}
for e in rows:
paths.add((REF / e["local_file"]).resolve())
if not e["license_file"].startswith("未知"):
paths.add((REF / e["license_file"]).resolve())
if e["id"] in ["litegraph", "llama-unavailable"]:
continue
if "package_record" in e:
paths.add((REF / e["package_record"]).resolve())
paths.add((REF / e["registry_record"]).resolve())
continue
if "member_crc32" in e:
paths.update(p.resolve() for p in REF.glob("art-*"))
continue
base = REF / e["identity_root"]
paths.update(
(
(base / (e["identity_key"] + suffix)).resolve()
for suffix in ["-commit.txt", "-tag.txt", "-tag.json", "-tree.json"]
)
)
# Carry the approved closure and include identity/acquisition records referenced by rows.
inherited = json.loads(
(OUT.parent / "director-video-document-evidence/source-closure.json").read_bytes()
)
paths.update((REPO / row["path"]).resolve() for row in inherited["files"])
for e in rows:
if "canonical_identity_record" in e:
paths.add((REF / e["canonical_identity_record"]).resolve())
if "identity_root" in e and "identity_key" in e:
record = REF / e["identity_root"] / (e["identity_key"] + "-fetch.txt")
if record.is_file():
paths.add(record.resolve())
metadata = OUT.parent / "t8-av-reference"
for name in [
"t8-registry-request.json",
"t8-registry-response.txt",
"t8-repo-request.json",
"t8-repo-response.txt",
"kj-registry-request.json",
"kj-registry-response.txt",
"vhs-registry-request.json",
"vhs-registry-response.txt",
]:
paths.add((metadata / name).resolve())
paths.update((p.resolve() for p in REF.glob("*registry*.json")))
paths.update(
(REF / p).resolve()
for p in [
"../fasth3-t2v-reference/core-registry-response.txt",
"../fasth3-t2v-document-evidence/identity-gaps.json",
"../director-selflift-document-evidence/identity-gaps.json",
"../h3-avatar-document-evidence/identity-gaps.json",
"../t8-i2v-reference/core0311-fetch.txt",
"../t8-i2v-reference/frontend-fetch.txt",
]
)
paths.update(
(OUT.parent / "director-two-document-evidence" / name).resolve()
for name in [
"audit-corrections.json",
"browser-note-array-failure.txt",
"browser-before-label-correction.txt",
]
)
result = []
for p in sorted(paths):
raw = p.read_bytes()
result.append(
dict(
path=str(p.relative_to(REPO)),
sha256=hashlib.sha256(raw).hexdigest(),
purpose="准确来源原文、许可或Git对象绑定;静态读取未执行",
)
)
(OUT / "source-closure.json").write_text(
json.dumps(
dict(
files=result,
count=len(result),
upstream_executed=False,
note=(
"commit/tag字节和选定blob已重算"
",完整tree列表非完整tree对象重哈希。"
"本批准确必要Git文本与已审同版字节复用;"
"无整包/资产获取或安装。历史发布成员SHA/CRC不"
"冒充整包SHA/Git绑定,旧SeedVR越"
"界及删除记录保留。"
),
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print("PASS source closure", len(result))
if __name__ == "__main__":
main()
@@ -0,0 +1,9 @@
CORE038 candidates ['comfy/ldm/ace/attention.py', 'comfy/ldm/hidream_o1/attention.py', 'comfy/ldm/minimax/audio_vae.py', 'comfy/ldm/minimax/controlnet.py', 'comfy/ldm/minimax/model.py', 'comfy/ldm/minimax/vae.py', 'comfy/ldm/minimax_music/__init__.py', 'comfy/ldm/minimax_music/ar.py', 'comfy/ldm/minimax_music/dav.py', 'comfy/ldm/minimax_music/dit.py', 'comfy/ldm/minimax_music/prompt.py', 'comfy/ldm/modules/attention.py', 'comfy/ldm/modules/sub_quadratic_attention.py', 'comfy/ldm/moge/geometry.py', 'comfy/ldm/moge/model.py', 'comfy/ldm/moge/modules.py', 'comfy/ldm/moge/panorama.py', 'comfy/ldm/seedvr/attention.py', 'comfy/text_encoders/minimax.py', 'comfy/text_encoders/minimax_music.py', 'comfy_api_nodes/apis/minimax.py', 'comfy_api_nodes/nodes_minimax.py', 'comfy_extras/nodes_attention_multiply.py', 'comfy_extras/nodes_minimax_h3.py', 'comfy_extras/nodes_minimax_music.py', 'comfy_extras/nodes_moge.py', 'comfy_extras/nodes_sparse_attention.py', 'tests-unit/comfy_test/test_minimax_h3_model.py', 'tests-unit/comfy_test/test_minimax_h3_vae.py']
MISSING selflift LICENSE
MISSING selflift LICENSE.txt
MISSING selflift requirements.txt
MISSING selflift pyproject.toml
FETCH selflift 5df288a083fa8585a563c9c2af7ebfa0e79188c7 1
MISSING core0380 comfy_extras/nodes_attention.py
FETCH core0380 6b747c0428c343e1417219641db93a4fb7cb69ae 4
FETCH core0330 2f35f4a08176d993cded35dac3332be4f7287f41 7
@@ -0,0 +1,21 @@
# 第141批,仅导演台SelfLift双采样潜放大固定参考;原PR25/main,基线b626757bbf3f4f2f4a8d893e96832e7f54fe4f17。
# 静态必要源码/许可,不执行上游、预处理器、模型、媒体、种子、别名或清理。
# 既有依赖离线恢复,不增依赖。
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-selflift-document-evidence/inventory.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-selflift-document-evidence/verify_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-selflift-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/director-selflift-document-evidence/repeat.py
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_director_selflift_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/director-selflift-document-evidence/*.py calliope-backend/tests/test_director_selflift_fixed_document.py e2e/run-director-selflift-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/director-selflift-document-evidence/*.py calliope-backend/tests/test_director_selflift_fixed_document.py e2e/run-director-selflift-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
node --check e2e/director-selflift-document.mjs
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/director-selflift-document-evidence/recompute.py
npm run build --prefix calliope-web
# 前端build完成后再浏览,不与vite并发写生成目录。
PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome calliope-backend/.venv/bin/python e2e/run-director-selflift-document.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-selflift-document-evidence/collect_browser.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-selflift-document-evidence/source_closure.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-selflift-document-evidence/freeze.py
# 114列表条目(根106内8)/零标准Note/完整轨道状态字符串;旧121块冻结。122图7178保存条目/214注释仅参考,155定稿0/实跑0/新增转换0。
@@ -0,0 +1,19 @@
第141批:MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大固定中文参考已完成,交总管接回HEL-893一次功能+界面审核。基线b626757bbf3f4f2f4a8d893e96832e7f54fe4f17,分支agent/agent/a64a969a6a44、PR25 → main。产品仅本图source_reviews固定块及fixed_document路径/pin;未改转换器/执行器/Drawer整文件/CSS/依赖,未增加生成入口。
原件SHA256 97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7。根58节点57边、唯一MoGe定义3节点8含边界记录,全部mode0。114列表位置=根106/内部8,str72/int32/bool5/float4/null1,全部具名/原类型/双指针,零标准Note;根八缺widgets/具名仍缺失。宿主四缓存depth与内部mask、五输入和空widgets/no proxy分别保存,不制造promoted映射。
213完整36070码点track_data及全部嵌套prompt/素材/属性/空白/转义可逆保存;CR/LF0、字面反斜杠n416、无尾LF,原串和渲染UTF8 SHA c30443f05d5052ffa08158c500873ab4376ae4d911af3dbcf2d557369dc1b75a。递归非空敏感键扫描为空;task/video各一段0..173、frame_rate24只保存数据。未读取素材/URL或创建编辑器/canvas/media/iframe,长文不称逐字目验。
133准确来源行/936文件闭包,28准确类、32未知身份(30 Set/Get+两Label)、1子图宿主定义。core0.29/.30.2/.33/.38、Easy595e、EasyMedia fcfa/829a/9d、frontend1.45.20同树锁/LiteGraph及独立许可逐实例绑定。SelfLift准确aux 5df288a083fa8585a563c9c2af7ebfa0e79188c7的入口、类、schema、双阶段/切块/upscaler必要helpers只静态读取。派生registry slug selflift-avatar返回404仅该查询,canonical绑定未知;PROVENANCE无上游commit,准确树无LICENSE/依赖manifest/前端JS,许可未知,不套main/上游。末四tiling_mode/tiling_tiles/tiling_axis/selflift_tiling_plan准确schema/方法缺失,映射未知;COMBO/int2不认证二块,空plan不冒充已证前端辅助。seed control_after_generate=True与frontend标准helper支持fixed单列;999/fixed与Easy独立1002069665555849/randomize/null不合并。model_hires无外线。每块均预测音频但仅首块预测保留,不能保证音频/倍率/画质/人物一致性。
准确YC146207295c1d2bd6b64a6552484cb6ed8be1c9ef H3SigmaRefiner插值/早返/边界、core0.33 Scheduler/KSamplerSelect、core0.38 SigmaShift/AttentionBackend/Sparse以及MoGe三类注册/schema/算法条件/依赖/许可均在中文报告和源码引用分列,不执行或计算sigmas/NFE/比例。四SelfLift缺口、MoGe宿主depth/内部mask、fov int/FLOAT与公制条件、稀疏dynamic字典/int/float、kitchen可用条件均保留。源模型引用/HuggingFace地址不是安装/素材许可证明。
物理链261 LATENT664→291,同LATENT667/668双解码,238 IMAGE659直接CreateVideo(无resize);原视频经MoGe/清理/EasySave再Getdepth_video仅名称意图。Task额外previous/LOCKED_AUDIO、261额外locked_video_timing_frames、GetVideo位深COMBO/额外色域、CLIP0.29无minimax、视频nested首项/音频直接decode、Create额外字段、Save typed codec对auto串及准确单Video+UI均保留。本轮独立核原件纠正预读:Save227两个VIDEO输出links=null,140是缺键;原件未改。nodes_attention.py候选不在准确树,未获取blob,实际类在nodes_model_advanced.py。所有更正、原失败日志、历史SeedVR/127grep/132/135猜测路径/136404/137首取未知/138/139/140审计均不倒改。
782后台专项+工作流库回归通过,1条既有AnyIO弃用警告。三正式pytest/Ruff/format确选本图/显式配置;JS、前后端build、wheel/sdist三资源相等、双次定义/报告零差异通过,不累计轮次或称全仓绿。真实b626757旧代码隔离库升级1/跳过154且154整行不变;幂等155、精确回退重升、用户前后修改各冲突1/29列保护;155导入/1排除、16/139、1217/3660/294、停用未检查/空时间戳不变。旧121块7064条目/214注释和其它155对象、13370基线文件、163原件/191资源/28profile/九候选/六差分/资格冻结。
最终双屏1440×1000/390×844浏览5870断言,分组{"aggregate": 6, "new_director_selflift": 2946, "old_one_hundred_twenty_one": 2904, "shared_regressions": 14}。实际GET doc_json与隔离导出全等,逐114位置/作用域/原类型/具名/null/所有轨道嵌套值与渲染SHA、宿主边界/未知身份/准确来源/流程差异、旧121摘要、共享回退/迟到重试/焦点/无横溢通过。32最终截图,实际目验14张代表区域;此前浏览/检查日志独立保存,不计入本轮断言。
Node fetch/Python readiness/导航HTTP发送前仅允许http本机hostname8247/5173且无凭据,四错误URL拒绝,字体就地响应/HMR关闭。固定浏览379/后端374扣六夹具加一次就绪逐路径一致;轮询浏览42/后端42,快照差{"/api/jobs": 0, "/api/events": 0},仅允许确证快照后末次/api/jobs多0或1条。finally停自有服务并独立拒绝端口,无PNG/pyc入Git。
累计122参考7178位置/214标准注释,剩33张;155全量仍未完成,最终定稿/新增可靠转换/真实生成0。未连接目标/请求定义/启停TTS或ComfyUI/读Input Assets/构造prompt/执行上游/MoGe/SelfLift/YC/LLM/SDK/attention/数学/随机/sigmas/模型/GPU/放大/图音视频/预览/别名/清理/云API/模型目录/在线库,未增依赖付费/合并部署。当前无需材料/机器窗口。交完整补丁/用途SHA自排除清单/可逆中文和doc/GET/来源缺口闭包/最终head及pin/保护与复现/全部最终截图。
@@ -0,0 +1,333 @@
"Verify exact text, Git/package provenance and source graph without upstream imports."
import hashlib
import json
from build_definition import OUT, REF, build, canonical
from inventory import inventory
def object_hash(kind, raw):
return hashlib.sha1(kind.encode() + b" " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
def main():
block, inv = build(), inventory()
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
checks = []
for e in rows:
raw = (REF / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
if e["id"] == "litegraph":
root = REF / e["identity_root"]
assert (
json.loads((root / "litegraph__package__package.json").read_bytes())["version"]
== "0.15.15"
)
front = next(
x for x in rows if x["id"] == "frontend" and x["file"] == "package-lock.json"
)
lock = json.loads((REF / front["local_file"]).read_bytes())
assert (
lock["packages"]["node_modules/@comfyorg/litegraph"]["integrity"]
== "sha512-" + e["artifact_sha512_base64"]
)
proof = (
"Pinned frontend1.23.0 lock, exact0.15."
"15 member SHA; whole artifact digest r"
"eused, Git unknown"
)
elif "package_record" in e:
package = json.loads((REF / e["package_record"]).read_bytes())
reg = json.loads((REF / e["registry_record"]).read_bytes())
member = next(x for x in package["members"] if x["path"] == e["file"])
assert member["saved"] and member["sha256"] == e["sha256"]
assert reg["version"] == e["tag"] == "1.0.0"
assert package["sha256"] == e["artifact_sha256"]
proof = (
"复用已审准确发布成员SHA/registry/历史整包摘要记录;本轮未获取整包,不证明Git绑定"
)
elif e["id"] == "llama-unavailable":
proof = "准确20571提交不可得的有界调查原记录,仅缺口,不作为schema实现"
else:
root = REF / e["identity_root"]
key = e["identity_key"]
commit = (root / (key + "-commit.txt")).read_bytes()
tree = json.loads((root / (key + "-tree.json")).read_bytes())
assert object_hash("commit", commit) == e["commit"]
assert commit.decode().splitlines()[0] == "tree " + e["tree"] == "tree " + tree["sha"]
assert not tree["truncated"]
assert (
next(t["sha"] for t in tree["tree"] if t["path"] == e["file"])
== e["git_blob_sha1"]
== object_hash("blob", raw)
)
tag = json.loads((root / (key + "-tag.json")).read_bytes())
tag_raw = (root / (key + "-tag.txt")).read_bytes()
assert tag["commit"] == e["commit"]
if tag["object"] == e["commit"]:
assert tag_raw == commit
else:
assert object_hash("tag", tag_raw) == tag["object"]
assert tag_raw.decode().startswith("object " + e["commit"] + "\n")
proof = (
"Rehashed commit/tag/selected blo"
"b; complete tree listing, not fu"
"ll tree-object rehash"
)
if not e["license_file"].startswith("未知"):
license_row = next(
x
for x in rows
if x["id"] == e["id"]
and ((REF / x["local_file"]).resolve() == (REF / e["license_file"]).resolve())
)
assert (
hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest()
== license_row["sha256"]
)
checks.append(dict(id=e["id"], file=e["file"], sha256=e["sha256"], proof=proof))
assert inv["sha256"] == "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
assert len(inv["fields"]) == 114 and not inv["notes"]
assert [(x["nodes"], x["edges"], x["named_nodes"]) for x in inv["scopes"]] == [
(58, 57, 50),
(3, 8, 3),
]
assert all(m == 0 for x in inv["scopes"] for m in x["modes"])
assert {e["node"] for e in inv["empty"]} == {238, 243, 246, 270, 226, 224, 281, 282}
assert all(e["state"] == "missing" for e in inv["empty"])
for f, x in zip(block["fields"], inv["fields"], strict=True):
assert f["pointer"] == x["pointer"] and f["json_type"] == x["json_type"]
assert f["scope"] == ("root" if x["scope"] == "root" else "286")
assert canonical(f["value"]) == canonical(x["value"]) == canonical(f["named_value"])
import collections
from build_definition import PATHS, REPO
g = json.loads((REPO / PATHS[0]).read_bytes())
ns = {n["id"]: n for n in g["nodes"]}
sg = g["definitions"]["subgraphs"][0]
inner = {n["id"]: n for n in sg["nodes"]}
assert g["extra"]["frontendVersion"] == "1.45.20"
for eid, src, si, dst, di, typ in g["links"]:
assert eid in ns[src]["outputs"][si]["links"] and ns[dst]["inputs"][di]["link"] == eid
edges = {e[0]: e[1:5] for e in g["links"]}
for eid, pair in {
642: [245, 0, 252, 0],
643: [252, 0, 285, 0],
644: [285, 0, 284, 0],
640: [284, 0, 283, 0],
639: [283, 0, 253, 0],
655: [254, 0, 289, 0],
660: [254, 0, 291, 0],
661: [261, 0, 291, 1],
584: [261, 0, 246, 0],
662: [246, 0, 291, 2],
664: [261, 1, 291, 4],
663: [250, 0, 291, 3],
653: [289, 0, 290, 0],
666: [290, 0, 291, 6],
665: [288, 0, 291, 5],
667: [291, 0, 238, 0],
668: [291, 0, 243, 0],
659: [238, 0, 262, 0],
645: [224, 0, 286, 0],
646: [286, 0, 226, 0],
568: [226, 0, 225, 2],
569: [224, 1, 225, 3],
567: [224, 2, 225, 1],
626: [225, 0, 279, 0],
627: [280, 0, 261, 5],
628: [262, 0, 227, 0],
}.items():
assert edges[eid] == pair, (eid, edges[eid], pair)
boundary = {
e["id"]: [e["origin_id"], e["origin_slot"], e["target_id"], e["target_slot"]]
for e in sg["links"]
}
assert boundary == {
1: [1, 0, 2, 0],
4: [2, 0, 5, 0],
2: [-10, 0, 2, 1],
5: [5, 0, -20, 0],
8: [-10, 1, 2, 2],
10: [-10, 3, 5, 1],
11: [-10, 4, 1, 0],
9: [-10, 2, 2, 4],
}
assert sg["widgets"] == [] and len(sg["inputs"]) == 5
assert "proxyWidgets" not in ns[286] and "proxyWidgets" not in ns[286]["properties"]
assert ns[286]["widgets_values"] == [9, 4, "depth", "moge_3_vitg_fp16.safetensors"]
assert inner[2]["widgets_values"] == [9, 0, 4, True, True, 3] and inner[5][
"widgets_values"
] == ["mask"]
types = collections.Counter(f["json_type"] for f in inv["fields"])
assert types == dict(str=72, int=32, bool=5, float=4, NoneType=1)
raw = ns[213]["widgets_values"][3]
state = json.loads(raw)
assert raw == ns[213]["widgets_values_named"]["track_data"]
assert (
len(raw),
raw.count("\r"),
raw.count("\n"),
raw.count("\\n"),
raw.endswith("\n"),
hashlib.sha256(raw.encode()).hexdigest(),
) == (
36070,
0,
0,
416,
False,
"c30443f05d5052ffa08158c500873ab4376ae4d911af3dbcf2d557369dc1b75a",
)
keys = []
def scan(v, p=""):
if isinstance(v, dict):
for k, x in v.items():
if (
any(
t in k.lower()
for t in [
"api_key",
"apikey",
"authorization",
"access_token",
"password",
"secret",
]
)
and x
):
keys.append(p + "/" + k)
scan(x, p + "/" + k)
elif isinstance(v, list):
for i, x in enumerate(v):
scan(x, p + "/" + str(i))
scan(state)
assert not keys
assert state["muted"] is False and type(state["volume_db"]) is int and state["volume_db"] == 0
assert (
state["task_markers"] == []
and state["task_overview"] is False
and state["total_length"] == 173
and state["frame_rate"] == 24
)
assert [t["type"] for t in state["tracks"]] == ["task", "video"]
assert all(
len(t["segments"]) == 1
and t["segments"][0]["start_frame"] == 0
and t["segments"][0]["end_frame"] == 173
for t in state["tracks"]
)
assert ns[291]["widgets_values"] == [
999,
"fixed",
1,
4,
0.5,
0,
0.5,
1,
"minimax_h3_latent_upscaler_3d_conv_v1_fp16.safetensors",
True,
"auto",
2,
"auto",
"",
]
assert next(i for i in ns[291]["inputs"] if i["name"] == "model_hires")["link"] is None
assert all(e[4] != 8 for e in g["links"] if e[3] == 291)
assert ns[276]["widgets_values"] == [1002069665555849, "randomize", None]
assert ns[283]["widgets_values"] == [
"vsa",
10,
0.2,
1,
"",
12288,
256,
"exact_kv_and_rows",
False,
]
assert ns[285]["widgets_values"] == [10, 3] and ns[290]["widgets_values"] == [
1,
0.7,
0,
"cosine",
]
assert ns[225]["widgets_values"] == ["images+audio", 24, "save", False, "video/ComfyUI"]
assert all(o["links"] is None for o in ns[227]["outputs"])
bind = {e["node_id"]: e for e in block["node_bindings"]}
assert len(bind) == 61 and sum(bool(e["candidates"]) for e in bind.values()) == 28
assert sum(e["source_id"] == "unknown" for e in bind.values()) == 32
assert bind["286"]["source_id"] == "subgraph-definition" and not bind["286"]["candidates"]
assert all(
e["source_id"] == "unknown"
for e in bind.values()
if e["class_type"] in ["SetNode", "GetNode", "Label (rgthree)"]
)
def text(key, file):
return (
REF / next(e["local_file"] for e in rows if e["id"] == key and e["file"] == file)
).read_text()
sl = text("selflift", "nodes.py")
cl = sl.split("class SelfLiftAvatarH3Sampler:")[1].split("NODE_CLASS_MAPPINGS")[0]
for k in ["tiling_mode", "tiling_tiles", "tiling_axis", "selflift_tiling_plan"]:
assert k not in cl
assert '"control_after_generate": True' in cl and "highres_tiling=False" in cl
assert (
"from .nodes import NODE_CLASS_MAPPINGS" in text("selflift", "__init__.py")
and '"SelfLiftAvatarH3Sampler": SelfLiftAvatarH3Sampler' in sl
)
assert "control_after_generate" in text("frontend", "src/scripts/widgets.ts")
mo = text("core0380", "comfy_extras/nodes_moge.py")
for cls in ["LoadMoGeModel", "MoGeInference", "MoGeRender"]:
assert "class " + cls in mo and cls + "," in mo.split("class MoGeExtension")[1]
assert "fov_x_degrees <= 0" in mo and "refine_steps" in mo
assert "class BlockSparseAttention" in text(
"core0380", "comfy_extras/nodes_sparse_attention.py"
)
assert "class MiniMaxH3SigmaShift" in text("core0380", "comfy_extras/nodes_minimax_h3.py")
assert "class ModelAttentionBackend" in text("core0380", "comfy_extras/nodes_model_advanced.py")
assert "importlib.import_module" in text("yc", "__init__.py") and '"H3SigmaRefiner"' in text(
"yc", "py/h3_sigma_refiner.py"
)
task = (
text("mediaout", "nodes/basic.py").split("class MultiTrackTaskOutput")[1].split("class ")[0]
)
assert "previous" not in task and "LOCKED_AUDIO" not in task
mini = (
text("media85", "nodes/minimax.py")
if any(e["id"] == "media85" and e["file"] == "nodes/minimax.py" for e in rows)
else ""
)
assert "locked_video_timing_frames" not in mini
result = dict(
sources=checks,
positions=114,
paired_positions=114,
list_types=types,
notes=0,
edges=65,
accurate_nodes=28,
unknown_identity_nodes=[e for e in bind.values() if e["source_id"] == "unknown"],
boundary_definition_nodes=1,
track_raw_sha256=hashlib.sha256(raw.encode()).hexdigest(),
parsed_track_data=state,
credential_keys_found=keys,
upstream_executed=False,
)
(OUT / "source-check.json").write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
(OUT / "node-version-bindings.json").write_text(
json.dumps(block["node_bindings"], ensure_ascii=False, indent=2) + "\n"
)
print("PASS114 root106/internal8;65edges/5boundaries;28exact/32unknown/1host;track36070")
if __name__ == "__main__":
main()
@@ -0,0 +1,6 @@
tree 668784f3dcf05f5adb6d12ee551dc476e2f56e46
parent ddbaa8752874c275290d054ee4fddd6e004f5fdf
author comfyanonymous <comfyanonymous@protonmail.com> 1786641622 -0400
committer comfyanonymous <comfyanonymous@protonmail.com> 1786641622 -0400
ComfyUI v0.33.0
@@ -0,0 +1,2 @@
From https://github.com/Comfy-Org/ComfyUI
* tag v0.33.0 -> FETCH_HEAD
@@ -0,0 +1,5 @@
{
"object": "2f35f4a08176d993cded35dac3332be4f7287f41",
"commit": "2f35f4a08176d993cded35dac3332be4f7287f41",
"tag": "v0.33.0"
}
@@ -0,0 +1,6 @@
tree 668784f3dcf05f5adb6d12ee551dc476e2f56e46
parent ddbaa8752874c275290d054ee4fddd6e004f5fdf
author comfyanonymous <comfyanonymous@protonmail.com> 1786641622 -0400
committer comfyanonymous <comfyanonymous@protonmail.com> 1786641622 -0400
ComfyUI v0.33.0
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,177 @@
from abc import ABC, abstractmethod
from typing import TYPE_CHECKING
from comfy_api.internal import ComfyAPIBase
from comfy_api.internal.singleton import ProxiedSingleton
from comfy_api.internal.async_to_sync import create_sync_class
from ._input import ImageInput, AudioInput, MaskInput, LatentInput, VideoInput
from ._input_impl import VideoFromFile, VideoFromComponents
from ._util import VideoCodec, VideoContainer, VideoComponents, MESH, VOXEL, SPLAT, File3D
from . import _io_public as io
from . import _ui_public as ui
from comfy_execution.utils import get_executing_context
from comfy_execution.progress import get_progress_state, PreviewImageTuple
from PIL import Image
from comfy.cli_args import args
import numpy as np
class ComfyAPI_latest(ComfyAPIBase):
VERSION = "latest"
STABLE = False
def __init__(self):
super().__init__()
self.node_replacement = self.NodeReplacement()
self.execution = self.Execution()
self.caching = self.Caching()
class NodeReplacement(ProxiedSingleton):
async def register(self, node_replace: io.NodeReplace) -> None:
"""Register a node replacement mapping."""
from server import PromptServer
PromptServer.instance.node_replace_manager.register(node_replace)
class Execution(ProxiedSingleton):
async def set_progress(
self,
value: float,
max_value: float,
node_id: str | None = None,
preview_image: Image.Image | ImageInput | None = None,
ignore_size_limit: bool = False,
) -> None:
"""
Update the progress bar displayed in the ComfyUI interface.
This function allows custom nodes and API calls to report their progress
back to the user interface, providing visual feedback during long operations.
Migration from previous API: comfy.utils.PROGRESS_BAR_HOOK
"""
executing_context = get_executing_context()
if node_id is None and executing_context is not None:
node_id = executing_context.node_id
if node_id is None:
raise ValueError("node_id must be provided if not in executing context")
# Convert preview_image to PreviewImageTuple if needed
to_display: PreviewImageTuple | Image.Image | ImageInput | None = preview_image
if to_display is not None:
# First convert to PIL Image if needed
if isinstance(to_display, ImageInput):
# Convert ImageInput (torch.Tensor) to PIL Image
# Handle tensor shape [B, H, W, C] -> get first image if batch
tensor = to_display
if len(tensor.shape) == 4:
tensor = tensor[0]
# Convert to numpy array and scale to 0-255
image_np = (tensor.cpu().numpy() * 255).astype(np.uint8)
to_display = Image.fromarray(image_np)
if isinstance(to_display, Image.Image):
# Detect image format from PIL Image
image_format = to_display.format if to_display.format else "JPEG"
# Use None for preview_size if ignore_size_limit is True
preview_size = None if ignore_size_limit else args.preview_size
to_display = (image_format, to_display, preview_size)
get_progress_state().update_progress(
node_id=node_id,
value=value,
max_value=max_value,
image=to_display,
)
class Caching(ProxiedSingleton):
"""
External cache provider API for sharing cached node outputs
across ComfyUI instances.
Example::
from comfy_api.latest import Caching
class MyCacheProvider(Caching.CacheProvider):
async def on_lookup(self, context):
... # check external storage
async def on_store(self, context, value):
... # store to external storage
Caching.register_provider(MyCacheProvider())
"""
from ._caching import CacheProvider, CacheContext, CacheValue
async def register_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
"""Register an external cache provider. Providers are called in registration order."""
from comfy_execution.cache_provider import register_cache_provider
register_cache_provider(provider)
async def unregister_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
"""Unregister a previously registered cache provider."""
from comfy_execution.cache_provider import unregister_cache_provider
unregister_cache_provider(provider)
class ComfyExtension(ABC):
async def on_load(self) -> None:
"""
Called when an extension is loaded.
This should be used to initialize any global resources needed by the extension.
"""
@abstractmethod
async def get_node_list(self) -> list[type[io.ComfyNode]]:
"""
Returns a list of nodes that this extension provides.
"""
class Input:
Image = ImageInput
Audio = AudioInput
Mask = MaskInput
Latent = LatentInput
Video = VideoInput
class InputImpl:
VideoFromFile = VideoFromFile
VideoFromComponents = VideoFromComponents
class Types:
VideoCodec = VideoCodec
VideoContainer = VideoContainer
VideoComponents = VideoComponents
MESH = MESH
VOXEL = VOXEL
SPLAT = SPLAT
File3D = File3D
Caching = ComfyAPI_latest.Caching
ComfyAPI = ComfyAPI_latest
# Create a synchronous version of the API
if TYPE_CHECKING:
import comfy_api.latest.generated.ComfyAPISyncStub # type: ignore
ComfyAPISync: type[comfy_api.latest.generated.ComfyAPISyncStub.ComfyAPISyncStub]
ComfyAPISync = create_sync_class(ComfyAPI_latest)
# create new aliases for io and ui
IO = io
UI = ui
__all__ = [
"ComfyAPI",
"ComfyAPISync",
"Input",
"InputImpl",
"Types",
"Caching",
"ComfyExtension",
"io",
"IO",
"ui",
"UI",
]
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
from ._io import * # noqa: F403
@@ -0,0 +1,37 @@
comfyui-frontend-package==1.48.7
comfyui-workflow-templates==0.11.41
comfyui-embedded-docs==0.5.9
torch
torchsde
torchvision
torchaudio
numpy>=1.25.0
einops
transformers>=4.50.3
tokenizers>=0.13.3
sentencepiece
safetensors>=0.4.2
aiohttp>=3.11.8
yarl>=1.18.0
pyyaml
Pillow
scipy
tqdm
psutil
alembic
SQLAlchemy>=2.0.0
filelock
av>=16.0.0
comfy-kitchen==0.2.31
comfy-aimdo==0.4.13
requests
simpleeval>=1.0.0
blake3
#non essential dependencies:
kornia>=0.7.1
spandrel
pydantic~=2.0
pydantic-settings~=2.0
PyOpenGL>=3.1.8
comfy-angle
@@ -0,0 +1,6 @@
tree 17e7153e3d56c7398a918c6799e0ba99e873f9c9
parent 7a8f3add240fff1399df6378636f3cd6a65ab3e3
author comfyanonymous <comfyanonymous@protonmail.com> 1790707604 -0400
committer comfyanonymous <comfyanonymous@protonmail.com> 1790707604 -0400
ComfyUI v0.38.0
@@ -0,0 +1,2 @@
From https://github.com/Comfy-Org/ComfyUI
* tag v0.38.0 -> FETCH_HEAD
@@ -0,0 +1,5 @@
{
"object": "6b747c0428c343e1417219641db93a4fb7cb69ae",
"commit": "6b747c0428c343e1417219641db93a4fb7cb69ae",
"tag": "v0.38.0"
}
@@ -0,0 +1,6 @@
tree 17e7153e3d56c7398a918c6799e0ba99e873f9c9
parent 7a8f3add240fff1399df6378636f3cd6a65ab3e3
author comfyanonymous <comfyanonymous@protonmail.com> 1790707604 -0400
committer comfyanonymous <comfyanonymous@protonmail.com> 1790707604 -0400
ComfyUI v0.38.0
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,25 @@
"""Colormap utilities for depth and geometry visualisation."""
from __future__ import annotations
import torch
def turbo(x: torch.Tensor) -> torch.Tensor:
"""Anton Mikhailov polynomial approximation of the Turbo colormap.
Args:
x: Float tensor with values in [0, 1].
Returns:
RGB tensor of the same shape as ``x`` with a trailing size-3 dimension.
"""
x = x.clamp(0.0, 1.0)
x2 = x * x
x3 = x2 * x
x4 = x2 * x2
x5 = x4 * x
r = 0.13572138 + 4.61539260*x - 42.66032258*x2 + 132.13108234*x3 - 152.94239396*x4 + 59.28637943*x5
g = 0.09140261 + 2.19418839*x + 4.84296658*x2 - 14.18503333*x3 + 4.27729857*x4 + 2.82956604*x5
b = 0.10667330 + 12.64194608*x - 60.58204836*x2 + 110.36276771*x3 - 89.90310912*x4 + 27.34824973*x5
return torch.stack([r, g, b], dim=-1).clamp(0.0, 1.0)
@@ -0,0 +1,188 @@
"""Pure-torch + scipy geometry helpers for MoGe inference and mesh export."""
from typing import Optional, Tuple
import numpy as np
import torch
import torch.nn.functional as F
from scipy.optimize import least_squares
def normalized_view_plane_uv(width: int, height: int, aspect_ratio: Optional[float] = None,
dtype: Optional[torch.dtype] = None, device: Optional[torch.device] = None) -> torch.Tensor:
"""Normalized view-plane UV coordinates with corners at +/-(W, H)/diagonal."""
if aspect_ratio is None:
aspect_ratio = width / height
span_x = aspect_ratio / (1 + aspect_ratio ** 2) ** 0.5
span_y = 1.0 / (1 + aspect_ratio ** 2) ** 0.5
u = torch.linspace(-span_x * (width - 1) / width, span_x * (width - 1) / width, width, dtype=dtype, device=device)
v = torch.linspace(-span_y * (height - 1) / height, span_y * (height - 1) / height, height, dtype=dtype, device=device)
u, v = torch.meshgrid(u, v, indexing="xy")
return torch.stack([u, v], dim=-1)
def intrinsics_from_focal_center(fx: torch.Tensor, fy: torch.Tensor, cx: torch.Tensor, cy: torch.Tensor) -> torch.Tensor:
"""Assemble (..., 3, 3) intrinsics from broadcastable fx, fy, cx, cy."""
fx, fy, cx, cy = [torch.as_tensor(v) for v in (fx, fy, cx, cy)]
fx, fy, cx, cy = torch.broadcast_tensors(fx, fy, cx, cy)
zero = torch.zeros_like(fx)
one = torch.ones_like(fx)
return torch.stack([
torch.stack([fx, zero, cx], dim=-1),
torch.stack([zero, fy, cy], dim=-1),
torch.stack([zero, zero, one], dim=-1),
], dim=-2)
def depth_map_to_point_map(depth: torch.Tensor, intrinsics: torch.Tensor) -> torch.Tensor:
"""Back-project a (..., H, W) depth map through K^-1 to (..., H, W, 3) camera-space points.
Intrinsics use normalized image coords (x in [0, 1] left->right, y in [0, 1] top->bottom).
"""
H, W = depth.shape[-2:]
device, dtype = depth.device, depth.dtype
u = (torch.arange(W, dtype=dtype, device=device) + 0.5) / W
v = (torch.arange(H, dtype=dtype, device=device) + 0.5) / H
grid_v, grid_u = torch.meshgrid(v, u, indexing="ij")
pix = torch.stack([grid_u, grid_v, torch.ones_like(grid_u)], dim=-1)
K_inv = torch.linalg.inv(intrinsics)
rays = torch.einsum("...ij,hwj->...hwi", K_inv, pix)
return rays * depth.unsqueeze(-1)
def _solve_optimal_shift(uv: np.ndarray, xyz: np.ndarray,
focal: Optional[float] = None) -> Tuple[float, float]:
"""LM-solve for z-shift; when focal is None, also recovers the optimal focal."""
uv = uv.reshape(-1, 2)
xy = xyz[..., :2].reshape(-1, 2)
z = xyz[..., 2].reshape(-1)
def fn(shift):
xy_proj = xy / (z + shift)[:, None]
f = focal if focal is not None else (xy_proj * uv).sum() / np.square(xy_proj).sum()
return (f * xy_proj - uv).ravel()
sol = least_squares(fn, x0=0.0, ftol=1e-3, method="lm")
shift = float(np.asarray(sol["x"]).squeeze())
if focal is None:
xy_proj = xy / (z + shift)[:, None]
focal = float((xy_proj * uv).sum() / np.square(xy_proj).sum())
return shift, focal
def recover_focal_shift(points: torch.Tensor, mask: Optional[torch.Tensor] = None,
focal: Optional[torch.Tensor] = None, downsample_size: Tuple[int, int] = (64, 64)
) -> Tuple[torch.Tensor, torch.Tensor]:
"""Recover the focal length and z-shift that turn points into a metric point map.
Optical center is at the image center; returned focal is relative to half the image diagonal.
Returns (focal, shift) on the same device/dtype as points.
"""
shape = points.shape
H, W = shape[-3], shape[-2]
points_b = points.reshape(-1, H, W, 3)
mask_b = None if mask is None else mask.reshape(-1, H, W)
focal_b = None if focal is None else focal.reshape(-1)
uv = normalized_view_plane_uv(W, H, dtype=points.dtype, device=points.device)
points_lr = F.interpolate(points_b.permute(0, 3, 1, 2), downsample_size, mode="nearest").permute(0, 2, 3, 1)
uv_lr = F.interpolate(uv.unsqueeze(0).permute(0, 3, 1, 2), downsample_size, mode="nearest").squeeze(0).permute(1, 2, 0)
mask_lr = None
if mask_b is not None:
mask_lr = F.interpolate(mask_b.to(torch.float32).unsqueeze(1), downsample_size, mode="nearest").squeeze(1) > 0
uv_np = uv_lr.detach().cpu().numpy()
points_np = points_lr.detach().cpu().numpy()
mask_np = None if mask_lr is None else mask_lr.detach().cpu().numpy()
focal_np = None if focal_b is None else focal_b.detach().cpu().numpy()
out_focal: list = []
out_shift: list = []
for i in range(points_b.shape[0]):
if mask_np is None:
xyz_i = points_np[i].reshape(-1, 3)
uv_i = uv_np.reshape(-1, 2)
else:
sel = mask_np[i]
if sel.sum() < 2:
out_focal.append(1.0)
out_shift.append(0.0)
continue
xyz_i = points_np[i][sel]
uv_i = uv_np[sel]
if focal_np is None:
shift_i, focal_i = _solve_optimal_shift(uv_i, xyz_i)
out_focal.append(focal_i)
else:
shift_i, _ = _solve_optimal_shift(uv_i, xyz_i, focal=float(focal_np[i]))
out_shift.append(shift_i)
shift_t = torch.tensor(out_shift, device=points.device, dtype=points.dtype).reshape(shape[:-3])
if focal is None:
focal_t = torch.tensor(out_focal, device=points.device, dtype=points.dtype).reshape(shape[:-3])
else:
focal_t = focal.reshape(shape[:-3])
return focal_t, shift_t
def depth_map_edge(depth: torch.Tensor, atol: Optional[float] = None, rtol: Optional[float] = None, kernel_size: int = 3) -> torch.Tensor:
"""Per-pixel boolean: True where the local depth window's max-min span exceeds atol or rtol*depth."""
shape = depth.shape
d = depth.reshape(-1, 1, *shape[-2:])
pad = kernel_size // 2
diff = F.max_pool2d(d, kernel_size, stride=1, padding=pad) + F.max_pool2d(-d, kernel_size, stride=1, padding=pad)
edge = torch.zeros_like(d, dtype=torch.bool)
if atol is not None:
edge |= diff > atol
if rtol is not None:
edge |= (diff / d.clamp_min(1e-6)).nan_to_num_() > rtol
return edge.reshape(*shape)
def triangulate_grid_mesh(points: torch.Tensor, mask: Optional[torch.Tensor] = None, decimation: int = 1, discontinuity_threshold: float = 0.04,
depth: Optional[torch.Tensor] = None) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor]:
"""Triangulate a (H, W, 3) point map into (vertices, faces, uvs) on CPU.
Vertices: pixels with finite coords (passing optional mask). Quads with four valid corners
become two triangles. depth overrides the scalar used for the rtol edge check; pass radial
depth for panoramas (the default points[..., 2] goes negative below the equator).
"""
points = points.detach().cpu()
finite = torch.isfinite(points).all(dim=-1)
if mask is None:
mask = finite
else:
mask = mask.detach().cpu().to(torch.bool) & finite
if discontinuity_threshold > 0:
d = depth.detach().cpu() if depth is not None else points[..., 2]
# Replace inf with 0 so max-pool doesn't poison neighbourhoods (mask above already excludes those pixels).
d_finite = torch.where(finite, d, torch.zeros_like(d))
edge = depth_map_edge(d_finite, rtol=discontinuity_threshold)
mask = mask & ~edge
if decimation > 1:
points = points[::decimation, ::decimation].contiguous()
mask = mask[::decimation, ::decimation].contiguous()
H, W = points.shape[:2]
flat_mask = mask.reshape(-1)
idx = torch.full((H * W,), -1, dtype=torch.long)
n_valid = int(flat_mask.sum().item())
idx[flat_mask] = torch.arange(n_valid, dtype=torch.long)
idx = idx.reshape(H, W)
vertices = points.reshape(-1, 3)[flat_mask].contiguous()
yy, xx = torch.meshgrid(torch.arange(H), torch.arange(W), indexing="ij")
u = xx.float() / max(W - 1, 1)
v = yy.float() / max(H - 1, 1)
uvs = torch.stack([u, v], dim=-1).reshape(-1, 2)[flat_mask].contiguous()
a, b, c, d = idx[:-1, :-1], idx[:-1, 1:], idx[1:, 1:], idx[1:, :-1]
quad_ok = (a >= 0) & (b >= 0) & (c >= 0) & (d >= 0)
a, b, c, d = a[quad_ok], b[quad_ok], c[quad_ok], d[quad_ok]
faces = torch.cat([torch.stack([a, b, c], dim=-1), torch.stack([a, c, d], dim=-1)], dim=0).contiguous()
return vertices, faces, uvs
@@ -0,0 +1,425 @@
"""MoGe v1 / v2 inference modules and a state-dict-driven builder.
V1: DINOv2 backbone + multi-output head (points, mask).
V2: DINOv2 encoder + neck + per-output heads (points, mask, normal, optional metric-scale MLP).
V3: V2 plus a sparse 3D UNet that iteratively refines the predicted log-depth.
"""
from numbers import Number
from typing import Any, Dict, List, Optional, Tuple, Union
import torch
import torch.nn as nn
import torch.nn.functional as F
import comfy.ops
import comfy.model_management
import comfy.model_patcher
import comfy.storage
from comfy.image_encoders.dino2 import Dinov2Model
from .geometry import depth_map_to_point_map, intrinsics_from_focal_center, recover_focal_shift
from .modules import ConvStack, DINOv2Encoder, HeadV1, MLP, Sparse3DUNet, _view_plane_uv_grid
def _remap_points(points: torch.Tensor) -> torch.Tensor:
"""Apply the exp remap: z -> exp(z), xy stays linear and gets scaled by the new z."""
xy, z = points.split([2, 1], dim=-1)
z = torch.exp(z)
return torch.cat([xy * z, z], dim=-1)
def _detect_dinov2(sd: dict, prefix: str) -> Dict[str, Any]:
# All shipped MoGe checkpoints use plain DINOv2. ViT-g (MoGe-3) swaps the MLP for a fused SwiGLU.
hidden = sd[prefix + "embeddings.cls_token"].shape[-1]
layer_prefix = prefix + "encoder.layer."
depth = 1 + max(int(k[len(layer_prefix):].split(".")[0]) for k in sd if k.startswith(layer_prefix))
return {
"hidden_size": hidden,
"num_attention_heads": hidden // 64,
"num_hidden_layers": depth,
"layer_norm_eps": 1e-6,
"use_swiglu_ffn": layer_prefix + "0.mlp.weights_in.weight" in sd,
}
class MoGeModelV1(nn.Module):
"""MoGe v1: DINOv2 backbone + HeadV1 (points, mask)."""
image_mean: torch.Tensor
image_std: torch.Tensor
intermediate_layers = 4
num_tokens_range: Tuple[Number, Number] = (1200, 2500)
mask_threshold = 0.5
def __init__(self, backbone: Dict[str, Any], dim_upsample: List[int] = (256, 128, 128),
num_res_blocks: int = 1, dim_times_res_block_hidden: int = 1,
dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
self.backbone = Dinov2Model(backbone, dtype, device, operations)
self.head = HeadV1(dim_in=backbone["hidden_size"], dim_upsample=list(dim_upsample),
num_res_blocks=num_res_blocks, dim_times_res_block_hidden=dim_times_res_block_hidden,
dtype=dtype, device=device, operations=operations)
self.register_buffer("image_mean", torch.tensor([0.485, 0.456, 0.406]).view(1, 3, 1, 1))
self.register_buffer("image_std", torch.tensor([0.229, 0.224, 0.225]).view(1, 3, 1, 1))
def forward(self, image: torch.Tensor, num_tokens: int) -> Dict[str, torch.Tensor]:
H, W = image.shape[-2:]
resize = ((num_tokens * 14 ** 2) / (H * W)) ** 0.5
rh, rw = int(H * resize), int(W * resize)
x = F.interpolate(image, (rh, rw), mode="bicubic", align_corners=False, antialias=True)
x = (x - comfy.ops.cast_to_input(self.image_mean, x, copy=False)) / comfy.ops.cast_to_input(self.image_std, x, copy=False)
x14 = F.interpolate(x, (rh // 14 * 14, rw // 14 * 14), mode="bilinear", align_corners=False, antialias=True)
n_layers = len(self.backbone.encoder.layer)
indices = list(range(n_layers - self.intermediate_layers, n_layers))
feats = self.backbone.get_intermediate_layers(x14, indices, apply_norm=True)
points, mask = self.head(feats, x)
points = F.interpolate(points.float(), (H, W), mode="bilinear", align_corners=False)
points = _remap_points(points.permute(0, 2, 3, 1))
mask = F.interpolate(mask.float(), (H, W), mode="bilinear", align_corners=False).squeeze(1)
return {"points": points, "mask": mask}
@classmethod
def from_state_dict(cls, sd, dtype=None, device=None, operations=comfy.ops.manual_cast):
"""Detect the v1 head config from sd, build a model, and load weights."""
n_up = 1 + max(int(k.split(".")[2]) for k in sd if k.startswith("head.upsample_blocks."))
dim_upsample = [sd[f"head.upsample_blocks.{i}.0.0.weight"].shape[1] for i in range(n_up)]
# Each upsample stage is Sequential[upsampler, *res_blocks]; count res blocks at level 0.
num_res_blocks = max({int(k.split(".")[3]) for k in sd if k.startswith("head.upsample_blocks.0.")})
hidden_out = sd["head.upsample_blocks.0.1.layers.2.weight"].shape[0]
dim_times = max(hidden_out // dim_upsample[0], 1)
model = cls(backbone=_detect_dinov2(sd, prefix="backbone."),
dim_upsample=dim_upsample, num_res_blocks=num_res_blocks, dim_times_res_block_hidden=dim_times,
dtype=dtype, device=device, operations=operations)
model.load_state_dict(sd, strict=True)
return model
class MoGeModelV2(nn.Module):
"""MoGe v2: DINOv2 encoder + neck + per-output heads (points/mask/normal/metric-scale)."""
intermediate_layers = 4
num_tokens_range: Tuple[Number, Number] = (1200, 3600)
def __init__(self,
encoder: Dict[str, Any],
neck: Dict[str, Any],
points_head: Dict[str, Any],
mask_head: Dict[str, Any],
scale_head: Dict[str, Any],
normal_head: Optional[Dict[str, Any]] = None,
dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
self.encoder = DINOv2Encoder(**encoder, dtype=dtype, device=device, operations=operations)
self.neck = ConvStack(**neck, dtype=dtype, device=device, operations=operations)
self.points_head = ConvStack(**points_head, dtype=dtype, device=device, operations=operations)
self.mask_head = ConvStack(**mask_head, dtype=dtype, device=device, operations=operations)
self.scale_head = MLP(**scale_head, dtype=dtype, device=device, operations=operations)
if normal_head is not None:
self.normal_head = ConvStack(**normal_head, dtype=dtype, device=device, operations=operations)
def _trunk(self, image: torch.Tensor, num_tokens: int) -> Tuple[List[torch.Tensor], torch.Tensor, torch.Tensor]:
"""Encoder + neck. Returns (neck features, level-0 feature map, class token)."""
B, _, H, W = image.shape
device, dtype = image.device, image.dtype
aspect_ratio = W / H
base_h = round((num_tokens / aspect_ratio) ** 0.5)
base_w = round((num_tokens * aspect_ratio) ** 0.5)
feat_top, cls_token = self.encoder(image, base_h, base_w, return_class_token=True)
# 5-level pyramid: feat at level 0 concatenated with UV, other levels UV-only.
levels = [_view_plane_uv_grid(B, base_h * (2 ** L), base_w * (2 ** L), aspect_ratio, dtype, device)
for L in range(5)]
levels[0] = torch.cat([feat_top, levels[0]], dim=1)
return self.neck(levels), levels[0], cls_token
def _heads(self, feats: List[torch.Tensor], cls_token: torch.Tensor, raw_coord: torch.Tensor,
size: Tuple[int, int]) -> Dict[str, torch.Tensor]:
"""Resize the head outputs to the image size and remap them into the public dict."""
def _resize(v):
return F.interpolate(v, size, mode="bilinear", align_corners=False)
points = _remap_points(_resize(raw_coord).permute(0, 2, 3, 1))
mask = _resize(self.mask_head(feats)[-1]).squeeze(1).sigmoid()
metric_scale = self.scale_head(cls_token).squeeze(1).exp()
result = {"points": points, "mask": mask, "metric_scale": metric_scale}
if hasattr(self, "normal_head"):
normal = _resize(self.normal_head(feats)[-1])
result["normal"] = F.normalize(normal.permute(0, 2, 3, 1), dim=-1)
return result
def forward(self, image: torch.Tensor, num_tokens: int) -> Dict[str, torch.Tensor]:
feats, _conditioning, cls_token = self._trunk(image, num_tokens)
return self._heads(feats, cls_token, self.points_head(feats)[-1], image.shape[-2:])
@classmethod
def from_state_dict(cls, sd, dtype=None, device=None, operations=comfy.ops.manual_cast):
"""Detect the config from sd, build a model, and load weights."""
model = cls(**cls._detect_config(sd), dtype=dtype, device=device, operations=operations)
model.load_state_dict(sd, strict=True)
return model
@classmethod
def _detect_config(cls, sd) -> Dict[str, Any]:
"""Reconstruct the v2 encoder/neck/heads config from the checkpoint keys."""
backbone = _detect_dinov2(sd, prefix="encoder.backbone.")
depth = backbone["num_hidden_layers"]
n = cls.intermediate_layers
encoder = {
"backbone": backbone,
"intermediate_layers": [(depth // n) * (i + 1) - 1 for i in range(n)],
"dim_out": sd["encoder.output_projections.0.weight"].shape[0],
}
# scale_head is an MLP: Sequential of [Linear, ReLU, ..., Linear]; Linear weight is (out, in).
scale_idxs = sorted({int(k.split(".")[1]) for k in sd if k.startswith("scale_head.")})
scale_first = sd[f"scale_head.{scale_idxs[0]}.weight"]
cfg: Dict[str, Any] = {
"encoder": encoder,
"neck": cls._detect_convstack(sd, "neck."),
"points_head": cls._detect_convstack(sd, "points_head."),
"mask_head": cls._detect_convstack(sd, "mask_head."),
"scale_head": {"dims": [scale_first.shape[1]] + [sd[f"scale_head.{i}.weight"].shape[0] for i in scale_idxs]},
}
if any(k.startswith("normal_head.") for k in sd):
cfg["normal_head"] = cls._detect_convstack(sd, "normal_head.")
return cfg
@staticmethod
def _detect_convstack(sd: dict, prefix: str) -> Dict[str, Any]:
"""Reconstruct a ConvStack config from the keys under prefix"""
in_keys = [k for k in sd if k.startswith(f"{prefix}input_blocks.") and k.endswith(".weight")]
n = 1 + max(int(k[len(f"{prefix}input_blocks."):].split(".")[0]) for k in in_keys)
in_shapes = [sd[f"{prefix}input_blocks.{i}.weight"].shape for i in range(n)]
has_out = lambda i: f"{prefix}output_blocks.{i}.weight" in sd
has_norm = f"{prefix}res_blocks.0.0.layers.0.weight" in sd
def num_res_at(i):
rb_prefix = f"{prefix}res_blocks.{i}."
return len({int(k[len(rb_prefix):].split(".")[0]) for k in sd if k.startswith(rb_prefix)})
return {
"dim_in": [s[1] for s in in_shapes],
"dim_res_blocks": [s[0] for s in in_shapes],
"dim_out": [sd[f"{prefix}output_blocks.{i}.weight"].shape[0] if has_out(i) else None for i in range(n)],
"num_res_blocks": [num_res_at(i) for i in range(n)],
"resamplers": ["conv_transpose" if f"{prefix}resamplers.{i}.0.weight" in sd else "bilinear"
for i in range(n - 1)],
"res_block_in_norm": "layer_norm" if has_norm else "none",
"res_block_hidden_norm": "group_norm" if has_norm else "none",
}
class MoGeModelV3(MoGeModelV2):
"""MoGe v3: the v2 architecture plus a sparse 3D UNet that iteratively refines the point map's log-depth."""
# Log-depth is binned at 1/256 to build the sparse volume, so the voxel grid stays finer
# than the depth detail the refiner is meant to recover.
refiner_depth_resolution = 256
def __init__(self, refiner: Dict[str, Any], dtype=None, device=None, operations=comfy.ops.manual_cast, **v2_kwargs):
super().__init__(**v2_kwargs, dtype=dtype, device=device, operations=operations)
self.refiner = Sparse3DUNet(**refiner, dtype=dtype, device=device, operations=operations)
def _refine_logz(self, coord: torch.Tensor, conditioning: torch.Tensor) -> torch.Tensor:
"""One refinement pass over the point map at (x/z, y/z, logz), returning the updated logz."""
B, H, W, _ = coord.shape
device = coord.device
logz = coord[..., 2]
# Bin in fp32: logz * 256 lands where fp16's ULP exceeds 1 for far geometry, which would
# collapse neighbouring voxels. The refiner itself runs at the activation dtype.
z_bin = torch.round(logz.float() * self.refiner_depth_resolution).long()
z_bin = z_bin - z_bin.amin(dim=(1, 2), keepdim=True)
rows = torch.arange(H, device=device).view(1, H, 1).expand(B, H, W)
cols = torch.arange(W, device=device).view(1, 1, W).expand(B, H, W)
batch = torch.arange(B, device=device).view(B, 1, 1).expand(B, H, W)
coords = torch.stack([batch, rows, cols, z_bin], dim=-1).reshape(-1, 4).to(torch.int32)
spatial = (H, W, int(z_bin.amax()) + 1)
residual = self.refiner(coord.reshape(-1, 3), coords, spatial, conditioning)
return logz + residual.reshape(B, H, W)
def forward(self, image: torch.Tensor, num_tokens: int, refine_steps: int = 3) -> Dict[str, torch.Tensor]:
feats, conditioning, cls_token = self._trunk(image, num_tokens)
coord = self.points_head(feats)[-1].permute(0, 2, 3, 1)
for _ in range(refine_steps):
coord = torch.cat([coord[..., :2], self._refine_logz(coord, conditioning).unsqueeze(-1)], dim=-1)
# _remap_points takes exp(logz), which overflows fp16 past ~11.1, so hand the heads fp32.
return self._heads(feats, cls_token, coord.permute(0, 3, 1, 2).float(), image.shape[-2:])
@classmethod
def _detect_config(cls, sd) -> Dict[str, Any]:
cfg = super()._detect_config(sd)
# Both released MoGe-3 checkpoints share one refiner shape; only the conditioning
# width follows the encoder (1026 for ViT-L, 1538 for ViT-g).
cfg["refiner"] = {"encoder_channels": sd["refiner.encoder_fuse.weight"].shape[1]}
return cfg
# Translate the Meta-style DINOv2 keys MoGe ships to the naming ComfyUI DINOv2 port expects,
# and split each fused qkv tensor into Q/K/V.
_DINOV2_TOPLEVEL_RENAMES = {
"patch_embed.proj.weight": "embeddings.patch_embeddings.projection.weight",
"patch_embed.proj.bias": "embeddings.patch_embeddings.projection.bias",
"cls_token": "embeddings.cls_token",
"pos_embed": "embeddings.position_embeddings",
"register_tokens": "embeddings.register_tokens",
"mask_token": "embeddings.mask_token",
"norm.weight": "layernorm.weight",
"norm.bias": "layernorm.bias",
}
_DINOV2_BLOCK_RENAMES = [
("ls1.gamma", "layer_scale1.lambda1"),
("ls2.gamma", "layer_scale2.lambda1"),
("attn.proj.", "attention.output.dense."),
("mlp.w12.", "mlp.weights_in."),
("mlp.w3.", "mlp.weights_out."),
]
def _remap_state_dict(sd: dict) -> dict:
if "model" in sd and "model_config" in sd:
sd = sd["model"]
prefix = "encoder.backbone." if any(k.startswith("encoder.backbone.") for k in sd) else "backbone."
out: dict = {}
for k, v in sd.items():
if not k.startswith(prefix):
out[k] = v
continue
rel = k[len(prefix):]
if rel in _DINOV2_TOPLEVEL_RENAMES:
out[prefix + _DINOV2_TOPLEVEL_RENAMES[rel]] = v
continue
if not rel.startswith("blocks."):
out[k] = v
continue
_, idx, sub = rel.split(".", 2)
if sub in ("attn.qkv.weight", "attn.qkv.bias"):
tail = sub.rsplit(".", 1)[1]
q, kw, vw = v.chunk(3, dim=0)
base = f"{prefix}encoder.layer.{idx}.attention.attention"
out[f"{base}.query.{tail}"] = q
out[f"{base}.key.{tail}"] = kw
out[f"{base}.value.{tail}"] = vw
continue
for old, new in _DINOV2_BLOCK_RENAMES:
sub = sub.replace(old, new)
out[f"{prefix}encoder.layer.{idx}.{sub}"] = v
return out
def build_from_state_dict(sd: dict, dtype=None, device=None, operations=comfy.ops.manual_cast) -> nn.Module:
"""Dispatch to v1, v2 or v3 based on the DINOv2 backbone prefix and the presence of the v3 refiner."""
sd = _remap_state_dict(sd)
if not any(k.startswith("encoder.backbone.") for k in sd):
cls = MoGeModelV1
elif any(k.startswith("refiner.") for k in sd):
cls = MoGeModelV3
else:
cls = MoGeModelV2
return cls.from_state_dict(sd, dtype=dtype, device=device, operations=operations)
class MoGeModel:
"""Loaded MoGe model + ComfyUI memory management."""
def __init__(self, state_dict: dict):
self.load_device = comfy.model_management.text_encoder_device()
offload_device = comfy.model_management.text_encoder_offload_device()
self.dtype = comfy.model_management.text_encoder_dtype(self.load_device)
self.model = build_from_state_dict(state_dict, dtype=self.dtype, device=offload_device, operations=comfy.ops.manual_cast).eval()
self.patcher = comfy.model_patcher.CoreModelPatcher(self.model, load_device=self.load_device, offload_device=offload_device, fast_disk=comfy.storage.state_dict_fast_disk(state_dict))
if not hasattr(self.model, "encoder"):
self.version = "v1"
else:
self.version = "v3" if hasattr(self.model, "refiner") else "v2"
self.mask_threshold = float(getattr(self.model, "mask_threshold", 0.5))
nt = getattr(self.model, "num_tokens_range", (1200, 2500 if self.version == "v1" else 3600))
self.num_tokens_range = (int(nt[0]), int(nt[1]))
def infer(self, image: torch.Tensor, num_tokens: Optional[int] = None,
resolution_level: int = 9, fov_x: Optional[Union[Number, torch.Tensor]] = None,
force_projection: bool = True, apply_mask: bool = True,
apply_metric_scale: bool = True, refine_steps: int = 3
) -> Dict[str, torch.Tensor]:
"""Run a single MoGe forward + post-process pass. image is (B, 3, H, W) in [0, 1]."""
comfy.model_management.load_model_gpu(self.patcher)
# Compute is fp32 or fp16 only: bf16 would cost 4x the error at the same speed
compute_dtype = self.dtype if self.dtype in (torch.float32, torch.float16) else torch.float16
activation_dtype = compute_dtype if self.version == "v3" else torch.float32
image = image.to(device=self.load_device, dtype=activation_dtype)
H, W = image.shape[-2:]
aspect_ratio = W / H
if num_tokens is None:
lo, hi = self.num_tokens_range
num_tokens = int(lo + (resolution_level / 9) * (hi - lo))
# refine_steps only exists on v3; v1/v2 have no refiner to run.
extra = {"refine_steps": refine_steps} if self.version == "v3" else {}
out = self.model.forward(image, num_tokens=num_tokens, **extra)
points = out["points"].float() # recover_focal_shift goes through scipy on CPU; needs fp32.
mask_binary = out["mask"] > self.mask_threshold
normal = out.get("normal")
normal = normal.float() if normal is not None else None
metric_scale = out.get("metric_scale")
diag = (1 + aspect_ratio ** 2) ** 0.5
def focal_from_fov_deg(deg):
fov = torch.as_tensor(deg, device=points.device, dtype=points.dtype)
return aspect_ratio / diag / torch.tan(torch.deg2rad(fov / 2))
if fov_x is None:
focal, shift = recover_focal_shift(points, mask_binary)
# Fall back to 60 deg FoV when the least-squares solver flips the focal sign.
bad = ~torch.isfinite(focal) | (focal <= 0)
if bool(bad.any()):
focal = torch.where(bad, focal_from_fov_deg(60.0), focal)
_, shift = recover_focal_shift(points, mask_binary, focal=focal)
else:
focal = focal_from_fov_deg(fov_x).expand(points.shape[0])
_, shift = recover_focal_shift(points, mask_binary, focal=focal)
f_diag = focal / 2 * diag
half = torch.tensor(0.5, device=points.device, dtype=points.dtype)
intrinsics = intrinsics_from_focal_center(f_diag / aspect_ratio, f_diag, half, half)
points[..., 2] = points[..., 2] + shift[..., None, None]
# v2/v3 only: filter mask by depth>0 to drop metric-scale negative-depth artifacts.
if self.version != "v1":
mask_binary = mask_binary & (points[..., 2] > 0)
depth = points[..., 2].clone()
if force_projection:
points = depth_map_to_point_map(depth, intrinsics=intrinsics)
if apply_metric_scale and metric_scale is not None:
points = points * metric_scale[:, None, None, None]
depth = depth * metric_scale[:, None, None]
if apply_mask:
points = torch.where(mask_binary[..., None], points, torch.full_like(points, float("inf")))
depth = torch.where(mask_binary, depth, torch.full_like(depth, float("inf")))
if normal is not None:
normal = torch.where(mask_binary[..., None], normal, torch.zeros_like(normal))
result = {"points": points, "depth": depth, "intrinsics": intrinsics, "mask": mask_binary}
if normal is not None:
result["normal"] = normal
return result
@@ -0,0 +1,331 @@
"""Building blocks for MoGe: residual conv stack, resamplers, MLP, DINOv2 encoder, v1 head, v3 sparse refiner."""
from typing import List, Optional, Sequence, Tuple, Union
import torch
import torch.nn as nn
import torch.nn.functional as F
import comfy.ops
from comfy.image_encoders.dino2 import Dinov2Model
from comfy.ldm.trellis2.flexgemm import sparse_pool3d_mean, sparse_submanifold_conv3d, sparse_upsample3d_nearest
from .geometry import normalized_view_plane_uv
def _conv2d(operations, c_in: int, c_out: int, k: int = 3, *, dtype=None, device=None):
return operations.Conv2d(c_in, c_out, kernel_size=k, padding=k // 2, padding_mode="replicate", dtype=dtype, device=device)
def _view_plane_uv_grid(batch: int, height: int, width: int, aspect_ratio: float, dtype, device) -> torch.Tensor:
"""Batched normalized view-plane UV grid as a (B, 2, H, W) tensor."""
uv = normalized_view_plane_uv(width, height, aspect_ratio=aspect_ratio, dtype=dtype, device=device)
return uv.permute(2, 0, 1).unsqueeze(0).expand(batch, -1, -1, -1)
def _concat_view_plane_uv(x: torch.Tensor, aspect_ratio: float) -> torch.Tensor:
"""Append a 2-channel normalized view-plane UV grid to x along the channel dim."""
uv = _view_plane_uv_grid(x.shape[0], x.shape[-2], x.shape[-1], aspect_ratio, x.dtype, x.device)
return torch.cat([x, uv], dim=1)
class ResidualConvBlock(nn.Module):
def __init__(self, channels: int, hidden_channels: Optional[int] = None, in_norm: str = "layer_norm", hidden_norm: str = "group_norm",
dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
hidden_channels = hidden_channels if hidden_channels is not None else channels
in_norm_layer = operations.GroupNorm(1, channels, dtype=dtype, device=device) if in_norm == "layer_norm" else nn.Identity()
hidden_norm_layer = (operations.GroupNorm(max(hidden_channels // 32, 1), hidden_channels, dtype=dtype, device=device)
if hidden_norm == "group_norm" else nn.Identity())
self.layers = nn.Sequential(
in_norm_layer, nn.ReLU(), _conv2d(operations, channels, hidden_channels, dtype=dtype, device=device),
hidden_norm_layer, nn.ReLU(), _conv2d(operations, hidden_channels, channels, dtype=dtype, device=device),
)
def forward(self, x):
return self.layers(x) + x
class Resampler(nn.Sequential):
"""2x upsampler: ConvTranspose2d(2x2) or bilinear upsample, followed by a 3x3 conv."""
def __init__(self, in_channels: int, out_channels: int, type_: str, dtype=None, device=None, operations=comfy.ops.manual_cast):
if type_ == "conv_transpose":
up = operations.ConvTranspose2d(in_channels, out_channels, kernel_size=2, stride=2, dtype=dtype, device=device)
conv_in = out_channels
else: # "bilinear"
up = nn.Upsample(scale_factor=2, mode="bilinear", align_corners=False)
conv_in = in_channels
super().__init__(up, _conv2d(operations, conv_in, out_channels, dtype=dtype, device=device))
class MLP(nn.Sequential):
def __init__(self, dims: Sequence[int], dtype=None, device=None, operations=comfy.ops.manual_cast):
layers = []
for d_in, d_out in zip(dims[:-2], dims[1:-1]):
layers.append(operations.Linear(d_in, d_out, dtype=dtype, device=device))
layers.append(nn.ReLU(inplace=True))
layers.append(operations.Linear(dims[-2], dims[-1], dtype=dtype, device=device))
super().__init__(*layers)
class ConvStack(nn.Module):
def __init__(self, dim_in: List[Optional[int]], dim_res_blocks: List[int], dim_out: List[Optional[int]], resamplers: List[str],
num_res_blocks: List[int], dim_times_res_block_hidden: int = 1, res_block_in_norm: str = "layer_norm", res_block_hidden_norm: str = "group_norm",
dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
self.input_blocks = nn.ModuleList([
(_conv2d(operations, d_in, d_res, k=1, dtype=dtype, device=device)
if d_in is not None else nn.Identity())
for d_in, d_res in zip(dim_in, dim_res_blocks)
])
self.resamplers = nn.ModuleList([
Resampler(prev, succ, type_=r, dtype=dtype, device=device, operations=operations)
for prev, succ, r in zip(dim_res_blocks[:-1], dim_res_blocks[1:], resamplers)
])
self.res_blocks = nn.ModuleList([
nn.Sequential(*[
ResidualConvBlock(d_res, dim_times_res_block_hidden * d_res, in_norm=res_block_in_norm, hidden_norm=res_block_hidden_norm, dtype=dtype, device=device, operations=operations)
for _ in range(num_res_blocks[i])
])
for i, d_res in enumerate(dim_res_blocks)
])
self.output_blocks = nn.ModuleList([
(_conv2d(operations, d_res, d_out, k=1, dtype=dtype, device=device)
if d_out is not None else nn.Identity())
for d_out, d_res in zip(dim_out, dim_res_blocks)
])
def forward(self, in_features: List[Optional[torch.Tensor]]):
out_features = []
x = None
for i in range(len(self.res_blocks)):
feat = self.input_blocks[i](in_features[i]) if in_features[i] is not None else None
if i == 0:
x = feat
elif feat is not None:
x = x + feat
x = self.res_blocks[i](x)
out_features.append(self.output_blocks[i](x))
if i < len(self.res_blocks) - 1:
x = self.resamplers[i](x)
return out_features
class DINOv2Encoder(nn.Module):
"""Comfy DINOv2 backbone with per-layer 1x1 projection heads."""
def __init__(self, backbone: dict, intermediate_layers: List[int], dim_out: int, dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
self.intermediate_layers = list(intermediate_layers)
dim_features = backbone["hidden_size"]
self.backbone = Dinov2Model(backbone, dtype, device, operations)
self.output_projections = nn.ModuleList([
_conv2d(operations, dim_features, dim_out, k=1, dtype=dtype, device=device)
for _ in range(len(self.intermediate_layers))
])
self.register_buffer("image_mean", torch.tensor([0.485, 0.456, 0.406]).view(1, 3, 1, 1))
self.register_buffer("image_std", torch.tensor([0.229, 0.224, 0.225]).view(1, 3, 1, 1))
def forward(self, image: torch.Tensor, token_rows: int, token_cols: int,
return_class_token: bool = False) -> Union[torch.Tensor, Tuple[torch.Tensor, torch.Tensor]]:
image_14 = F.interpolate(image, (token_rows * 14, token_cols * 14), mode="bilinear", align_corners=False, antialias=True)
image_14 = (image_14 - comfy.ops.cast_to_input(self.image_mean, image_14, copy=False)) / comfy.ops.cast_to_input(self.image_std, image_14, copy=False)
feats = self.backbone.get_intermediate_layers(image_14, self.intermediate_layers, apply_norm=True)
x = torch.stack([
proj(feat.permute(0, 2, 1).unflatten(2, (token_rows, token_cols)).contiguous())
for proj, (feat, _cls) in zip(self.output_projections, feats)
], dim=1).sum(dim=1)
if return_class_token:
return x, feats[-1][1]
return x
class HeadV1(nn.Module):
"""v1 head: 4 backbone-feature projections -> shared upsample stack -> per-target output convs (points, mask)."""
NUM_FEATURES = 4
DIM_PROJ = 512
DIM_OUT = (3, 1) # 3 channels for points, 1 for mask
LAST_CONV_CHANNELS = 32
def __init__(self, dim_in: int, dim_upsample: List[int] = (256, 128, 128), num_res_blocks: int = 1, dim_times_res_block_hidden: int = 1,
dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
self.projects = nn.ModuleList([
_conv2d(operations, dim_in, self.DIM_PROJ, k=1, dtype=dtype, device=device)
for _ in range(self.NUM_FEATURES)
])
def upsampler(in_ch, out_ch):
return nn.Sequential(
operations.ConvTranspose2d(in_ch, out_ch, kernel_size=2, stride=2, dtype=dtype, device=device),
_conv2d(operations, out_ch, out_ch, dtype=dtype, device=device),
)
in_chs = [self.DIM_PROJ] + list(dim_upsample[:-1])
self.upsample_blocks = nn.ModuleList([
nn.Sequential(
upsampler(in_ch + 2, out_ch),
*(ResidualConvBlock(out_ch, dim_times_res_block_hidden * out_ch, dtype=dtype, device=device, operations=operations)
for _ in range(num_res_blocks))
)
for in_ch, out_ch in zip(in_chs, dim_upsample)
])
self.output_block = nn.ModuleList([
nn.Sequential(
_conv2d(operations, dim_upsample[-1] + 2, self.LAST_CONV_CHANNELS, dtype=dtype, device=device),
nn.ReLU(inplace=True),
_conv2d(operations, self.LAST_CONV_CHANNELS, d_out, k=1, dtype=dtype, device=device),
)
for d_out in self.DIM_OUT
])
def forward(self, hidden_states, image: torch.Tensor):
img_h, img_w = image.shape[-2:]
patch_h, patch_w = img_h // 14, img_w // 14
aspect = img_w / img_h
x = torch.stack([
proj(feat.permute(0, 2, 1).unflatten(2, (patch_h, patch_w)).contiguous())
for proj, (feat, _cls) in zip(self.projects, hidden_states)
], dim=1).sum(dim=1)
for block in self.upsample_blocks:
x = block(_concat_view_plane_uv(x, aspect))
x = F.interpolate(x, (img_h, img_w), mode="bilinear", align_corners=False)
x = _concat_view_plane_uv(x, aspect)
return [block(x) for block in self.output_block]
class SubmanifoldConv3d(nn.Module):
"""3x3x3 submanifold sparse conv. Weight is stored (C_out, K, K, K, C_in), as FlexGEMM writes it.
Kernel spatial axis i indexes coords column i + 1, matching FlexGEMM's neighbor map.
"""
def __init__(self, in_channels: int, out_channels: int, kernel_size: int = 3, dtype=None, device=None):
super().__init__()
self.weight = nn.Parameter(torch.empty(out_channels, kernel_size, kernel_size, kernel_size, in_channels, dtype=dtype, device=device))
self.bias = nn.Parameter(torch.empty(out_channels, dtype=dtype, device=device))
def forward(self, feats, coords, spatial, neighbor_cache=None):
weight = comfy.ops.cast_to(self.weight, feats.dtype, feats.device)
bias = comfy.ops.cast_to(self.bias, feats.dtype, feats.device)
return sparse_submanifold_conv3d(feats, coords, spatial, weight, bias, neighbor_cache, (1, 1, 1))
class SparseResBlock3d(nn.Module):
def __init__(self, channels: int, dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
self.norm1 = operations.LayerNorm(channels, eps=1e-6, dtype=dtype, device=device)
self.conv1 = SubmanifoldConv3d(channels, channels, dtype=dtype, device=device)
self.conv2 = SubmanifoldConv3d(channels, channels, dtype=dtype, device=device)
def forward(self, feats, coords, spatial, neighbor_cache=None):
h = F.silu(self.norm1(feats))
h, neighbor_cache = self.conv1(h, coords, spatial, neighbor_cache)
h = F.silu(h)
h, neighbor_cache = self.conv2(h, coords, spatial, neighbor_cache)
return h + feats, neighbor_cache
class PoolDown(nn.Module):
def __init__(self, in_channels: int, out_channels: int, factor: int, dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
self.factor = factor
self.linear = operations.Linear(in_channels, out_channels, dtype=dtype, device=device)
def forward(self, feats, coords, spatial):
feats, coords, spatial, pool_index = sparse_pool3d_mean(feats, coords, spatial, self.factor)
return self.linear(feats), coords, spatial, pool_index
class NearestUp(nn.Module):
def __init__(self, in_channels: int, out_channels: int, dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
self.linear = operations.Linear(in_channels, out_channels, dtype=dtype, device=device)
def forward(self, feats, pool_index):
return sparse_upsample3d_nearest(self.linear(feats), pool_index)
class Sparse3DUNet(nn.Module):
"""MoGe v3 refiner: sparse 3D UNet over the voxelized point map, conditioned on the ViT feature map.
Takes the sparse volume as (feats, coords, spatial) where coords are (batch, row, col, z_bin),
and returns one residual per input voxel.
"""
def __init__(self, encoder_channels: int, in_channels: int = 3, out_channels: int = 1,
model_channels: Sequence[int] = (32, 64, 128, 256, 512), blocks_per_level: int = 1,
factor: int = 2, dtype=None, device=None, operations=comfy.ops.manual_cast):
super().__init__()
self.factor = factor
kwargs = {"dtype": dtype, "device": device, "operations": operations}
# (shallow, deep) channel pair per resolution transition
pairs = list(zip(model_channels[:-1], model_channels[1:]))
def stage(channels):
return nn.ModuleList([SparseResBlock3d(channels, **kwargs) for _ in range(blocks_per_level)])
self.input_proj = operations.Linear(in_channels, model_channels[0], dtype=dtype, device=device)
self.encoder_fuse = operations.Linear(encoder_channels, model_channels[-1], dtype=dtype, device=device)
self.fuse_proj = nn.Sequential(
operations.Linear(model_channels[-1] * 2, model_channels[-1], dtype=dtype, device=device),
nn.SiLU(),
operations.Linear(model_channels[-1], model_channels[-1], dtype=dtype, device=device),
)
self.down_stages = nn.ModuleList([stage(ch) for ch in model_channels])
self.downsample_blocks = nn.ModuleList([PoolDown(lo, hi, factor, **kwargs) for lo, hi in pairs])
self.bottleneck_stage = stage(model_channels[-1])
# The decoder runs deepest-first, so it walks the transitions in reverse.
self.upsample_blocks = nn.ModuleList([NearestUp(hi, lo, **kwargs) for lo, hi in reversed(pairs)])
self.up_stages = nn.ModuleList([stage(lo) for lo, _ in reversed(pairs)])
self.out_proj = operations.Linear(model_channels[0], out_channels, dtype=dtype, device=device)
def forward(self, feats, coords, spatial, encoder_feature):
num_levels = len(self.down_stages)
num_transitions = len(self.downsample_blocks)
# Coords at level k are identical on the down and up passes, so the submanifold
# neighbor map built on the way down is still valid on the way back up.
conv_caches: List[Optional[torch.Tensor]] = [None] * num_levels
pool_indices: List[Optional[torch.Tensor]] = [None] * num_transitions
skips: List[Optional[Tuple[torch.Tensor, torch.Tensor, tuple]]] = [None] * num_transitions
feats = self.input_proj(feats)
for i, blocks in enumerate(self.down_stages):
cache = conv_caches[i]
for block in blocks:
feats, cache = block(feats, coords, spatial, cache)
conv_caches[i] = cache
if i < num_transitions:
skips[i] = (feats, coords, spatial)
feats, coords, spatial, pool_indices[i] = self.downsample_blocks[i](feats, coords, spatial)
conditioning = encoder_feature[coords[:, 0].long(), :, coords[:, 1].long(), coords[:, 2].long()]
feats = self.fuse_proj(torch.cat([feats, self.encoder_fuse(conditioning)], dim=-1))
cache = conv_caches[num_levels - 1]
for block in self.bottleneck_stage:
feats, cache = block(feats, coords, spatial, cache)
conv_caches[num_levels - 1] = cache
for i, (upsample, blocks) in enumerate(zip(self.upsample_blocks, self.up_stages)):
level = num_levels - 2 - i
skip_feats, coords, spatial = skips[level]
feats = upsample(feats, pool_indices[level]) + skip_feats
cache = conv_caches[level]
for block in blocks:
feats, cache = block(feats, coords, spatial, cache)
conv_caches[level] = cache
return self.out_proj(feats)
@@ -0,0 +1,312 @@
"""Panorama (equirectangular) inference helpers for MoGe.
Splits an equirect into 12 perspective views via an icosahedron camera rig, runs
the model per view, and stitches per-view distance maps back into a single
equirect distance map via a multi-scale Poisson + gradient sparse solve.
Image sampling uses F.grid_sample (GPU); the sparse solve uses lsmr (CPU).
"""
from typing import Callable, List, Optional, Tuple
import numpy as np
import torch
import torch.nn.functional as F
from scipy.ndimage import convolve, map_coordinates
from scipy.sparse import vstack, csr_array
from scipy.sparse.linalg import lsmr
def _icosahedron_directions() -> np.ndarray:
"""12 icosahedron-vertex directions (non-normalised, matching upstream's vertex order)."""
A = (1.0 + np.sqrt(5.0)) / 2.0
return np.array([
[0, 1, A], [0, -1, A], [0, 1, -A], [0, -1, -A],
[1, A, 0], [-1, A, 0], [1, -A, 0], [-1, -A, 0],
[A, 0, 1], [A, 0, -1], [-A, 0, 1], [-A, 0, -1],
], dtype=np.float32)
def _intrinsics_from_fov(fov_x_rad: float, fov_y_rad: float) -> np.ndarray:
"""Normalised-image (unit-square) K matrix."""
fx = 0.5 / np.tan(fov_x_rad / 2)
fy = 0.5 / np.tan(fov_y_rad / 2)
return np.array([[fx, 0, 0.5], [0, fy, 0.5], [0, 0, 1]], dtype=np.float32)
def _extrinsics_look_at(eye: np.ndarray, target: np.ndarray, up: np.ndarray) -> np.ndarray:
"""OpenCV-convention world->camera extrinsics for an array of look-at targets (N, 4, 4)."""
eye = np.asarray(eye, dtype=np.float32)
target = np.asarray(target, dtype=np.float32)
up = np.asarray(up, dtype=np.float32)
if target.ndim == 1:
target = target[None]
fwd = target - eye
fwd = fwd / np.linalg.norm(fwd, axis=-1, keepdims=True).clip(1e-12)
right = np.cross(fwd, up)
right_norm = np.linalg.norm(right, axis=-1, keepdims=True)
# Fall back to an arbitrary perpendicular if forward is parallel to up.
parallel = right_norm.squeeze(-1) < 1e-6
if parallel.any():
alt_up = np.array([1, 0, 0], dtype=np.float32)
right = np.where(parallel[:, None], np.cross(fwd, alt_up), right)
right_norm = np.linalg.norm(right, axis=-1, keepdims=True)
right = right / right_norm.clip(1e-12)
new_up = np.cross(fwd, right)
R = np.stack([right, new_up, fwd], axis=-2)
t = -np.einsum("nij,j->ni", R, eye)
E = np.zeros((R.shape[0], 4, 4), dtype=np.float32)
E[:, :3, :3] = R
E[:, :3, 3] = t
E[:, 3, 3] = 1.0
return E
def get_panorama_cameras() -> Tuple[np.ndarray, List[np.ndarray]]:
"""Returns (extrinsics (12, 4, 4), [intrinsics] * 12) for icosahedron views at 90 deg FoV."""
targets = _icosahedron_directions()
eye = np.zeros(3, dtype=np.float32)
up = np.array([0, 0, 1], dtype=np.float32)
extrinsics = _extrinsics_look_at(eye, targets, up)
K = _intrinsics_from_fov(np.deg2rad(90.0), np.deg2rad(90.0))
return extrinsics, [K] * len(targets)
def spherical_uv_to_directions(uv: np.ndarray) -> np.ndarray:
"""Equirect UV in [0, 1] -> 3D unit-direction (Z up)."""
theta = (1 - uv[..., 0]) * (2 * np.pi)
phi = uv[..., 1] * np.pi
return np.stack([
np.sin(phi) * np.cos(theta),
np.sin(phi) * np.sin(theta),
np.cos(phi),
], axis=-1).astype(np.float32)
def directions_to_spherical_uv(directions: np.ndarray) -> np.ndarray:
"""3D direction -> equirect UV in [0, 1]."""
n = np.linalg.norm(directions, axis=-1, keepdims=True).clip(1e-12)
d = directions / n
u = 1 - np.arctan2(d[..., 1], d[..., 0]) / (2 * np.pi) % 1.0
v = np.arccos(d[..., 2].clip(-1, 1)) / np.pi
return np.stack([u, v], axis=-1).astype(np.float32)
def _uv_grid(H: int, W: int) -> np.ndarray:
"""Pixel-center UV grid in [0, 1]; (H, W, 2)."""
u = (np.arange(W, dtype=np.float32) + 0.5) / W
v = (np.arange(H, dtype=np.float32) + 0.5) / H
return np.stack(np.meshgrid(u, v, indexing="xy"), axis=-1)
def _unproject_cv(uv: np.ndarray, depth: np.ndarray,
extrinsics: np.ndarray, intrinsics: np.ndarray) -> np.ndarray:
"""Back-project pixels into world coords (OpenCV convention)."""
pix = np.concatenate([uv, np.ones_like(uv[..., :1])], axis=-1)
K_inv = np.linalg.inv(intrinsics)
cam = pix @ K_inv.T * depth[..., None]
cam_h = np.concatenate([cam, np.ones_like(cam[..., :1])], axis=-1)
E_inv = np.linalg.inv(extrinsics)
return (cam_h @ E_inv.T)[..., :3]
def _project_cv(points: np.ndarray, extrinsics: np.ndarray, intrinsics: np.ndarray) -> Tuple[np.ndarray, np.ndarray]:
"""World coords -> (uv, depth) in the camera (OpenCV convention)."""
pts_h = np.concatenate([points, np.ones_like(points[..., :1])], axis=-1)
cam = pts_h @ extrinsics.T
cam_xyz = cam[..., :3]
depth = cam_xyz[..., 2]
proj = cam_xyz @ intrinsics.T
uv = proj[..., :2] / proj[..., 2:3].clip(1e-12)
return uv.astype(np.float32), depth.astype(np.float32)
def _grid_sample_uv(img_bchw: torch.Tensor, uv: torch.Tensor, mode: str = "bilinear") -> torch.Tensor:
"""Sample img_bchw at UV-in-[0,1] coords uv of shape (B, H, W, 2); replicate-border."""
grid = uv * 2.0 - 1.0
return F.grid_sample(img_bchw, grid, mode=mode, padding_mode="border", align_corners=False)
def split_panorama_image(image: torch.Tensor, extrinsics: np.ndarray, intrinsics: List[np.ndarray], resolution: int) -> torch.Tensor:
"""(3, Hp, Wp) equirect on any device -> (N, 3, R, R) perspective crops on the same device."""
device = image.device
N = len(extrinsics)
uv = _uv_grid(resolution, resolution)
sample_uvs = []
for i in range(N):
world = _unproject_cv(uv, np.ones(uv.shape[:-1], dtype=np.float32), extrinsics[i], intrinsics[i])
sample_uvs.append(directions_to_spherical_uv(world))
sample_uvs = np.stack(sample_uvs, axis=0)
img_bchw = image.unsqueeze(0).expand(N, -1, -1, -1).contiguous()
sample_uvs_t = torch.from_numpy(sample_uvs).to(device=device, dtype=image.dtype)
return _grid_sample_uv(img_bchw, sample_uvs_t, mode="bilinear")
def _poisson_equation(W: int, H: int, wrap_x: bool = False, wrap_y: bool = False):
"""Sparse Laplacian operator over the H x W grid."""
grid_index = np.arange(H * W).reshape(H, W)
grid_index = np.pad(grid_index, ((0, 0), (1, 1)), mode="wrap" if wrap_x else "edge")
grid_index = np.pad(grid_index, ((1, 1), (0, 0)), mode="wrap" if wrap_y else "edge")
data = np.array([[-4, 1, 1, 1, 1]], dtype=np.float32).repeat(H * W, axis=0).reshape(-1)
indices = np.stack([
grid_index[1:-1, 1:-1],
grid_index[:-2, 1:-1], grid_index[2:, 1:-1],
grid_index[1:-1, :-2], grid_index[1:-1, 2:],
], axis=-1).reshape(-1)
indptr = np.arange(0, H * W * 5 + 1, 5)
return csr_array((data, indices, indptr), shape=(H * W, H * W))
def _grad_equation(W: int, H: int, wrap_x: bool = False, wrap_y: bool = False):
"""Sparse forward-difference operator over the H x W grid."""
grid_index = np.arange(W * H).reshape(H, W)
if wrap_x:
grid_index = np.pad(grid_index, ((0, 0), (0, 1)), mode="wrap")
if wrap_y:
grid_index = np.pad(grid_index, ((0, 1), (0, 0)), mode="wrap")
data = np.concatenate([
np.concatenate([
np.ones((grid_index.shape[0], grid_index.shape[1] - 1), dtype=np.float32).reshape(-1, 1),
-np.ones((grid_index.shape[0], grid_index.shape[1] - 1), dtype=np.float32).reshape(-1, 1),
], axis=1).reshape(-1),
np.concatenate([
np.ones((grid_index.shape[0] - 1, grid_index.shape[1]), dtype=np.float32).reshape(-1, 1),
-np.ones((grid_index.shape[0] - 1, grid_index.shape[1]), dtype=np.float32).reshape(-1, 1),
], axis=1).reshape(-1),
])
indices = np.concatenate([
np.concatenate([grid_index[:, :-1].reshape(-1, 1), grid_index[:, 1:].reshape(-1, 1)], axis=1).reshape(-1),
np.concatenate([grid_index[:-1, :].reshape(-1, 1), grid_index[1:, :].reshape(-1, 1)], axis=1).reshape(-1),
])
nx = grid_index.shape[0] * (grid_index.shape[1] - 1)
ny = (grid_index.shape[0] - 1) * grid_index.shape[1]
indptr = np.arange(0, nx * 2 + ny * 2 + 1, 2)
return csr_array((data, indices, indptr), shape=(nx + ny, H * W))
def _scipy_remap_bilinear(img: np.ndarray, sample_pixels: np.ndarray, mode: str = "bilinear") -> np.ndarray:
"""Bilinear/nearest sampling at fractional pixel coords; out-of-range clamps to nearest border."""
H, W = img.shape[:2]
yy = np.clip(sample_pixels[..., 1], 0, H - 1)
xx = np.clip(sample_pixels[..., 0], 0, W - 1)
order = 1 if mode == "bilinear" else 0
if img.ndim == 2:
return map_coordinates(img, [yy, xx], order=order, mode="nearest").astype(img.dtype)
out = np.stack([
map_coordinates(img[..., c], [yy, xx], order=order, mode="nearest")
for c in range(img.shape[-1])
], axis=-1)
return out.astype(img.dtype)
def merge_panorama_depth(width: int, height: int,
distance_maps: List[np.ndarray], pred_masks: List[np.ndarray],
extrinsics: List[np.ndarray], intrinsics: List[np.ndarray],
on_view: Optional[Callable[[], None]] = None,
on_solve_start: Optional[Callable[[int, int], None]] = None,
on_solve_end: Optional[Callable[[int, int], None]] = None,
) -> Tuple[np.ndarray, np.ndarray]:
"""Stitch per-view distance maps into a single equirect distance map.
Recursive multi-scale solve: solves at half resolution first and uses that as the lsmr init
for the full-resolution solve. Optional callbacks fire per view processed and around each
lsmr solve so callers can drive a progress bar.
"""
if max(width, height) > 256:
coarse_depth, _ = merge_panorama_depth(width // 2, height // 2,
distance_maps, pred_masks, extrinsics, intrinsics,
on_view=on_view,
on_solve_start=on_solve_start,
on_solve_end=on_solve_end)
t = torch.from_numpy(coarse_depth).unsqueeze(0).unsqueeze(0)
t = F.interpolate(t, size=(height, width), mode="bilinear", align_corners=False)
depth_init = t.squeeze().numpy().astype(np.float32)
else:
depth_init = None
spherical_directions = spherical_uv_to_directions(_uv_grid(height, width))
pano_log_grad_maps, pano_grad_masks = [], []
pano_log_lap_maps, pano_lap_masks = [], []
pano_pred_masks: List[np.ndarray] = []
for i in range(len(distance_maps)):
proj_uv, proj_depth = _project_cv(spherical_directions, extrinsics[i], intrinsics[i])
proj_valid = (proj_depth > 0) & (proj_uv > 0).all(axis=-1) & (proj_uv < 1).all(axis=-1)
Hd, Wd = distance_maps[i].shape[:2]
proj_pixels = np.clip(proj_uv, 0, 1) * np.array([Wd - 1, Hd - 1], dtype=np.float32)
log_dist = np.log(np.clip(distance_maps[i], 1e-6, None))
sampled = _scipy_remap_bilinear(log_dist, proj_pixels, mode="bilinear")
pano_log = np.where(proj_valid, sampled, 0.0).astype(np.float32)
sampled_mask = _scipy_remap_bilinear(pred_masks[i].astype(np.uint8), proj_pixels, mode="nearest")
pano_pred = proj_valid & (sampled_mask > 0)
# Equirect wraps horizontally but not vertically: wrap pad along x, edge pad along y.
padded = np.pad(pano_log, ((0, 0), (0, 1)), mode="wrap")
gx, gy = padded[:, :-1] - padded[:, 1:], padded[:-1, :] - padded[1:, :]
padded_m = np.pad(pano_pred, ((0, 0), (0, 1)), mode="wrap")
mx, my = padded_m[:, :-1] & padded_m[:, 1:], padded_m[:-1, :] & padded_m[1:, :]
pano_log_grad_maps.append((gx, gy))
pano_grad_masks.append((mx, my))
padded = np.pad(pano_log, ((1, 1), (0, 0)), mode="edge")
padded = np.pad(padded, ((0, 0), (1, 1)), mode="wrap")
lap_kernel = np.array([[0, 1, 0], [1, -4, 1], [0, 1, 0]], dtype=np.float32)
lap = convolve(padded, lap_kernel)[1:-1, 1:-1]
padded_m = np.pad(pano_pred, ((1, 1), (0, 0)), mode="edge")
padded_m = np.pad(padded_m, ((0, 0), (1, 1)), mode="wrap")
m_kernel = np.array([[0, 1, 0], [1, 1, 1], [0, 1, 0]], dtype=np.uint8)
lap_mask = convolve(padded_m.astype(np.uint8), m_kernel)[1:-1, 1:-1] == 5
pano_log_lap_maps.append(lap)
pano_lap_masks.append(lap_mask)
pano_pred_masks.append(pano_pred)
if on_view is not None:
on_view()
gx = np.stack([m[0] for m in pano_log_grad_maps], axis=0)
gy = np.stack([m[1] for m in pano_log_grad_maps], axis=0)
mx = np.stack([m[0] for m in pano_grad_masks], axis=0)
my = np.stack([m[1] for m in pano_grad_masks], axis=0)
gx_avg = (gx * mx).sum(axis=0) / mx.sum(axis=0).clip(1e-3)
gy_avg = (gy * my).sum(axis=0) / my.sum(axis=0).clip(1e-3)
laps = np.stack(pano_log_lap_maps, axis=0)
lap_masks = np.stack(pano_lap_masks, axis=0)
lap_avg = (laps * lap_masks).sum(axis=0) / lap_masks.sum(axis=0).clip(1e-3)
grad_x_mask = mx.any(axis=0).reshape(-1)
grad_y_mask = my.any(axis=0).reshape(-1)
grad_mask = np.concatenate([grad_x_mask, grad_y_mask])
lap_mask_flat = lap_masks.any(axis=0).reshape(-1)
A = vstack([
_grad_equation(width, height, wrap_x=True, wrap_y=False)[grad_mask],
_poisson_equation(width, height, wrap_x=True, wrap_y=False)[lap_mask_flat],
])
b = np.concatenate([
gx_avg.reshape(-1)[grad_x_mask],
gy_avg.reshape(-1)[grad_y_mask],
lap_avg.reshape(-1)[lap_mask_flat],
])
x0 = np.log(np.clip(depth_init, 1e-6, None)).reshape(-1) if depth_init is not None else None
if on_solve_start is not None:
on_solve_start(width, height)
x, *_ = lsmr(A, b, atol=1e-5, btol=1e-5, x0=x0, show=False)
if on_solve_end is not None:
on_solve_end(width, height)
pano_depth = np.exp(x).reshape(height, width).astype(np.float32)
pano_mask = np.any(pano_pred_masks, axis=0)
return pano_depth, pano_mask
@@ -0,0 +1,462 @@
import torch
from comfy.ldm.modules.diffusionmodules.util import make_beta_schedule
import math
def rescale_zero_terminal_snr_sigmas(sigmas):
alphas_cumprod = 1 / ((sigmas * sigmas) + 1)
alphas_bar_sqrt = alphas_cumprod.sqrt()
# Store old values.
alphas_bar_sqrt_0 = alphas_bar_sqrt[0].clone()
alphas_bar_sqrt_T = alphas_bar_sqrt[-1].clone()
# Shift so the last timestep is zero.
alphas_bar_sqrt -= (alphas_bar_sqrt_T)
# Scale so the first timestep is back to the old value.
alphas_bar_sqrt *= alphas_bar_sqrt_0 / (alphas_bar_sqrt_0 - alphas_bar_sqrt_T)
# Convert alphas_bar_sqrt to betas
alphas_bar = alphas_bar_sqrt**2 # Revert sqrt
alphas_bar[-1] = 4.8973451890853435e-08
return ((1 - alphas_bar) / alphas_bar) ** 0.5
def reshape_sigma(sigma, noise_dim):
if sigma.nelement() == 1:
return sigma.view(())
else:
return sigma.view(sigma.shape[:1] + (1,) * (noise_dim - 1))
class EPS:
def calculate_input(self, sigma, noise):
sigma = reshape_sigma(sigma, noise.ndim)
return noise / (sigma ** 2 + self.sigma_data ** 2) ** 0.5
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input - model_output * sigma
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
if max_denoise:
noise = noise * torch.sqrt(1.0 + sigma ** 2.0)
else:
noise = noise * sigma
noise += latent_image
return noise
def inverse_noise_scaling(self, sigma, latent):
return latent
class V_PREDICTION(EPS):
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input * self.sigma_data ** 2 / (sigma ** 2 + self.sigma_data ** 2) - model_output * sigma * self.sigma_data / (sigma ** 2 + self.sigma_data ** 2) ** 0.5
class V_PREDICTION_DDPM:
"""CogVideoX v-prediction: model receives raw x_t (unscaled), predicts velocity v.
x_0 = sqrt(alpha) * x_t - sqrt(1-alpha) * v
= x_t / sqrt(sigma^2 + 1) - v * sigma / sqrt(sigma^2 + 1)
"""
def calculate_input(self, sigma, noise):
return noise
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input / (sigma ** 2 + 1.0) ** 0.5 - model_output * sigma / (sigma ** 2 + 1.0) ** 0.5
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
if max_denoise:
noise = noise * torch.sqrt(1.0 + sigma ** 2.0)
else:
noise = noise * sigma
noise += latent_image
return noise
def inverse_noise_scaling(self, sigma, latent):
return latent
class EDM(V_PREDICTION):
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input * self.sigma_data ** 2 / (sigma ** 2 + self.sigma_data ** 2) + model_output * sigma * self.sigma_data / (sigma ** 2 + self.sigma_data ** 2) ** 0.5
class CONST:
def calculate_input(self, sigma, noise):
return noise
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input - model_output * sigma
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
s = getattr(self, "noise_scale", 1.0)
return sigma * (s * noise) + (1.0 - sigma) * latent_image
def inverse_noise_scaling(self, sigma, latent):
sigma = reshape_sigma(sigma, latent.ndim)
return latent / (1.0 - sigma)
class X0(EPS):
def calculate_denoised(self, sigma, model_output, model_input):
return model_output
class IMG_TO_IMG(X0):
def calculate_input(self, sigma, noise):
return noise
class IMG_TO_IMG_FLOW(CONST):
def calculate_denoised(self, sigma, model_output, model_input):
return model_output
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
return latent_image
def inverse_noise_scaling(self, sigma, latent):
return 1.0 - latent
class IMG_TO_IMG_VELOCITY(CONST):
def calculate_denoised(self, sigma, model_output, model_input):
return model_input - model_output
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
return latent_image
def inverse_noise_scaling(self, sigma, latent):
return latent
class COSMOS_RFLOW:
def calculate_input(self, sigma, noise):
sigma = (sigma / (sigma + 1))
sigma = reshape_sigma(sigma, noise.ndim)
return noise * (1.0 - sigma)
def calculate_denoised(self, sigma, model_output, model_input):
sigma = (sigma / (sigma + 1))
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input * (1.0 - sigma) - model_output * sigma
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
noise = noise * sigma
noise += latent_image
return noise
def inverse_noise_scaling(self, sigma, latent):
return latent
class ModelSamplingDiscrete(torch.nn.Module):
def __init__(self, model_config=None, zsnr=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
beta_schedule = sampling_settings.get("beta_schedule", "linear")
linear_start = sampling_settings.get("linear_start", 0.00085)
linear_end = sampling_settings.get("linear_end", 0.012)
timesteps = sampling_settings.get("timesteps", 1000)
if zsnr is None:
zsnr = sampling_settings.get("zsnr", False)
self._register_schedule(given_betas=None, beta_schedule=beta_schedule, timesteps=timesteps, linear_start=linear_start, linear_end=linear_end, cosine_s=8e-3, zsnr=zsnr)
self.sigma_data = 1.0
def _register_schedule(self, given_betas=None, beta_schedule="linear", timesteps=1000,
linear_start=1e-4, linear_end=2e-2, cosine_s=8e-3, zsnr=False):
if given_betas is not None:
betas = given_betas
else:
betas = make_beta_schedule(beta_schedule, timesteps, linear_start=linear_start, linear_end=linear_end, cosine_s=cosine_s)
alphas = 1. - betas
alphas_cumprod = torch.cumprod(alphas, dim=0)
timesteps, = betas.shape
self.num_timesteps = int(timesteps)
self.linear_start = linear_start
self.linear_end = linear_end
self.zsnr = zsnr
# self.register_buffer('betas', torch.tensor(betas, dtype=torch.float32))
# self.register_buffer('alphas_cumprod', torch.tensor(alphas_cumprod, dtype=torch.float32))
# self.register_buffer('alphas_cumprod_prev', torch.tensor(alphas_cumprod_prev, dtype=torch.float32))
sigmas = ((1 - alphas_cumprod) / alphas_cumprod) ** 0.5
if self.zsnr:
sigmas = rescale_zero_terminal_snr_sigmas(sigmas)
self.set_sigmas(sigmas)
def set_sigmas(self, sigmas):
self.register_buffer('sigmas', sigmas.float())
self.register_buffer('log_sigmas', sigmas.log().float())
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
log_sigma = sigma.log()
dists = log_sigma.to(self.log_sigmas.device) - self.log_sigmas[:, None]
return dists.abs().argmin(dim=0).view(sigma.shape).to(sigma.device)
def sigma(self, timestep):
t = torch.clamp(timestep.float().to(self.log_sigmas.device), min=0, max=(len(self.sigmas) - 1))
low_idx = t.floor().long()
high_idx = t.ceil().long()
w = t.frac()
log_sigma = (1 - w) * self.log_sigmas[low_idx] + w * self.log_sigmas[high_idx]
return log_sigma.exp().to(timestep.device)
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 999999999.9
if percent >= 1.0:
return 0.0
percent = 1.0 - percent
return self.sigma(torch.tensor(percent * 999.0)).item()
class ModelSamplingDiscreteEDM(ModelSamplingDiscrete):
def timestep(self, sigma):
return 0.25 * sigma.log()
def sigma(self, timestep):
return (timestep / 0.25).exp()
class ModelSamplingContinuousEDM(torch.nn.Module):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
sigma_min = sampling_settings.get("sigma_min", 0.002)
sigma_max = sampling_settings.get("sigma_max", 120.0)
sigma_data = sampling_settings.get("sigma_data", 1.0)
self.set_parameters(sigma_min, sigma_max, sigma_data)
def set_parameters(self, sigma_min, sigma_max, sigma_data):
self.sigma_data = sigma_data
sigmas = torch.linspace(math.log(sigma_min), math.log(sigma_max), 1000).exp()
self.register_buffer('sigmas', sigmas) #for compatibility with some schedulers
self.register_buffer('log_sigmas', sigmas.log())
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
return 0.25 * sigma.log()
def sigma(self, timestep):
return (timestep / 0.25).exp()
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 999999999.9
if percent >= 1.0:
return 0.0
percent = 1.0 - percent
log_sigma_min = math.log(self.sigma_min)
return math.exp((math.log(self.sigma_max) - log_sigma_min) * percent + log_sigma_min)
class ModelSamplingContinuousV(ModelSamplingContinuousEDM):
def timestep(self, sigma):
return sigma.atan() / math.pi * 2
def sigma(self, timestep):
return (timestep * math.pi / 2).tan()
def time_snr_shift(alpha, t):
if alpha == 1.0:
return t
return alpha * t / (1 + (alpha - 1) * t)
class ModelSamplingDiscreteFlow(torch.nn.Module):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
self.set_noise_scale(sampling_settings.get("noise_scale", 1.0))
self.set_parameters(
shift=sampling_settings.get("shift", 1.0),
multiplier=sampling_settings.get("multiplier", 1000),
)
def set_parameters(self, shift=1.0, timesteps=1000, multiplier=1000):
self.shift = shift
self.multiplier = multiplier
ts = self.sigma((torch.arange(1, timesteps + 1, 1) / timesteps) * multiplier)
self.register_buffer('sigmas', ts)
def set_noise_scale(self, noise_scale):
self.noise_scale = float(noise_scale)
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
return sigma * self.multiplier
def sigma(self, timestep):
return time_snr_shift(self.shift, timestep / self.multiplier)
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 1.0
if percent >= 1.0:
return 0.0
return time_snr_shift(self.shift, 1.0 - percent)
class ModelSamplingAV(ModelSamplingDiscreteFlow):
"""Flow sampling for packed audio-video latents whose audio stream has its own flow shift.
Carrying the audio latent scaled onto the video schedule makes the pack an ordinary
single-schedule flow latent whose audio target is scaled by audio_scale.
"""
def __init__(self, model_config=None):
super().__init__(model_config)
sampling_settings = model_config.sampling_settings if model_config is not None else {}
self.audio_shift = sampling_settings.get("audio_shift", None)
def set_parameters(self, shift=1.0, audio_shift=None, timesteps=1000, multiplier=1000):
self.audio_shift = audio_shift
super().set_parameters(shift=shift, timesteps=timesteps, multiplier=multiplier)
@property
def audio_scale(self):
if self.audio_shift is None:
return 1.0
return self.shift / self.audio_shift
class StableCascadeSampling(ModelSamplingDiscrete):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
self.set_parameters(sampling_settings.get("shift", 1.0))
def set_parameters(self, shift=1.0, cosine_s=8e-3):
self.shift = shift
self.cosine_s = torch.tensor(cosine_s)
self._init_alpha_cumprod = torch.cos(self.cosine_s / (1 + self.cosine_s) * torch.pi * 0.5) ** 2
#This part is just for compatibility with some schedulers in the codebase
self.num_timesteps = 10000
sigmas = torch.empty((self.num_timesteps), dtype=torch.float32)
for x in range(self.num_timesteps):
t = (x + 1) / self.num_timesteps
sigmas[x] = self.sigma(t)
self.set_sigmas(sigmas)
def sigma(self, timestep):
alpha_cumprod = (torch.cos((timestep + self.cosine_s) / (1 + self.cosine_s) * torch.pi * 0.5) ** 2 / self._init_alpha_cumprod)
if self.shift != 1.0:
var = alpha_cumprod
logSNR = (var/(1-var)).log()
logSNR += 2 * torch.log(1.0 / torch.tensor(self.shift))
alpha_cumprod = logSNR.sigmoid()
alpha_cumprod = alpha_cumprod.clamp(0.0001, 0.9999)
return ((1 - alpha_cumprod) / alpha_cumprod) ** 0.5
def timestep(self, sigma):
var = 1 / ((sigma * sigma) + 1)
var = var.clamp(0, 1.0)
s, min_var = self.cosine_s.to(var.device), self._init_alpha_cumprod.to(var.device)
t = (((var * min_var) ** 0.5).acos() / (torch.pi * 0.5)) * (1 + s) - s
return t
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 999999999.9
if percent >= 1.0:
return 0.0
percent = 1.0 - percent
return self.sigma(torch.tensor(percent))
def flux_time_shift(mu: float, sigma: float, t):
return math.exp(mu) / (math.exp(mu) + (1 / t - 1) ** sigma)
class ModelSamplingFlux(torch.nn.Module):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
self.set_parameters(shift=sampling_settings.get("shift", 1.15))
def set_parameters(self, shift=1.15, timesteps=10000):
self.shift = shift
ts = self.sigma((torch.arange(1, timesteps + 1, 1) / timesteps))
self.register_buffer('sigmas', ts)
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
return sigma
def sigma(self, timestep):
return flux_time_shift(self.shift, 1.0, timestep)
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 1.0
if percent >= 1.0:
return 0.0
return flux_time_shift(self.shift, 1.0, 1.0 - percent)
class ModelSamplingCosmosRFlow(ModelSamplingContinuousEDM):
def timestep(self, sigma):
return sigma / (sigma + 1)
def sigma(self, timestep):
sigma_max = self.sigma_max
if timestep >= (sigma_max / (sigma_max + 1)):
return sigma_max
return timestep / (1 - timestep)
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,637 @@
"""MiniMax H3 nodes: AV latent creation and task conditioning (t2va / fl2va / ref2va).
The H3 packed-DiT consumes, via conditioning:
- Qwen3-VL-32B hidden states with per-token modality tags (from the minimax CLIP)
- keyframe / reference condition latents, re-injected every step (never denoised)
Latents are NestedTensor pairs (video [B,24,T,H/16,W/16], audio [B,32,2,T40]);
sampling runs on the flat pack with any stock sampler (the model handles the
audio stream's shifted schedule internally).
"""
import math
import torch
import torch.nn.functional as F
import comfy.audio
import nodes
import comfy.model_management
import comfy.model_prefetch
import comfy.model_sampling
import comfy.nested_tensor
import comfy.patcher_extension
import comfy.utils
import node_helpers
from comfy.ldm.minimax.model import FRAME_PER_TOKEN, FRAME_RESCALE
from comfy.ldm.minimax.vae import IMAGENET_MEAN
from comfy_api.latest import ComfyExtension, io
CANVAS_MULTIPLE = 32
BASE_SHORT_EDGE = 768
MAX_PIXELS = 768 * 1344
REF_IMAGE_SHORT_EDGE = 2048
FPS = 24
AUDIO_LATENT_FPS = 40
def align_frame_count(n):
while n % 17 != 5:
n += 1
return n
def video_latent_t(frame_count):
return 2 if frame_count <= 5 else ((frame_count - 5) // 17) * 5 + 2
def temporal_shape(length):
frame_count = align_frame_count(max(5, length))
duration = frame_count / FPS
return frame_count, video_latent_t(frame_count), round(duration * AUDIO_LATENT_FPS)
def adapt_canvas(width, height):
"""768-short-edge canvas with 768*1344 area cap, per-axis round to 32."""
ratio = width / height
if ratio >= 1.0:
nom_w, nom_h = BASE_SHORT_EDGE * ratio, BASE_SHORT_EDGE
else:
nom_w, nom_h = BASE_SHORT_EDGE, BASE_SHORT_EDGE / ratio
if nom_w * nom_h > MAX_PIXELS:
s = math.sqrt(MAX_PIXELS / (nom_w * nom_h))
nom_w, nom_h = nom_w * s, nom_h * s
return (max(CANVAS_MULTIPLE, round(nom_w / CANVAS_MULTIPLE) * CANVAS_MULTIPLE),
max(CANVAS_MULTIPLE, round(nom_h / CANVAS_MULTIPLE) * CANVAS_MULTIPLE))
def _resize(image, width, height, crop):
# image [B, H, W, C] -> [B, height, width, 3]
samples = image[..., :3].movedim(-1, 1)
samples = comfy.utils.common_upscale(samples, width, height, "lanczos", crop)
return samples.movedim(1, -1)
def _encode_ref_audio(audio_vae, audio):
waveform = audio["waveform"] # [B, C, L]
sr = audio["sample_rate"]
vae_sr = getattr(audio_vae, "audio_sample_rate", 32000)
if sr != vae_sr:
waveform = comfy.audio.resample(waveform, sr, vae_sr)
z = audio_vae.encode(waveform[:1].movedim(1, -1)) # [1, 32, 2, T]
return z, z.shape[-1]
def _empty_av_latent(width, height, length, batch_size=1):
frame_count, latent_t, audio_t = temporal_shape(length)
video = torch.zeros([batch_size, 24, latent_t, height // 16, width // 16],
device=comfy.model_management.intermediate_device())
audio = torch.zeros([batch_size, 32, 2, audio_t],
device=comfy.model_management.intermediate_device())
return {"samples": comfy.nested_tensor.NestedTensor((video, audio))}, frame_count
class EmptyMiniMaxH3LatentAV(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="EmptyMiniMaxH3LatentAV",
display_name="Empty MiniMax H3 AV Latent",
category="model/latent/minimax",
description="Joint video+audio latent for MiniMax H3. Duration snaps to the model's 17k+5 frame grid at 24 fps.",
inputs=[
io.Int.Input("width", default=1344, min=32, max=nodes.MAX_RESOLUTION, step=32),
io.Int.Input("height", default=768, min=32, max=nodes.MAX_RESOLUTION, step=32),
io.Int.Input("length", default=124, min=5, max=3600, step=17, tooltip="Frame count at 24 fps, snapped up to the model's 17k+5 grid (124 = ~5s; trained range is ~124-362, longer is untested)"),
],
outputs=[io.Latent.Output()],
)
@classmethod
def execute(cls, width, height, length) -> io.NodeOutput:
latent, _ = _empty_av_latent(width, height, length)
return io.NodeOutput(latent)
class MiniMaxH3ImageToVideo(io.ComfyNode):
"""t2va and fl2va: prompt (+ optional first/last keyframes) -> conditioning + AV latent."""
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MiniMaxH3ImageToVideo",
display_name="MiniMax H3 Image to Video",
category="model/conditioning/minimax",
inputs=[
io.Clip.Input("clip"),
io.Vae.Input("vae"),
io.String.Input("prompt", multiline=True, dynamic_prompts=True),
io.Int.Input("width", default=1344, min=32, max=nodes.MAX_RESOLUTION, step=32),
io.Int.Input("height", default=768, min=32, max=nodes.MAX_RESOLUTION, step=32),
io.Int.Input("length", default=124, min=5, max=3600, step=17, tooltip="Frame count at 24 fps, snapped up to the model's 17k+5 grid (124 = ~5s; trained range is ~124-362, longer is untested)"),
io.Image.Input("first_frame", optional=True),
io.Image.Input("last_frame", optional=True),
],
outputs=[io.Conditioning.Output(display_name="positive"), io.Latent.Output()],
)
@classmethod
def execute(cls, clip, vae, prompt, width, height, length,
first_frame=None, last_frame=None) -> io.NodeOutput:
latent, frame_count = _empty_av_latent(width, height, length)
images = []
keyframes = []
if first_frame is not None:
# geometry anchor: plain stretch to canvas
img = _resize(first_frame[:1], width, height, "disabled")
images.append(img)
keyframes.append({"resolved_frame_index": 0, "image": img})
if last_frame is not None:
# follower: aspect-preserving cover-crop
img = _resize(last_frame[:1], width, height, "center")
images.append(img)
keyframes.append({"resolved_frame_index": frame_count - 1, "image": img})
tokens = clip.tokenize(prompt, images=images)
cond = clip.encode_from_tokens_scheduled(tokens)
if keyframes:
for kf in keyframes:
kf["latent"] = vae.encode(kf.pop("image"))
cond = node_helpers.conditioning_set_values(cond, {"minimax_keyframes": keyframes})
return io.NodeOutput(cond, latent)
class MiniMaxH3AddGuide(io.ComfyNode):
"""Anchor image and/or audio guides at an arbitrary pixel frame of the target video."""
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MiniMaxH3AddGuide",
display_name="Add Guide for MiniMax H3",
category="model/conditioning/minimax",
description="Anchor an image, a short clip, audio, or a clip with its soundtrack at any frame of a MiniMax H3 video. Chain several nodes to anchor several frames.",
inputs=[
io.Conditioning.Input("positive"),
io.Vae.Input("vae", optional=True, tooltip="Video VAE, needed when an image is connected."),
io.Vae.Input("audio_vae", optional=True, tooltip="Audio VAE, needed when an audio is connected."),
io.Latent.Input("latent"),
io.Image.Input("image", optional=True, tooltip="Image or video frames to anchor. Multi-frame batches are anchored as a clip and cropped down to the model's valid clip lengths: 5, 22, 39... (17k + 5) frames. Batches shorter than 5 frames use only the first image."),
io.Audio.Input("audio", optional=True,
tooltip="Soundtrack to anchor starting at the same frame index, cropped to the video's remaining duration."),
io.Int.Input("frame_idx", default=0, min=-9999, max=9999,
tooltip="Frame index to anchor the image or the clip's first frame at. Negative values are counted from the end of the video."),
],
outputs=[io.Conditioning.Output(display_name="positive")],
)
@classmethod
def execute(cls, positive, latent, frame_idx, vae=None, audio_vae=None, image=None, audio=None) -> io.NodeOutput:
samples = latent["samples"]
if not samples.is_nested or len(samples.tensors) != 2 or samples.tensors[0].ndim != 5 or samples.tensors[0].shape[1] != 24:
raise ValueError("MiniMaxH3AddGuide expects a MiniMax H3 AV latent")
if image is None and audio is None:
raise ValueError("MiniMaxH3AddGuide needs an image or an audio to anchor")
video = samples.tensors[0]
height = video.shape[3] * 16
width = video.shape[4] * 16
frame_count = sum(FRAME_PER_TOKEN[k % 5] for k in range(video.shape[2]))
guide_frames = 1
if image is not None:
if vae is None:
raise ValueError("anchoring guide frames needs the vae input")
guide_frames = image.shape[0]
if guide_frames < 5:
guide_frames = 1
else:
while guide_frames % 17 != 5:
guide_frames -= 1
resolved_frame_index = frame_idx if frame_idx >= 0 else frame_count + frame_idx
if resolved_frame_index < 0 or resolved_frame_index + guide_frames > frame_count:
if guide_frames == 1:
raise ValueError("frame_idx {} is outside the video's {} frames".format(frame_idx, frame_count))
raise ValueError("a {} frame guide clip at frame_idx {} does not fit in the video's {} frames".format(
guide_frames, frame_idx, frame_count))
keyframe = {"resolved_frame_index": resolved_frame_index}
if image is not None:
frames = _resize(image[:guide_frames], width, height, "center")
keyframe["latent"] = vae.encode(frames)
if audio is not None:
if audio_vae is None:
raise ValueError("anchoring guide audio needs the audio_vae input")
audio_latent, audio_rt = _encode_ref_audio(audio_vae, audio)
# the streams share one time axis: FRAME_RESCALE per pixel frame, 1.0 per audio latent frame
max_rt = math.floor(samples.tensors[1].shape[-1] - FRAME_RESCALE * resolved_frame_index)
if max_rt < 1:
raise ValueError("frame_idx {} is past the end of the video's audio track".format(frame_idx))
if audio_rt > max_rt:
audio_latent = audio_latent[..., :max_rt].clone()
keyframe["audio_latent"] = audio_latent
keyframes = list(positive[0][1].get("minimax_keyframes", []))
keyframes.append(keyframe)
positive = node_helpers.conditioning_set_values(positive, {"minimax_keyframes": keyframes})
return io.NodeOutput(positive)
class MiniMaxH3ReferenceToVideo(io.ComfyNode):
"""ref2va: prompt + reference images / videos / audio -> conditioning + AV latent.
References enter the presentation in fixed order: images, then videos (each
soundtrack's <Audio j> label right before its <Video k>), then standalone
audio. Ordinals are 1-based per type, so the prompt refers to them as
<Picture i> / <Video k> / <Audio j>.
"""
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MiniMaxH3ReferenceToVideo",
description="<Picture i> / <Video k> / <Audio j> reference conditioning for MiniMax H3. Use the same tags when prompting.",
display_name="MiniMax H3 Reference to Video",
category="model/conditioning/minimax",
inputs=[
io.Clip.Input("clip"),
io.Vae.Input("vae", optional=True, tooltip="Video VAE. Without it reference images/videos only condition the text encoder."),
io.Vae.Input("audio_vae", optional=True, tooltip="Audio VAE. Without it reference audio only conditions the text encoder."),
io.String.Input("prompt", multiline=True, dynamic_prompts=True),
io.Int.Input("width", default=1344, min=32, max=nodes.MAX_RESOLUTION, step=32),
io.Int.Input("height", default=768, min=32, max=nodes.MAX_RESOLUTION, step=32),
io.Int.Input("length", default=124, min=5, max=3600, step=17, tooltip="Frame count at 24 fps, (124 = ~5s, trained range is ~124-362)"),
io.Combo.Input("ref_image_size", options=["match", "max"], default="match",
tooltip="Reference image sizing. 'match' scales each ref (down only, keeping aspect) to the generation's pixel area; 'max' uses the reference pipeline's 2048px short edge for best identity fidelity. Reference tokens ride through every sampling step, so 'max' can be several times slower."),
io.Autogrow.Input("ref_images", optional=True,
template=io.Autogrow.TemplatePrefix(
input=io.Image.Input("ref_image", tooltip="Reference image (downscaled to 2048 short edge if larger, never upscaled)"),
prefix="ref_image_", min=0, max=9)),
io.Autogrow.Input("ref_videos", optional=True,
template=io.Autogrow.TemplatePrefix(
input=io.Image.Input("ref_video", tooltip="Reference video frames at 24 fps (2-15s)"),
prefix="ref_video_", min=0, max=3)),
io.Autogrow.Input("ref_video_audios", optional=True,
template=io.Autogrow.TemplatePrefix(
input=io.Audio.Input("ref_video_audio", tooltip="Soundtrack of the same-numbered reference video"),
prefix="ref_video_audio_", min=0, max=3)),
io.Autogrow.Input("ref_audios", optional=True,
template=io.Autogrow.TemplatePrefix(
input=io.Audio.Input("ref_audio", tooltip="Standalone reference audio"),
prefix="ref_audio_", min=0, max=3)),
],
outputs=[io.Conditioning.Output(display_name="positive"), io.Latent.Output()],
)
@classmethod
def execute(cls, clip, prompt, width, height, length, ref_image_size="match", vae=None, audio_vae=None,
ref_images=None, ref_videos=None, ref_video_audios=None, ref_audios=None) -> io.NodeOutput:
latent, frame_count = _empty_av_latent(width, height, length)
ref_items = [] # for the tokenizer presentation, in request order
ref_blocks = [] # for the DiT payload, same order
for img in (ref_images or {}).values():
if img is None:
continue
h, w = img.shape[1], img.shape[2]
if ref_image_size == "match":
# aspect-preserving scale (down only) to the generation's pixel area
scale = min(1.0, math.sqrt((width * height) / (w * h)))
else:
scale = min(1.0, REF_IMAGE_SHORT_EDGE / min(w, h))
tw = max(CANVAS_MULTIPLE, round(w * scale / CANVAS_MULTIPLE) * CANVAS_MULTIPLE)
th = max(CANVAS_MULTIPLE, round(h * scale / CANVAS_MULTIPLE) * CANVAS_MULTIPLE)
resized = _resize(img[:1], tw, th, "disabled")
ref_items.append({"type": "image", "data": resized})
if vae is not None:
z = vae.encode(resized)
ref_blocks.append({"kind": "image", "latent_h": th // 16, "latent_w": tw // 16, "latent": z})
ref_video_audios = ref_video_audios or {}
for name, video_frames in (ref_videos or {}).items():
if video_frames is None:
continue
# index-paired soundtrack: ref_video_audio_N belongs to ref_video_N
soundtrack = ref_video_audios.get("ref_video_audio_" + name.rsplit("_", 1)[-1])
vh, vw = video_frames.shape[1], video_frames.shape[2]
cw, ch = adapt_canvas(vw, vh)
if vw * vh < cw * ch:
cw = max(CANVAS_MULTIPLE, round(vw / CANVAS_MULTIPLE) * CANVAS_MULTIPLE)
ch = max(CANVAS_MULTIPLE, round(vh / CANVAS_MULTIPLE) * CANVAS_MULTIPLE)
frames = _resize(video_frames, cw, ch, "disabled")
if frames.shape[0] > frame_count:
frames = frames[:frame_count]
n = frames.shape[0]
if n < 5:
raise ValueError("MiniMax H3 reference videos need at least 5 frames (~0.2s at 24 fps)")
while n % 17 != 5:
n -= 1
frames = frames[:n]
if soundtrack is not None:
# the soundtrack gets its own <Audio j> label, emitted before <Video k>
ref_items.append({"type": "audio"})
# Qwen sees the video at 2 fps with timestamps
sample_idx = list(range(0, frames.shape[0], FPS // 2))
qwen_frames = frames[sample_idx]
ref_items.append({"type": "video", "data": qwen_frames,
"timestamps": [i / 2.0 for i in range(len(sample_idx))]})
if vae is None:
continue
z = vae.encode(frames)
audio_latent, ref_audio_t = (None, 0)
if soundtrack is not None and audio_vae is not None:
audio_latent, ref_audio_t = _encode_ref_audio(audio_vae, soundtrack)
ref_blocks.append({"kind": "video_audio" if ref_audio_t else "video",
"latent_t": z.shape[2], "latent_h": ch // 16, "latent_w": cw // 16,
"ref_audio_t": ref_audio_t, "latent": z, "audio_latent": audio_latent})
for audio in (ref_audios or {}).values():
if audio is None:
continue
ref_items.append({"type": "audio"})
if audio_vae is not None:
audio_latent, ref_audio_t = _encode_ref_audio(audio_vae, audio)
ref_blocks.append({"kind": "audio", "ref_audio_t": ref_audio_t, "audio_latent": audio_latent})
tokens = clip.tokenize(prompt, minimax_ref_items=ref_items)
cond = clip.encode_from_tokens_scheduled(tokens)
if ref_blocks:
cond = node_helpers.conditioning_set_values(cond, {"minimax_refs": ref_blocks})
return io.NodeOutput(cond, latent)
class MiniMaxH3SigmaShift(io.ComfyNode):
"""Set the video/audio flow shifts coherently.
The video shift drives the sampler's sigma schedule (ModelSamplingAV); both
values are also handed to the DiT, which inverts the video schedule to the
shared base grid and derives the audio schedule from it.
"""
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MiniMaxH3SigmaShift",
description="Set the video/audio flow shifts.",
display_name="ModelSamplingMiniMaxH3",
search_aliases=["sigma shift", "minimax shift"],
category="model/patch/minimax",
inputs=[
io.Model.Input("model"),
io.Float.Input("shift_video", default=12.0, min=0.01, max=100.0, step=0.01),
io.Float.Input("shift_audio", default=3.0, min=0.01, max=100.0, step=0.01),
],
outputs=[io.Model.Output()],
)
@classmethod
def execute(cls, model, shift_video, shift_audio) -> io.NodeOutput:
m = model.clone()
class ModelSamplingAdvanced(comfy.model_sampling.ModelSamplingAV, comfy.model_sampling.CONST):
pass
original = m.get_model_object("model_sampling")
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift=shift_video, audio_shift=shift_audio)
if hasattr(original, "noise_scale"):
model_sampling.set_noise_scale(original.noise_scale)
m.add_object_patch("model_sampling", model_sampling)
to = m.model_options["transformer_options"] = m.model_options.get("transformer_options", {}).copy()
to["minimax_h3_sigma_shift_video"] = shift_video
to["minimax_h3_sigma_shift_audio"] = shift_audio
return io.NodeOutput(m)
class MiniMaxH3FunControlPatch:
def __init__(self, model_patch, vae, control_video, mask, source_video, strength, sigma_start, sigma_end):
self.model_patch = model_patch
self.vae = vae
self.control_video = control_video
self.mask = mask
self.source_video = source_video
self.strength = strength
self.sigma_start = sigma_start
self.sigma_end = sigma_end
self.control_latent = None
self.control_latent_shape = None
self.control_stream = None
self.pristine_stream = None
self.active = False
def _fit_frames(self, frames, frame_count, width, height):
indices = torch.arange(frame_count, device=frames.device).clamp(max=frames.shape[0] - 1)
return comfy.utils.common_upscale(frames[indices], width, height, "bilinear", "center")
def _encode(self, frames, target_shape):
latent = self.vae.encode(frames.movedim(1, -1)).to(torch.float32)
if tuple(latent.shape) != target_shape:
raise ValueError("MiniMax H3 Fun VAE output shape {} does not match the target {}".format(tuple(latent.shape), target_shape))
return latent
def prepare_control_latent(self, target_shape):
target_shape = tuple(target_shape)
if self.control_latent is not None and self.control_latent_shape == target_shape:
return
latent_frames, latent_height, latent_width = target_shape[2:]
frame_count = max((latent_frames - 2) // 5, 0) * 17 + 5
spatial_compression = self.vae.spacial_compression_encode()
width = latent_width * spatial_compression
height = latent_height * spatial_compression
loaded_models = comfy.model_management.loaded_models(only_currently_used=True)
try:
hint = None
if self.control_video is not None:
frames = self._fit_frames(self.control_video, frame_count, width, height)
hint = self._encode(frames, target_shape)
if self.mask is not None:
mask = (self.mask.reshape(-1, 1, self.mask.shape[-2], self.mask.shape[-1]) > 0.5).to(torch.float32)
indices = torch.arange(frame_count, device=mask.device).clamp(max=mask.shape[0] - 1)
mask = comfy.utils.common_upscale(mask[indices], width, height, "bilinear", "center")
visibility = 1.0 - (mask > 0.5).to(torch.float32)
if self.source_video is None:
source = torch.zeros(frame_count, 3, height, width, dtype=visibility.dtype, device=visibility.device)
else:
source = self._fit_frames(self.source_video, frame_count, width, height)
visibility = visibility.to(source.device)
masked = source * visibility
if self.model_patch.model.inpaint_post_norm:
# the pixel the VAE normalizes to zero, i.e. holes at mid-gray instead of black
masked += (1.0 - visibility) * torch.tensor(IMAGENET_MEAN, dtype=source.dtype, device=source.device).view(1, 3, 1, 1)
masked_latent = self._encode(masked, target_shape)
if hint is None:
hint = torch.zeros_like(masked_latent)
visibility_latent = F.interpolate(
visibility.squeeze(1)[None, None], size=(latent_frames, latent_height, latent_width),
mode="trilinear", align_corners=False)
hint = torch.cat([hint, visibility_latent.to(hint.device), masked_latent.to(hint.device)], dim=1)
finally:
comfy.model_management.load_models_gpu(loaded_models)
self.control_latent = hint
self.control_latent_shape = target_shape
def diffusion_model_wrapper(self, executor, x, timestep, context, transformer_options={}, **kwargs):
sigmas = transformer_options.get("sigmas")
sigma = float(sigmas[0]) if sigmas is not None else float(timestep.flatten()[0]) / 1000.0
self.active = self.sigma_end <= sigma <= self.sigma_start
self.control_stream = None
if self.active:
with comfy.model_prefetch.pause_malloc_graph():
self.prepare_control_latent(x[0].shape)
try:
return executor(x, timestep, context, transformer_options, **kwargs)
finally:
self.control_stream = None
self.pristine_stream = None
def before_block(self, block_index, args):
if not self.active or block_index != self.model_patch.model.injection_layers[0]:
return
# stash only: control weight loads here would clobber the base block's freshly staged weights
self.pristine_stream = args["img"].clone()
def after_block(self, block_index, args, out):
if not self.active:
return out
control_index = self.model_patch.model.injection_layers.index(block_index)
if control_index == 0:
self.control_latent = self.control_latent.to(out["img"].device)
self.control_stream = self.model_patch.model.init_stream(
self.pristine_stream, self.control_latent, args["layout"], args["t_emb"])
self.pristine_stream = None
self.control_stream, skip = self.model_patch.model.step(
control_index, self.control_stream, args["t_emb"], args["mod_segments"], args["rope_freqs"],
transformer_options=args["transformer_options"])
skip[args["layout"].audio_pos.to(skip.device)] = 0
out["img"].add_(skip, alpha=self.strength)
return out
def to(self, device_or_dtype):
if isinstance(device_or_dtype, torch.device):
if self.control_latent is not None:
self.control_latent = self.control_latent.to(device_or_dtype)
self.control_stream = None
return self
def cleanup(self):
self.control_latent = None
self.control_latent_shape = None
self.control_stream = None
self.pristine_stream = None
self.active = False
def models(self):
return [self.model_patch]
def register(self, model):
model.add_wrapper(comfy.patcher_extension.WrappersMP.DIFFUSION_MODEL, self.diffusion_model_wrapper)
for block_index in self.model_patch.model.injection_layers:
blocks_replace = model.model_options.get("transformer_options", {}).get("patches_replace", {}).get("dit", {})
previous = blocks_replace.get(("double_block", block_index))
model.set_model_patch_replace(
MiniMaxH3FunControlBlockPatch(self, block_index, previous), "dit", "double_block", block_index)
class MiniMaxH3FunControlBlockPatch:
def __init__(self, control_patch, block_index, previous):
self.control_patch = control_patch
self.block_index = block_index
self.previous = previous
def __call__(self, args, extra_args):
# Control state must stay outside the base block's allocation scope.
with comfy.model_prefetch.pause_malloc_graph():
self.control_patch.before_block(self.block_index, args)
if self.previous is None:
out = extra_args["original_block"](args)
else:
out = self.previous(args, extra_args)
with comfy.model_prefetch.pause_malloc_graph():
return self.control_patch.after_block(self.block_index, args, out)
def to(self, device_or_dtype):
self.control_patch.to(device_or_dtype)
if hasattr(self.previous, "to"):
self.previous = self.previous.to(device_or_dtype)
return self
def cleanup(self):
self.control_patch.cleanup()
if hasattr(self.previous, "cleanup"):
self.previous.cleanup()
def models(self):
models = self.control_patch.models()
if hasattr(self.previous, "models"):
models += self.previous.models()
return models
class MiniMaxH3FunControlNetApply(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MiniMaxH3FunControlNetApply",
description="Apply a MiniMax H3 Fun ControlNet to a text-to-video model as a model patch.",
display_name="Apply MiniMax H3 Fun ControlNet",
search_aliases=["minimax controlnet", "h3 controlnet", "video inpaint controlnet"],
category="model/patch/minimax",
inputs=[
io.Model.Input("model"),
io.ModelPatch.Input("model_patch"),
io.Vae.Input("vae"),
io.Float.Input("strength", default=1.0, min=0.0, max=10.0, step=0.01),
io.Float.Input("start_percent", default=0.0, min=0.0, max=1.0, step=0.001, advanced=True),
io.Float.Input("end_percent", default=1.0, min=0.0, max=1.0, step=0.001, advanced=True),
io.Image.Input("control_video", optional=True),
io.Mask.Input("mask", optional=True, tooltip="1 marks the regions to regenerate."),
io.Image.Input("source_video", optional=True, tooltip="Video behind the mask; only read when a mask is given."),
],
outputs=[io.Model.Output()],
)
@classmethod
def execute(cls, model, model_patch, vae, strength, start_percent, end_percent,
control_video=None, mask=None, source_video=None) -> io.NodeOutput:
if strength == 0 or (control_video is None and mask is None):
return io.NodeOutput(model)
model_patched = model.clone()
model_sampling = model.get_model_object("model_sampling")
patch = MiniMaxH3FunControlPatch(
model_patch,
vae,
control_video[..., :3].movedim(-1, 1) if control_video is not None else None,
mask,
source_video[..., :3].movedim(-1, 1) if mask is not None and source_video is not None else None,
strength,
float(model_sampling.percent_to_sigma(start_percent)),
float(model_sampling.percent_to_sigma(end_percent)),
)
patch.register(model_patched)
return io.NodeOutput(model_patched)
class MiniMaxH3Extension(ComfyExtension):
async def get_node_list(self):
return [
EmptyMiniMaxH3LatentAV,
MiniMaxH3ImageToVideo,
MiniMaxH3AddGuide,
MiniMaxH3ReferenceToVideo,
MiniMaxH3SigmaShift,
MiniMaxH3FunControlNetApply,
]
async def comfy_entrypoint() -> MiniMaxH3Extension:
return MiniMaxH3Extension()
@@ -0,0 +1,428 @@
import logging
import comfy.sd
import comfy.model_sampling
import comfy.latent_formats
import comfy.ldm.modules.attention
import nodes
import torch
import node_helpers
from comfy_api.latest import io
class LCM(comfy.model_sampling.EPS):
def calculate_denoised(self, sigma, model_output, model_input):
timestep = self.timestep(sigma).view(sigma.shape[:1] + (1,) * (model_output.ndim - 1))
sigma = sigma.view(sigma.shape[:1] + (1,) * (model_output.ndim - 1))
x0 = model_input - model_output * sigma
sigma_data = 0.5
scaled_timestep = timestep * 10.0 #timestep_scaling
c_skip = sigma_data**2 / (scaled_timestep**2 + sigma_data**2)
c_out = scaled_timestep / (scaled_timestep**2 + sigma_data**2) ** 0.5
return c_out * x0 + c_skip * model_input
class ModelSamplingDiscreteDistilled(comfy.model_sampling.ModelSamplingDiscrete):
original_timesteps = 50
def __init__(self, model_config=None, zsnr=None):
super().__init__(model_config, zsnr=zsnr)
self.skip_steps = self.num_timesteps // self.original_timesteps
sigmas_valid = torch.zeros((self.original_timesteps), dtype=torch.float32)
for x in range(self.original_timesteps):
sigmas_valid[self.original_timesteps - 1 - x] = self.sigmas[self.num_timesteps - 1 - x * self.skip_steps]
self.set_sigmas(sigmas_valid)
def timestep(self, sigma):
log_sigma = sigma.log()
dists = log_sigma.to(self.log_sigmas.device) - self.log_sigmas[:, None]
return (dists.abs().argmin(dim=0).view(sigma.shape) * self.skip_steps + (self.skip_steps - 1)).to(sigma.device)
def sigma(self, timestep):
t = torch.clamp(((timestep.float().to(self.log_sigmas.device) - (self.skip_steps - 1)) / self.skip_steps).float(), min=0, max=(len(self.sigmas) - 1))
low_idx = t.floor().long()
high_idx = t.ceil().long()
w = t.frac()
log_sigma = (1 - w) * self.log_sigmas[low_idx] + w * self.log_sigmas[high_idx]
return log_sigma.exp().to(timestep.device)
class ModelSamplingDiscrete:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["eps", "v_prediction", "lcm", "x0", "img_to_img", "img_to_img_flow"],),
"zsnr": ("BOOLEAN", {"default": False, "advanced": True}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "model/patch"
def patch(self, model, sampling, zsnr):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingDiscrete
if sampling == "eps":
sampling_type = comfy.model_sampling.EPS
elif sampling == "v_prediction":
sampling_type = comfy.model_sampling.V_PREDICTION
elif sampling == "lcm":
sampling_type = LCM
sampling_base = ModelSamplingDiscreteDistilled
elif sampling == "x0":
sampling_type = comfy.model_sampling.X0
elif sampling == "img_to_img":
sampling_type = comfy.model_sampling.IMG_TO_IMG
elif sampling == "img_to_img_flow":
sampling_type = comfy.model_sampling.IMG_TO_IMG_FLOW
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config, zsnr=zsnr)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingStableCascade:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"shift": ("FLOAT", {"default": 2.0, "min": 0.0, "max": 100.0, "step":0.01}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "model/patch/stable cascade"
def patch(self, model, shift):
m = model.clone()
sampling_base = comfy.model_sampling.StableCascadeSampling
sampling_type = comfy.model_sampling.EPS
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingSD3:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"shift": ("FLOAT", {"default": 3.0, "min": 0.0, "max": 100.0, "step":0.01}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "model/patch/stable diffusion"
def patch(self, model, shift, multiplier=1000, sampling="flow"):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingDiscreteFlow
sampling_type = comfy.model_sampling.CONST
if sampling == "img_to_img_velocity":
sampling_type = comfy.model_sampling.IMG_TO_IMG_VELOCITY
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
original = m.get_model_object("model_sampling")
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift=shift, multiplier=multiplier)
if hasattr(original, "noise_scale"):
model_sampling.set_noise_scale(original.noise_scale)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingAuraFlow(ModelSamplingSD3):
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"shift": ("FLOAT", {"default": 1.73, "min": 0.0, "max": 100.0, "step":0.01}),
},
"optional": { "sampling": (["flow", "img_to_img_velocity"], {"default": "flow", "advanced": True}),
}}
FUNCTION = "patch_aura"
CATEGORY = "model/patch"
def patch_aura(self, model, shift, sampling="flow"):
return self.patch(model, shift, multiplier=1.0, sampling=sampling)
class ModelSamplingFlux:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"max_shift": ("FLOAT", {"default": 1.15, "min": 0.0, "max": 100.0, "step":0.01, "advanced": True}),
"base_shift": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 100.0, "step":0.01, "advanced": True}),
"width": ("INT", {"default": 1024, "min": 16, "max": nodes.MAX_RESOLUTION, "step": 8}),
"height": ("INT", {"default": 1024, "min": 16, "max": nodes.MAX_RESOLUTION, "step": 8}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "model/patch/flux"
def patch(self, model, max_shift, base_shift, width, height):
m = model.clone()
x1 = 256
x2 = 4096
mm = (max_shift - base_shift) / (x2 - x1)
b = base_shift - mm * x1
shift = (width * height / (8 * 8 * 2 * 2)) * mm + b
sampling_base = comfy.model_sampling.ModelSamplingFlux
sampling_type = comfy.model_sampling.CONST
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift=shift)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingContinuousEDM:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["v_prediction", "edm", "edm_playground_v2.5", "eps", "cosmos_rflow"],),
"sigma_max": ("FLOAT", {"default": 120.0, "min": 0.0, "max": 1000.0, "step":0.001, "round": False, "advanced": True}),
"sigma_min": ("FLOAT", {"default": 0.002, "min": 0.0, "max": 1000.0, "step":0.001, "round": False, "advanced": True}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "model/patch"
def patch(self, model, sampling, sigma_max, sigma_min):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingContinuousEDM
latent_format = None
sigma_data = 1.0
if sampling == "eps":
sampling_type = comfy.model_sampling.EPS
elif sampling == "edm":
sampling_type = comfy.model_sampling.EDM
sigma_data = 0.5
elif sampling == "v_prediction":
sampling_type = comfy.model_sampling.V_PREDICTION
elif sampling == "edm_playground_v2.5":
sampling_type = comfy.model_sampling.EDM
sigma_data = 0.5
latent_format = comfy.latent_formats.SDXL_Playground_2_5()
elif sampling == "cosmos_rflow":
sampling_type = comfy.model_sampling.COSMOS_RFLOW
sampling_base = comfy.model_sampling.ModelSamplingCosmosRFlow
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(sigma_min, sigma_max, sigma_data)
m.add_object_patch("model_sampling", model_sampling)
if latent_format is not None:
m.add_object_patch("latent_format", latent_format)
return (m, )
class ModelSamplingContinuousV:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["v_prediction"],),
"sigma_max": ("FLOAT", {"default": 500.0, "min": 0.0, "max": 1000.0, "step":0.001, "round": False, "advanced": True}),
"sigma_min": ("FLOAT", {"default": 0.03, "min": 0.0, "max": 1000.0, "step":0.001, "round": False, "advanced": True}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "model/patch"
def patch(self, model, sampling, sigma_max, sigma_min):
m = model.clone()
sigma_data = 1.0
if sampling == "v_prediction":
sampling_type = comfy.model_sampling.V_PREDICTION
class ModelSamplingAdvanced(comfy.model_sampling.ModelSamplingContinuousV, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(sigma_min, sigma_max, sigma_data)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class RescaleCFG:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"multiplier": ("FLOAT", {"default": 0.7, "min": 0.0, "max": 1.0, "step": 0.01}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "model/patch"
def patch(self, model, multiplier):
model_sampling = model.get_model_object("model_sampling")
is_flow = isinstance(model_sampling, comfy.model_sampling.CONST)
def rescale_cfg(args):
x_orig = args["input"]
cond_scale = args["cond_scale"]
if is_flow:
# Flow-matching models: cond_denoised/uncond_denoised are x_0 estimates,
# so the eps↔v conversion below would be wrong. Rescale directly in x_0 space.
x_0_cond = args["cond_denoised"]
x_0_uncond = args["uncond_denoised"]
x_0_cfg = x_0_uncond + cond_scale * (x_0_cond - x_0_uncond)
dims = tuple(range(1, x_0_cond.ndim))
ro_pos = x_0_cond.std(dim=dims, keepdim=True)
ro_cfg = x_0_cfg.std(dim=dims, keepdim=True).clamp(min=1e-8)
x_0_rescaled = x_0_cfg * (ro_pos / ro_cfg)
x_0_final = multiplier * x_0_rescaled + (1.0 - multiplier) * x_0_cfg
return x_orig - x_0_final
cond = args["cond"]
uncond = args["uncond"]
sigma = args["sigma"]
sigma = sigma.view(sigma.shape[:1] + (1,) * (cond.ndim - 1))
#rescale cfg has to be done on v-pred model output
x = x_orig / (sigma * sigma + 1.0)
cond = ((x - (x_orig - cond)) * (sigma ** 2 + 1.0) ** 0.5) / (sigma)
uncond = ((x - (x_orig - uncond)) * (sigma ** 2 + 1.0) ** 0.5) / (sigma)
#rescalecfg
x_cfg = uncond + cond_scale * (cond - uncond)
ro_pos = torch.std(cond, dim=(1,2,3), keepdim=True)
ro_cfg = torch.std(x_cfg, dim=(1,2,3), keepdim=True)
x_rescaled = x_cfg * (ro_pos / ro_cfg)
x_final = multiplier * x_rescaled + (1.0 - multiplier) * x_cfg
return x_orig - (x - x_final * sigma / (sigma * sigma + 1.0) ** 0.5)
m = model.clone()
m.set_model_sampler_cfg_function(rescale_cfg)
return (m, )
class ModelNoiseScale:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"noise_scale": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 64.0, "step": 0.01,
"tooltip": "Absolute training noise scale. For example HiDream-O1 base: 8.0, dev: 7.5."}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "model/patch"
def patch(self, model, noise_scale):
m = model.clone()
original = m.get_model_object("model_sampling")
ms = type(original)(m.model.model_config)
ms.set_parameters(shift=original.shift, multiplier=original.multiplier)
ms.set_noise_scale(noise_scale)
m.add_object_patch("model_sampling", ms)
return (m, )
class ModelComputeDtype:
SEARCH_ALIASES = ["model precision", "change dtype"]
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"dtype": (["default", "fp32", "fp16", "bf16"], {"advanced": True}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/debug"
def patch(self, model, dtype):
m = model.clone()
m.set_model_compute_dtype(node_helpers.string_to_torch_dtype(dtype))
return (m, )
class ModelAttentionBackend(io.ComfyNode):
@classmethod
def define_schema(cls):
backends = ["pytorch attention"]
if comfy.ldm.modules.attention.COMFY_KITCHEN_INT8_ATTENTION_IS_AVAILABLE:
backends.append("comfy kitchen attention")
return io.Schema(
node_id="ModelAttentionBackend",
display_name="Model Attention Backend",
search_aliases=["comfy kitchen", "attention", "pytorch", "kitchen attention"],
category="model/patch",
is_experimental=True,
description="Selects the dense attention implementation for the model. When used with Block Sparse Attention, this backend is used whenever sparse attention is inactive or unsupported.",
inputs=[
io.Model.Input("model", tooltip="The model to patch."),
io.Combo.Input("attention", display_name="backend", options=backends, default="pytorch attention",
tooltip="The dense attention backend. Comfy Kitchen attention uses quantized INT8 attention and is available only on Nvidia and AMD GPUs."),
],
outputs=[
io.Model.Output(display_name="model", tooltip="The model with the selected attention backend."),
],
)
@classmethod
def validate_inputs(cls, attention):
return True
@classmethod
def execute(cls, model, attention):
attention_name = {
"comfy kitchen attention": "comfy_kitchen_int8",
"pytorch attention": "pytorch",
}.get(attention)
attention_function = comfy.ldm.modules.attention.get_attention_function(attention_name, None)
if attention_function is None:
logging.warning("Attention backend '%s' is unavailable; using PyTorch attention.", attention)
attention_function = comfy.ldm.modules.attention.get_attention_function("pytorch")
m = model.clone()
m.set_model_optimized_attention(attention_function)
return io.NodeOutput(m)
NODE_CLASS_MAPPINGS = {
"ModelSamplingDiscrete": ModelSamplingDiscrete,
"ModelSamplingContinuousEDM": ModelSamplingContinuousEDM,
"ModelSamplingContinuousV": ModelSamplingContinuousV,
"ModelSamplingStableCascade": ModelSamplingStableCascade,
"ModelSamplingSD3": ModelSamplingSD3,
"ModelSamplingAuraFlow": ModelSamplingAuraFlow,
"ModelSamplingFlux": ModelSamplingFlux,
"ModelNoiseScale": ModelNoiseScale,
"RescaleCFG": RescaleCFG,
"ModelComputeDtype": ModelComputeDtype,
"ModelAttentionBackend": ModelAttentionBackend,
}
@@ -0,0 +1,455 @@
"""ComfyUI nodes for the native MoGe (Monocular Geometry Estimation) integration."""
import torch
import math
import comfy.utils
import folder_paths
from comfy_api.latest import ComfyExtension, Types, io
from typing_extensions import override
from comfy.ldm.colormap import turbo as _turbo
from comfy.ldm.moge.model import MoGeModel
from comfy.ldm.moge.geometry import triangulate_grid_mesh
from comfy.ldm.moge.panorama import get_panorama_cameras, split_panorama_image, merge_panorama_depth, spherical_uv_to_directions, _uv_grid
import comfy.model_management
from tqdm.auto import tqdm
MoGeModelType = io.Custom("MOGE_MODEL")
MoGeGeometry = io.Custom("MOGE_GEOMETRY")
# MOGE_GEOMETRY is a dict with these optional keys (absent when the upstream model didn't produce them):
# "points": torch.Tensor (B, H, W, 3)
# "depth": torch.Tensor (B, H, W)
# "intrinsics": torch.Tensor (B, 3, 3) -- perspective only
# "mask": torch.Tensor (B, H, W) bool
# "normal": torch.Tensor (B, H, W, 3) -- v2 only
# "image": torch.Tensor (B, H, W, 3) in [0, 1], CPU (always present)
def _normals_from_points(points: torch.Tensor) -> torch.Tensor:
"""Camera-space surface normals from a (B, H, W, 3) point map (v1 fallback)."""
finite = torch.isfinite(points).all(dim=-1)
pts = torch.where(finite.unsqueeze(-1), points, torch.zeros_like(points))
dx = pts[..., :, 2:, :] - pts[..., :, :-2, :]
dy = pts[..., 2:, :, :] - pts[..., :-2, :, :]
dx = torch.nn.functional.pad(dx.permute(0, 3, 1, 2), (1, 1, 0, 0)).permute(0, 2, 3, 1)
dy = torch.nn.functional.pad(dy.permute(0, 3, 1, 2), (0, 0, 1, 1)).permute(0, 2, 3, 1)
# dy x dx (not dx x dy) so the result is outward-facing in OpenCV (Y-down flips the right-hand rule), matching v2's predicted normals.
n = torch.cross(dy, dx, dim=-1)
n = torch.nn.functional.normalize(n, dim=-1)
return torch.where(finite.unsqueeze(-1), n, torch.zeros_like(n))
def _normalize_disparity(depth: torch.Tensor) -> torch.Tensor:
"""Per-batch normalize 1/depth to [0, 1] using 0.1/99.9 percentile clipping."""
out = torch.zeros_like(depth)
for i in range(depth.shape[0]):
d = depth[i]
valid = torch.isfinite(d) & (d > 0)
if not valid.any():
continue
disp = torch.where(valid, 1.0 / d.clamp_min(1e-6), torch.zeros_like(d))
disp_valid = disp[valid]
lo = torch.quantile(disp_valid, 0.001)
hi = torch.quantile(disp_valid, 0.999)
scale = (hi - lo).clamp_min(1e-6)
norm = ((disp - lo) / scale).clamp(0.0, 1.0)
out[i] = torch.where(valid, norm, torch.zeros_like(norm))
return out
class LoadMoGeModel(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="LoadMoGeModel",
display_name="Load MoGe Model",
category="model/loaders",
inputs=[
io.Combo.Input("model_name", options=folder_paths.get_filename_list("geometry_estimation")),
],
outputs=[MoGeModelType.Output()],
)
@classmethod
def execute(cls, model_name) -> io.NodeOutput:
path = folder_paths.get_full_path_or_raise("geometry_estimation", model_name)
sd = comfy.utils.load_torch_file(path, safe_load=True)
return io.NodeOutput(MoGeModel(sd))
class MoGePanoramaInference(io.ComfyNode):
"""Equirectangular panorama inference: split into 12 perspective views, run
MoGe at fov_x=90 on each, merge via multi-scale Poisson + gradient solve.
v2's predicted normals and metric scale are ignored (per-view scales would not align across seams).
"""
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MoGePanoramaInference",
search_aliases=["moge", "panorama", "depth", "geometry", "depth estimation", "geometry estimation"],
display_name="Run MoGe Panorama Inference",
category="image/geometry estimation",
description="Run MoGe on an equirectangular panorama by splitting it into 12 perspective views, running inference on each, and merging the results into a single depth map.",
inputs=[
MoGeModelType.Input("moge_model"),
io.Image.Input("image", tooltip="Equirectangular panorama (any aspect)."),
io.Int.Input("resolution_level", default=9, min=0, max=9,
tooltip="Per-view detail (0 = fastest, 9 = most detailed)."),
io.Int.Input("split_resolution", default=512, min=256, max=1024,
tooltip="Resolution of each perspective split."),
io.Int.Input("merge_resolution", default=1920, min=256, max=8192,
tooltip="Long-side resolution of the merged equirect distance map."),
io.Int.Input("batch_size", default=4, min=1, max=12,
tooltip="Views per inference batch (12 splits total)."),
io.Int.Input("refine_steps", default=3, min=0, max=8, advanced=True,
tooltip="MoGe-3 only: sparse volumetric refinement passes over the predicted depth. More passes sharpen fine detail and edges at a roughly linear cost. 0 disables refinement. Ignored by MoGe-1 / MoGe-2."),
],
outputs=[MoGeGeometry.Output(display_name="moge_geometry")],
)
@classmethod
def execute(cls, moge_model, image, resolution_level, split_resolution, merge_resolution, batch_size, refine_steps) -> io.NodeOutput:
if image.shape[0] != 1:
raise ValueError(f"MoGePanoramaInference takes a single image (got batch of {image.shape[0]})")
image = image[..., :3]
H, W = int(image.shape[1]), int(image.shape[2])
scale = min(merge_resolution / max(H, W), 1.0)
merge_h, merge_w = max(int(H * scale), 32), max(int(W * scale), 32)
extrinsics, intrinsics = get_panorama_cameras()
comfy.model_management.load_model_gpu(moge_model.patcher)
device = moge_model.load_device
img_chw = image[0].movedim(-1, -3).to(device=device, dtype=moge_model.dtype)
splits = split_panorama_image(img_chw, extrinsics, intrinsics, split_resolution)
n_views = splits.shape[0]
# Weight each lsmr solve by 4^level so the final-resolution solve doesn't leave the bar idle.
merge_levels: list[tuple[int, int]] = []
w_, h_ = merge_w, merge_h
while True:
merge_levels.append((w_, h_))
if max(w_, h_) <= 256:
break
w_, h_ = w_ // 2, h_ // 2
merge_levels.reverse()
solve_weight = {wh: 4 ** i for i, wh in enumerate(merge_levels)}
n_merge_view_units = n_views * len(merge_levels)
n_merge_solve_units = sum(solve_weight.values())
pbar = comfy.utils.ProgressBar(n_views + n_merge_view_units + n_merge_solve_units)
done = 0
distance_maps: list = []
masks: list = []
with tqdm(total=n_views, desc="MoGe panorama inference") as tq:
for i in range(0, n_views, batch_size):
batch = splits[i:i + batch_size]
# apply_metric_scale=False: per-view scales would not align across overlap seams.
result = moge_model.infer(batch, resolution_level=resolution_level,
fov_x=90.0, force_projection=True,
apply_mask=False, apply_metric_scale=False,
refine_steps=refine_steps)
distance_maps.extend(list(result["points"].float().norm(dim=-1).cpu().numpy()))
masks.extend(list(result["mask"].cpu().numpy()))
n = batch.shape[0]
done += n
pbar.update_absolute(done)
tq.update(n)
with tqdm(total=n_merge_view_units + n_merge_solve_units, desc="MoGe panorama merge: views") as tq:
def _on_merge_view():
nonlocal done
done += 1
pbar.update_absolute(done)
tq.update(1)
def _on_solve_start(w, h):
tq.set_description(f"MoGe panorama merge: solving {w}x{h}")
def _on_solve_end(w, h):
nonlocal done
weight = solve_weight[(w, h)]
done += weight
pbar.update_absolute(done)
tq.update(weight)
tq.set_description("MoGe panorama merge: views")
pano_depth, pano_mask = merge_panorama_depth(
merge_w, merge_h, distance_maps, masks, list(extrinsics), intrinsics,
on_view=_on_merge_view, on_solve_start=_on_solve_start, on_solve_end=_on_solve_end)
pano_depth = torch.from_numpy(pano_depth)
pano_mask = torch.from_numpy(pano_mask)
if (merge_h, merge_w) != (H, W):
pano_depth = torch.nn.functional.interpolate(pano_depth[None, None], size=(H, W), mode="bilinear", align_corners=False).squeeze()
pano_mask = torch.nn.functional.interpolate(pano_mask[None, None].float(), size=(H, W), mode="nearest").squeeze() > 0
# Pixels uncovered by any view's predicted foreground are unconstrained in the lsmr solve and stay at log_depth=0 (depth=1)
if pano_mask.any() and not pano_mask.all():
far = torch.quantile(pano_depth[pano_mask], 0.95) * 5.0
pano_depth = torch.where(pano_mask, pano_depth, far)
directions = torch.from_numpy(spherical_uv_to_directions(_uv_grid(H, W)))
points = (directions * pano_depth[..., None]).unsqueeze(0)
depth = pano_depth.unsqueeze(0)
mask = pano_mask.unsqueeze(0)
# Points stay in MoGe spherical coords; MoGePointMapToMesh applies the spherical->glTF rotation after triangulation
moge_geometry = {"points": points, "depth": depth, "mask": mask, "image": image.cpu()}
return io.NodeOutput(moge_geometry)
class MoGeInference(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MoGeInference",
search_aliases=["moge", "depth", "geometry", "depth estimation", "geometry estimation"],
display_name="Run MoGe Inference",
description="Run MoGe on a single image to estimate depth and geometry.",
category="image/geometry estimation",
inputs=[
MoGeModelType.Input("moge_model"),
io.Image.Input("image"),
io.Int.Input("resolution_level", default=9, min=0, max=9,
tooltip="0 = fastest, 9 = most detail."),
io.Float.Input("fov_x_degrees", default=0.0, min=0.0, max=170.0, step=0.1, advanced=True,
tooltip="Horizontal field of view of the source camera. Sets the focal length used to unproject the depth map into 3D. 0 = auto-recover from the predicted points."),
io.Int.Input("batch_size", default=4, min=1, max=64,
tooltip="Images per inference call. Lower if you OOM on a long video / image set."),
io.Boolean.Input("force_projection", default=True, advanced=True),
io.Boolean.Input("apply_mask", default=True, advanced=True,
tooltip="Set masked-out (sky / invalid) pixels to inf in points and depth so meshing culls them. Disable to keep the raw predicted geometry everywhere; the mask is still returned separately."),
io.Int.Input("refine_steps", default=3, min=0, max=8, advanced=True,
tooltip="MoGe-3 only: sparse volumetric refinement passes over the predicted depth. More passes sharpen fine detail and edges at a roughly linear cost. 0 disables refinement. Ignored by MoGe-1 / MoGe-2."),
],
outputs=[MoGeGeometry.Output(display_name="moge_geometry")],
)
@classmethod
def execute(cls, moge_model, image, resolution_level, fov_x_degrees, batch_size, force_projection, apply_mask, refine_steps) -> io.NodeOutput:
image = image[..., :3]
bchw = image.movedim(-1, -3).contiguous()
B = bchw.shape[0]
fov = None if fov_x_degrees <= 0 else float(fov_x_degrees)
pbar = comfy.utils.ProgressBar(B)
chunks: list[dict] = []
with tqdm(total=B, desc="MoGe inference") as tq:
for i in range(0, B, batch_size):
chunk = bchw[i:i + batch_size]
chunks.append(moge_model.infer(chunk, resolution_level=resolution_level, fov_x=fov,
force_projection=force_projection, apply_mask=apply_mask,
refine_steps=refine_steps))
pbar.update_absolute(min(i + batch_size, B))
tq.update(chunk.shape[0])
def stack(field):
vals = [c[field] for c in chunks if field in c]
return torch.cat(vals, dim=0) if vals else None
moge_geometry = {"image": image.cpu()}
for field in ("points", "depth", "intrinsics", "mask", "normal"):
v = stack(field)
if v is not None:
moge_geometry[field] = v
return io.NodeOutput(moge_geometry)
class MoGeRender(io.ComfyNode):
"""Render a visualization or mask from a MOGE_GEOMETRY packet."""
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MoGeRender",
search_aliases=["moge", "render", "geometry", "depth", "normal"],
display_name="Render MoGe Geometry",
description="Render a depth map or normal map from geometry data",
category="image/geometry estimation",
inputs=[
MoGeGeometry.Input("moge_geometry"),
io.Combo.Input("output", options=["depth", "depth_colored", "normal_opengl", "normal_directx", "mask"], default="depth",
tooltip="DirectX vs OpenGL controls the normal-map green-channel convention. DirectX: green = -Y down (Unreal). OpenGL: green = +Y up (Blender, Substance, Unity, glTF)."),
],
outputs=[io.Image.Output()],
)
@classmethod
def execute(cls, moge_geometry, output) -> io.NodeOutput:
is_normal = output in ("normal_directx", "normal_opengl")
opengl = output.endswith("_opengl")
# Pick the input tensor for the chosen mode and validate availability.
if output in ("depth", "depth_colored"):
if "depth" not in moge_geometry:
raise ValueError("moge_geometry has no depth output.")
src = moge_geometry["depth"]
elif is_normal:
if "normal" in moge_geometry:
src = moge_geometry["normal"]
elif "points" in moge_geometry:
src = moge_geometry["points"]
else:
raise ValueError("moge_geometry has neither normals nor points to derive normals from.")
elif output == "mask":
if "mask" not in moge_geometry:
raise ValueError("moge_geometry has no mask output.")
src = moge_geometry["mask"]
else:
raise ValueError(f"Unknown output mode: {output}")
B = src.shape[0]
pbar = comfy.utils.ProgressBar(B)
out: list[torch.Tensor] = []
with tqdm(total=B, desc=f"MoGe render: {output}") as tq:
for i in range(B):
slc = src[i:i + 1].float()
if output in ("depth", "depth_colored"):
d = _normalize_disparity(slc)
out.append(_turbo(d) if output == "depth_colored"
else d.unsqueeze(-1).expand(*d.shape, 3).contiguous())
elif is_normal:
n = slc if "normal" in moge_geometry else _normals_from_points(slc)
# MoGe is OpenCV (Z+ into scene); normal-map convention is Z+ out of surface, so flip Z.
y_sign = -1.0 if opengl else 1.0
n = n * n.new_tensor([1.0, y_sign, -1.0])
out.append((n * 0.5 + 0.5).clamp(0.0, 1.0))
elif output == "mask":
out.append(slc.unsqueeze(-1).expand(*slc.shape, 3).contiguous())
pbar.update_absolute(i + 1)
tq.update(1)
result = torch.cat(out, dim=0).to(device=comfy.model_management.intermediate_device(), dtype=comfy.model_management.intermediate_dtype())
return io.NodeOutput(result)
class MoGePointMapToMesh(io.ComfyNode):
"""Triangulate one image of a MoGe point map into a Types.MESH (UVs + texture)."""
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MoGePointMapToMesh",
search_aliases=["moge", "mesh", "geometry", "point map"],
display_name="Convert MoGe Point Map to Mesh",
description="Convert a MoGe point map into a 3D mesh.",
category="image/geometry estimation",
inputs=[
MoGeGeometry.Input("moge_geometry"),
io.Int.Input("batch_index", default=0, min=0, max=4096,
tooltip="Which image of a batched MoGe geometry to mesh. Per-image vertex counts "
"differ, so batches can't be stacked into a single MESH."),
io.Int.Input("decimation", default=1, min=1, max=8,
tooltip="Vertex stride; 1 = full resolution."),
io.Float.Input("discontinuity_threshold", default=0.04, min=0.0, max=1.0, step=0.01,
tooltip="Drop pixels whose 3x3 depth span exceeds this fraction. 0 = off."),
io.Boolean.Input("texture", default=True,
tooltip="Carry the source image through as the baseColor texture."),
],
outputs=[io.Mesh.Output()],
)
@classmethod
def execute(cls, moge_geometry, batch_index, decimation, discontinuity_threshold, texture) -> io.NodeOutput:
if "points" not in moge_geometry:
raise ValueError("moge_geometry has no points output.")
points = moge_geometry["points"]
B = points.shape[0]
if batch_index >= B:
raise ValueError(f"batch_index {batch_index} out of range; moge_geometry has batch size {B}.")
# Pass depth so the rtol edge check sees radial depth -- for panoramas
# points[..., 2] = cos(phi)*r goes negative below the equator and the rtol clamp would drop the bottom half.
edge_depth = moge_geometry["depth"][batch_index] if "depth" in moge_geometry else None
verts, faces, uvs = triangulate_grid_mesh(
points[batch_index], decimation=decimation,
discontinuity_threshold=discontinuity_threshold, depth=edge_depth,
)
if verts.shape[0] == 0 or faces.shape[0] == 0:
raise ValueError("MoGe produced an empty mesh; try discontinuity_threshold=0 or apply_mask=False.")
if "intrinsics" not in moge_geometry:
# Panorama: rotate MoGe spherical (Z up) -> glTF (Y up, Z back), correct for inside-the-sphere viewing)
verts = verts[:, [1, 2, 0]].contiguous()
else:
# Perspective MoGe (X right, Y down, Z forward) -> glTF; face flip keeps winding CCW after the Y/Z flip.
verts = verts * torch.tensor([1.0, -1.0, -1.0], dtype=verts.dtype)
faces = faces[:, [0, 2, 1]].contiguous()
tex = moge_geometry["image"][batch_index:batch_index + 1] if texture else None
mesh = Types.MESH(
vertices=verts.unsqueeze(0),
faces=faces.unsqueeze(0),
uvs=uvs.unsqueeze(0),
texture=tex,
)
return io.NodeOutput(mesh)
class MoGeGeometryToFOV(io.ComfyNode):
"""Extract horizontal/vertical FOV from MoGe intrinsics, e.g. fov_y to feed SAM3DBody_Predict."""
@classmethod
def define_schema(cls):
return io.Schema(
node_id="MoGeGeometryToFOV",
search_aliases=["moge", "fov", "geometry", "intrinsics", "field of view"],
display_name="Get FoV from MoGe Geometry",
description="Derive the field of view and focal length from MoGe intrinsics.",
category="image/geometry estimation",
inputs=[
MoGeGeometry.Input("moge_geometry"),
io.Combo.Input("axis", options=["vertical", "horizontal", "diagonal"], default="vertical",
tooltip="'vertical' (fov_y), 'horizontal' (fov_x), or 'diagonal'."),
io.Combo.Input("unit", options=["degrees", "radians"], default="degrees",
tooltip="Output unit for the FOV."),
],
outputs=[
io.Float.Output(display_name="fov"),
io.Float.Output(display_name="focal_pixels"),
],
)
@classmethod
def execute(cls, moge_geometry, axis, unit) -> io.NodeOutput:
K = moge_geometry.get("intrinsics") if isinstance(moge_geometry, dict) else None
if K is None:
raise ValueError("moge_geometry has no intrinsics (panorama geometry has none).")
if K.ndim == 3:
K = K[0]
# MoGe normalizes fx by width and fy by height; with cx=cy=0.5 the half-extent
# in normalized units is 0.5, so fov = 2*atan(0.5 / f) per axis (hypot for diagonal).
hx = 0.5 / float(K[0, 0].item())
hy = 0.5 / float(K[1, 1].item())
half_tan = {"horizontal": hx, "vertical": hy, "diagonal": math.hypot(hx, hy)}[axis]
fov_radians = 2.0 * math.atan(half_tan)
fov = fov_radians if unit == "radians" else math.degrees(fov_radians)
# Pixels are square here, so fy*H == fx*W is the single lens focal in pixels.
src = next((moge_geometry[k] for k in ("image", "points", "depth") if k in moge_geometry), None)
if src is None:
raise ValueError("moge_geometry has no image/points/depth to read the pixel height from.")
H = int(src.shape[1])
focal_pixels = float(K[1, 1].item()) * H
return io.NodeOutput(fov, focal_pixels)
class MoGeExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [LoadMoGeModel, MoGeInference, MoGePanoramaInference, MoGeRender, MoGePointMapToMesh, MoGeGeometryToFOV]
async def comfy_entrypoint() -> MoGeExtension:
return MoGeExtension()
@@ -0,0 +1,439 @@
"""Block-sparse attention on comfy_kitchen's sparse attention kernels (Sol-Attn adaptive
threshold, SLA-style top-k, or FastVideo's VSA). Generic models go through the
attention override; MiniMax-H3 gets the chunked qkv producer through block patches."""
from __future__ import annotations
import logging
import re
import weakref
import comfy_kitchen as ck
import torch
import comfy.model_management
import comfy.model_prefetch
import comfy.patcher_extension
from comfy.ldm.minimax.model import MiniMaxH3Model
from comfy_api.latest import ComfyExtension, io
HEAD_DIM = 128
BLOCK_SIZE = 64
PRODUCER_CHUNK = 4096
VSA_CUBE = (4, 4, 4)
VSA_PLAN_CACHE = 4
def parse_block_list(text):
"""'0, 1, 47-49' -> {0, 1, 47, 48, 49}."""
blocks = set()
for part in re.findall(r"\d+\s*-\s*\d+|\d+", text or ""):
if "-" in part:
a, b = (int(x) for x in part.split("-"))
blocks.update(range(min(a, b), max(a, b) + 1))
else:
blocks.add(int(part))
return blocks
class SparseAttnPatch:
"""Options plus runtime state for one patched model; an ON_CLEANUP callback
resets the state when the sampling run ends."""
def __init__(self, tau, topk_ratio, vsa, sigma_start, sigma_end, min_tokens,
dense_blocks, sink_conditioning, extra_tokens, verbose):
self.tau = tau
self.topk_ratio = topk_ratio
self.extra_tokens = extra_tokens
self.vsa = vsa
self.sigma_start = sigma_start
self.sigma_end = sigma_end
self.min_tokens = min_tokens
self.dense_blocks = dense_blocks
self.sink_conditioning = sink_conditioning
self.verbose = verbose
self.installed = set() # the override closures this patch has put on the hook
self.reset()
def reset(self):
self.pooled = {} # (block, rows) -> (kmean, vscale) from the previous step
self.vsa_plans = {} # small LRU of tiling plans
self.vsa_rope = None
self._logged = set()
def log_once(self, key, message):
if self.verbose and key not in self._logged:
self._logged.add(key)
logging.info(f"BlockSparseAttention: {message}")
def dense_reason(self, transformer_options, tokens, block_index):
"""Why this call stays dense regardless of its tensors, or None."""
sigmas = transformer_options.get("sigmas")
if sigmas is not None:
sigma = float(sigmas[0])
if sigma > self.sigma_start or sigma < self.sigma_end:
return f"sigma {sigma:.3g} outside the start/end window"
if tokens < self.min_tokens:
return f"{tokens} tokens < min_tokens {self.min_tokens}"
if self.dense_blocks:
if block_index is None:
self.log_once("no_block_index", "this model does not report block indices; dense_blocks ignored")
elif block_index in self.dense_blocks:
return f"block {block_index} in dense_blocks"
return None
def sinks(self, transformer_options, tokens):
"""MiniMax-H3 conditioning rows as (exact-KV blocks, dense-query blocks):
the packed prefix stays exact for every query, and optionally the
target-audio query rows run dense."""
layout = transformer_options.get("minimax_h3_layout")
if self.sink_conditioning == "off" or layout is None or layout.seq_len != tokens:
return (0, 0), (0, 0)
video = next(((a, b) for a, b, kind in layout.segments if kind == "video"), None)
if video is None or video[0] <= 0:
return (0, 0), (0, 0)
blocks = (0, (video[0] + BLOCK_SIZE - 1) // BLOCK_SIZE)
if self.sink_conditioning != "exact_kv_and_rows":
return blocks, (0, 0)
audio = next(((a, b) for a, b, kind in layout.segments if kind == "audio"), None)
if audio is None:
return blocks, blocks
return blocks, (audio[0] // BLOCK_SIZE, blocks[1])
def vsa_plan(self, layout, device):
"""Padded tile order: prefix segments in their own zero-padded 64-row
tiles, video in 4x4x4 cubes. `src` maps padded row -> source row (-1 =
pad), `inv` the reverse."""
key = (tuple(layout.signature), tuple(layout.segments), str(device))
plan = self.vsa_plans.get(key)
if plan is not None:
return plan
_text_len, latent_t, latent_h, latent_w, _audio_t = layout.signature
grid = (int(latent_t), int(latent_h) // 2, int(latent_w) // 2)
tiles, n_prefix = [], 0
for a, b, kind in layout.segments:
n = b - a
if kind != "video":
m = (n + BLOCK_SIZE - 1) // BLOCK_SIZE
seg = torch.full((m * BLOCK_SIZE,), -1, dtype=torch.int64, device=device)
seg[:n] = torch.arange(a, b, device=device)
tiles.append(seg.view(m, BLOCK_SIZE))
n_prefix += m
continue
if grid[0] * grid[1] * grid[2] != n:
raise RuntimeError(f"VSA: video segment of {n} rows does not match the latent grid {grid}")
ct, ch, cw = VSA_CUBE
pt, ph, pw = ((g + c - 1) // c * c for g, c in zip(grid, VSA_CUBE))
padded = torch.full((pt, ph, pw), -1, dtype=torch.int64, device=device)
padded[:grid[0], :grid[1], :grid[2]] = torch.arange(a, b, device=device).view(*grid)
cubes = (padded.view(pt // ct, ct, ph // ch, ch, pw // cw, cw)
.permute(0, 2, 4, 1, 3, 5).reshape(-1, BLOCK_SIZE))
order = torch.argsort((cubes < 0).to(torch.int8), dim=1, stable=True)
tiles.append(torch.gather(cubes, 1, order))
tiles = torch.cat(tiles)
src = tiles.reshape(-1)
live = src >= 0
inv = torch.empty(layout.seq_len, dtype=torch.int64, device=device)
inv[src[live]] = torch.nonzero(live).flatten()
plan = {"n": int(src.numel()), "n_prefix": n_prefix, "src": src, "inv": inv,
"block_len": (tiles >= 0).sum(1).to(torch.int32)}
while len(self.vsa_plans) >= VSA_PLAN_CACHE:
del self.vsa_plans[next(iter(self.vsa_plans))]
self.vsa_plans[key] = plan
return plan
def vsa_rope_freqs(self, rope_freqs, plan):
hit = self.vsa_rope
if hit is not None and hit[0]() is rope_freqs and hit[1] is plan:
return hit[2]
padded = rope_freqs.new_zeros((1, plan["n"]) + tuple(rope_freqs.shape[2:]))
padded[0, plan["inv"]] = rope_freqs[0]
self.vsa_rope = (weakref.ref(rope_freqs), plan, padded)
return padded
def _ineligible(q, k, v, dim_head):
"""Why these tensors can't go through the kernel, or None. q/k/v are BTHD."""
if q.device.type != "cuda":
return "not on CUDA"
if not ck.sol_attn_is_available(q.device):
return "no compiled sol_attn kernel for this GPU"
if q.dtype not in (torch.bfloat16, torch.float16, torch.float32):
return f"dtype {q.dtype} (kernel takes bf16/fp16)"
if dim_head != HEAD_DIM:
return f"head_dim {dim_head} != {HEAD_DIM}"
if q.shape != k.shape or q.shape != v.shape:
return "cross-attention or GQA (kept dense)"
if k.dtype != q.dtype or v.dtype != q.dtype:
return f"mixed dtypes {q.dtype}/{k.dtype}/{v.dtype}"
return None
def make_attention_override(patch: SparseAttnPatch, previous):
"""Attention override; declined calls run ``previous`` (the override that was
on the hook before this one) or ``func``. Dense-only in VSA mode: a
VSA-trained model must never see plain block-sparse attention."""
def override(func, q, k, v, heads, mask=None, attn_precision=None,
skip_reshape=False, skip_output_reshape=False, **kwargs):
transformer_options = kwargs.get("transformer_options") or {}
def dense():
args = (q, k, v, heads)
kw = dict(mask=mask, attn_precision=attn_precision, skip_reshape=skip_reshape,
skip_output_reshape=skip_output_reshape, **kwargs)
return func(*args, **kw) if previous is None else previous(func, *args, **kw)
if mask is not None or patch.vsa:
return dense()
tokens = q.shape[2] if skip_reshape else q.shape[1]
reason = patch.dense_reason(transformer_options, tokens, transformer_options.get("block_index"))
if reason is not None:
patch.log_once(("dense", tokens, reason), f"dense ({tokens} tokens): {reason}")
return dense()
if skip_reshape:
b, _, _, dim_head = q.shape # BHND
qs, ks, vs = (t.transpose(1, 2) for t in (q, k, v))
else:
b, _, dim_head = q.shape # B, N, heads*dim_head
dim_head //= heads
qs, ks, vs = (t.view(b, -1, heads, dim_head) for t in (q, k, v))
reason = _ineligible(qs, ks, vs, dim_head)
if reason is not None:
patch.log_once(("ineligible", tuple(qs.shape), reason), f"dense {tuple(qs.shape)}: {reason}")
return dense()
sink, sink_q = patch.sinks(transformer_options, tokens)
if q.dtype == torch.float32: # the kernel quantizes to int8 anyway; bf16 keeps the fp32 range
qs, ks, vs = (t.to(torch.bfloat16) for t in (qs, ks, vs))
out = ck.sol_attn(qs, ks, vs, tau=patch.tau, scale=kwargs.get("scale"),
sink_blocks=list(sink), sink_q=list(sink_q), topk_ratio=patch.topk_ratio,
token_aug=patch.extra_tokens).to(q.dtype)
patch.log_once(("sparse", tuple(qs.shape)), f"sparse {tuple(qs.shape)}, sinks {sink}/{sink_q}")
if skip_output_reshape:
return out.transpose(1, 2)
return out.reshape(b, -1, heads * dim_head)
return override
def install_override(patch: SparseAttnPatch, transformer_options):
"""Put this patch's override on top of whatever attention override is on the
hook. Runs at patch time and again from ON_PREPARE_STATE each step, so a node
applied later cannot silently replace it; idempotent once it is on top."""
current = transformer_options.get("optimized_attention_override")
if current in patch.installed:
return
override = make_attention_override(patch, current)
patch.installed.add(override)
transformer_options["optimized_attention_override"] = override
def h3_eligible(attn, x, rope_freqs, transformer_options, patch: SparseAttnPatch, block_index):
"""Whether this H3 block call takes the sparse producer (decided before any work)."""
n_tokens = x.shape[0]
if rope_freqs is None or x.dtype != torch.bfloat16 or x.device.type != "cuda" or attn.head_dim != HEAD_DIM:
return False
reason = patch.dense_reason(transformer_options, n_tokens, block_index)
if reason is None and not ck.sol_attn_is_available(x.device):
reason = "no compiled sol_attn kernel for this GPU"
if reason is not None:
patch.log_once(("dense", n_tokens, reason), f"dense ({n_tokens} tokens): {reason}")
return False
if patch.vsa:
layout = transformer_options.get("minimax_h3_layout")
if layout is None or layout.seq_len != n_tokens:
patch.log_once("no_layout", "no H3 layout for this call; running dense")
return False
return True
def h3_sparse_attention(attn, x, rope_freqs, transformer_options, patch: SparseAttnPatch, block_index):
"""H3 attention through the chunked producer: qkv projected in 4K-token
slices straight into the kernel's int8 carriers, full Q/K/V never built."""
n_tokens = x.shape[0]
heads, head_dim = attn.heads, attn.head_dim
qw = comfy.model_management.cast_to(attn.q_norm.weight, device=x.device)
kw = comfy.model_management.cast_to(attn.k_norm.weight, device=x.device)
extra, plan, gate = {}, None, None
n, freqs = n_tokens, rope_freqs
with comfy.model_prefetch.pause_malloc_graph():
if patch.vsa:
plan = patch.vsa_plan(transformer_options["minimax_h3_layout"], x.device)
n = plan["n"]
freqs = patch.vsa_rope_freqs(rope_freqs, plan)
key = (block_index, n, tuple(transformer_options.get("uuids", ()))) # statistics per conditioning branch
pooled = patch.pooled.get(key)
first = pooled is None
if first:
pooled = (
torch.empty((heads, head_dim), dtype=torch.float32, device=x.device),
torch.empty((heads, head_dim), dtype=torch.float32, device=x.device),
)
if patch.vsa:
sink = sink_q = (0, plan["n_prefix"])
extra = {"tail": False, "block_len": plan["block_len"]}
gate = attn.to_gate_compress
if gate is not None:
extra["coarse_gate"] = x.new_empty(n, heads * head_dim).view(1, n, heads, head_dim)
else:
sink, sink_q = patch.sinks(transformer_options, n_tokens)
def chunks():
for i in range(0, n, PRODUCER_CHUNK):
if plan is None:
yield attn.qkv_proj(x[i:i + PRODUCER_CHUNK])
continue
idx = plan["src"][i:i + PRODUCER_CHUNK]
xc = x[idx.clamp_min(0)] * (idx >= 0).unsqueeze(1).to(x.dtype) # pad rows zero
if gate is not None:
extra["coarse_gate"].view(n, heads * head_dim)[i:i + xc.shape[0]] = gate(xc)
yield attn.qkv_proj(xc)
out, kmean, vscale = ck.sol_attn_chunked(
chunks, n, heads, freqs, (qw, kw),
kmean=None if first else pooled[0],
vscale=None if first else pooled[1],
tau=patch.tau, topk_ratio=patch.topk_ratio, token_aug=patch.extra_tokens,
sink_blocks=list(sink), sink_q=list(sink_q),
rope_eps=attn.q_norm.eps, **extra)
pooled[0].copy_(kmean)
pooled[1].copy_(vscale)
patch.pooled[key] = pooled
mode = f"VSA tiles ({n} padded rows, {sink[1]} prefix tiles)" if plan is not None else f"sinks {sink}/{sink_q}"
patch.log_once(("producer", n), f"sparse producer path: {n_tokens} tokens, {mode}")
out = out.view(n, heads * head_dim)
if plan is not None:
out = out[plan["inv"]]
return attn.out_proj(out)
def make_h3_block_patch(block, block_index, patch: SparseAttnPatch):
"""Runs the block with its attention swapped for the sparse producer."""
def attention(h, rope_freqs=None, transformer_options={}):
return h3_sparse_attention(block.attn, h, rope_freqs, transformer_options, patch, block_index)
def block_patch(args, extra):
if h3_eligible(block.attn, args["img"], args["rope_freqs"], args["transformer_options"], patch, block_index):
args = {**args, "attention": attention}
return extra["original_block"](args)
return block_patch
def apply_block_sparse_attention(model, *, tau, topk_ratio, vsa, start_percent, end_percent, min_tokens,
dense_blocks, sink_conditioning, extra_tokens, verbose):
model_sampling = model.get_model_object("model_sampling")
if vsa and extra_tokens:
# VSA weights were trained against their sparse pattern, don't pull the attention toward dense
logging.info("VSA: extra_tokens ignored (the trained sparse pattern is the target)")
extra_tokens = 0
patch = SparseAttnPatch(tau=tau, topk_ratio=topk_ratio, vsa=vsa,
sigma_start=float(model_sampling.percent_to_sigma(start_percent)),
sigma_end=float(model_sampling.percent_to_sigma(end_percent)),
min_tokens=min_tokens, dense_blocks=dense_blocks,
sink_conditioning=sink_conditioning, extra_tokens=extra_tokens, verbose=verbose)
m = model.clone()
install_override(patch, m.model_options["transformer_options"])
m.add_callback_with_key(comfy.patcher_extension.CallbacksMP.ON_PREPARE_STATE, "block_sparse_attention",
lambda model_patcher, timestep, model_options: install_override(patch, model_options["transformer_options"]))
m.add_callback_with_key(comfy.patcher_extension.CallbacksMP.ON_CLEANUP,
"block_sparse_attention", lambda model_patcher: patch.reset())
diffusion_model = model.get_model_object("diffusion_model")
if isinstance(diffusion_model, MiniMaxH3Model):
for i, block in enumerate(diffusion_model.blocks):
m.set_model_patch_replace(make_h3_block_patch(block, i, patch), "dit", "double_block", i)
if vsa and diffusion_model.blocks[0].attn.to_gate_compress is None:
logging.warning("VSA: the model has no to_gate_compress layers; running the fine stage without the coarse branch")
elif vsa:
raise ValueError("VSA selection needs a MiniMax-H3 model")
return m
class BlockSparseAttention(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="BlockSparseAttention",
display_name="Model Sparse Attention",
category="model/patch",
is_experimental=True,
search_aliases=["Block Sparse Attention"],
description="Applies block-sparse attention to eligible model attention layers, reducing compute for long sequences. "
"The speed gain grows with sequence length since short sequences are usually faster dense. "
"Outside the start/end_percent, dense_blocks and under min_tokens, the model uses the dense model attention backend. "
"Use the node Model Attention Backend to select that fallback.",
inputs=[
io.Model.Input("model", tooltip="The model to patch."),
io.DynamicCombo.Input("selection", display_name="method", options=[
io.DynamicCombo.Option("sol-attn", [
io.Float.Input("tau", default=1.3, min=0.0, max=4.0, step=0.05,
tooltip="Threshold in score-distribution sigmas. Higher is sparser: "
"1.0 keeps ~16% of key blocks exact, 1.5 ~7%, 2.0 ~2.7%."),
]),
io.DynamicCombo.Option("sla", [
io.Float.Input("keep_percent", default=10.0, min=0.5, max=95.0, step=0.5,
tooltip="Percent of key blocks each query block keeps exactly (sinks and "
"the diagonal ride on top). The selection SLA-style LoRAs are "
"distilled against; without such a LoRA higher is closer to dense."),
]),
io.DynamicCombo.Option("vsa", [
io.Float.Input("keep_percent", default=10.0, min=0.5, max=95.0, step=0.5,
tooltip="Percent of video cubes each query cube keeps; FastH3-VSA "
"checkpoints are trained at 10. Uses the model's to_gate_compress "
"layers for the coarse branch when present."),
]),
], tooltip="Method used to choose key blocks for full token-level attention. "
"sol-attn: Sparsifying Online Attention uses a training-free adaptive threshold for each attention head and query block. "
"sla: Sparse-Linear Attention keeps a fixed percentage of the highest-scoring key blocks; use only with model weights trained for this pattern. "
"vsa: Video Sparse Attention (FastVideo) uses 3D video-cube tiling and a learned coarse attention branch; requires FastH3 model weights."),
io.Float.Input("start_percent", default=0.2, min=0.0, max=1.0, step=0.01,
tooltip="Percentage point when sparse attention begins. Before this point, attention stays dense."),
io.Float.Input("end_percent", default=1.0, min=0.0, max=1.0, step=0.01,
tooltip="Percentage point when sparse attention ends. After this point, attention returns to dense."),
io.String.Input("dense_blocks", default="", advanced=True,
tooltip="Transformer blocks that always run dense, e.g. '0, 1, 47-49'."),
io.Int.Input("min_tokens", default=12288, min=0, max=1 << 20, step=512, advanced=True,
tooltip="Sequences shorter than this stay dense."),
io.Int.Input("extra_tokens", default=256, min=0, max=256, step=64, advanced=True,
tooltip="Extra top-scoring tokens each query block attends beyond its selected "
"blocks. Closer to dense for more attention time; 256 recommended, 0 disables. "
"Ignored for VSA."),
io.Combo.Input("sink_conditioning", options=["exact_kv", "exact_kv_and_rows", "off"],
default="exact_kv_and_rows", advanced=True,
tooltip="MiniMax-H3 only. exact_kv: every query attends the packed text/audio/"
"reference rows exactly (~3% cost). exact_kv_and_rows: additionally runs "
"the target-audio query rows dense (keeps generated audio intact)."),
io.Boolean.Input("verbose", default=False, advanced=True,
tooltip="Logs whether each attention shape used sparse attention or why it stayed dense."),
],
outputs=[io.Model.Output(display_name="model", tooltip="The model with block-sparse attention applied.")],
)
@classmethod
def execute(cls, model, selection, start_percent, end_percent, dense_blocks="", min_tokens=12288,
extra_tokens=0, sink_conditioning="exact_kv_and_rows", verbose=False) -> io.NodeOutput:
mode = selection["selection"]
patched_model = apply_block_sparse_attention(
model,
tau=selection.get("tau", 1.3),
topk_ratio=0.0 if mode == "sol-attn" else selection["keep_percent"] / 100.0,
vsa=mode == "vsa",
start_percent=start_percent,
end_percent=end_percent,
min_tokens=min_tokens,
dense_blocks=parse_block_list(dense_blocks),
sink_conditioning=sink_conditioning,
extra_tokens=extra_tokens,
verbose=verbose,
)
return io.NodeOutput(patched_model)
class BlockSparseAttentionExtension(ComfyExtension):
async def get_node_list(self):
return [BlockSparseAttention]
async def comfy_entrypoint() -> BlockSparseAttentionExtension:
return BlockSparseAttentionExtension()
@@ -0,0 +1,6 @@
tree e29e75597cbb495c73fdfd87d9da5e31e451e4e4
parent 1f3d58c1dcbc20b2c5f1c3c6f79cb3dc4097530c
author slmonker <184187107+slmonker@users.noreply.github.com> 1789423935 +0800
committer slmonker <184187107+slmonker@users.noreply.github.com> 1789423935 +0800
Document public v0.1.1 release and audio-driven workflow
@@ -0,0 +1,2 @@
From https://github.com/slmonker/selflift-Avatar
* branch 5df288a083fa8585a563c9c2af7ebfa0e79188c7 -> FETCH_HEAD
@@ -0,0 +1,7 @@
{
"url": "https://api.comfy.org/nodes/selflift-avatar",
"status": 404,
"time": "2026-11-01T02:16:10.321465+00:00",
"basis": "graph has aux only, bounded slug derived from repo name; not authoritative registry identity if unavailable",
"sha256": "94fd27e893abbba909fe91abbe3143a4ff94afb8ce37685a735b5ce4dce55089"
}
@@ -0,0 +1 @@
{"error":"","message":"Node not found"}

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