HEL-892: document H3 multi-reference two-pass latent upscaling

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-11-01 06:55:07 +08:00
co-authored by multica-agent
parent e28c058cb4
commit a5a229b8dc
163 changed files with 197606 additions and 1 deletions
@@ -15,6 +15,9 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
DEFINITIONS = {
(
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json"
): "dc2717039b85da6b9303754a15e7455bba010d166b05a50baceddaa8b0032647",
(
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json"
): "45f32cd96a389b270a4f9ae10458dfc404da98eb145113cfdd74d36a61cad673",
File diff suppressed because one or more lines are too long
@@ -0,0 +1,201 @@
"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/h3-latent-document-evidence")
PATH = "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.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"])
if f["node_id"] != "505":
assert canonical(f["value"]) == canonical(f["named_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", [125, 262, 257])
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 len(DEFINITIONS) == 112 and doc()["fixed_version"]["matched"]
assert BLOCK["counts"]["saved_fields"] == 95 and len(BLOCK["comments"]) == 4
assert len(BLOCK["boundaries"]) == 0 and len(BLOCK["zero_saved_nodes"]) == 9
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"]
@pytest.mark.parametrize("n", BLOCK["comments"], ids=lambda n: n["node_id"])
def test_notes_full_text_and_all_mode_zero(n):
assert pointer(SOURCE, n["pointer"]) == n["text"] == pointer(SOURCE, n["named_pointer"])
source_note = next(x for x in doc()["source_notes"] if str(x["node_id"]) == n["node_id"])
assert source_note["content"][0] == n["text"]
raw = next(x for x in SOURCE["nodes"] if str(x["id"]) == n["node_id"])
assert raw["mode"] == 0
assert any(n["node_id"] + " 原注释节点 " in v for v in BLOCK["flow"])
def test_aliases_and_precise_two_pass_exit_and_conflicts():
ns = {n["id"]: n for n in SOURCE["nodes"]}
assert ns[125]["outputs"][0]["links"] == [] and ns[125]["outputs"][1]["links"] == [384]
assert ns[209]["outputs"][0]["links"] == [375, 376] and ns[209]["outputs"][1]["links"] == []
assert ns[282]["outputs"][0]["links"] is None
f = next(f for f in BLOCK["fields"] if f["node_id"] == "262" and f["field"] == "force_unload")
assert (
f["value"] == f["named_value"] == "cuda"
and f["type"] == "BOOLEAN"
and f["json_type"] == "str"
)
assert "冲突" in f["unit"] and "不存在" in f["schema_default"]
for b in BLOCK["node_bindings"]:
if b["class_type"] in [
"SetNode",
"GetNode",
"LayerUtility: PurgeVRAM V2",
"Label (rgthree)",
]:
assert b["source_id"] == "unknown"
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", "e28c058cb40a32fd009a437a03b66464eb902672:" + 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) == 111 and sum(len(b["fields"]) for b in old) == 6099
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
{
"total": 155,
"audit_scope": "current_delivery",
"source_files": 156,
"target_files": 155,
"user_excluded": 1,
"source_structure_purpose_partially_reviewed": 155,
"full_documents_completed": 0,
"files_with_selected_named_fields_reviewed": 41,
"selected_named_fields_reviewed": 1217,
"real_executions": 0,
"states": {
"pending_check": 16,
"needs_conversion": 139
},
"named_values_preserved": 1217,
"unnamed_widget_nodes": 3660,
"semantic_batch_files": 139,
"semantic_batch_without_named_fields": 114,
"semantic_batch_named_fields": 490,
"named_values_without_manual_field_review": 0,
"named_values_without_verified_units_ranges_effects": 1217,
"scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
}
@@ -0,0 +1,4 @@
Building source distribution...
Building wheel from source distribution...
Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz
Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl
@@ -0,0 +1,134 @@
{
"fixed_count": 344,
"fixed_paths": {
"/api/workflows": 3,
"/api/workflows/109": 4,
"/api/workflows/107": 4,
"/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": 38,
"polling_paths": {
"/api/jobs": 38
},
"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,14 @@
........................................................................ [ 16%]
........................................................................ [ 32%]
........................................................................ [ 49%]
........................................................................ [ 65%]
........................................................................ [ 81%]
........................................................................ [ 98%]
........ [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
440 passed, 1 warning in 8.43s
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,728 @@
{
"base": "e28c058cb40a32fd009a437a03b66464eb902672",
"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": 111,
"drawer_css_unchanged": true,
"drawer_whole_file_unchanged": true,
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
"conversion_rerun": false,
"profiles_28_candidates_9_diffs_6": "unchanged"
}
@@ -0,0 +1,4 @@
{
"command": "PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome calliope-backend/.venv/bin/python e2e/run-h3-latent-document.py",
"exit_code": 0
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,553 @@
"Static MiniMax H3 image-to-video 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 / "h3-latent-reference"
PATHS = ["example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json"]
HOST = "no-subgraph"
LAYOUTS = {
"CreateVideo": ["fps", "bit_depth", "color_space", "codec"],
"KSamplerSelect": ["sampler_name"],
"LayerUtility: PurgeVRAM V2": ["purge_cache", "purge_models"],
"VAELoader": ["vae_name"],
"MiniMaxH3SigmaShift": ["shift_video", "shift_audio"],
"SetNode": ["Constant"],
"GetNode": ["Constant"],
"CLIPLoader": ["clip_name", "type", "device"],
"ComfyMathExpression": ["expression"],
"BasicScheduler": ["scheduler", "steps", "denoise"],
"H3SigmaRefiner": ["extra_steps", "start_at_sigma", "end_at_sigma", "spacing"],
"SplitSigmas": ["step"],
"MiniMaxH3ReferenceToVideo": ["prompt", "width", "height", "length", "ref_image_size"],
"ModelPreviewOverrideKJ": [
"max_resolution",
"jpeg_quality",
"suppress_default_preview",
"preview_frames",
"preview_fps",
"tiny_vae",
"preview",
],
"PrimitiveFloat": ["value"],
"PrimitiveStringMultiline": ["value"],
"RandomNoise": ["noise_seed", "control_after_generate"],
"SaveVideo": ["filename_prefix", "format", "format.codec", "codec"],
"UNETLoader": ["unet_name", "weight_dtype"],
"LoraLoaderModelOnly": ["lora_name", "strength_model"],
"LoadImage": ["image", "upload"],
"MinimaxH3LatentUpscaler3D": [
"model_name",
"mode",
"mode.scale",
"align",
"enable_temporal_chunking",
"force_unload",
"device",
"precision",
],
"ModelAttentionBackend": ["attention"],
"ResolutionSelector": ["aspect_ratio", "megapixels", "multiple"],
}
LABELS = {
"Constant": "别名名称保存(实现未知)",
"model_name": "潜放模型完整文件引用",
"mode": "放大模式保存",
"mode.scale": "动态模式倍率保存",
"align": "像素对齐接口",
"enable_temporal_chunking": "时间分块保存(准确接口不存在)",
"force_unload": "卸载保存与类型冲突",
"precision": "计算精度保存",
"extra_steps": "低噪区附加步数接口",
"start_at_sigma": "低噪细化开始阈值",
"end_at_sigma": "低噪细化结束阈值",
"spacing": "尾段插值分布",
"step": "sigmas分割索引",
"max_resolution": "预览最大边像素",
"jpeg_quality": "预览JPEG质量",
"suppress_default_preview": "默认预览抑制保存",
"preview_frames": "预览帧数缓存",
"preview_fps": "预览播放帧率",
"tiny_vae": "预览VAE引用",
"preview": "额外预览空串",
"purge_cache": "缓存清理保存(实现未知)",
"purge_models": "模型清理保存(实现未知)",
"ref_image_size": "参考尺寸策略",
"attention": "注意力保存选择(实现未知)",
"selection": "稀疏选择保存(实现未知)",
"selection.keep_percent": "嵌套选择保存值(单位未知)",
"start_percent": "开始保存值(单位未知)",
"end_percent": "结束保存值(单位未知)",
"dense_blocks": "完整稠密块保存字符串",
"min_tokens": "最小token保存值(实现未知)",
"extra_tokens": "额外token保存值(实现未知)",
"sink_conditioning": "条件保存选择(实现未知)",
"verbose": "详细信息保存开关(实现未知)",
"shift_video": "视频shift保存值(实现未知)",
"shift_audio": "音频shift保存值(实现未知)",
"color_space": "源额外色彩空间保存",
"format.codec": "源额外嵌套编码保存",
"image": "原始图像文件引用(实现未知)",
"upload": "原上传辅助保存值(实现未知)",
"upscale_method": "缩放插值方法",
"resolution_steps": "缩放对齐倍数",
"filename_prefix": "完整视频保存前缀",
"format": "保存容器选择",
"codec": "保存编码选择",
"aspect_ratio": "宽高比保存",
"megapixels": "MP保存值",
"multiple": "像素对齐倍数",
"prompt": "完整提示词缓存",
"width": "宽度缓存",
"height": "高度缓存",
"value_1": "宿主时长缓存",
"noise_seed": "噪声种子缓存",
"unet_name": "完整扩散模型引用",
"clip_name": "完整文本模型引用",
"vae_name": "独立VAE文件引用",
"vae_name_1": "宿主音频VAE引用",
"value": "数值/布尔保存缓存",
"lora_name": "完整LoRA引用",
"strength_model_1": "宿主LoRA强度",
"value_2": "宿主步数缓存",
"sampler_name": "采样器选择",
"scheduler": "调度器选择",
"steps": "步数缓存",
"denoise": "降噪系数",
"weight_dtype": "权重dtype选择",
"type": "编码器类型选择",
"device": "设备选择",
"control_after_generate": "种子前端控制辅助",
"fixed": "整数前端控制辅助",
"fps": "视频帧率保存",
"bit_depth": "视频位深保存",
"length": "帧长缓存",
"expression": "完整表达式(不求值)",
"strength_model": "LoRA强度缓存",
"switch": "布尔选支缓存",
}
def canonical(v):
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
def build(index=0):
raw = (REPO / PATHS[index]).read_bytes()
g = json.loads(raw)
editorial = json.loads((OUT / "editorial.json").read_bytes())
scopes = [("", "", g)]
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="../h3-latent-reference/" + e["local_file"],
lines=[1, len(data.decode().splitlines())],
claim="本图准确tag/commit原文与许可;静态读取未执行,源码许可不等于模型许可",
)
)
if e["file"].endswith(".py"):
trees[e["local_file"]] = ast.parse(data)
bindings = []
prose = json.loads((OUT / "prose.json").read_bytes())
refs = {}
schemas = {}
for nid, ptr, scope, n in nodes:
cls = n["type"]
if cls in ["Note", "MarkdownNote"]:
continue
symbol = {
"PrimitiveStringMultiline": "StringMultiline",
"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.30.0": "core0300",
"0.31.0": "core0310",
"0.33.0": "core0330",
"0.34.0": "core0340",
"3f20054214fec9f9234fd3841ae6f1e4287948f6": "kj",
"146207295c1d2bd6b64a6552484cb6ed8be1c9ef": "yc",
"52a48afa6146b77aab738c26ec37b14998b6330f": "lbh",
}.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
for c in trees[e["local_file"]].body:
if not isinstance(c, ast.ClassDef) or c.name != symbol:
continue
sources.append(
dict(
sources[i],
lines=[c.lineno, c.end_lineno],
claim=f"本节点准确{core_id}声明类实现;不等于目标安装或宿主恢复认证",
)
)
rs += [i, len(sources) - 1]
candidates.append(dict(source=i, symbol=symbol, lines=[c.lineno, c.end_lineno]))
if cls == "LoraLoaderModelOnly":
parent = next(
p
for p in trees[e["local_file"]].body
if isinstance(p, ast.ClassDef) and p.name == "LoraLoader"
)
sources.append(
dict(
sources[i],
lines=[parent.lineno, parent.end_lineno],
claim=f"本节点准确{core_id}父类及加载条件;只静态读取",
)
)
rs.append(len(sources) - 1)
for d in ast.walk(c):
if isinstance(d, ast.Dict):
for k, v in zip(d.keys, d.values, strict=True):
if (
isinstance(k, ast.Constant)
and isinstance(k.value, str)
and isinstance(v, ast.Tuple)
):
default = "无显式default;动态枚举/方法条件只作参考"
for opts in v.elts[1:]:
if isinstance(opts, ast.Dict):
for dk, dv in zip(opts.keys, opts.values, strict=True):
if (
isinstance(dk, ast.Constant)
and dk.value == "default"
):
default = ast.unparse(dv)
schemas[nid, k.value] = (default, ast.unparse(v))
if (
isinstance(d, ast.Call)
and isinstance(d.func, ast.Attribute)
and (d.func.attr == "Input")
):
arg = (
d.args[0]
if d.args
else next((k.value for k in d.keywords if k.arg == "id"), None)
)
if not isinstance(arg, ast.Constant) or not isinstance(arg.value, str):
continue
name = arg.value
if cls == "TextGenerate" and name in [
"temperature",
"top_k",
"top_p",
"min_p",
"repetition_penalty",
"seed",
"presence_penalty",
]:
name = "sampling_mode." + name
default = next(
(ast.unparse(k.value) for k in d.keywords if k.arg == "default"),
"无显式default,不从execute函数缺省补值",
)
if cls == "SaveImageAdvanced" and name in [
"bit_depth",
"input_color_space",
]:
# Keep the first exact PNG DynamicCombo branch.
schemas.setdefault((nid, "format." + name), (default, ast.unparse(d)))
else:
schemas[nid, name] = (default, ast.unparse(d))
assert len(candidates) <= 1, (nid, candidates)
if not candidates and core_id not in ["unknown", "subgraph-definition"]:
core_id = "unresolved-" + core_id
bindings.append(
dict(
node_id=nid,
class_type=cls,
source_version=version,
source_id=core_id,
candidates=candidates,
)
)
if core_id.replace("unresolved-", "") in [
"goohai",
"rgthree",
"showtext",
"ghgroup",
"ghcompare",
"was",
"vosr",
]:
rs += [
i for i, e in enumerate(manifest) if e["id"] == core_id.replace("unresolved-", "")
]
if cls == "KSampler":
rs += [
i
for i, e in enumerate(manifest)
if e["id"] == core_id and e["file"] == "comfy/samplers.py"
]
if cls in [
"KSampler",
"LoadImage",
"ShowText|pysssss",
"Image Comparer (rgthree)",
"忽略多组孤海",
]:
rs += [i for i, e in enumerate(manifest) if e["id"] in ["frontend", "litegraph"]]
if cls == "QwenImage21Cache":
rs += [
i
for i, e in enumerate(manifest)
if e["id"] == core_id
and e["file"].startswith(("comfy/ldm/qwen_image21/", "comfy_api/latest/"))
]
rs += [i for i, e in enumerate(manifest) if e["id"] == core_id.removeprefix("unresolved-")]
rs += [i for i, e in enumerate(manifest) if e["id"] == "frontend"]
refs[nid] = list(dict.fromkeys(rs))
fields = []
comments = []
flow = []
empty = []
for nid, ptr, scope, n in nodes:
cls = n["type"]
if cls in ["Note", "MarkdownNote"]:
comments.append(
dict(
node_id=nid,
pointer=ptr + "/widgets_values/0",
text=n["widgets_values"][0],
meaning=prose["notes"][nid],
named_pointer=ptr + "/widgets_values_named/text",
named_value=n["widgets_values_named"]["text"],
evidence=[],
)
)
flow.append(nid + " 原注释节点 " + json.dumps(n, ensure_ascii=False))
continue
core_id = next(b["source_id"] for b in bindings if b["node_id"] == nid)
effect = (
editorial[nid]
+ " 原mode="
+ str(n["mode"])
+ (
"(旁路保存态,不模拟穿透或执行)。"
if n["mode"] == 4
else "(mode2禁用/忽略保存态,不模拟组控制或执行)。"
if n["mode"] == 2
else "(活动保存态,不认证执行)。"
)
)
flow += [
effect,
nid + " 原属性 " + json.dumps(n.get("properties", {}), ensure_ascii=False),
nid
+ " 原输入/输出 "
+ json.dumps({k: n[k] for k in ["inputs", "outputs"]}, ensure_ascii=False),
nid
+ " 原具名保存 "
+ json.dumps(n.get("widgets_values_named", "missing"), ensure_ascii=False),
nid
+ " 原其它属性 "
+ json.dumps(
{
k: v
for k, v in n.items()
if k
not in [
"inputs",
"outputs",
"properties",
"widgets_values",
"widgets_values_named",
]
},
ensure_ascii=False,
),
]
if not n.get("widgets_values"):
empty.append(
dict(
node_id=nid,
class_type=cls,
pointer=ptr,
scope=scope,
state="missing" if "widgets_values" not in n else "empty_list",
effect=effect,
named_state="empty_object"
if n.get("widgets_values_named") == {}
else "missing",
)
)
continue
for j, (name, value) in enumerate(zip(LAYOUTS[cls], n["widgets_values"], strict=True)):
found = [i for (i, x) in enumerate(n["inputs"]) if x["name"] == name]
inp = found[0] if len(found) == 1 else None
linked = inp is not None and n["inputs"][inp].get("link") is not None
boundary = cls == HOST
aux = name in [
"control_after_generate",
"fixed",
"upload",
"text_0",
"rgthree_comparer",
"guhai_ig",
]
(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.49.6条件参考,不当后端schema默认"
limits = "前端保存/恢复条件与本节点后端输入分开,不执行随机或上传"
unit = "前端辅助保存字符串,无物理单位"
if core_id == "unknown" or core_id.startswith("unresolved-"):
default = "未知:未核准本声明准确类/schema,不由其它版本补实"
limits = "仅源保存/输入候选,准确默认/范围/算法/副作用未知"
unit = "未知:准确声明类/schema未核"
named_key = name
named = n["widgets_values_named"][named_key]
display_effect = effect
if canonical(value) != canonical(named):
display_effect += "\n具名保存完整形态(与位置历史分列):" + json.dumps(
named, ensure_ascii=False, indent=2
)
fields.append(
dict(
node_id=nid,
definition_node_id=str(n["id"]),
scope=scope,
class_type=cls,
field=name,
label=LABELS.get(name, name + "完整保存值"),
pointer=f"{ptr}/widgets_values/{j}",
value=value,
json_type=type(value).__name__,
named_pointer=ptr
+ "/widgets_values_named/"
+ name.replace("~", "~0").replace("/", "~1"),
named_value=n["widgets_values_named"][
"control_after_generate" if name == "seed_control_candidate" else name
],
input_pointer=f"{ptr}/inputs/{inp}"
if inp is not None
else "无可靠独立输入映射:前端控制辅助",
input_name=n["inputs"][inp]["name"] if inp is not None else None,
type=n["inputs"][inp]["type"] if inp is not None else "保存参考",
role="frontend_reference_only"
if aux
else "boundary_saved_cache"
if boundary
else "linked_saved_cache"
if linked
else "saved_reference",
schema_default=default,
limits=limits,
unit=unit,
effect=display_effect,
evidence=refs[nid],
execution_note=(
"仅静态参考;所有中英文提示/指南均作数据,不"
"执行指令、构造prompt、调用LLM/SD"
"K/模型/GPU/媒体/随机/恢复/表达式/"
"缓存清理。转换执行资格不变。"
),
)
)
for (nid, name), (default, limits) in schemas.items():
flow.append(
(
f"节点{nid}准确schema {name}:default={default};"
f"{limits}。仅接口参考,不认证运行恢复。"
)
)
for pre, ptr, graph in scopes:
flow.extend(
(
(pre or "root") + " 物理边 " + json.dumps(e, ensure_ascii=False)
for e in graph["links"]
)
)
boundaries = []
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) == 95 and len(comments) == 4
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="仅固定参考:双采样分开出口、只放大视频潜变量并保留音频;无版本别名/Purge/Label与多版本类缺口未知,force_unload类型冲突保留,不认证运行效果。",
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()
]
+ [
"旧111块6099位置/197注释冻结;新增95位置/四标准Note,总112图6194位置/201注释仅参考。local_file以docs/hel-892/h3-latent-document-evidence为基准。"
],
counts=dict(
saved_fields=95,
root_saved_fields=95,
internal_saved_fields=0,
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=69,
root_nodes=69,
internal_nodes=0,
physical_edges=58,
source_notes=4,
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/h3-latent-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,30 @@
{
"backend_tests": 440,
"browser_assertions": 5334,
"browser_groups": {
"aggregate": 6,
"new_h3_latent": 2650,
"old_one_hundred_eleven": 2664,
"shared_regressions": 14
},
"screenshots": 36,
"viewed": 14,
"get_equals_export": true,
"source_rows": 74,
"source_closure": 122,
"baseline_frozen": 11908,
"originals": 163,
"reference_documents": 112,
"positions": 6194,
"notes": 201,
"accurate_implementation_nodes": 32,
"unknown_identity_nodes": 32,
"unresolved_implementation_nodes": 1,
"remaining_references": 43,
"final_documents": 0,
"real_executions": 0,
"new_conversions": 0,
"forbidden_requests": 0,
"negative_url_checks_rejected_before_transport": 4,
"final_success_only": true
}
@@ -0,0 +1,9 @@
{
"initial_source_extension": "第一次取证扩展在已经取得7必要文本后,误指旧core metadata目录FileNotFoundError;按manifest identity_root修复,完整来源SHA/commit/tree/blob已核。7文本首次未独立记时,acquisition_time保留unknown,复核另列。",
"formatting": "首次开发Ruff在format前报15项格式/行长问题;format后正式三入口全过,未改检查规则。",
"first_browser": "修订正文源*接口及补充准确预览/潜放接口条件,主动终止自有Node PID1602556;wrapper finally停止服务,初轮原日志/entry保留;不计入最终浏览通过数。",
"source_correction": "草稿把262原*口误写LATENT,已按原件纠正,字段原值未改。",
"history": "SeedVR越界及删除、127错误GET和取消Git grep可能额外blob保留原证据,不改写历史。",
"collector_format": "收紧对账后format首次要求合并中文字符串,触发行长冲突;显式字符串连接修复,正式Ruff/format复验通过,原format诊断另存initial-collector-format.txt。",
"precommit_cache_check": "用途清单入口在提交前发现并拒绝一个开发初轮生成的cpython-310.pyc;已取消暂存并删除该自有缓存,再跑清单;最终无PNG/pyc提交。"
}
@@ -0,0 +1,67 @@
{
"218": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 第二段209.output(slot0)375/376分别给219视频VAE和218音频VAE解码,denoised_output(slot1)[]未接;与第一段使用slot1不同。219 IMAGE418→257无身份PurgeVRAM V2[true,true]→419→220 CreateVideo图像口;audio374直进220。未知Purge只保留源口和原值,不套其它Layer实现的clear_memory/透传/清理或保证无副作用,不执行显存RAM清理。 220 CreateVideo保存[int24,int8,sRGB,none],221 SaveVideo四位置[video/MiniMax_H3,auto,auto,auto];严格核各自准确0.30接口,源COMBO/额外字段及format.codec差异保留,不沿用前图0.33结论或合并auto。准确VIDEO data/UI、metadata、编码/位深条件仅接口参考,不当成实际保存文件、音轨、时长、色彩或质量证明。",
"209": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 第二段209.output(slot0)375/376分别给219视频VAE和218音频VAE解码,denoised_output(slot1)[]未接;与第一段使用slot1不同。219 IMAGE418→257无身份PurgeVRAM V2[true,true]→419→220 CreateVideo图像口;audio374直进220。未知Purge只保留源口和原值,不套其它Layer实现的clear_memory/透传/清理或保证无副作用,不执行显存RAM清理。 220 CreateVideo保存[int24,int8,sRGB,none],221 SaveVideo四位置[video/MiniMax_H3,auto,auto,auto];严格核各自准确0.30接口,源COMBO/额外字段及format.codec差异保留,不沿用前图0.33结论或合并auto。准确VIDEO data/UI、metadata、编码/位深条件仅接口参考,不当成实际保存文件、音轨、时长、色彩或质量证明。",
"212": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136 LATENT271才是第一段125入口。125.output(slot0)是[]未接,denoised_output(slot1)经384送211分离;不把第一段出口误称通用output。211.video_latent420→262放大,audio_latent363直接保留给212;262.video421与原audio363在212拼合,LATENT365才是第二段209入口。准确LTXV嵌套LATENT协议与H3运行兼容条件分开,同名LATENT不证明可执行;音频未放大。 262八保存位置为[模型完整引用,scale by multiplier,float1.5,int32,true,str cuda,str cuda,str fp16];具名force_unload=str cuda,但源输入声明BOOLEAN,device=cuda/precision=fp16仍分别保留。准确schema与源错位/类型差异不归一化,不改成bool或静默重排。mode.scale float1.5受280 Get放大倍数435覆盖;278 float1.5→279 Set同名只是别名意图。准确实现的动态mode/模型加载/卷积/时间分块/轴序/设备/清理条件仅参考,不下载或执行权重,不保证当前1.5倍像素/VRAM效果。 准确0.33 LTXVSeparate对samples.unbind取0视频/1音频,分别copy latent并在有noise_mask时分离两流;Concat先合并两字典,随后构建视频/音频NestedTensor。若video.samples已是AV嵌套则保留其视频并替换音频,fit_audio只在可匹配的一条时间轴条件裁剪/补零,mask按条件构建。源码明确提及MiniMax H3,但当前模型/别名/放大输出和音视频尺寸能否满足协议仍未实跑。",
"211": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136 LATENT271才是第一段125入口。125.output(slot0)是[]未接,denoised_output(slot1)经384送211分离;不把第一段出口误称通用output。211.video_latent420→262放大,audio_latent363直接保留给212;262.video421与原audio363在212拼合,LATENT365才是第二段209入口。准确LTXV嵌套LATENT协议与H3运行兼容条件分开,同名LATENT不证明可执行;音频未放大。 262八保存位置为[模型完整引用,scale by multiplier,float1.5,int32,true,str cuda,str cuda,str fp16];具名force_unload=str cuda,但源输入声明BOOLEAN,device=cuda/precision=fp16仍分别保留。准确schema与源错位/类型差异不归一化,不改成bool或静默重排。mode.scale float1.5受280 Get放大倍数435覆盖;278 float1.5→279 Set同名只是别名意图。准确实现的动态mode/模型加载/卷积/时间分块/轴序/设备/清理条件仅参考,不下载或执行权重,不保证当前1.5倍像素/VRAM效果。 准确0.33 LTXVSeparate对samples.unbind取0视频/1音频,分别copy latent并在有noise_mask时分离两流;Concat先合并两字典,随后构建视频/音频NestedTensor。若video.samples已是AV嵌套则保留其视频并替换音频,fit_audio只在可匹配的一条时间轴条件裁剪/补零,mask按条件构建。源码明确提及MiniMax H3,但当前模型/别名/放大输出和音视频尺寸能否满足协议仍未实跑。",
"220": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 第二段209.output(slot0)375/376分别给219视频VAE和218音频VAE解码,denoised_output(slot1)[]未接;与第一段使用slot1不同。219 IMAGE418→257无身份PurgeVRAM V2[true,true]→419→220 CreateVideo图像口;audio374直进220。未知Purge只保留源口和原值,不套其它Layer实现的clear_memory/透传/清理或保证无副作用,不执行显存RAM清理。 220 CreateVideo保存[int24,int8,sRGB,none],221 SaveVideo四位置[video/MiniMax_H3,auto,auto,auto];严格核各自准确0.30接口,源COMBO/额外字段及format.codec差异保留,不沿用前图0.33结论或合并auto。准确VIDEO data/UI、metadata、编码/位深条件仅接口参考,不当成实际保存文件、音轨、时长、色彩或质量证明。 准确core0.30 CreateVideo确实仅fps FLOAT1..120默认30和可选bit_depth INT8..10步2默认8,本图int8原样;源bit_depth口为COMBO的接口差异与额外color_space/codec分别保留,非沿用前图结论。0.30 SaveVideo的format为Combo,codec为DynamicCombo(auto/h264含encoding分支),执行读codec[\"codec\"];源动态format/额外format.codec/codec字符串auto不证明恢复成该字典。metadata受disable_metadata/hidden控制,VIDEO结果及PreviewVideo保存条件仅源码参考。",
"123": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"219": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 第二段209.output(slot0)375/376分别给219视频VAE和218音频VAE解码,denoised_output(slot1)[]未接;与第一段使用slot1不同。219 IMAGE418→257无身份PurgeVRAM V2[true,true]→419→220 CreateVideo图像口;audio374直进220。未知Purge只保留源口和原值,不套其它Layer实现的clear_memory/透传/清理或保证无副作用,不执行显存RAM清理。 220 CreateVideo保存[int24,int8,sRGB,none],221 SaveVideo四位置[video/MiniMax_H3,auto,auto,auto];严格核各自准确0.30接口,源COMBO/额外字段及format.codec差异保留,不沿用前图0.33结论或合并auto。准确VIDEO data/UI、metadata、编码/位深条件仅接口参考,不当成实际保存文件、音轨、时长、色彩或质量证明。",
"257": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 第二段209.output(slot0)375/376分别给219视频VAE和218音频VAE解码,denoised_output(slot1)[]未接;与第一段使用slot1不同。219 IMAGE418→257无身份PurgeVRAM V2[true,true]→419→220 CreateVideo图像口;audio374直进220。未知Purge只保留源口和原值,不套其它Layer实现的clear_memory/透传/清理或保证无副作用,不执行显存RAM清理。 220 CreateVideo保存[int24,int8,sRGB,none],221 SaveVideo四位置[video/MiniMax_H3,auto,auto,auto];严格核各自准确0.30接口,源COMBO/额外字段及format.codec差异保留,不沿用前图0.33结论或合并auto。准确VIDEO data/UI、metadata、编码/位深条件仅接口参考,不当成实际保存文件、音轨、时长、色彩或质量证明。",
"119": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"142": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 模型物理链127 UNET→287→142 KJ patch→295→147 LoRA→327→149 SigmaShift→436→178 AttentionBackend→386→224 Set model。原UNET为MiniMax目录fl2va_pruned_int8/default,LoRA为fl2v_turbo_8step/int1;模型文件名不认证与ref2va任务兼容、安装、许可或八步效果。149保存JSON int12/int3;178保存comfy kitchen attention,按各自准确0.31类核,不执行patch/LoRA/attention/shift。 准确KJ3f2 patch先校验sageattention CUDA架构与core kitchen支持/模型类型,clone后为各块attn.forward添加object patch;导入失败可不注册,后续178链不认证覆盖次序的实际效果。预览类clone并添加OUTER_SAMPLE wrapper,分辨率像素、JPEG质量、预览帧数和播放fps按schema,tiny_vae默认none而源taeh3文件独立;源额外preview空串无准确schema。tiny_vae/队列、媒体编码/发送回调仅静态依赖参考,未导入探测NVENC、加载权重或采样。",
"149": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 模型物理链127 UNET→287→142 KJ patch→295→147 LoRA→327→149 SigmaShift→436→178 AttentionBackend→386→224 Set model。原UNET为MiniMax目录fl2va_pruned_int8/default,LoRA为fl2v_turbo_8step/int1;模型文件名不认证与ref2va任务兼容、安装、许可或八步效果。149保存JSON int12/int3;178保存comfy kitchen attention,按各自准确0.31类核,不执行patch/LoRA/attention/shift。",
"227": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"120": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"226": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"247": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"244": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 124 simple/int8/int1→415→254 H3SigmaRefiner[extra_steps int1,start_at_sigma float0.7,end_at_sigma int0,linear]→416→208 SplitSigmas[int4]。208.high_sigmas354直给第一段125且403到Set sigma01;low_sigmas402到Set sigma02,244 Get sigma02→406给第二段209。这里只列准确实现静态条件,不求值sigmas或推导总步数/无缝效果;Set sigma01并不替代已存在的354物理线。",
"237": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"236": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"246": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"265": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"242": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"241": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"126": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"245": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"234": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"235": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"128": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"229": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136保存空prompt/1344/768/124/match。271 Get提示词→430覆盖prompt;232/233 Get宽高经396/397覆盖尺寸;229 Get帧长→393覆盖length。138完整10512英文/LF126/无尾LF→269 Set提示词,与271同名Get只有名称意图;282独立2231英文/LF4/无尾LF,输出links=null未消费,不能称生效。完整文字、类型、换行和独立SHA保留,不执行文本或自动翻译。",
"233": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136保存空prompt/1344/768/124/match。271 Get提示词→430覆盖prompt;232/233 Get宽高经396/397覆盖尺寸;229 Get帧长→393覆盖length。138完整10512英文/LF126/无尾LF→269 Set提示词,与271同名Get只有名称意图;282独立2231英文/LF4/无尾LF,输出links=null未消费,不能称生效。完整文字、类型、换行和独立SHA保留,不执行文本或自动翻译。",
"232": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136保存空prompt/1344/768/124/match。271 Get提示词→430覆盖prompt;232/233 Get宽高经396/397覆盖尺寸;229 Get帧长→393覆盖length。138完整10512英文/LF126/无尾LF→269 Set提示词,与271同名Get只有名称意图;282独立2231英文/LF4/无尾LF,输出links=null未消费,不能称生效。完整文字、类型、换行和独立SHA保留,不执行文本或自动翻译。",
"253": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 268 Get model→141预览覆盖→248 Set预览模型;253 Get预览模型物理413/414分别给126 Guider和124 Scheduler。224/268、248/253仅同名别名意图,Set/Get缺准确版本,不能补成物理边或认证前端路由。141七保存位置[1024,80,true,1,24,taeh3.safetensors,空串]保留,266 Get帧长接141口6覆盖preview_frames缓存1;不下载/加载TAE或运行预览。",
"248": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 268 Get model→141预览覆盖→248 Set预览模型;253 Get预览模型物理413/414分别给126 Guider和124 Scheduler。224/268、248/253仅同名别名意图,Set/Get缺准确版本,不能补成物理边或认证前端路由。141七保存位置[1024,80,true,1,24,taeh3.safetensors,空串]保留,266 Get帧长接141口6覆盖preview_frames缓存1;不下载/加载TAE或运行预览。",
"131": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。",
"266": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 268 Get model→141预览覆盖→248 Set预览模型;253 Get预览模型物理413/414分别给126 Guider和124 Scheduler。224/268、248/253仅同名别名意图,Set/Get缺准确版本,不能补成物理边或认证前端路由。141七保存位置[1024,80,true,1,24,taeh3.safetensors,空串]保留,266 Get帧长接141口6覆盖preview_frames缓存1;不下载/加载TAE或运行预览。",
"268": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 268 Get model→141预览覆盖→248 Set预览模型;253 Get预览模型物理413/414分别给126 Guider和124 Scheduler。224/268、248/253仅同名别名意图,Set/Get缺准确版本,不能补成物理边或认证前端路由。141七保存位置[1024,80,true,1,24,taeh3.safetensors,空串]保留,266 Get帧长接141口6覆盖preview_frames缓存1;不下载/加载TAE或运行预览。",
"231": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。",
"230": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。",
"228": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。",
"271": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136保存空prompt/1344/768/124/match。271 Get提示词→430覆盖prompt;232/233 Get宽高经396/397覆盖尺寸;229 Get帧长→393覆盖length。138完整10512英文/LF126/无尾LF→269 Set提示词,与271同名Get只有名称意图;282独立2231英文/LF4/无尾LF,输出links=null未消费,不能称生效。完整文字、类型、换行和独立SHA保留,不执行文本或自动翻译。",
"124": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 124 simple/int8/int1→415→254 H3SigmaRefiner[extra_steps int1,start_at_sigma float0.7,end_at_sigma int0,linear]→416→208 SplitSigmas[int4]。208.high_sigmas354直给第一段125且403到Set sigma01;low_sigmas402到Set sigma02,244 Get sigma02→406给第二段209。这里只列准确实现静态条件,不求值sigmas或推导总步数/无缝效果;Set sigma01并不替代已存在的354物理线。",
"240": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 124 simple/int8/int1→415→254 H3SigmaRefiner[extra_steps int1,start_at_sigma float0.7,end_at_sigma int0,linear]→416→208 SplitSigmas[int4]。208.high_sigmas354直给第一段125且403到Set sigma01;low_sigmas402到Set sigma02,244 Get sigma02→406给第二段209。这里只列准确实现静态条件,不求值sigmas或推导总步数/无缝效果;Set sigma01并不替代已存在的354物理线。",
"239": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 124 simple/int8/int1→415→254 H3SigmaRefiner[extra_steps int1,start_at_sigma float0.7,end_at_sigma int0,linear]→416→208 SplitSigmas[int4]。208.high_sigmas354直给第一段125且403到Set sigma01;low_sigmas402到Set sigma02,244 Get sigma02→406给第二段209。这里只列准确实现静态条件,不求值sigmas或推导总步数/无缝效果;Set sigma01并不替代已存在的354物理线。",
"254": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 124 simple/int8/int1→415→254 H3SigmaRefiner[extra_steps int1,start_at_sigma float0.7,end_at_sigma int0,linear]→416→208 SplitSigmas[int4]。208.high_sigmas354直给第一段125且403到Set sigma01;low_sigmas402到Set sigma02,244 Get sigma02→406给第二段209。这里只列准确实现静态条件,不求值sigmas或推导总步数/无缝效果;Set sigma01并不替代已存在的354物理线。 准确YC14620729静态refine:extra_steps<=0直接返回;在CPU找首个sigma<=start_at_sigma,找不到或仅剩末点直接返回;保留前段,尾段插值加点,结束边界取end与原末点较大值,cosine/linear/exponential分布后在特定原末0条件补0,再回原device/dtype。本图源linear而schema默认cosine,源end JSON int0与FLOAT默认0.0分列;不运行算法或承诺运动边缘质量。SplitSigmas准确高段sigmas[:step+1]、低段sigmas[step:]共享边界,未计算当前序列。",
"208": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 124 simple/int8/int1→415→254 H3SigmaRefiner[extra_steps int1,start_at_sigma float0.7,end_at_sigma int0,linear]→416→208 SplitSigmas[int4]。208.high_sigmas354直给第一段125且403到Set sigma01;low_sigmas402到Set sigma02,244 Get sigma02→406给第二段209。这里只列准确实现静态条件,不求值sigmas或推导总步数/无缝效果;Set sigma01并不替代已存在的354物理线。 准确YC14620729静态refine:extra_steps<=0直接返回;在CPU找首个sigma<=start_at_sigma,找不到或仅剩末点直接返回;保留前段,尾段插值加点,结束边界取end与原末点较大值,cosine/linear/exponential分布后在特定原末0条件补0,再回原device/dtype。本图源linear而schema默认cosine,源end JSON int0与FLOAT默认0.0分列;不运行算法或承诺运动边缘质量。SplitSigmas准确高段sigmas[:step+1]、低段sigmas[step:]共享边界,未计算当前序列。",
"125": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136 LATENT271才是第一段125入口。125.output(slot0)是[]未接,denoised_output(slot1)经384送211分离;不把第一段出口误称通用output。211.video_latent420→262放大,audio_latent363直接保留给212;262.video421与原audio363在212拼合,LATENT365才是第二段209入口。准确LTXV嵌套LATENT协议与H3运行兼容条件分开,同名LATENT不证明可执行;音频未放大。 262八保存位置为[模型完整引用,scale by multiplier,float1.5,int32,true,str cuda,str cuda,str fp16];具名force_unload=str cuda,但源输入声明BOOLEAN,device=cuda/precision=fp16仍分别保留。准确schema与源错位/类型差异不归一化,不改成bool或静默重排。mode.scale float1.5受280 Get放大倍数435覆盖;278 float1.5→279 Set同名只是别名意图。准确实现的动态mode/模型加载/卷积/时间分块/轴序/设备/清理条件仅参考,不下载或执行权重,不保证当前1.5倍像素/VRAM效果。",
"269": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136保存空prompt/1344/768/124/match。271 Get提示词→430覆盖prompt;232/233 Get宽高经396/397覆盖尺寸;229 Get帧长→393覆盖length。138完整10512英文/LF126/无尾LF→269 Set提示词,与271同名Get只有名称意图;282独立2231英文/LF4/无尾LF,输出links=null未消费,不能称生效。完整文字、类型、换行和独立SHA保留,不执行文本或自动翻译。",
"136": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136保存空prompt/1344/768/124/match。271 Get提示词→430覆盖prompt;232/233 Get宽高经396/397覆盖尺寸;229 Get帧长→393覆盖length。138完整10512英文/LF126/无尾LF→269 Set提示词,与271同名Get只有名称意图;282独立2231英文/LF4/无尾LF,输出links=null未消费,不能称生效。完整文字、类型、换行和独立SHA保留,不执行文本或自动翻译。",
"272": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 四MarkdownNote117/255/140/281完整1670/526/452/129码点、LF38/9/16/5、尾LF有/有/有/无、字面反斜杠n均0;模型/安装链接/潜放例子只作者建议,不访问素材URL/帮助/权重或计算示例像素。272 Label缺widgets,原属性字体/文字/空链接保留,不赋默认类,不加载字体或证明恢复。",
"141": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 268 Get model→141预览覆盖→248 Set预览模型;253 Get预览模型物理413/414分别给126 Guider和124 Scheduler。224/268、248/253仅同名别名意图,Set/Get缺准确版本,不能补成物理边或认证前端路由。141七保存位置[1024,80,true,1,24,taeh3.safetensors,空串]保留,266 Get帧长接141口6覆盖preview_frames缓存1;不下载/加载TAE或运行预览。 准确KJ3f2 patch先校验sageattention CUDA架构与core kitchen支持/模型类型,clone后为各块attn.forward添加object patch;导入失败可不注册,后续178链不认证覆盖次序的实际效果。预览类clone并添加OUTER_SAMPLE wrapper,分辨率像素、JPEG质量、预览帧数和播放fps按schema,tiny_vae默认none而源taeh3文件独立;源额外preview空串无准确schema。tiny_vae/队列、媒体编码/发送回调仅静态依赖参考,未导入探测NVENC、加载权重或采样。 141源额外audio_vae未接,但准确3f2预览schema没有audio_vae;源preview空串也没有准确输入。115额外preview输入无对应保存位置,不造第四控件;131 values.b未接为null,FLOAT/BOOL输出links均[],INT392是唯一输出物理消费。空数组与null独立保留。",
"279": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。",
"278": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。",
"282": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136保存空prompt/1344/768/124/match。271 Get提示词→430覆盖prompt;232/233 Get宽高经396/397覆盖尺寸;229 Get帧长→393覆盖length。138完整10512英文/LF126/无尾LF→269 Set提示词,与271同名Get只有名称意图;282独立2231英文/LF4/无尾LF,输出links=null未消费,不能称生效。完整文字、类型、换行和独立SHA保留,不执行文本或自动翻译。",
"129": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"221": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 第二段209.output(slot0)375/376分别给219视频VAE和218音频VAE解码,denoised_output(slot1)[]未接;与第一段使用slot1不同。219 IMAGE418→257无身份PurgeVRAM V2[true,true]→419→220 CreateVideo图像口;audio374直进220。未知Purge只保留源口和原值,不套其它Layer实现的clear_memory/透传/清理或保证无副作用,不执行显存RAM清理。 220 CreateVideo保存[int24,int8,sRGB,none],221 SaveVideo四位置[video/MiniMax_H3,auto,auto,auto];严格核各自准确0.30接口,源COMBO/额外字段及format.codec差异保留,不沿用前图0.33结论或合并auto。准确VIDEO data/UI、metadata、编码/位深条件仅接口参考,不当成实际保存文件、音轨、时长、色彩或质量证明。 准确core0.30 CreateVideo确实仅fps FLOAT1..120默认30和可选bit_depth INT8..10步2默认8,本图int8原样;源bit_depth口为COMBO的接口差异与额外color_space/codec分别保留,非沿用前图结论。0.30 SaveVideo的format为Combo,codec为DynamicCombo(auto/h264含encoding分支),执行读codec[\"codec\"];源动态format/额外format.codec/codec字符串auto不证明恢复成该字典。metadata受disable_metadata/hidden控制,VIDEO结果及PreviewVideo保存条件仅源码参考。",
"127": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 模型物理链127 UNET→287→142 KJ patch→295→147 LoRA→327→149 SigmaShift→436→178 AttentionBackend→386→224 Set model。原UNET为MiniMax目录fl2va_pruned_int8/default,LoRA为fl2v_turbo_8step/int1;模型文件名不认证与ref2va任务兼容、安装、许可或八步效果。149保存JSON int12/int3;178保存comfy kitchen attention,按各自准确0.31类核,不执行patch/LoRA/attention/shift。",
"147": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 模型物理链127 UNET→287→142 KJ patch→295→147 LoRA→327→149 SigmaShift→436→178 AttentionBackend→386→224 Set model。原UNET为MiniMax目录fl2va_pruned_int8/default,LoRA为fl2v_turbo_8step/int1;模型文件名不认证与ref2va任务兼容、安装、许可或八步效果。149保存JSON int12/int3;178保存comfy kitchen attention,按各自准确0.31类核,不执行patch/LoRA/attention/shift。",
"132": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。",
"139": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"280": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。",
"262": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136 LATENT271才是第一段125入口。125.output(slot0)是[]未接,denoised_output(slot1)经384送211分离;不把第一段出口误称通用output。211.video_latent420→262放大,audio_latent363直接保留给212;262.video421与原audio363在212拼合,LATENT365才是第二段209入口。准确LTXV嵌套LATENT协议与H3运行兼容条件分开,同名LATENT不证明可执行;音频未放大。 262八保存位置为[模型完整引用,scale by multiplier,float1.5,int32,true,str cuda,str cuda,str fp16];具名force_unload=str cuda,但源输入声明BOOLEAN,device=cuda/precision=fp16仍分别保留。准确schema与源错位/类型差异不归一化,不改成bool或静默重排。mode.scale float1.5受280 Get放大倍数435覆盖;278 float1.5→279 Set同名只是别名意图。准确实现的动态mode/模型加载/卷积/时间分块/轴序/设备/清理条件仅参考,不下载或执行权重,不保证当前1.5倍像素/VRAM效果。 准确LBH52a schema没有enable_temporal_chunking或force_unload输入,只有keep_proportion BOOLEAN默认true;不能将源true静默改名对应keep_proportion,也不能将str cuda补成卸载开关。准确动态mode要求字典mode[\"mode\"]/mode[\"scale\"],源平面保存mode.scale与字符串选项不认证typed payload/恢复。源latent输入/输出均为*,准确AnyType只说明宽类型协议,不证明当前H3张量/权重兼容。 LBH准确实现按BC THW五维(四维时插入T)读取samples,copy=True转设备dtype;按VAE网格对齐,仅静态描述,不代入当前尺寸。源码保持输入T,Conv3D含空间卷积和可选时间depthwise卷积,但没有按源enable_temporal_chunking分块分支;归一化→模型→反归一化后返回CPU/原dtype的samples字典,CUDA条件empty_cache,不清空MODEL_CACHE或按force_unload卸载;其它latent键不由返回保证保留。model_name/device/precision为缓存键,动态扫描latent_upscale_models,safetensors与pth加载路径不同,模型架构/strict权重加载均未执行;真实内存/兼容性未知。",
"178": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 模型物理链127 UNET→287→142 KJ patch→295→147 LoRA→327→149 SigmaShift→436→178 AttentionBackend→386→224 Set model。原UNET为MiniMax目录fl2va_pruned_int8/default,LoRA为fl2v_turbo_8step/int1;模型文件名不认证与ref2va任务兼容、安装、许可或八步效果。149保存JSON int12/int3;178保存comfy kitchen attention,按各自准确0.31类核,不执行patch/LoRA/attention/shift。",
"224": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 模型物理链127 UNET→287→142 KJ patch→295→147 LoRA→327→149 SigmaShift→436→178 AttentionBackend→386→224 Set model。原UNET为MiniMax目录fl2va_pruned_int8/default,LoRA为fl2v_turbo_8step/int1;模型文件名不认证与ref2va任务兼容、安装、许可或八步效果。149保存JSON int12/int3;178保存comfy kitchen attention,按各自准确0.31类核,不执行patch/LoRA/attention/shift。",
"138": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 136保存空prompt/1344/768/124/match。271 Get提示词→430覆盖prompt;232/233 Get宽高经396/397覆盖尺寸;229 Get帧长→393覆盖length。138完整10512英文/LF126/无尾LF→269 Set提示词,与271同名Get只有名称意图;282独立2231英文/LF4/无尾LF,输出links=null未消费,不能称生效。完整文字、类型、换行和独立SHA保留,不执行文本或自动翻译。",
"273": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"115": "根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。 版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。 115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。"
}
@@ -0,0 +1,19 @@
[
{
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_h3_latent_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/h3-latent-document-evidence/*.py calliope-backend/tests/test_h3_latent_fixed_document.py e2e/run-h3-latent-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 0,
"log": "ruff-entry.txt",
"rechecked_after": "strict collector /api/jobs +0/+1, events/fixed zero"
},
{
"command": "uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/h3-latent-document-evidence/*.py calliope-backend/tests/test_h3_latent_fixed_document.py e2e/run-h3-latent-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 0,
"log": "format-entry.txt",
"rechecked_after": "strict collector /api/jobs +0/+1, events/fixed zero"
}
]
@@ -0,0 +1,980 @@
{
"base": "e28c058cb40a32fd009a437a03b66464eb902672",
"self_excluded": true,
"self_path": "docs/hel-892/h3-latent-document-evidence/file-purpose-sha256.json",
"reason": "清单不递归摘要自身;最终head/完整补丁另在提交后交付包中",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
"bytes": 24959,
"sha256": "77678cd39821830bdea7d3e57483f72e473e56a31967667cdc5c65d11c026b45"
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
"bytes": 30610832,
"sha256": "5a481846ffc14468f24f491db388c335dc9fb4592131259911f69bd8f01494d0"
},
{
"path": "calliope-backend/tests/test_h3_latent_fixed_document.py",
"purpose": "本图逐保存位置/完整长字符串/全图和调用方重哈希失败关闭测试",
"bytes": 8576,
"sha256": "2d2e2559f2bb9526674b6c861b64aed248a681b57775e6be0631240339d15636"
},
{
"path": "docs/hel-892/H3多参考双采样潜空间放大固定参考中文说明.md",
"purpose": "95位置和四标准Note/自定义原属性完整中文固定参考说明",
"bytes": 1609520,
"sha256": "5a9d069f515676e277f760916ac21485e202a0164822704b6b7b4316b963d19d"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/actual-MiniMax_H3_多参考_双采样潜空间放大.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 817091,
"sha256": "0d9acd622a2e334d8b8d339b021f7b1f5b6b8eef2f183698039071d8fa262ca2"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/actual-get.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 852194,
"sha256": "257cf9b468a10d967d3c8ad6600643b4e6d1ed220bbf01f064b2cc9fc84f8a43"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/audit-summary.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 797,
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/backend-build.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 211,
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/backend-request-counts.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 3737,
"sha256": "760797096e62a448a12e114045150ef886fd51509f8b1c797150bf3c4d48f8b4"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/backend-tests.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1200,
"sha256": "12afb6c3811371ab09102f261734158a6223ba4497fd6b22afd0fe0ea8080e23"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/baseline-frozen-files.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 2865161,
"sha256": "bee1b6268a9b93258179a55650a9087f9615945a0c89785bb3c3ce2ce4df9b49"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/boundaries.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 38620,
"sha256": "0b4baf8d1d4b89527e617db94e2e70c245ab65f0a15f265b18b7393dabd2ebcb"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/browser-entry-executed.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 425,
"sha256": "82505f5c9a1b2dee39404feab373125a9396cafa3b0d54adef8021015e5e9bf1"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/browser-results.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 372223,
"sha256": "26ce93dc380b8d3c2b490990d47f4a61d2de440aa6efc26c62f348f3411e4945"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/browser-run-log.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 322146,
"sha256": "0e3414c45a9c92c46a0c9fe4a60bdd8580fcbc94b58189e4db8caece227ba68b"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/build_definition.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 23945,
"sha256": "f208b3bb8e5dcb604d2c9dcf749fa42cfe9a86eeca43857b342937673fdd3b68"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/collect_browser.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 3215,
"sha256": "ebd26b873e905cb1a7406d259c0c78acb200b9e4573a2d04e1e47eae49756fe0"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/definition-0.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 704144,
"sha256": "f4c99f01d43486fc23fb7db09a9cdb49ecb3c6f43a9928e91b1ac1d157221295"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/delivery-summary.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 747,
"sha256": "184cc77e911ae47fe50327ac3c02f2336ec3e2ba8668a07f7dd1511975b297ac"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/development-record.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1288,
"sha256": "fb5f661daefe76a50f289841f92dc36f01057e1f8aeee30248b9b5b22063e24c"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/editorial.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 84383,
"sha256": "37c330b658aa11df9ae09ca53595ceb5e1133b1ca6d140cbd3d74c46d942db61"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/entry-executed.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1150,
"sha256": "fcbf27da4ae369fe8341c7f03d98e11e3cda9cbae950ba1cad9d1a1e630e08b1"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/fixed-source-index.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 139520,
"sha256": "da648a126d3603fb12a8385c74026e730ff24665dd7fb0eb6fae8cfca1aac277"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/format-entry.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 27,
"sha256": "04eb0d6e6734823dcd2b2b704729e976f683df7a8f334da7216520ef1cb319bf"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/freeze.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 2452,
"sha256": "2da492ffeaa22c26981c55b47455df88b5eb903f93c0c8ca1d139c29b9b6cb9b"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/frontend-build.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 24100,
"sha256": "119a4de5a5c4c975a423083552c7f5ce23c94bacdc1cdf6049d8b9c1f1406d71"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/frozen-resource-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 40348,
"sha256": "026c5150429282504ebba565e8c13c5943e031b1fb91942fb125c13f32357144"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/get-binding.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 437,
"sha256": "83a7ee9f37c04eb0f285dc8227426f678a4137f80e7b463a803412c84942ea00"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/identity-gaps.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 12749,
"sha256": "02158d0b1575ba221ebd91eb64f25b0474af27b9310737e481d8a085b00b64dd"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/import-protection.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1272,
"sha256": "c1a262cfa97a5b394c55af63eb2e07d14cc3d2424c3c9343941dfc936fcdc36e"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/independent-inventory.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 62588,
"sha256": "d03fd73b77e07fc1e366d207e5624e8791a925a83326a47c21d2d189e6ca2710"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/initial-browser-cancelled.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 204115,
"sha256": "f464dc25b92dcaaa4ec827f9289fb085b1060629dc68f1a0871e8efcc6774d86"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/initial-browser-entry.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 425,
"sha256": "cd05f12348ac3b4fed0d47c67c964f887a4cb701463909148a7bba8a998e8a73"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/initial-collector-format.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 491,
"sha256": "79741e4590da5160daa32e4f209fba5e30e455118df8f21a57fa4ff32b91a7ca"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/initial-source-extension.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 795,
"sha256": "94baa9440bdf6bdedeace7e489eaf5a9c0cac9af501ca32f7ef163377fac227c"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/inventory.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 3504,
"sha256": "b74241265d1fa0e3c7b086c7ba08c9bd8b70ee33d230b77166cf724dd0567d58"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/js-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 101,
"sha256": "fcccff8e239c00e32cc65d072c730ecf4904d6cce328103853093a85d1cbea0b"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/js-check.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/json-pointer-delta.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 468,
"sha256": "9749db0396de5247a3bc8933d83cbfc9241c77c11e5ccab49a948a04925232e9"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/long-text-sha256.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1262,
"sha256": "2140f38ddf46f7e247411c71c9f3b74bd1ee4f7ebea43b18dd9de768d57783fc"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/node-version-bindings.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 14054,
"sha256": "65bb05ae70721e79462cd8157dea053bb51f2f6f7331ae456a318af17c641cb3"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/originals-163-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 46597,
"sha256": "eb2521d83dd63a96630ac9cb55ab62d6ba1847d7fdbb8ac1f3f72d68d6eece2b"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/package-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 553,
"sha256": "3fa19c7fb9c2ce7bc1d4083c164e1729868005b787f881e07697e63af0f52144"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/pins.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 179,
"sha256": "4e027a41f1c1f46d7d22321c3c0623e6a9afdaa4761aabdb6094e10fce42dceb"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/ports-independent.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 165,
"sha256": "1e487821f761ab96db779fb3b6fb5e5411005f9027f12a880a779aefb23c50bc"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/prose.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 16094,
"sha256": "fe73d74fb6e849d1601d01259e03a568955022be71e8b99ca3fc3b5fce522ce8"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/rebuild.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 2372,
"sha256": "e0fc82a0d242bfcf0a837e46226e76a5fc6fc760c02e5cb77df53eb27be67c82"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/recompute.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 13535,
"sha256": "c8d82131c4382a2f63fc1dd323474cf6e3725ec30f280b49ed4066c8e827bcbc"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/recompute.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 265,
"sha256": "ca96d43879912fdb34456e262939905ec04c003c86b91b3bb7ff53be9eb16ed5"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/render_report.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 5053,
"sha256": "069d840b2feb61707f90ef975567396476b4e7bf9a805036058352235e95cb23"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/repeat.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1344,
"sha256": "8379c65c24c204d23a088017d5999f6dcf0a786e0becb9f189898e174b7b48ec"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/repeatability.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 437,
"sha256": "af201ad50a75237a18edc04c0867a643959e8767ce7a84e541779b07a14f8f37"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/review-delta.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 406,
"sha256": "c84a5b7be107c36bacabddb2198511d6d92144501df90dbff7c03fa1cb10a581"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/ruff-entry.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 19,
"sha256": "82b3e6a6c090a57601d22943bd23fca9218d1031dbe5a7b754092f9a156b4f18"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/saved-type-counts.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 211,
"sha256": "fa8db8654859c936469d89ccc77bb985e0508dc52f7c6328acdc7fdc9e45bee0"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/scoped-diff-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 390,
"sha256": "cb51bc02c84b30be52ed686767127ced5551f56db35133bd695f0a5a96cddf4f"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/scoped-diff-check.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 0,
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/screenshot-review.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 2431,
"sha256": "64419b89bfa2f8dc7e7f58a5a6e4d90bf485a8b049864ca5735dd6c5e332b41b"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/service-0.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 26415,
"sha256": "c8d45b827e968a784f4d75f01c70e3ef0e063defbf712039614de7a9bbe3cc44"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/service-1.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 72,
"sha256": "e5f23f3e54c998b2e91f271d65a733d5f7ccc284a9946af8018b6662c06619b1"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/service-stop.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 65,
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/source-check.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 25046,
"sha256": "54a23b42934f87b36b82cad33ebe9d94aa54848a2752bca92b36942c0deb426e"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/source-closure.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 32794,
"sha256": "6d3bd2465e8025c156c3ff0b091e770da3c0cf00e939a4cba52a9aa7ae95674f"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/source-reproduction.md",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 1399,
"sha256": "0da092dbdc3b0638477940e48f84a01e95376d19c291d339914c556a513a068e"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/source_closure.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 2823,
"sha256": "7697acd24722daaa4dcf36f838e868122d3884a03c1b1c8385506f7fec4140df"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/validation-commands.txt",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 2691,
"sha256": "51695524dc50d3874e8cd03868114c4aa4e67b5b6b02ba64ca1b408ad9b836a5"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/verification-times.json",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 457,
"sha256": "7fc07ea62fa0224214b9e3cf1f043dfbf3e33aa734a39c842a7c08c00a57c726"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/verify_sources.py",
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
"bytes": 8844,
"sha256": "91a32b5c810e47edadd27906387799a57324a4532f2d0b499f180f2ef4c2b23b"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "3f824fe9f5ba22f0bb5c9a0a8e5fbae2c2d5880bd053357c0279664c9bb1792d"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 88,
"sha256": "c0d597c40fe2b8ed87d94a58df3d8c9f066050a111d1c6240cb26bdc33b244ce"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 135,
"sha256": "0048f119bf2e80b19391eab77017c96a7d00ecd85e5f255f3a93cfcc1b8ffdc2"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "3f824fe9f5ba22f0bb5c9a0a8e5fbae2c2d5880bd053357c0279664c9bb1792d"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 167221,
"sha256": "a2e7ed06a3f17c3296e3d79ec9bfeee6236737c652fae89d9c8b854182197ecf"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__LICENSE",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 35149,
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__ldm__minimax__audio_vae.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 15789,
"sha256": "3e00d398b25d68dc39ca0eb589fc7549f3693b6bfaf08ef920e7ad2a7a803cba"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__ldm__minimax__vae.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 27268,
"sha256": "48f395958b0158cd513530bc74102d0c1a8c158276cf1c5d84f70ce1c2026f2e"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__nested_tensor.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 2500,
"sha256": "e10a0eacb4752ea24fbe354d9388de3ae1d36fb611a5ff39bae816b0e9526ca1"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__samplers.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 64283,
"sha256": "b9f5e22d0d65b5e78cd4dcc763e702369869dc92cf4371dc52bbecaf0733fe49"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__sd.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 129601,
"sha256": "7efb10f22252446069a0b88f0a8bc2d94713696d9f946d7757a0981ae8101b58"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__text_encoders__minimax.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 9514,
"sha256": "751b2876c9f151f8c09576dadf4122aea84400d3147917202c70ce2c15b16e89"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest____init__.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 6307,
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___input__video_types.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 4751,
"sha256": "8d2eea0fd4c1b5f6f33263d17b0d282e1b2d338570946ff30090689ac1802932"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___input_impl__video_types.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 44175,
"sha256": "f838d6d3e113c5f885e44fd056c32caa7d9549736663fe669f2b96c39422386b"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___io.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 93196,
"sha256": "ac986092cace7600461b8547e21f770126958d8c15eef59d79d6709cca4b7717"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___io_public.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 33,
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___ui.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 18205,
"sha256": "842ac7eeb8484fbd1746436daf4368b002e2268ff4aafd4d4682a5b24c6ba794"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___ui_public.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 33,
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___util____init__.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 314,
"sha256": "d119ea71c1bb687ea1a198344d164fa8b6b10f98fb2925bc040132a32672062a"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___util__video_types.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 1286,
"sha256": "5d2f7dd2b82aecec3c05f8f5bd9519530736825d33590207ea0aa32b8cc8627f"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_audio.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 33505,
"sha256": "82bb9dcf191a84cb0695bc2533602f7956e29a81a1176965556350b02e1bd67e"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_custom_sampler.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 49623,
"sha256": "3fb59bf45aaf19b2f87099b559c789f94716a90088c6c4ac8a85c53b3c99c59b"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_math.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 3784,
"sha256": "b117db3e5eadf7e1689a7a2edaad9436bb6282ab3d57865ec2cd78004de9fb88"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_minimax_h3.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 15633,
"sha256": "5c3f78efef772850f90660c5ff82e31078b5baef10f427053ed82fb8b4a7ecd1"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_model_advanced.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 13665,
"sha256": "ffa70c4bb3568537ba13b368092d2599b861db7c83b1bcfa41347058b40dcba7"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_model_patch.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 41900,
"sha256": "44367a762417d88ddac58d37602f03eafb95c676a1ca3e020e24c18e123fb4e6"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_primitive.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 3030,
"sha256": "ee3882214ebdd0d20c8061691075cebb1642c303e162f6d22ae525d75aa59b2d"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_resolution.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 3233,
"sha256": "2c6ca2d3d91a7f2945642729233ab015983a574d53a50a91caff60aa9b950090"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_video.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 13402,
"sha256": "727653159de9a6e9d5b37b1101d3ece5df7dce8fc6a5a3a1f27e260afcfa6c14"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__folder_paths.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 23156,
"sha256": "b748be5d1e068ad673f6c4de069fb6b7b723405c40ae3c3c44465d416f7df2db"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__nodes.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 107266,
"sha256": "fe5f544ccfa777fd49f1e87649a66cf6946fde53cab8e9e5468452278c68d79a"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__requirements.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 532,
"sha256": "240eca10df14f7c2e27219575b290ab5258b787041c0ece756a19e7e770a6171"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "4780f8485e33e1b1e7f7c78d8b93672f51352569bb0ae96109fdf60c2b8e3a25"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 88,
"sha256": "dc1cfc26dc7ab555eea21950ee19a6b7b7ec04229f3ee54524c6fa950ea92320"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 135,
"sha256": "bc1e13ad6482167b11adb2556a7bbb3ff8034a6dfde4a8c4e09e007ab980f1c2"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "4780f8485e33e1b1e7f7c78d8b93672f51352569bb0ae96109fdf60c2b8e3a25"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 168469,
"sha256": "5bcdf9dd7a2782dc95a4777aed094da9ec351439f5aa0baea0aa228d8b10ec38"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__LICENSE",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 35149,
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__comfy_extras__nodes_logic.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 12488,
"sha256": "2cb1ce149ce616c0b12a67962ed7b799eb398fbcdeb20dcec4c5210eb6af6df1"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__comfy_extras__nodes_minimax_h3.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 15728,
"sha256": "f767df4074b908efb345f5a87c2fd263ba82c12e65bcca932846207cc213e064"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__comfy_extras__nodes_model_advanced.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 13665,
"sha256": "ffa70c4bb3568537ba13b368092d2599b861db7c83b1bcfa41347058b40dcba7"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__comfy_extras__nodes_model_patch.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 41900,
"sha256": "44367a762417d88ddac58d37602f03eafb95c676a1ca3e020e24c18e123fb4e6"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__nodes.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 107713,
"sha256": "aa7e2a87bb7c1b43273736eef9fcf4811cb55497c5bde2e201135b244b97431a"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__requirements.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 531,
"sha256": "6ec8531660ac6387be13951d61324aa0c46df80912b76c538a6abacf38a5ec30"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 88,
"sha256": "e381ed704d67ffacc2d56a1c6c5f942ea7c244cbf20b111568e319cb2a1604e7"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 135,
"sha256": "dea1818eb073751e4fbf27b1e7359d2e54bea6bcafb7077b2b9021956a2dd483"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 171022,
"sha256": "b672950210c6036f571713c78213ef9a6166a00e0a349e4b5890a4cc34c892b0"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330__comfy_extras__nodes_lt.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 52132,
"sha256": "542cadcc408ec54194c9bdad2f3afc3e1c3eead6b0c6400f6aef78b779d74e7d"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330__comfy_extras__nodes_lt_audio.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 7757,
"sha256": "7bb3117d159135e9049d589bc457433c8b88ea8cee35c399dd2959524304258f"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "e0f1df25ec318d898ec809d4335b574fbb772d7be09425997cc649848f649905"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 88,
"sha256": "6c91d4fab4c14034e05fdb33e2be7ea6fe2036c0ed93b338f133f539a018e8db"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 135,
"sha256": "fc363c8c85f183f671e7dcb7722d33dcb9bed26d89a8a70a313ae217ccfaabbd"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 256,
"sha256": "e0f1df25ec318d898ec809d4335b574fbb772d7be09425997cc649848f649905"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 178263,
"sha256": "1722d86e3e2b145c7ca9bac5af3f7e5deb7c72ca6311ac6d91440f24c1aee178"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340__LICENSE",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 35149,
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340__comfy_api__latest___io.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 95099,
"sha256": "495aefa059aad4eed4181aa7fbb415679d3f269651e9fc6f542bdac1b99dd40f"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340__comfy_api__latest___io_public.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 33,
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340__comfy_extras__nodes_primitive.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 3030,
"sha256": "ee3882214ebdd0d20c8061691075cebb1642c303e162f6d22ae525d75aa59b2d"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 295,
"sha256": "0ab389ef96e5ab76bcb0762ef73a1bcaf0fe2087f7d552e3066791d8a03c3931"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 122,
"sha256": "5c1199f4d82870dd2bc4a80017a86d326ae2c4f9ae48f0ef41081b818686efaf"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-registry.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 1288,
"sha256": "c802d9fe3cb239a23673170d685f4f3eecffa58ddb5ef2376f7cb4b4a6b5921b"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 168,
"sha256": "73ec4dd743d814a7d5517fee77465d9866cf06a23a4f0e9d3b181be2f7480e45"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 295,
"sha256": "0ab389ef96e5ab76bcb0762ef73a1bcaf0fe2087f7d552e3066791d8a03c3931"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 10549,
"sha256": "77cc67e36aa32faa824f3508660a3b8183773d204ed81a71c0b30175df56b9ce"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__LICENSE",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 35149,
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
},
{
"path": "docs/hel-892/h3-latent-reference/kj____init__.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 31000,
"sha256": "2d1032dc82a46f4539f301721e854dbc19b707f29db6734f54c0551b56bbfcf1"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__nodes__ltxv_nodes.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 122787,
"sha256": "11286583c56e653dbd57f5e8eda6902c84b759f16b359b3bf0c895b43e6b5364"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__nodes__preview_override_node.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 37233,
"sha256": "6060c2382e61c041104a61c1fe06f2a163fcddc6e715d20fbf7a03f0af46715c"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__nodes__tiny_vae.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 8999,
"sha256": "f09d1e3ab1cb0f2ee4949f4192b7ea1bb47390c47b80f8517532301283a3472d"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__pyproject.toml",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 504,
"sha256": "4d4a226e0b1ba9962b13bd9e81ddf91cf26be25f1f82e0e31660f96a84af1ae9"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__requirements.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 67,
"sha256": "e8cc1fb089c6e74bb5f326e949fd89ea7653de0d193d7a385c38af44e66656bd"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 279,
"sha256": "985a4969199ac08d7ebe972ccfcf6d6e8707feb311328d8ed350cb3877035626"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 146,
"sha256": "4eac8c5121167234417d95fc1e0acf47542bf27355418ea1e9dcec6f1a7ad45e"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 168,
"sha256": "a81bde6f2e8f11458eb7fc1565fcc51690c884371b72b3d3f795d1aa95af3c90"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 279,
"sha256": "985a4969199ac08d7ebe972ccfcf6d6e8707feb311328d8ed350cb3877035626"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 1926,
"sha256": "81568fadb26e46342b63f8a68147f8b45342f4578189d7c023a51d39cd261b1d"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh__README_zh.md",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 10985,
"sha256": "136960bcde2f105c51d2bc898da0289d052f0f68edd1ea1608612101b19e2a58"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh____init__.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 132,
"sha256": "7d1c52e999d89ba5cc77619c179d5917cedb8ba6f6445f5b27f765d2107a6f65"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh__nodes____init__.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 895,
"sha256": "b20c433de5d49283e0a45222816cc4a87397f7754bd23ad989aa8e193366e072"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh__nodes__minimax_h3_latent_upscaler_3d.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 21688,
"sha256": "a104473e1366c6cdb40224587a3831569c92e5930bbc700696ca4bedb59585fd"
},
{
"path": "docs/hel-892/h3-latent-reference/sources.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 78898,
"sha256": "93908ee82ae3c3b8bfe3c15dd29b3b95ee773fae6aae8d36efe51c3f6a6cebf4"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-commit.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 1070,
"sha256": "7ead5d004626b9371f332426c1d9ce32be2a5fe8a1063e64c80c8de9da95c3d5"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-fetch.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 137,
"sha256": "09b238626231cbcf0ea3477b7581dda0ebdcca46307e193f6b2eacc19c02836f"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-tag.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 168,
"sha256": "acf6bb4fbb6516ebc25bcb6ecbe761579ddb51890217898a6d4cf8f70acd38bd"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-tag.txt",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 1070,
"sha256": "7ead5d004626b9371f332426c1d9ce32be2a5fe8a1063e64c80c8de9da95c3d5"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-tree.json",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 698,
"sha256": "cfdd4ac3585f2093ac3d8755fe7d4dbaf1f9a349dcb64b3ff9e95b33dfd1acf3"
},
{
"path": "docs/hel-892/h3-latent-reference/yc__README.md",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 2436,
"sha256": "204b89e3f6dd8674d6ec886b7b4d2bfcb5edf90eba0335f5d26c8810744b98d0"
},
{
"path": "docs/hel-892/h3-latent-reference/yc____init__.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 2023,
"sha256": "508bd6f670da1e407e1cf0fbedeefb1502a64b68a689b24e000c181de73ddbd0"
},
{
"path": "docs/hel-892/h3-latent-reference/yc__py__h3_sigma_refiner.py",
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
"bytes": 3803,
"sha256": "6030139ebe259eec80f0ef71ca8c6d93f574820fa90f2444581d80e00c5390fe"
},
{
"path": "e2e/h3-latent-document.mjs",
"purpose": "本图及旧111摘要真实本地浏览/服务清理复现入口",
"bytes": 21933,
"sha256": "ad4f66a409407ab023e31fca0b96a9bfae1c8d36740a46814bc10a7b829734c3"
},
{
"path": "e2e/run-h3-latent-document.py",
"purpose": "本图及旧111摘要真实本地浏览/服务清理复现入口",
"bytes": 3589,
"sha256": "0db3785950a60f68e73fe59687265cf196f03d1f127accec67c93a2ca1dc2e79"
}
]
}
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...
6:48:34 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>
6:48:34 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...
6:48:36 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>
6:48:37 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
https://svelte.dev/e/a11y_media_has_caption
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
155: {#if shot.job?.status === 'done' && shot.job.output}
156: <video
^
157: class="vshot-video"
158: src={assetUrl(shot.job.output) ?? undefined}
✓ 763 modules transformed.
rendering chunks...
computing gzip size...
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
.svelte-kit/output/client/.vite/manifest.json 26.73 kB │ gzip: 3.24 kB
.svelte-kit/output/client/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/assets/12.IyyrLGyK.css 0.22 kB │ gzip: 0.15 kB
.svelte-kit/output/client/_app/immutable/assets/6.C62bpzl4.css 0.22 kB │ gzip: 0.15 kB
.svelte-kit/output/client/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB │ gzip: 0.34 kB
.svelte-kit/output/client/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB │ gzip: 0.31 kB
.svelte-kit/output/client/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB │ gzip: 0.37 kB
.svelte-kit/output/client/_app/immutable/assets/ConfirmDialog.DOfiQL0c.css 0.91 kB │ gzip: 0.38 kB
.svelte-kit/output/client/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB │ gzip: 0.58 kB
.svelte-kit/output/client/_app/immutable/assets/18.DG2SembM.css 1.87 kB │ gzip: 0.70 kB
.svelte-kit/output/client/_app/immutable/assets/ImageLightbox.BK2SuPZK.css 2.20 kB │ gzip: 0.72 kB
.svelte-kit/output/client/_app/immutable/assets/10.-McisAlK.css 4.49 kB │ gzip: 1.20 kB
.svelte-kit/output/client/_app/immutable/assets/15.Do7_3xO3.css 4.84 kB │ gzip: 1.32 kB
.svelte-kit/output/client/_app/immutable/assets/ComfyDynamicForm.BMZDOzpt.css 4.86 kB │ gzip: 1.14 kB
.svelte-kit/output/client/_app/immutable/assets/16.D3s-Wa9z.css 5.02 kB │ gzip: 1.31 kB
.svelte-kit/output/client/_app/immutable/assets/AgentComposer.ub9gqAax.css 6.39 kB │ gzip: 1.59 kB
.svelte-kit/output/client/_app/immutable/assets/4.D4ArXiOU.css 10.48 kB │ gzip: 2.23 kB
.svelte-kit/output/client/_app/immutable/assets/11.CkE-wdAx.css 10.49 kB │ gzip: 2.33 kB
.svelte-kit/output/client/_app/immutable/assets/3.CU9FCfPU.css 10.86 kB │ gzip: 2.39 kB
.svelte-kit/output/client/_app/immutable/assets/AgentChat.DoddhUHp.css 11.39 kB │ gzip: 2.53 kB
.svelte-kit/output/client/_app/immutable/assets/AppShell.BDTKT42t.css 12.74 kB │ gzip: 2.91 kB
.svelte-kit/output/client/_app/immutable/assets/5.CYAHcbnz.css 15.04 kB │ gzip: 3.15 kB
.svelte-kit/output/client/_app/immutable/assets/0.DtQ4sRph.css 19.40 kB │ gzip: 4.66 kB
.svelte-kit/output/client/_app/immutable/assets/StudioGenerate.DLzq3T0v.css 21.08 kB │ gzip: 4.13 kB
.svelte-kit/output/client/_app/immutable/assets/19.DdIn3xwb.css 22.49 kB │ gzip: 3.73 kB
.svelte-kit/output/client/_app/immutable/assets/8.F76ywLuB.css 28.78 kB │ gzip: 5.24 kB
.svelte-kit/output/client/_app/immutable/assets/7._yLDI1qf.css 31.71 kB │ gzip: 5.43 kB
.svelte-kit/output/client/_app/immutable/nodes/5.DUJAhBNk.js 0.09 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/Bzak7iHL.js 0.10 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/DTQKaZHR.js 0.10 kB │ gzip: 0.11 kB
.svelte-kit/output/client/_app/immutable/chunks/IKQcdn9t.js 0.12 kB │ gzip: 0.12 kB
.svelte-kit/output/client/_app/immutable/entry/start.BqEn1kFF.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.CPJLYEHk.js 0.16 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/nodes/9.BT_wt8ty.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/DrFHtxn3.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.DoHxvkRR.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.BTrcuK2e.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.Ct3nMCc0.js 1.18 kB │ gzip: 0.70 kB
.svelte-kit/output/client/_app/immutable/chunks/Dp1pzeXC.js 1.27 kB │ gzip: 0.73 kB
.svelte-kit/output/client/_app/immutable/nodes/6.i57pJOQo.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/CkYi_efV.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.Dy_miuok.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/2KOxWECX.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.xxJaIKWn.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.CRCgCmbB.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.BtWRn9Mr.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.CLVvobiZ.js 23.02 kB │ gzip: 7.51 kB
.svelte-kit/output/client/_app/immutable/chunks/CmFWTvKT.js 23.99 kB │ gzip: 9.32 kB
.svelte-kit/output/client/_app/immutable/nodes/11.DIwjALjx.js 24.95 kB │ gzip: 8.35 kB
.svelte-kit/output/client/_app/immutable/nodes/3.BZB3h_ZW.js 25.68 kB │ gzip: 8.33 kB
.svelte-kit/output/client/_app/immutable/nodes/4.CixytEFm.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/CcDnj1i2.js 38.54 kB │ gzip: 13.86 kB
.svelte-kit/output/client/_app/immutable/chunks/CPluiqx0.js 41.30 kB │ gzip: 15.68 kB
.svelte-kit/output/client/_app/immutable/nodes/19.CMvI7atF.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/BS-7vfFu.js 81.38 kB │ gzip: 27.49 kB
.svelte-kit/output/client/_app/immutable/nodes/8.Caj_NEjv.js 86.49 kB │ gzip: 28.96 kB
.svelte-kit/output/client/_app/immutable/nodes/7.PKeiIO25.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.69s
.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.88s
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-static
Wrote site to "build"
✔ done
@@ -0,0 +1,771 @@
{
"base": "e28c058cb40a32fd009a437a03b66464eb902672",
"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,9 @@
{
"equal_to_isolated_export": true,
"workflow_id": 109,
"raw_get_sha256": "257cf9b468a10d967d3c8ad6600643b4e6d1ed220bbf01f064b2cc9fc84f8a43",
"doc_canonical_sha256": "befe5d100040602cd5780d5011255336ab98a390b2c69dec5debf5eb86e2d61c",
"pins": {
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json": "dc2717039b85da6b9303754a15e7455bba010d166b05a50baceddaa8b0032647"
}
}
@@ -0,0 +1,491 @@
{
"recorded_at": "2026-10-31T22:48:18.491250+00:00",
"nodes": [
{
"node_id": 257,
"class_type": "LayerUtility: PurgeVRAM V2",
"properties": {
"Node name for S&R": "LayerUtility: PurgeVRAM V2",
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"binding": "unknown"
},
{
"node_id": 227,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "vae_video",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 226,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "vae_audio",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 247,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 244,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 237,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 236,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 246,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 265,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 242,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "噪波",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 241,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "采样器设置",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 245,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "引导器",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 234,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 235,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 229,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 233,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 232,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 253,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 248,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "预览模型",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 266,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 268,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 231,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "高",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 230,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "宽",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 228,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "帧长",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 271,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 240,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "sigma01",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 239,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "sigma02",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 269,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "提示词",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 272,
"class_type": "Label (rgthree)",
"properties": {
"fontSize": 200,
"fontFamily": "Arial",
"fontColor": "#ffffff",
"textAlign": "left",
"backgroundColor": "transparent",
"padding": 0,
"borderRadius": 0,
"angle": 0,
"ue_properties": {
"widget_ue_connectable": {},
"input_ue_unconnectable": {},
"version": "7.8"
}
},
"binding": "unknown"
},
{
"node_id": 279,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "放大倍数",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 280,
"class_type": "GetNode",
"properties": {
"Node name for S&R": "GetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 224,
"class_type": "SetNode",
"properties": {
"Node name for S&R": "SetNode",
"aux_id": "kijai/ComfyUI-KJNodes",
"previousName": "model",
"ue_properties": {
"widget_ue_connectable": {},
"version": "7.8",
"input_ue_unconnectable": {}
}
},
"binding": "unknown"
},
{
"node_id": 178,
"class_type": "ModelAttentionBackend",
"binding": "unresolved-core0310",
"selected_paths": [
"nodes.py",
"comfy_extras/nodes_logic.py",
"comfy_extras/nodes_model_advanced.py",
"comfy_extras/nodes_model_patch.py",
"comfy_extras/nodes_minimax_h3.py"
],
"reason": "限定明确候选路径没有取得准确类实现,不宣称全树类不存在"
}
],
"license_gaps": [
"YC14620729",
"LBH52a48afa"
],
"history": "SeedVR越界及删除/127错误GET/取消Git grep可能额外blob记录继承,不改写历史;本轮不跨路径Git grep",
"initial_tool_failure": "extend sources误指旧metadata路径导致FileNotFoundError;必要文件已取后保留原字节,改用manifest identity_root复核完成"
}
@@ -0,0 +1,69 @@
{
"base": "e28c058cb40a32fd009a437a03b66464eb902672",
"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": 95,
"new_notes": 4,
"old_saved": 6099,
"old_notes": 197,
"overviews": 112,
"all_disabled": true,
"doc_done": 0,
"executed": 0
}
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,4 @@
{
"command": "PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome calliope-backend/.venv/bin/python e2e/run-h3-latent-document.py",
"exit_code": 1
}
@@ -0,0 +1,11 @@
unformatted: File would be reformatted
--> docs/hel-892/h3-latent-document-evidence/collect_browser.py:54:41
|
53 | "polling_acceptance": (
- "仅允许后端比浏览末次快照多0或1次/api/jobs;"
- "/api/events与所有固定路径零差额"
54 + "仅允许后端比浏览末次快照多0或1次/api/jobs;/api/events与所有固定路径零差额"
55 | ),
|
1 file would be reformatted, 12 files already formatted
@@ -0,0 +1,12 @@
首轮工具原始返回文本抄存(失败发生在已取下述必要文件之后):
FETCH kj 3f20054214fec9f9234fd3841ae6f1e4287948f6 2
FETCH yc 146207295c1d2bd6b64a6552484cb6ed8be1c9ef 2
FETCH lbh 52a48afa6146b77aab738c26ec37b14998b6330f 3
Traceback (most recent call last):
File "<stdin>", line 2, in <module>
File "<string>", line 7, in <module>
File "/usr/lib/python3.10/pathlib.py", line 1126, in read_bytes
with self.open(mode='rb') as f:
File "/usr/lib/python3.10/pathlib.py", line 1119, in open
return self._accessor.open(self, mode, buffering, encoding, errors,
FileNotFoundError: [Errno 2] No such file or directory: '/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/workdir/aigc-home/docs/hel-892/fasth3-t2v-reference/core0330-tree.json'
@@ -0,0 +1,91 @@
"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_多参考_双采样潜空间放大.json"
def inventory():
raw = (ROOT / PATH).read_bytes()
g = json.loads(raw)
(fields, empty, notes, scopes) = ([], [], [], [])
graphs = [("", g)] + [
(f"/definitions/subgraphs/{i}", s)
for (i, s) in enumerate(g.get("definitions", {}).get("subgraphs", []))
]
for prefix, graph in graphs:
scopes.append(
dict(
pointer=prefix or "/",
nodes=len(graph["nodes"]),
edges=len(graph["links"]),
modes=[n["mode"] for n in graph["nodes"]],
named_nodes=sum(("widgets_values_named" in n for n in graph["nodes"])),
)
)
for i, n in enumerate(graph["nodes"]):
p = f"{prefix}/nodes/{i}"
if "widgets_values" not in n or n["widgets_values"] in [None, []]:
empty.append(
dict(
node=n["id"],
pointer=p,
state="missing"
if "widgets_values" not in n
else "null"
if n["widgets_values"] is None
else "empty_list",
)
)
if n["type"] in ["Note", "MarkdownNote"]:
notes.append(
dict(
node=n["id"],
pointer=p + "/widgets_values/0",
text=n["widgets_values"][0],
characters=len(n["widgets_values"][0]),
lf_count=n["widgets_values"][0].count("\n"),
literal_backslash_n=n["widgets_values"][0].count("\\n"),
ends_with_lf=n["widgets_values"][0].endswith("\n"),
named=n.get("widgets_values_named"),
)
)
continue
for j, v in enumerate(n.get("widgets_values") or []):
fields.append(
dict(
node=n["id"],
pointer=f"{p}/widgets_values/{j}",
value=v,
json_type=type(v).__name__,
scope="root" if not prefix else prefix,
named=n.get("widgets_values_named"),
)
)
return dict(
path=PATH,
sha256=hashlib.sha256(raw).hexdigest(),
git_blob_sha1=hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\x00" + raw).hexdigest(),
fields=fields,
empty=empty,
notes=notes,
scopes=scopes,
extra=g["extra"],
hosts=[n for n in g["nodes"] if n["id"] in []],
definition_boundary=[
{k: s[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]}
for s in g.get("definitions", {}).get("subgraphs", [])
],
)
if __name__ == "__main__":
x = inventory()
(OUT / "independent-inventory.json").write_text(
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
)
print("Saved", len(x["fields"]), "notes", len(x["notes"]), "scopes", x["scopes"])
@@ -0,0 +1,8 @@
{
"command": [
"node",
"--check",
"e2e/h3-latent-document.mjs"
],
"exit_code": 0
}
@@ -0,0 +1,11 @@
{
"base": "e28c058cb40a32fd009a437a03b66464eb902672",
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"only_added_key": "fixed_version_document",
"other_review_objects_unchanged": 155,
"other_baseline_blobs_unchanged": 11908,
"allowed_product_resources": [
"calliope-backend/src/calliope/comfyui/fixed_document.py",
"calliope-backend/src/calliope/comfyui/source_reviews.json"
]
}
@@ -0,0 +1,50 @@
[
{
"node_id": 117,
"characters": 1670,
"lf_count": 38,
"literal_backslash_n": 0,
"ends_with_lf": true,
"sha256": "3712abf649cd3bdd6b3aeaaa07a5fbeaff7e55d756abf0bd3fcc6b1311c09ad8"
},
{
"node_id": 255,
"characters": 526,
"lf_count": 9,
"literal_backslash_n": 0,
"ends_with_lf": true,
"sha256": "426494ce4903a9dace25f62d1aa14b0802f788c5bc3c2a608c7b446b38558110"
},
{
"node_id": 282,
"characters": 2231,
"lf_count": 4,
"literal_backslash_n": 0,
"ends_with_lf": false,
"sha256": "81c76e274a22fdd29ef94a8586fb6edb7ccf78b851204316e6e77323305a26a6"
},
{
"node_id": 140,
"characters": 452,
"lf_count": 16,
"literal_backslash_n": 0,
"ends_with_lf": true,
"sha256": "e72ca08679fd91e2b0185be81dfd558a2b59613540df74d4fa3e5ea6cdb8e938"
},
{
"node_id": 281,
"characters": 129,
"lf_count": 5,
"literal_backslash_n": 0,
"ends_with_lf": false,
"sha256": "e495da4a5e607e261ed393cd07ff34d6ad4fda82ede86166ae63bc60d2f7fb9c"
},
{
"node_id": 138,
"characters": 10512,
"lf_count": 126,
"literal_backslash_n": 0,
"ends_with_lf": false,
"sha256": "070167aecef0fb593c6cad6e3b6236351c10ad213c7a62d1b2d354e430ede6d3"
}
]
@@ -0,0 +1,745 @@
[
{
"node_id": "218",
"class_type": "VAEDecodeAudio",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 5,
"symbol": "VAEDecodeAudio",
"lines": [
115,
134
]
}
]
},
{
"node_id": "209",
"class_type": "SamplerCustomAdvanced",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 1,
"symbol": "SamplerCustomAdvanced",
"lines": [
1014,
1068
]
}
]
},
{
"node_id": "212",
"class_type": "LTXVConcatAVLatent",
"source_version": "0.33.0",
"source_id": "core0330",
"candidates": [
{
"source": 73,
"symbol": "LTXVConcatAVLatent",
"lines": [
747,
819
]
}
]
},
{
"node_id": "211",
"class_type": "LTXVSeparateAVLatent",
"source_version": "0.33.0",
"source_id": "core0330",
"candidates": [
{
"source": 73,
"symbol": "LTXVSeparateAVLatent",
"lines": [
822,
852
]
}
]
},
{
"node_id": "220",
"class_type": "CreateVideo",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 4,
"symbol": "CreateVideo",
"lines": [
152,
192
]
}
]
},
{
"node_id": "123",
"class_type": "KSamplerSelect",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 1,
"symbol": "KSamplerSelect",
"lines": [
379,
394
]
}
]
},
{
"node_id": "219",
"class_type": "VAEDecode",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 0,
"symbol": "VAEDecode",
"lines": [
313,
338
]
}
]
},
{
"node_id": "257",
"class_type": "LayerUtility: PurgeVRAM V2",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "119",
"class_type": "VAELoader",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 0,
"symbol": "VAELoader",
"lines": [
754,
847
]
}
]
},
{
"node_id": "142",
"class_type": "MiniMaxH3MemoryEfficientSageAttentionPatch",
"source_version": "3f20054214fec9f9234fd3841ae6f1e4287948f6",
"source_id": "kj",
"candidates": [
{
"source": 54,
"symbol": "MiniMaxH3MemoryEfficientSageAttentionPatch",
"lines": [
2162,
2196
]
}
]
},
{
"node_id": "149",
"class_type": "MiniMaxH3SigmaShift",
"source_version": "0.31.0",
"source_id": "core0310",
"candidates": [
{
"source": 20,
"symbol": "MiniMaxH3SigmaShift",
"lines": [
283,
324
]
}
]
},
{
"node_id": "227",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "120",
"class_type": "VAELoader",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 0,
"symbol": "VAELoader",
"lines": [
754,
847
]
}
]
},
{
"node_id": "226",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "247",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "244",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "237",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "236",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "246",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "265",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "242",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "241",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "126",
"class_type": "BasicGuider",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 1,
"symbol": "BasicGuider",
"lines": [
795,
815
]
}
]
},
{
"node_id": "245",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "234",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "235",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "128",
"class_type": "CLIPLoader",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 0,
"symbol": "CLIPLoader",
"lines": [
991,
1016
]
}
]
},
{
"node_id": "229",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "233",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "232",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "253",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "248",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "131",
"class_type": "ComfyMathExpression",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 6,
"symbol": "MathExpressionNode",
"lines": [
59,
116
]
}
]
},
{
"node_id": "266",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "268",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "231",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "230",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "228",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "271",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "124",
"class_type": "BasicScheduler",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 1,
"symbol": "BasicScheduler",
"lines": [
17,
44
]
}
]
},
{
"node_id": "240",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "239",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "254",
"class_type": "H3SigmaRefiner",
"source_version": "146207295c1d2bd6b64a6552484cb6ed8be1c9ef",
"source_id": "yc",
"candidates": [
{
"source": 56,
"symbol": "H3SigmaRefiner",
"lines": [
12,
96
]
}
]
},
{
"node_id": "208",
"class_type": "SplitSigmas",
"source_version": "0.33.0",
"source_id": "core0330",
"candidates": [
{
"source": 50,
"symbol": "SplitSigmas",
"lines": [
204,
226
]
}
]
},
{
"node_id": "125",
"class_type": "SamplerCustomAdvanced",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 1,
"symbol": "SamplerCustomAdvanced",
"lines": [
1014,
1068
]
}
]
},
{
"node_id": "269",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "136",
"class_type": "MiniMaxH3ReferenceToVideo",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 3,
"symbol": "MiniMaxH3ReferenceToVideo",
"lines": [
154,
280
]
}
]
},
{
"node_id": "272",
"class_type": "Label (rgthree)",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "141",
"class_type": "ModelPreviewOverrideKJ",
"source_version": "3f20054214fec9f9234fd3841ae6f1e4287948f6",
"source_id": "kj",
"candidates": [
{
"source": 55,
"symbol": "ModelPreviewOverrideKJ",
"lines": [
697,
783
]
}
]
},
{
"node_id": "279",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "278",
"class_type": "PrimitiveFloat",
"source_version": "0.34.0",
"source_id": "core0340",
"candidates": [
{
"source": 25,
"symbol": "Float",
"lines": [
60,
75
]
}
]
},
{
"node_id": "282",
"class_type": "PrimitiveStringMultiline",
"source_version": "0.34.0",
"source_id": "core0340",
"candidates": [
{
"source": 25,
"symbol": "StringMultiline",
"lines": [
24,
39
]
}
]
},
{
"node_id": "129",
"class_type": "RandomNoise",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 1,
"symbol": "RandomNoise",
"lines": [
997,
1011
]
}
]
},
{
"node_id": "221",
"class_type": "SaveVideo",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 4,
"symbol": "SaveVideo",
"lines": [
75,
149
]
}
]
},
{
"node_id": "127",
"class_type": "UNETLoader",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 0,
"symbol": "UNETLoader",
"lines": [
966,
989
]
}
]
},
{
"node_id": "147",
"class_type": "LoraLoaderModelOnly",
"source_version": "0.31.0",
"source_id": "core0310",
"candidates": [
{
"source": 19,
"symbol": "LoraLoaderModelOnly",
"lines": [
749,
761
]
}
]
},
{
"node_id": "132",
"class_type": "PrimitiveFloat",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 2,
"symbol": "Float",
"lines": [
60,
75
]
}
]
},
{
"node_id": "139",
"class_type": "LoadImage",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 0,
"symbol": "LoadImage",
"lines": [
1721,
1795
]
}
]
},
{
"node_id": "280",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "262",
"class_type": "MinimaxH3LatentUpscaler3D",
"source_version": "52a48afa6146b77aab738c26ec37b14998b6330f",
"source_id": "lbh",
"candidates": [
{
"source": 59,
"symbol": "MinimaxH3LatentUpscaler3D",
"lines": [
364,
500
]
}
]
},
{
"node_id": "178",
"class_type": "ModelAttentionBackend",
"source_version": "0.31.0",
"source_id": "unresolved-core0310",
"candidates": []
},
{
"node_id": "224",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "138",
"class_type": "PrimitiveStringMultiline",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 2,
"symbol": "StringMultiline",
"lines": [
24,
39
]
}
]
},
{
"node_id": "273",
"class_type": "LoadImage",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 0,
"symbol": "LoadImage",
"lines": [
1721,
1795
]
}
]
},
{
"node_id": "115",
"class_type": "ResolutionSelector",
"source_version": "0.30.0",
"source_id": "core0300",
"candidates": [
{
"source": 7,
"symbol": "ResolutionSelector",
"lines": [
30,
82
]
}
]
}
]
@@ -0,0 +1,821 @@
{
"base": "e28c058cb40a32fd009a437a03b66464eb902672",
"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": "77678cd39821830bdea7d3e57483f72e473e56a31967667cdc5c65d11c026b45",
"wheel": true,
"sdist": true,
"definitions": 112
},
{
"file": "source_reviews.json",
"sha256": "5a481846ffc14468f24f491db388c335dc9fb4592131259911f69bd8f01494d0",
"wheel": true,
"sdist": true,
"definitions": 112
},
{
"file": "library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
"wheel": true,
"sdist": true,
"definitions": 112
}
]
@@ -0,0 +1,3 @@
{
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json": "dc2717039b85da6b9303754a15e7455bba010d166b05a50baceddaa8b0032647"
}
@@ -0,0 +1,12 @@
[
{
"port": 8247,
"connect_ex": 111,
"connection_refused": true
},
{
"port": 5173,
"connect_ex": 111,
"connection_refused": true
}
]
@@ -0,0 +1,127 @@
{
"steps": [
"根69节点58物理边、全部mode0,无子图。95保存位置=int21/str66/bool4/float4,60节点具名;218/209/212/211/219/142/126/125/272九处widgets与具名键缺失分别保留,无空数组补造。原mode与UE属性只是保存状态,不认证目标恢复/执行。",
"模型物理链127 UNET→287→142 KJ patch→295→147 LoRA→327→149 SigmaShift→436→178 AttentionBackend→386→224 Set model。原UNET为MiniMax目录fl2va_pruned_int8/default,LoRA为fl2v_turbo_8step/int1;模型文件名不认证与ref2va任务兼容、安装、许可或八步效果。149保存JSON int12/int3;178保存comfy kitchen attention,按各自准确0.31类核,不执行patch/LoRA/attention/shift。",
"268 Get model→141预览覆盖→248 Set预览模型;253 Get预览模型物理413/414分别给126 Guider和124 Scheduler。224/268、248/253仅同名别名意图,Set/Get缺准确版本,不能补成物理边或认证前端路由。141七保存位置[1024,80,true,1,24,taeh3.safetensors,空串]保留,266 Get帧长接141口6覆盖preview_frames缓存1;不下载/加载TAE或运行预览。",
"128 CLIP minimax/default、119视频VAE/120音频VAE各到Set vae_video/vae_audio;234/235 Get名称经398/399接136参考编码,237/236给第二段解码。别名名称与实际物理边分开,无版本不继承其它KJ提交。139保存comfyui-h3-cover_00006_.png/image,273保存1.png/image,经282/431接136参考image0/1;其余动态图像/视频/音频未接,不读取Input Assets,不推断图片内容、人物或文件存在/许可。",
"136保存空prompt/1344/768/124/match。271 Get提示词→430覆盖prompt;232/233 Get宽高经396/397覆盖尺寸;229 Get帧长→393覆盖length。138完整10512英文/LF126/无尾LF→269 Set提示词,与271同名Get只有名称意图;282独立2231英文/LF4/无尾LF,输出links=null未消费,不能称生效。完整文字、类型、换行和独立SHA保留,不执行文本或自动翻译。",
"115保存9:16 (Portrait Widescreen)/float0.4/int32,经Set宽高;132 JSON int15→131完整表达式→Set帧长均依赖未认证别名意图。表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 只字符串,不调用eval/simpleeval或手算帧数/像素。源JSON int15与PrimitiveFloat FLOAT schema分列,278 float1.5另作放大倍数意图,不能沿用时长单位。",
"124 simple/int8/int1→415→254 H3SigmaRefiner[extra_steps int1,start_at_sigma float0.7,end_at_sigma int0,linear]→416→208 SplitSigmas[int4]。208.high_sigmas354直给第一段125且403到Set sigma01;low_sigmas402到Set sigma02,244 Get sigma02→406给第二段209。这里只列准确实现静态条件,不求值sigmas或推导总步数/无缝效果;Set sigma01并不替代已存在的354物理线。",
"129 seed501120528948385/randomize→242 Set噪波,123 euler→241 Set采样器,126→245 Set引导器;第一段125实际424/425/426来自三个Set输出,第二段209经265/246/247 Get名称取NOISE/GUIDER/SAMPLER。Set的直接物理输出与Get别名意图区分;不运行随机或采样,不保证复现。",
"136 LATENT271才是第一段125入口。125.output(slot0)是[]未接,denoised_output(slot1)经384送211分离;不把第一段出口误称通用output。211.video_latent420→262放大,audio_latent363直接保留给212;262.video421与原audio363在212拼合,LATENT365才是第二段209入口。准确LTXV嵌套LATENT协议与H3运行兼容条件分开,同名LATENT不证明可执行;音频未放大。",
"262八保存位置为[模型完整引用,scale by multiplier,float1.5,int32,true,str cuda,str cuda,str fp16];具名force_unload=str cuda,但源输入声明BOOLEAN,device=cuda/precision=fp16仍分别保留。准确schema与源错位/类型差异不归一化,不改成bool或静默重排。mode.scale float1.5受280 Get放大倍数435覆盖;278 float1.5→279 Set同名只是别名意图。准确实现的动态mode/模型加载/卷积/时间分块/轴序/设备/清理条件仅参考,不下载或执行权重,不保证当前1.5倍像素/VRAM效果。",
"第二段209.output(slot0)375/376分别给219视频VAE和218音频VAE解码,denoised_output(slot1)[]未接;与第一段使用slot1不同。219 IMAGE418→257无身份PurgeVRAM V2[true,true]→419→220 CreateVideo图像口;audio374直进220。未知Purge只保留源口和原值,不套其它Layer实现的clear_memory/透传/清理或保证无副作用,不执行显存RAM清理。",
"220 CreateVideo保存[int24,int8,sRGB,none],221 SaveVideo四位置[video/MiniMax_H3,auto,auto,auto];严格核各自准确0.30接口,源COMBO/额外字段及format.codec差异保留,不沿用前图0.33结论或合并auto。准确VIDEO data/UI、metadata、编码/位深条件仅接口参考,不当成实际保存文件、音轨、时长、色彩或质量证明。",
"四MarkdownNote117/255/140/281完整1670/526/452/129码点、LF38/9/16/5、尾LF有/有/有/无、字面反斜杠n均0;模型/安装链接/潜放例子只作者建议,不访问素材URL/帮助/权重或计算示例像素。272 Label缺widgets,原属性字体/文字/空链接保留,不赋默认类,不加载字体或证明恢复。",
"版本逐节点独立:core0.30.0主体,147/149/178为0.31.0,208/211/212为0.33.0,278/282为0.34.0。准确类未发现时继续unresolved,不以版本声明当类存在证明;KJ两节点准确3f200542,与前图b8b独立;YC14620729和LBH52a48afa单独绑定。Set/Get只aux_id无版本,Purge/Label无身份,均不借已审同名实现补默认/算法/副作用。frontend1.49.6同树LiteGraph/pnpm锁及独立许可另核。",
"旧111块6099位置/197注释及其它155审校对象冻结,新增95位置/四Note后累计112参考6194位置/201注释;剩43张待补本系列参考。155最终定稿/可靠转换/环境核对/必要实跑仍未完成,新增转换/真实生成0。仅中文固定参考接入既有Drawer,不开启执行资格;设备/安装/别名/模型素材许可/history/真实效果未知。",
"准确必要来源逐文件静态读取与复用,获取时间未知继续未知、复核另列。YC/LBH准确tree没有LICENSE,许可未知,README不当授权。历史SeedVR越界及删除、127错误地址GET和取消Git grep可能额外Python blob获取保留。本轮未运行上游/插件/SDK/LLM/预览/patch/attention/shift/表达式/随机/采样/模型/GPU/放大/媒体/别名/清理,没有整包、资产、字体运行库下载、安装依赖或目标连接。",
"准确LBH52a schema没有enable_temporal_chunking或force_unload输入,只有keep_proportion BOOLEAN默认true;不能将源true静默改名对应keep_proportion,也不能将str cuda补成卸载开关。准确动态mode要求字典mode[\"mode\"]/mode[\"scale\"],源平面保存mode.scale与字符串选项不认证typed payload/恢复。源latent输入/输出均为*,准确AnyType只说明宽类型协议,不证明当前H3张量/权重兼容。",
"LBH准确实现按BC THW五维(四维时插入T)读取samples,copy=True转设备dtype;按VAE网格对齐,仅静态描述,不代入当前尺寸。源码保持输入T,Conv3D含空间卷积和可选时间depthwise卷积,但没有按源enable_temporal_chunking分块分支;归一化→模型→反归一化后返回CPU/原dtype的samples字典,CUDA条件empty_cache,不清空MODEL_CACHE或按force_unload卸载;其它latent键不由返回保证保留。model_name/device/precision为缓存键,动态扫描latent_upscale_models,safetensors与pth加载路径不同,模型架构/strict权重加载均未执行;真实内存/兼容性未知。",
"准确YC14620729静态refine:extra_steps<=0直接返回;在CPU找首个sigma<=start_at_sigma,找不到或仅剩末点直接返回;保留前段,尾段插值加点,结束边界取end与原末点较大值,cosine/linear/exponential分布后在特定原末0条件补0,再回原device/dtype。本图源linear而schema默认cosine,源end JSON int0与FLOAT默认0.0分列;不运行算法或承诺运动边缘质量。SplitSigmas准确高段sigmas[:step+1]、低段sigmas[step:]共享边界,未计算当前序列。",
"准确KJ3f2 patch先校验sageattention CUDA架构与core kitchen支持/模型类型,clone后为各块attn.forward添加object patch;导入失败可不注册,后续178链不认证覆盖次序的实际效果。预览类clone并添加OUTER_SAMPLE wrapper,分辨率像素、JPEG质量、预览帧数和播放fps按schema,tiny_vae默认none而源taeh3文件独立;源额外preview空串无准确schema。tiny_vae/队列、媒体编码/发送回调仅静态依赖参考,未导入探测NVENC、加载权重或采样。",
"准确core0.30 CreateVideo确实仅fps FLOAT1..120默认30和可选bit_depth INT8..10步2默认8,本图int8原样;源bit_depth口为COMBO的接口差异与额外color_space/codec分别保留,非沿用前图结论。0.30 SaveVideo的format为Combo,codec为DynamicCombo(auto/h264含encoding分支),执行读codec[\"codec\"];源动态format/额外format.codec/codec字符串auto不证明恢复成该字典。metadata受disable_metadata/hidden控制,VIDEO结果及PreviewVideo保存条件仅源码参考。",
"178 ModelAttentionBackend虽声明core0.31.0,但本批准确nodes.py注册入口与已选nodes_logic/model_advanced/model_patch/minimax文件没有取得该类实现,保持unresolved-core0310;不沿用0.33或由同名/版本声明补类、默认、范围和执行覆盖。准确取证只限明确候选路径,没有跨目录Git grep。",
"准确0.33 LTXVSeparate对samples.unbind取0视频/1音频,分别copy latent并在有noise_mask时分离两流;Concat先合并两字典,随后构建视频/音频NestedTensor。若video.samples已是AV嵌套则保留其视频并替换音频,fit_audio只在可匹配的一条时间轴条件裁剪/补零,mask按条件构建。源码明确提及MiniMax H3,但当前模型/别名/放大输出和音视频尺寸能否满足协议仍未实跑。",
"141源额外audio_vae未接,但准确3f2预览schema没有audio_vae;源preview空串也没有准确输入。115额外preview输入无对应保存位置,不造第四控件;131 values.b未接为null,FLOAT/BOOL输出links均[],INT392是唯一输出物理消费。空数组与null独立保留。",
"常见问题:为什么第一段不接output?原图125 slot0未接,实际384来自denoised_output;第二段375/376来自output,不能统一替换出口。为什么不说音频也放大?363绕过262直接到212;倍率1.5与最终画面大小不同,不手算或承诺输出像素。",
"常见问题:为什么cuda没有改成卸载布尔?源force_unload位置和具名确为str cuda且口为BOOLEAN,准确LBH类没有该字段;应保留并提示接口冲突。无版本Set/Get、Purge或Label能否照搬旧实现?不能;aux_id/UE/名称和原链接都不足以认证本图版本与运行恢复。"
],
"overview": "两个参考图经H3参考编码进入第一段采样,取denoised_output分离视频与音频潜变量;仅视频潜空间放大后与原音频拼合,进入第二段采样并双VAE解码组成视频。无版本别名、显存清理及多版本接口缺口保持未知,放大force_unload原始类型冲突保留;仅固定参考,未验证实际运行。",
"notes": {
"117": "完整作者原注释,保留全部换行/空白与模型或安装链接,仅源数据,不执行或承诺效果。",
"255": "完整作者原注释,保留全部换行/空白与模型或安装链接,仅源数据,不执行或承诺效果。",
"140": "完整作者原注释,保留全部换行/空白与模型或安装链接,仅源数据,不执行或承诺效果。",
"281": "完整作者原注释,保留全部换行/空白与模型或安装链接,仅源数据,不执行或承诺效果。"
},
"field_meta": {
"MinimaxH3LatentUpscaler3D": {
"force_unload": {
"default": "未知:准确本版schema不存在该输入,不从源位置补默认",
"limits": "源额外位置/输入候选;与准确接口缺口或类型冲突保留,不借后版或静默重排",
"unit": "未知:准确schema不存在;源原值及声明类型冲突分列"
},
"enable_temporal_chunking": {
"default": "未知:准确本版schema不存在该输入,不从源位置补默认",
"limits": "源额外位置/输入候选;与准确接口缺口或类型冲突保留,不借后版或静默重排",
"unit": "未知:准确schema不存在;源原值及声明类型冲突分列"
},
"mode.scale": {
"default": "2.0(准确动态mode的scale子输入;不是源float1.5)",
"limits": "准确FLOAT min1/max4/step0.05;源平面mode.scale/外线435与typed字典映射未认证",
"unit": "无物理单位的倍率接口,不计算真实像素"
}
},
"CreateVideo": {
"color_space": {
"default": "未知:准确本版schema不存在该输入,不从源位置补默认",
"limits": "源额外位置/输入候选;与准确接口缺口或类型冲突保留,不借后版或静默重排",
"unit": "未知:准确schema不存在;源原值及声明类型冲突分列"
},
"codec": {
"default": "未知:准确本版schema不存在该输入,不从源位置补默认",
"limits": "源额外位置/输入候选;与准确接口缺口或类型冲突保留,不借后版或静默重排",
"unit": "未知:准确schema不存在;源原值及声明类型冲突分列"
},
"fps": {
"unit": "帧/秒;源JSON int24与准确FLOAT默认30.0分列"
},
"bit_depth": {
"unit": "位深INT接口8..10/step2;源口COMBO与保存int8另列,不证明编码效果"
}
},
"SaveVideo": {
"format.codec": {
"default": "未知:准确本版schema不存在该输入,不从源位置补默认",
"limits": "源额外位置/输入候选;与准确接口缺口或类型冲突保留,不借后版或静默重排",
"unit": "未知:准确schema不存在;源原值及声明类型冲突分列"
}
},
"ModelPreviewOverrideKJ": {
"preview": {
"default": "未知:准确本版schema不存在该输入,不从源位置补默认",
"limits": "源额外位置/输入候选;与准确接口缺口或类型冲突保留,不借后版或静默重排",
"unit": "未知:准确schema不存在;源原值及声明类型冲突分列"
},
"max_resolution": {
"unit": "预览最大边像素;0为不缩放条件,不是生成尺寸"
},
"jpeg_quality": {
"unit": "JPEG质量接口数值,不是百分比或质量保证"
},
"preview_frames": {
"unit": "预览抽帧数接口,源缓存1受427外线覆盖"
},
"preview_fps": {
"unit": "预览播放帧/秒;源24与准确默认12分列,不改生成fps"
}
},
"ResolutionSelector": {
"aspect_ratio": {
"unit": "宽高比枚举,无物理尺寸单位"
},
"megapixels": {
"unit": "MP接口以1024×1024为基数,不代入源float0.4计算像素"
},
"multiple": {
"unit": "像素对齐倍数;准确默认8,源int32另列"
}
},
"H3SigmaRefiner": {
"extra_steps": {
"unit": "附加采样间隔数接口,不计算当前总步数"
},
"start_at_sigma": {
"unit": "无物理单位的sigma阈值接口"
},
"end_at_sigma": {
"unit": "无物理单位的sigma阈值,源int0与FLOAT默认0.0另列"
}
},
"PrimitiveFloat": {
"value": {
"unit": "FLOAT数值接口;132作者时长意图和278倍率意图分开,int15/float1.5原类型保留"
}
}
}
}
@@ -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 = "e28c058cb40a32fd009a437a03b66464eb902672"
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 111 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) == 111
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())) == 6099
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": 111,
"old_saved": 6099,
"old_notes": 197,
"new_saved": 95,
"new_notes": 4,
"total_documents": 112,
"total_saved": 6194,
"total_notes": 201,
},
)
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": 95,
"new_notes": 4,
"old_saved": 6099,
"old_notes": 197,
"overviews": 112,
"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": 111,
"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": 112,
}
)
write("package-check.json", packages)
print(f"PASS actual {BASE} upgrade1/skip154, repeat155, rollback1, edits1/29cols")
print("fresh155, 1217/3660/294, 112 definitions, frozen boundaries, wheel/sdist")
if __name__ == "__main__":
main()
@@ -0,0 +1,3 @@
PASS 95 paired positions,4 notes,58 edges; 32 accurate nodes 32 unknown 1 unresolved
PASS actual e28c058cb40a32fd009a437a03b66464eb902672 upgrade1/skip154, repeat155, rollback1, edits1/29cols
fresh155, 1217/3660/294, 112 definitions, frozen boundaries, wheel/sdist
@@ -0,0 +1,139 @@
"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 = [
"# H3多参考双采样潜空间放大固定参考中文说明",
"",
(
"新增95保存位置与四条完整源注释,无子图;原有具名保存逐项核对。旧111块6099位置/197注释冻结。"
),
"总112图6194位置/201源注释仅参考,155定稿0/实跑0/新增转换0。",
"",
"local_file以docs/hel-892/h3-latent-document-evidence为基准。",
"提示、指南和历史URL仅源数据;不执行、读取图片或认证模型许可/目标环境。",
"",
]
index = []
for i in range(1):
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
lines += [
"## " + Path(b["source_path"]).stem,
"",
b["user_overview"],
"",
b["notice"],
"",
"源路径:`" + b["source_path"] + "`",
"",
"SHA1:" + b["source_sha1"],
"",
"原字节SHA256:" + b["source_sha256"],
"",
"规范全图SHA256:" + b["canonical_sha256"],
"",
*[v + "\n" for v in b["versions"]],
"### 具体连线与处理条件",
"",
*[v + "\n" for v in b["flow"]],
"### 使用与核对",
"",
*[v + "\n" for v in b["steps"]],
"### 逐保存位置说明",
"",
]
for j, f in enumerate(b["fields"], 1):
lines += [
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
"",
f["effect"],
"",
"```json",
json.dumps(f["value"], ensure_ascii=False, indent=2),
"```",
"",
(f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。"),
"",
"源保存位置:`" + f["pointer"] + "`;源输入口:`" + f["input_pointer"] + "`",
"",
"具名保存位置:`"
+ f.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["named_value"] != f["value"]:
lines += [
"具名保存完整形态(与位置列表分开保留):",
"",
"```json",
json.dumps(f["named_value"], ensure_ascii=False, indent=2),
"```",
"",
]
lines += [""]
lines += ["### 零保存节点与源注释", ""]
for z in b["zero_saved_nodes"]:
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
for n in b["comments"]:
lines += [
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
"",
n["meaning"],
"",
"```json",
json.dumps(n["text"], ensure_ascii=False, indent=2),
"```",
"",
]
lines += ["### 固定原件索引", ""]
for k, e in enumerate(b["sources"]):
data = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
lines += [
(
f"{k}. {e['claim']};"
f"{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
f"提交{e['commit']};"
f"SHA256 {e['sha256']};"
f"{e['url']}"
),
"",
]
index.append(dict(document=b["source_path"], **e))
(OUT.parent / "H3多参考双采样潜空间放大固定参考中文说明.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 / "H3多参考双采样潜空间放大固定参考中文说明.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": 112,
"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": 112,
"repeated_build_equal": true,
"repeated_render_equal": true,
"resource_sha256": "f3627c023ee9a0db462b764b9956d05045e2fe25c35a63634433b525fb90c787",
"artifacts": {
"fixed-source-index.json": "da648a126d3603fb12a8385c74026e730ff24665dd7fb0eb6fae8cfca1aac277",
"H3多参考双采样潜空间放大固定参考中文说明.md": "5a9d069f515676e277f760916ac21485e202a0164822704b6b7b4316b963d19d"
}
}
@@ -0,0 +1,15 @@
{
"base": "e28c058cb40a32fd009a437a03b66464eb902672",
"changed_paths": [
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json"
],
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 111,
"old_saved": 6099,
"old_notes": 197,
"new_saved": 95,
"new_notes": 4,
"total_documents": 112,
"total_saved": 6194,
"total_notes": 201
}
@@ -0,0 +1 @@
All checks passed!
@@ -0,0 +1,14 @@
{
"counts": {
"int": 21,
"str": 66,
"bool": 4,
"float": 4
},
"positions": 95,
"named_nodes": 60,
"missing_widgets": 9,
"widgets_empty_list": 0,
"notes": 4,
"physical_edges": 58
}
@@ -0,0 +1,15 @@
{
"command": [
"git",
"diff",
"--cached",
"--check",
"--",
".",
":(exclude)docs/hel-892/h3-latent-reference",
":(exclude)docs/hel-892/h3-latent-document-evidence/*.txt"
],
"exit_code": 0,
"scope": "原始参考文本及原日志*.txt排除空白检查,仍在用途SHA清单内;其余本批代码/JSON/中文说明检查",
"new_png_or_pyc": 0
}
@@ -0,0 +1,63 @@
{
"screenshot_count": 36,
"viewed": [
{
"file": "1440-109-default.png",
"sha256": "b1a285b800da6e9c4f71152ccdb52347a6cbdfa7ff2486a4e2be6e9a3ec0c632"
},
{
"file": "1440-109-138-value.png",
"sha256": "20f4544548dd533b36719e45ba356d5eb8a96c875a4f9d5bca5fd2cc4c33ec33"
},
{
"file": "1440-109-282-value.png",
"sha256": "61a519e12aaa45ce58b58a7b79b0065a95150f3eaeab566bc0b851ff0e16a1a4"
},
{
"file": "1440-109-262-force_unload.png",
"sha256": "b777b648703113b92c9ea232e2989faaf641db27b5bbaffb9bd31a68938b0437"
},
{
"file": "1440-109-141-preview_frames.png",
"sha256": "b79e4bb8efd01c2ffd23bcc624d29cdf8a990def960b98a6c73e6a01692e5b27"
},
{
"file": "1440-109-257-purge_cache.png",
"sha256": "3c7b6250ee1c4ae85a6ebfd764ee09c0c71c8748b6ac6599db4963c00bd500ca"
},
{
"file": "1440-109-source-chain.png",
"sha256": "bb16c00bf8c43e502a4133a1fc87db2812d30531f1042a3a26dbed860fe85799"
},
{
"file": "390-109-default.png",
"sha256": "84783c9221b4f58c2e497da52921187fd2100bca5e20e0d3649605ac4b9379e5"
},
{
"file": "390-109-254-spacing.png",
"sha256": "51e0058b2ac432c089433a87c4d083830b376cbb7e3ccaf56e39ae6186093135"
},
{
"file": "390-109-271-Constant.png",
"sha256": "5ab532f05fa875656dff70eeaab3458984efa5e4cc63e1bdee6f4c7100775dc4"
},
{
"file": "390-109-262-force_unload.png",
"sha256": "d4fe9b9b03e22f3610317fef1216a61a6a54ba50e11983b8f10819eff2e5ecf8"
},
{
"file": "390-109-262-mode.scale.png",
"sha256": "2bba12d75e493d585151ded4880dcb7752baeaf912859e7024a919fa30ee54b6"
},
{
"file": "390-109-117-note.png",
"sha256": "0de8cab56882e9844ab57402d804dedfdd59f432fd39c8b58ed9e85231b84930"
},
{
"file": "390-109-281-note.png",
"sha256": "634424fd368969a4028ed5e347a5842a8e270e725495de59ca57b6419107b399"
}
],
"method": "本轮实际查看14张代表截图;95字段与两英文/四Note由完整渲染内容相等和UTF8 SHA校验,不声称长文逐字目验。",
"findings": "1440/390正常换行,未见水平溢出;默认参考范围关闭,状态保持未定稿/未实跑;两采样不同出口、视频单独放大保留音频、无版本别名/Purge与force_unload接口冲突可读;长文本可滚动,注释可逆JSON原空白保留。"
}
@@ -0,0 +1,391 @@
INFO: Started server process [1603386]
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:36556 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/108 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/132 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/131 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/133 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/106 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/63 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/59 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/65 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/60 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/61 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/66 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/71 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/69 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/68 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/67 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/43 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/95 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/88 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/89 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/90 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/96 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/91 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/92 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/102 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/93 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/100 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/98 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/99 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/97 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/101 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/105 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/104 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/103 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/94 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/87 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/86 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/85 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/84 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/74 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43662 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43656 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43688 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:43672 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 127.0.0.1:43694 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:43702 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43706 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:41128 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:41140 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:41156 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:49946 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:49956 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:49962 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:41268 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41270 - "GET /api/workflows/108 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41286 - "GET /api/workflows/132 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41290 - "GET /api/workflows/131 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41296 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:41306 - "GET /api/workflows/133 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41316 - "GET /api/workflows/106 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41322 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:41336 - "GET /api/workflows/63 HTTP/1.1" 200 OK
INFO: 127.0.0.1:41338 - "GET /api/workflows/59 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60856 - "GET /api/workflows/65 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60864 - "GET /api/workflows/60 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60874 - "GET /api/workflows/61 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60880 - "GET /api/workflows/66 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60884 - "GET /api/workflows/71 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60894 - "GET /api/workflows/69 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60908 - "GET /api/workflows/68 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60918 - "GET /api/workflows/67 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60928 - "GET /api/workflows/43 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60930 - "GET /api/workflows/95 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60940 - "GET /api/workflows/88 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60942 - "GET /api/workflows/89 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60944 - "GET /api/workflows/90 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60946 - "GET /api/workflows/96 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60952 - "GET /api/workflows/91 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60962 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:60972 - "GET /api/workflows/92 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60986 - "GET /api/workflows/102 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60996 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:32774 - "GET /api/workflows/93 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32786 - "GET /api/workflows/100 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32800 - "GET /api/workflows/98 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32814 - "GET /api/workflows/99 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32830 - "GET /api/workflows/97 HTTP/1.1" 200 OK
INFO: 127.0.0.1:32842 - "GET /api/workflows/101 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59576 - "GET /api/workflows/105 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59580 - "GET /api/workflows/104 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59592 - "GET /api/workflows/103 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59606 - "GET /api/workflows/94 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59620 - "GET /api/workflows/87 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59626 - "GET /api/workflows/86 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59636 - "GET /api/workflows/85 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59646 - "GET /api/workflows/84 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59652 - "GET /api/workflows/74 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59654 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59668 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59682 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59684 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:59696 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59712 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59722 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:59726 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59734 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59748 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59758 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59772 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59780 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59782 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59798 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36246 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36256 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36270 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36284 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36294 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36296 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36306 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36322 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36330 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36336 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36346 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36350 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36364 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:36368 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36372 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36384 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36390 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:36406 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36416 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36428 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36432 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36444 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36448 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36454 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36460 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36476 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36492 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57000 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57014 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57020 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57034 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57046 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57062 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57078 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57090 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57100 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57106 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:57122 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57128 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57140 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57142 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:57148 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57156 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57162 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57172 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57186 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57200 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57208 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57222 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57234 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57244 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57258 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57266 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:57272 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53502 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53504 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53518 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53534 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53544 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53558 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53562 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53570 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:53584 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53586 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53588 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:51134 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:51142 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:34658 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:34666 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38396 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38404 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38408 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38420 - "GET /api/workflows/108 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38436 - "GET /api/workflows/132 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38446 - "GET /api/workflows/131 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38456 - "GET /api/workflows/133 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38466 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38474 - "GET /api/workflows/106 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38490 - "GET /api/workflows/63 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36872 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:36878 - "GET /api/workflows/59 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36890 - "GET /api/workflows/65 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36894 - "GET /api/workflows/60 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36904 - "GET /api/workflows/61 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36914 - "GET /api/workflows/66 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36928 - "GET /api/workflows/71 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36934 - "GET /api/workflows/69 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36948 - "GET /api/workflows/68 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36956 - "GET /api/workflows/67 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36966 - "GET /api/workflows/43 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36976 - "GET /api/workflows/95 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36992 - "GET /api/workflows/88 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36998 - "GET /api/workflows/89 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37014 - "GET /api/workflows/90 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37026 - "GET /api/workflows/96 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37028 - "GET /api/workflows/91 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37036 - "GET /api/workflows/92 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37040 - "GET /api/workflows/102 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37042 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37058 - "GET /api/workflows/93 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37060 - "GET /api/workflows/100 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37066 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37080 - "GET /api/workflows/98 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37086 - "GET /api/workflows/99 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37082 - "GET /api/workflows/97 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37090 - "GET /api/workflows/101 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37100 - "GET /api/workflows/105 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37102 - "GET /api/workflows/104 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37110 - "GET /api/workflows/103 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37112 - "GET /api/workflows/94 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37114 - "GET /api/workflows/87 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37126 - "GET /api/workflows/86 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37138 - "GET /api/workflows/85 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37154 - "GET /api/workflows/84 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37158 - "GET /api/workflows/74 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37172 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37186 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37200 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37206 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37220 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37222 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37236 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37250 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37252 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37254 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37258 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37264 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37266 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55298 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55314 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55316 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55328 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55344 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55350 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55354 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55366 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55374 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55378 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55386 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55398 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55408 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55418 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55422 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55424 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55440 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55454 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55462 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55478 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55480 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55486 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55488 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55490 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55502 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55512 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55526 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51516 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51530 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51540 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51550 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51564 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51576 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51592 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51604 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51614 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51624 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51640 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51648 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51660 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51670 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:51686 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51690 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51704 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:51718 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51730 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51734 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51738 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51748 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51758 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51760 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51776 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51782 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:51790 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40426 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40430 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40434 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40444 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40452 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40460 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40474 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40482 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40494 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40496 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40512 - "GET /api/workflows/156 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40524 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40536 - "GET /api/workflows/157 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40542 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40554 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40562 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [1603386]
@@ -0,0 +1,4 @@
VITE v6.4.3 ready in 286 ms
➜ Local: http://127.0.0.1:5173/
@@ -0,0 +1 @@
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
@@ -0,0 +1,688 @@
{
"sources": [
{
"id": "core0300",
"file": "nodes.py",
"sha256": "fe5f544ccfa777fd49f1e87649a66cf6946fde53cab8e9e5468452278c68d79a",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_extras/nodes_custom_sampler.py",
"sha256": "3fb59bf45aaf19b2f87099b559c789f94716a90088c6c4ac8a85c53b3c99c59b",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_extras/nodes_primitive.py",
"sha256": "ee3882214ebdd0d20c8061691075cebb1642c303e162f6d22ae525d75aa59b2d",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_extras/nodes_minimax_h3.py",
"sha256": "5c3f78efef772850f90660c5ff82e31078b5baef10f427053ed82fb8b4a7ecd1",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_extras/nodes_video.py",
"sha256": "727653159de9a6e9d5b37b1101d3ece5df7dce8fc6a5a3a1f27e260afcfa6c14",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_extras/nodes_audio.py",
"sha256": "82bb9dcf191a84cb0695bc2533602f7956e29a81a1176965556350b02e1bd67e",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_extras/nodes_math.py",
"sha256": "b117db3e5eadf7e1689a7a2edaad9436bb6282ab3d57865ec2cd78004de9fb88",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_extras/nodes_resolution.py",
"sha256": "2c6ca2d3d91a7f2945642729233ab015983a574d53a50a91caff60aa9b950090",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_extras/nodes_model_advanced.py",
"sha256": "ffa70c4bb3568537ba13b368092d2599b861db7c83b1bcfa41347058b40dcba7",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_extras/nodes_model_patch.py",
"sha256": "44367a762417d88ddac58d37602f03eafb95c676a1ca3e020e24c18e123fb4e6",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_api/latest/_io.py",
"sha256": "ac986092cace7600461b8547e21f770126958d8c15eef59d79d6709cca4b7717",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_api/latest/_io_public.py",
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_api/latest/_util/video_types.py",
"sha256": "5d2f7dd2b82aecec3c05f8f5bd9519530736825d33590207ea0aa32b8cc8627f",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_api/latest/_ui.py",
"sha256": "842ac7eeb8484fbd1746436daf4368b002e2268ff4aafd4d4682a5b24c6ba794",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_api/latest/_ui_public.py",
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy/samplers.py",
"sha256": "b9f5e22d0d65b5e78cd4dcc763e702369869dc92cf4371dc52bbecaf0733fe49",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "folder_paths.py",
"sha256": "b748be5d1e068ad673f6c4de069fb6b7b723405c40ae3c3c44465d416f7df2db",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "requirements.txt",
"sha256": "240eca10df14f7c2e27219575b290ab5258b787041c0ece756a19e7e770a6171",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0310",
"file": "nodes.py",
"sha256": "aa7e2a87bb7c1b43273736eef9fcf4811cb55497c5bde2e201135b244b97431a",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0310",
"file": "comfy_extras/nodes_minimax_h3.py",
"sha256": "f767df4074b908efb345f5a87c2fd263ba82c12e65bcca932846207cc213e064",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0310",
"file": "comfy_extras/nodes_model_advanced.py",
"sha256": "ffa70c4bb3568537ba13b368092d2599b861db7c83b1bcfa41347058b40dcba7",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0310",
"file": "comfy_extras/nodes_model_patch.py",
"sha256": "44367a762417d88ddac58d37602f03eafb95c676a1ca3e020e24c18e123fb4e6",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0310",
"file": "requirements.txt",
"sha256": "6ec8531660ac6387be13951d61324aa0c46df80912b76c538a6abacf38a5ec30",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0310",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0340",
"file": "comfy_extras/nodes_primitive.py",
"sha256": "ee3882214ebdd0d20c8061691075cebb1642c303e162f6d22ae525d75aa59b2d",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0340",
"file": "comfy_api/latest/_io.py",
"sha256": "495aefa059aad4eed4181aa7fbb415679d3f269651e9fc6f542bdac1b99dd40f",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0340",
"file": "comfy_api/latest/_io_public.py",
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0340",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "kj",
"file": "__init__.py",
"sha256": "2d1032dc82a46f4539f301721e854dbc19b707f29db6734f54c0551b56bbfcf1",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "kj",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "kj",
"file": "requirements.txt",
"sha256": "e8cc1fb089c6e74bb5f326e949fd89ea7653de0d193d7a385c38af44e66656bd",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "kj",
"file": "pyproject.toml",
"sha256": "4d4a226e0b1ba9962b13bd9e81ddf91cf26be25f1f82e0e31660f96a84af1ae9",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "yc",
"file": "__init__.py",
"sha256": "508bd6f670da1e407e1cf0fbedeefb1502a64b68a689b24e000c181de73ddbd0",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "lbh",
"file": "__init__.py",
"sha256": "7d1c52e999d89ba5cc77619c179d5917cedb8ba6f6445f5b27f765d2107a6f65",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "package.json",
"sha256": "be762a441dec346f4d50d10d4da87b20465aaaedb31915a59f510eb3bea69dd1",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "pnpm-lock.yaml",
"sha256": "5824740882a16c8c0023937513f4b8727426040dd4a40595ca6af2b3aa2ce114",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/extensions/core/widgetInputs.ts",
"sha256": "8f60f9e5fe4a75f76d8d60c46bb2957485d6a46d331d0e7f522f6458b0ac93a5",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/LICENSE",
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"sha256": "d6263d56f28a5e6c5a95a3a263fe0d6ffe4083a981c01a14ec4ebfca43487e50",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/subgraph/ExecutableNodeDTO.ts",
"sha256": "64baa71b46bd67440b032e18e4d9aebb67a6cc135fe7c4509ae1b5bc25acc2a3",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/subgraph/Subgraph.ts",
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
"sha256": "e204cd7be49ad0d48b16395dc26f6a086ca5be25a3bc0817831139255578219a",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/widgets/BooleanWidget.ts",
"sha256": "c19d7198f3074ebc305848fcd5f6abee354b5a2a990e65a27130e00550bf00ff",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/widgets/NumberWidget.ts",
"sha256": "4f6519f4d5639eef1ac858940ec0a7b3a0a6dde405d663b8a862005c6c4dbd95",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/scripts/app.ts",
"sha256": "77af06200563b25a38589023c08bcaf1220df46cd2cae70928f6cfbe0326b10e",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/scripts/widgets.ts",
"sha256": "5f3d26cd1626c72ec4d3f7cc806345d0c771afb86daf7127935ff26a7a1f3d54",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0330",
"file": "LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0330",
"file": "comfy_api/latest/_io.py",
"sha256": "495aefa059aad4eed4181aa7fbb415679d3f269651e9fc6f542bdac1b99dd40f",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0330",
"file": "comfy_extras/nodes_custom_sampler.py",
"sha256": "b0ba1521c72475e06fed15db004274ed7c8bb2bf73f1d58849faf6f9f9d264fe",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/extensions/core/uploadImage.ts",
"sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/composables/node/useNodeImageUpload.ts",
"sha256": "6eaab5459a3c0802aac14bedd8f7b897a0ba19090552c9619def421929158988",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "frontend",
"file": "src/lib/litegraph/src/widgets/FileUploadWidget.ts",
"sha256": "20fbe1af897e93fb02c039dd84b65673b142cb8c88f3fd3a2ea604913437d311",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "kj",
"file": "nodes/ltxv_nodes.py",
"sha256": "11286583c56e653dbd57f5e8eda6902c84b759f16b359b3bf0c895b43e6b5364",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "kj",
"file": "nodes/preview_override_node.py",
"sha256": "6060c2382e61c041104a61c1fe06f2a163fcddc6e715d20fbf7a03f0af46715c",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "yc",
"file": "py/h3_sigma_refiner.py",
"sha256": "6030139ebe259eec80f0ef71ca8c6d93f574820fa90f2444581d80e00c5390fe",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "yc",
"file": "README.md",
"sha256": "204b89e3f6dd8674d6ec886b7b4d2bfcb5edf90eba0335f5d26c8810744b98d0",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "lbh",
"file": "nodes/__init__.py",
"sha256": "b20c433de5d49283e0a45222816cc4a87397f7754bd23ad989aa8e193366e072",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "lbh",
"file": "nodes/minimax_h3_latent_upscaler_3d.py",
"sha256": "a104473e1366c6cdb40224587a3831569c92e5930bbc700696ca4bedb59585fd",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "lbh",
"file": "README_zh.md",
"sha256": "136960bcde2f105c51d2bc898da0289d052f0f68edd1ea1608612101b19e2a58",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0330",
"file": "comfy_extras/nodes_lt_audio.py",
"sha256": "7bb3117d159135e9049d589bc457433c8b88ea8cee35c399dd2959524304258f",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "kj",
"file": "nodes/tiny_vae.py",
"sha256": "f09d1e3ab1cb0f2ee4949f4192b7ea1bb47390c47b80f8517532301283a3472d",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0310",
"file": "comfy_extras/nodes_logic.py",
"sha256": "2cb1ce149ce616c0b12a67962ed7b799eb398fbcdeb20dcec4c5210eb6af6df1",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_api/latest/__init__.py",
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_api/latest/_input_impl/video_types.py",
"sha256": "f838d6d3e113c5f885e44fd056c32caa7d9549736663fe669f2b96c39422386b",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_api/latest/_input/video_types.py",
"sha256": "8d2eea0fd4c1b5f6f33263d17b0d282e1b2d338570946ff30090689ac1802932",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy_api/latest/_util/__init__.py",
"sha256": "d119ea71c1bb687ea1a198344d164fa8b6b10f98fb2925bc040132a32672062a",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy/nested_tensor.py",
"sha256": "e10a0eacb4752ea24fbe354d9388de3ae1d36fb611a5ff39bae816b0e9526ca1",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy/sd.py",
"sha256": "7efb10f22252446069a0b88f0a8bc2d94713696d9f946d7757a0981ae8101b58",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy/text_encoders/minimax.py",
"sha256": "751b2876c9f151f8c09576dadf4122aea84400d3147917202c70ce2c15b16e89",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy/ldm/minimax/audio_vae.py",
"sha256": "3e00d398b25d68dc39ca0eb589fc7549f3693b6bfaf08ef920e7ad2a7a803cba",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0300",
"file": "comfy/ldm/minimax/vae.py",
"sha256": "48f395958b0158cd513530bc74102d0c1a8c158276cf1c5d84f70ce1c2026f2e",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
},
{
"id": "core0330",
"file": "comfy_extras/nodes_lt.py",
"sha256": "542cadcc408ec54194c9bdad2f3afc3e1c3eead6b0c6400f6aef78b779d74e7d",
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
}
],
"positions": 95,
"notes": 4,
"edges": 58,
"accurate_nodes": 32,
"unknown_nodes": [
{
"node_id": "257",
"class_type": "LayerUtility: PurgeVRAM V2",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "227",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "226",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "247",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "244",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "237",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "236",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "246",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "265",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "242",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "241",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "245",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "234",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "235",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "229",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "233",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "232",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "253",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "248",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "266",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "268",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "231",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "230",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "228",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "271",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "240",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "239",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "269",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "272",
"class_type": "Label (rgthree)",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "279",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "280",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "224",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
}
],
"unresolved_nodes": [
{
"node_id": "178",
"class_type": "ModelAttentionBackend",
"source_version": "0.31.0",
"source_id": "unresolved-core0310",
"candidates": []
}
],
"upstream_executed": false
}
@@ -0,0 +1,617 @@
{
"files": [
{
"path": "docs/hel-892/fasth3-t2v-document-evidence/identity-gaps.json",
"sha256": "60e8637920ef0f1d87dfc52febc0370a8d946f8af2fee5fdd41a2f6838c7e10e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/fasth3-t2v-reference/core-registry-response.txt",
"sha256": "94fd27e893abbba909fe91abbe3143a4ff94afb8ce37685a735b5ce4dce55089",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-core-reference/core__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-core-reference/core__comfy_api__latest___io.py",
"sha256": "495aefa059aad4eed4181aa7fbb415679d3f269651e9fc6f542bdac1b99dd40f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-core-reference/core__comfy_extras__nodes_custom_sampler.py",
"sha256": "b0ba1521c72475e06fed15db004274ed7c8bb2bf73f1d58849faf6f9f9d264fe",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-document-evidence/identity-gaps.json",
"sha256": "02158d0b1575ba221ebd91eb64f25b0474af27b9310737e481d8a085b00b64dd",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-commit.txt",
"sha256": "3f824fe9f5ba22f0bb5c9a0a8e5fbae2c2d5880bd053357c0279664c9bb1792d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-fetch.txt",
"sha256": "c0d597c40fe2b8ed87d94a58df3d8c9f066050a111d1c6240cb26bdc33b244ce",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-tag.json",
"sha256": "0048f119bf2e80b19391eab77017c96a7d00ecd85e5f255f3a93cfcc1b8ffdc2",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-tag.txt",
"sha256": "3f824fe9f5ba22f0bb5c9a0a8e5fbae2c2d5880bd053357c0279664c9bb1792d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300-tree.json",
"sha256": "a2e7ed06a3f17c3296e3d79ec9bfeee6236737c652fae89d9c8b854182197ecf",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__ldm__minimax__audio_vae.py",
"sha256": "3e00d398b25d68dc39ca0eb589fc7549f3693b6bfaf08ef920e7ad2a7a803cba",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__ldm__minimax__vae.py",
"sha256": "48f395958b0158cd513530bc74102d0c1a8c158276cf1c5d84f70ce1c2026f2e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__nested_tensor.py",
"sha256": "e10a0eacb4752ea24fbe354d9388de3ae1d36fb611a5ff39bae816b0e9526ca1",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__samplers.py",
"sha256": "b9f5e22d0d65b5e78cd4dcc763e702369869dc92cf4371dc52bbecaf0733fe49",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__sd.py",
"sha256": "7efb10f22252446069a0b88f0a8bc2d94713696d9f946d7757a0981ae8101b58",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy__text_encoders__minimax.py",
"sha256": "751b2876c9f151f8c09576dadf4122aea84400d3147917202c70ce2c15b16e89",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest____init__.py",
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___input__video_types.py",
"sha256": "8d2eea0fd4c1b5f6f33263d17b0d282e1b2d338570946ff30090689ac1802932",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___input_impl__video_types.py",
"sha256": "f838d6d3e113c5f885e44fd056c32caa7d9549736663fe669f2b96c39422386b",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___io.py",
"sha256": "ac986092cace7600461b8547e21f770126958d8c15eef59d79d6709cca4b7717",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___io_public.py",
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___ui.py",
"sha256": "842ac7eeb8484fbd1746436daf4368b002e2268ff4aafd4d4682a5b24c6ba794",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___ui_public.py",
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___util____init__.py",
"sha256": "d119ea71c1bb687ea1a198344d164fa8b6b10f98fb2925bc040132a32672062a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_api__latest___util__video_types.py",
"sha256": "5d2f7dd2b82aecec3c05f8f5bd9519530736825d33590207ea0aa32b8cc8627f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_audio.py",
"sha256": "82bb9dcf191a84cb0695bc2533602f7956e29a81a1176965556350b02e1bd67e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_custom_sampler.py",
"sha256": "3fb59bf45aaf19b2f87099b559c789f94716a90088c6c4ac8a85c53b3c99c59b",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_math.py",
"sha256": "b117db3e5eadf7e1689a7a2edaad9436bb6282ab3d57865ec2cd78004de9fb88",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_minimax_h3.py",
"sha256": "5c3f78efef772850f90660c5ff82e31078b5baef10f427053ed82fb8b4a7ecd1",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_model_advanced.py",
"sha256": "ffa70c4bb3568537ba13b368092d2599b861db7c83b1bcfa41347058b40dcba7",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_model_patch.py",
"sha256": "44367a762417d88ddac58d37602f03eafb95c676a1ca3e020e24c18e123fb4e6",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_primitive.py",
"sha256": "ee3882214ebdd0d20c8061691075cebb1642c303e162f6d22ae525d75aa59b2d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_resolution.py",
"sha256": "2c6ca2d3d91a7f2945642729233ab015983a574d53a50a91caff60aa9b950090",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__comfy_extras__nodes_video.py",
"sha256": "727653159de9a6e9d5b37b1101d3ece5df7dce8fc6a5a3a1f27e260afcfa6c14",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__folder_paths.py",
"sha256": "b748be5d1e068ad673f6c4de069fb6b7b723405c40ae3c3c44465d416f7df2db",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__nodes.py",
"sha256": "fe5f544ccfa777fd49f1e87649a66cf6946fde53cab8e9e5468452278c68d79a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0300__requirements.txt",
"sha256": "240eca10df14f7c2e27219575b290ab5258b787041c0ece756a19e7e770a6171",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-commit.txt",
"sha256": "4780f8485e33e1b1e7f7c78d8b93672f51352569bb0ae96109fdf60c2b8e3a25",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-fetch.txt",
"sha256": "dc1cfc26dc7ab555eea21950ee19a6b7b7ec04229f3ee54524c6fa950ea92320",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-tag.json",
"sha256": "bc1e13ad6482167b11adb2556a7bbb3ff8034a6dfde4a8c4e09e007ab980f1c2",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-tag.txt",
"sha256": "4780f8485e33e1b1e7f7c78d8b93672f51352569bb0ae96109fdf60c2b8e3a25",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310-tree.json",
"sha256": "5bcdf9dd7a2782dc95a4777aed094da9ec351439f5aa0baea0aa228d8b10ec38",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__comfy_extras__nodes_logic.py",
"sha256": "2cb1ce149ce616c0b12a67962ed7b799eb398fbcdeb20dcec4c5210eb6af6df1",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__comfy_extras__nodes_minimax_h3.py",
"sha256": "f767df4074b908efb345f5a87c2fd263ba82c12e65bcca932846207cc213e064",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__comfy_extras__nodes_model_advanced.py",
"sha256": "ffa70c4bb3568537ba13b368092d2599b861db7c83b1bcfa41347058b40dcba7",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__comfy_extras__nodes_model_patch.py",
"sha256": "44367a762417d88ddac58d37602f03eafb95c676a1ca3e020e24c18e123fb4e6",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__nodes.py",
"sha256": "aa7e2a87bb7c1b43273736eef9fcf4811cb55497c5bde2e201135b244b97431a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0310__requirements.txt",
"sha256": "6ec8531660ac6387be13951d61324aa0c46df80912b76c538a6abacf38a5ec30",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-commit.txt",
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-fetch.txt",
"sha256": "e381ed704d67ffacc2d56a1c6c5f942ea7c244cbf20b111568e319cb2a1604e7",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-tag.json",
"sha256": "dea1818eb073751e4fbf27b1e7359d2e54bea6bcafb7077b2b9021956a2dd483",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-tag.txt",
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330-tree.json",
"sha256": "b672950210c6036f571713c78213ef9a6166a00e0a349e4b5890a4cc34c892b0",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330__comfy_extras__nodes_lt.py",
"sha256": "542cadcc408ec54194c9bdad2f3afc3e1c3eead6b0c6400f6aef78b779d74e7d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0330__comfy_extras__nodes_lt_audio.py",
"sha256": "7bb3117d159135e9049d589bc457433c8b88ea8cee35c399dd2959524304258f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-commit.txt",
"sha256": "e0f1df25ec318d898ec809d4335b574fbb772d7be09425997cc649848f649905",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-fetch.txt",
"sha256": "6c91d4fab4c14034e05fdb33e2be7ea6fe2036c0ed93b338f133f539a018e8db",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-tag.json",
"sha256": "fc363c8c85f183f671e7dcb7722d33dcb9bed26d89a8a70a313ae217ccfaabbd",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-tag.txt",
"sha256": "e0f1df25ec318d898ec809d4335b574fbb772d7be09425997cc649848f649905",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340-tree.json",
"sha256": "1722d86e3e2b145c7ca9bac5af3f7e5deb7c72ca6311ac6d91440f24c1aee178",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340__comfy_api__latest___io.py",
"sha256": "495aefa059aad4eed4181aa7fbb415679d3f269651e9fc6f542bdac1b99dd40f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340__comfy_api__latest___io_public.py",
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/core0340__comfy_extras__nodes_primitive.py",
"sha256": "ee3882214ebdd0d20c8061691075cebb1642c303e162f6d22ae525d75aa59b2d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-commit.txt",
"sha256": "0ab389ef96e5ab76bcb0762ef73a1bcaf0fe2087f7d552e3066791d8a03c3931",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-fetch.txt",
"sha256": "5c1199f4d82870dd2bc4a80017a86d326ae2c4f9ae48f0ef41081b818686efaf",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-registry.json",
"sha256": "c802d9fe3cb239a23673170d685f4f3eecffa58ddb5ef2376f7cb4b4a6b5921b",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-tag.json",
"sha256": "73ec4dd743d814a7d5517fee77465d9866cf06a23a4f0e9d3b181be2f7480e45",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-tag.txt",
"sha256": "0ab389ef96e5ab76bcb0762ef73a1bcaf0fe2087f7d552e3066791d8a03c3931",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj-tree.json",
"sha256": "77cc67e36aa32faa824f3508660a3b8183773d204ed81a71c0b30175df56b9ce",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj____init__.py",
"sha256": "2d1032dc82a46f4539f301721e854dbc19b707f29db6734f54c0551b56bbfcf1",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__nodes__ltxv_nodes.py",
"sha256": "11286583c56e653dbd57f5e8eda6902c84b759f16b359b3bf0c895b43e6b5364",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__nodes__preview_override_node.py",
"sha256": "6060c2382e61c041104a61c1fe06f2a163fcddc6e715d20fbf7a03f0af46715c",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__nodes__tiny_vae.py",
"sha256": "f09d1e3ab1cb0f2ee4949f4192b7ea1bb47390c47b80f8517532301283a3472d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__pyproject.toml",
"sha256": "4d4a226e0b1ba9962b13bd9e81ddf91cf26be25f1f82e0e31660f96a84af1ae9",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/kj__requirements.txt",
"sha256": "e8cc1fb089c6e74bb5f326e949fd89ea7653de0d193d7a385c38af44e66656bd",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-commit.txt",
"sha256": "985a4969199ac08d7ebe972ccfcf6d6e8707feb311328d8ed350cb3877035626",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-fetch.txt",
"sha256": "4eac8c5121167234417d95fc1e0acf47542bf27355418ea1e9dcec6f1a7ad45e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-tag.json",
"sha256": "a81bde6f2e8f11458eb7fc1565fcc51690c884371b72b3d3f795d1aa95af3c90",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-tag.txt",
"sha256": "985a4969199ac08d7ebe972ccfcf6d6e8707feb311328d8ed350cb3877035626",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh-tree.json",
"sha256": "81568fadb26e46342b63f8a68147f8b45342f4578189d7c023a51d39cd261b1d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh__README_zh.md",
"sha256": "136960bcde2f105c51d2bc898da0289d052f0f68edd1ea1608612101b19e2a58",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh____init__.py",
"sha256": "7d1c52e999d89ba5cc77619c179d5917cedb8ba6f6445f5b27f765d2107a6f65",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh__nodes____init__.py",
"sha256": "b20c433de5d49283e0a45222816cc4a87397f7754bd23ad989aa8e193366e072",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/lbh__nodes__minimax_h3_latent_upscaler_3d.py",
"sha256": "a104473e1366c6cdb40224587a3831569c92e5930bbc700696ca4bedb59585fd",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/sources.json",
"sha256": "93908ee82ae3c3b8bfe3c15dd29b3b95ee773fae6aae8d36efe51c3f6a6cebf4",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-commit.txt",
"sha256": "7ead5d004626b9371f332426c1d9ce32be2a5fe8a1063e64c80c8de9da95c3d5",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-fetch.txt",
"sha256": "09b238626231cbcf0ea3477b7581dda0ebdcca46307e193f6b2eacc19c02836f",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-tag.json",
"sha256": "acf6bb4fbb6516ebc25bcb6ecbe761579ddb51890217898a6d4cf8f70acd38bd",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-tag.txt",
"sha256": "7ead5d004626b9371f332426c1d9ce32be2a5fe8a1063e64c80c8de9da95c3d5",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/yc-tree.json",
"sha256": "cfdd4ac3585f2093ac3d8755fe7d4dbaf1f9a349dcb64b3ff9e95b33dfd1acf3",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/yc__README.md",
"sha256": "204b89e3f6dd8674d6ec886b7b4d2bfcb5edf90eba0335f5d26c8810744b98d0",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/yc____init__.py",
"sha256": "508bd6f670da1e407e1cf0fbedeefb1502a64b68a689b24e000c181de73ddbd0",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/h3-latent-reference/yc__py__h3_sigma_refiner.py",
"sha256": "6030139ebe259eec80f0ef71ca8c6d93f574820fa90f2444581d80e00c5390fe",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-i2v-reference/frontend__src__composables__node__useNodeImageUpload.ts",
"sha256": "6eaab5459a3c0802aac14bedd8f7b897a0ba19090552c9619def421929158988",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-i2v-reference/frontend__src__extensions__core__uploadImage.ts",
"sha256": "48d062c2ee95bd77c537c539e6c8f8bc03bd71dcec94c5b82487c014ea3e9c06",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-i2v-reference/frontend__src__lib__litegraph__src__widgets__FileUploadWidget.ts",
"sha256": "20fbe1af897e93fb02c039dd84b65673b142cb8c88f3fd3a2ea604913437d311",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-commit.txt",
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-tag.json",
"sha256": "dea1818eb073751e4fbf27b1e7359d2e54bea6bcafb7077b2b9021956a2dd483",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-tag.txt",
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-tree.json",
"sha256": "b672950210c6036f571713c78213ef9a6166a00e0a349e4b5890a4cc34c892b0",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-commit.txt",
"sha256": "f314b54fedee069e1b40fc4d59acc47ff7d228baf8c5edf474dc1a4c48ce9c6a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-tag.json",
"sha256": "e9896519e66bf2929a5f614924ffa272e3dcab7c96afadd49f868ce170011073",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-tag.txt",
"sha256": "ed05e44f7ed7f6aa0571a1be6702d6b75a73420b767858a34ae62d5c1f8ab458",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-tree.json",
"sha256": "ff2e577270f3d192748a027a29d5ba97c1dab160a795b85f9c243190dde3299b",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__package.json",
"sha256": "be762a441dec346f4d50d10d4da87b20465aaaedb31915a59f510eb3bea69dd1",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__pnpm-lock.yaml",
"sha256": "5824740882a16c8c0023937513f4b8727426040dd4a40595ca6af2b3aa2ce114",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__extensions__core__widgetInputs.ts",
"sha256": "8f60f9e5fe4a75f76d8d60c46bb2957485d6a46d331d0e7f522f6458b0ac93a5",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__LICENSE",
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"sha256": "d6263d56f28a5e6c5a95a3a263fe0d6ffe4083a981c01a14ec4ebfca43487e50",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__subgraph__ExecutableNodeDTO.ts",
"sha256": "64baa71b46bd67440b032e18e4d9aebb67a6cc135fe7c4509ae1b5bc25acc2a3",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__subgraph__Subgraph.ts",
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
"sha256": "e204cd7be49ad0d48b16395dc26f6a086ca5be25a3bc0817831139255578219a",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__widgets__BooleanWidget.ts",
"sha256": "c19d7198f3074ebc305848fcd5f6abee354b5a2a990e65a27130e00550bf00ff",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__widgets__NumberWidget.ts",
"sha256": "4f6519f4d5639eef1ac858940ec0a7b3a0a6dde405d663b8a862005c6c4dbd95",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__scripts__app.ts",
"sha256": "77af06200563b25a38589023c08bcaf1220df46cd2cae70928f6cfbe0326b10e",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
},
{
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__scripts__widgets.ts",
"sha256": "5f3d26cd1626c72ec4d3f7cc806345d0c771afb86daf7127935ff26a7a1f3d54",
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
}
],
"count": 122,
"upstream_executed": false,
"note": "commit/tag字节和选定blob已重算,完整tree列表非完整tree对象重哈希。本批准确必要Git文本与已审同版字节复用;无整包/资产获取或安装。历史发布成员SHA/CRC不冒充整包SHA/Git绑定,旧SeedVR越界及删除记录保留。"
}
@@ -0,0 +1,3 @@
准确来源见 `../h3-latent-reference/sources.json`:74必要文本,各含准确commit/tree/blob/URL、SHA、许可或许可未知、获取与复核时间。`verify_sources.py`不导入或执行上游,重哈希commit/tag/选定blob并核准确完整tree清单(不冒充完整tree对象重哈希),核本图95双保存位置/58边/六长文本。32准确实现节点,32无版本/无身份节点,178未取得准确0.31类实现保持unresolved。`source_closure.py`列122文件必要闭包,含本图缺口与继承历史记录。新Git仅filter=blob:none后逐个明确路径show文本;YC/LBH完整tree无LICENSE,许可未知;README不作授权。没有跨路径Git grep、整包/模型/媒体/字体运行库或依赖安装。七扩展文本首轮未单独记时,首次时间保留unknown;后次复核不冒充首次。
复核入口见 `validation-commands.txt`;两次构建/报告在 `repeatability.json`;隔离库真实旧代码和包核对见 `recompute.py` 与对应JSON。首轮扩展误指旧metadata路径、开发格式诊断、主动取消的浏览原日志及接口文字纠正见 `development-record.json`、`initial-source-extension.txt`、`initial-browser-cancelled.txt`;最终成功轮单列,不累计初轮断言。SeedVR越界及删除、127错误GET与取消Git grep可能额外blob的历史记录保持在原证据,未改写成从未发生。
@@ -0,0 +1,81 @@
"""List source texts and their identity/permission evidence, without self hashing."""
import hashlib
import json
from build_definition import OUT, REF, REPO
def main():
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
paths = {p.resolve() for p in REF.iterdir() if p.is_file()}
for e in rows:
paths.add((REF / e["local_file"]).resolve())
if not e["license_file"].startswith("未知"):
paths.add((REF / e["license_file"]).resolve())
if e["id"] in ["litegraph", "llama-unavailable"]:
continue
if "package_record" in e:
paths.add((REF / e["package_record"]).resolve())
paths.add((REF / e["registry_record"]).resolve())
continue
if "member_crc32" in e:
paths.update(
(
(REF / e["identity_root"] / (e["identity_key"] + suffix)).resolve()
for suffix in ["-registry.json", "-members.json", "-range-proof.json"]
)
)
continue
base = REF / e["identity_root"]
paths.update(
(
(base / (e["identity_key"] + suffix)).resolve()
for suffix in ["-commit.txt", "-tag.txt", "-tag.json", "-tree.json"]
)
)
paths.update((p.resolve() for p in REF.glob("*registry*.json")))
paths.update(
(REF / p).resolve()
for p in [
"../fasth3-t2v-reference/core-registry-response.txt",
"../fasth3-t2v-document-evidence/identity-gaps.json",
"../h3-latent-document-evidence/identity-gaps.json",
]
)
result = []
for p in sorted(paths):
raw = p.read_bytes()
result.append(
dict(
path=str(p.relative_to(REPO)),
sha256=hashlib.sha256(raw).hexdigest(),
purpose="准确来源原文、许可或Git对象绑定;静态读取未执行",
)
)
(OUT / "source-closure.json").write_text(
json.dumps(
dict(
files=result,
count=len(result),
upstream_executed=False,
note=(
"commit/tag字节和选定blob已重算"
",完整tree列表非完整tree对象重哈希。"
"本批准确必要Git文本与已审同版字节复用;"
"无整包/资产获取或安装。历史发布成员SHA/CRC不"
"冒充整包SHA/Git绑定,旧SeedVR越"
"界及删除记录保留。"
),
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print("PASS source closure", len(result))
if __name__ == "__main__":
main()
@@ -0,0 +1,21 @@
# 第131批,仅H3多参考双采样潜空间放大固定参考参考;原PR25/main,基线e28c058cb40a32fd009a437a03b66464eb902672。
# 静态必要源码/许可,不执行上游、预处理器、模型、媒体、种子、别名或清理。
# 既有依赖离线恢复,不增依赖。
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/h3-latent-document-evidence/inventory.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/h3-latent-document-evidence/verify_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/h3-latent-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/h3-latent-document-evidence/repeat.py
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_h3_latent_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/h3-latent-document-evidence/*.py calliope-backend/tests/test_h3_latent_fixed_document.py e2e/run-h3-latent-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/h3-latent-document-evidence/*.py calliope-backend/tests/test_h3_latent_fixed_document.py e2e/run-h3-latent-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
node --check e2e/h3-latent-document.mjs
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/h3-latent-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-h3-latent-document.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/h3-latent-document-evidence/collect_browser.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/h3-latent-document-evidence/source_closure.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/h3-latent-document-evidence/freeze.py
# 95新增位置/两标准Note;旧111块冻结。112图6194位置/201注释仅参考,155定稿0/实跑0/新增转换0。
@@ -0,0 +1,8 @@
{
"recorded_at": "2026-10-31T22:51:31.047096+00:00",
"source_checked_at": "2026-10-31T22:51:31.047096+00:00",
"first_acquisition": "67来源保留实际获取时间;7个首轮扩展未独立记时的来源保持unknown,复核时间单列",
"historical_acquisition": "本图复用来源的原获取记录保留;不修改其它批历史未知时间",
"upstream_executed": false,
"actual_get_checked_at": "2026-10-31T22:54:20.132734+00:00"
}
@@ -0,0 +1,202 @@
"Verify exact text, Git/package provenance and source graph without upstream imports."
import hashlib
import json
import zlib
from build_definition import OUT, REF, build, canonical
from inventory import inventory
def object_hash(kind, raw):
return hashlib.sha1(kind.encode() + b" " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
def main():
block, inv = build(), inventory()
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
checks = []
for e in rows:
raw = (REF / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
if e["id"] == "litegraph":
root = REF / e["identity_root"]
assert (
json.loads((root / "litegraph__package__package.json").read_bytes())["version"]
== "0.15.15"
)
front = next(
x for x in rows if x["id"] == "frontend" and x["file"] == "package-lock.json"
)
lock = json.loads((REF / front["local_file"]).read_bytes())
assert (
lock["packages"]["node_modules/@comfyorg/litegraph"]["integrity"]
== "sha512-" + e["artifact_sha512_base64"]
)
proof = (
"Pinned frontend1.23.0 lock, exact0.15."
"15 member SHA; whole artifact digest r"
"eused, Git unknown"
)
elif "package_record" in e:
package = json.loads((REF / e["package_record"]).read_bytes())
reg = json.loads((REF / e["registry_record"]).read_bytes())
member = next(x for x in package["members"] if x["path"] == e["file"])
assert member["saved"] and member["sha256"] == e["sha256"]
assert reg["version"] == e["tag"] == "1.0.0"
assert package["sha256"] == e["artifact_sha256"]
proof = (
"复用已审准确发布成员SHA/registry/历史整包摘要记录;本轮未获取整包,不证明Git绑定"
)
elif e["id"] == "llama-unavailable":
proof = "准确20571提交不可得的有界调查原记录,仅缺口,不作为schema实现"
elif "member_crc32" in e:
root = REF / e["identity_root"]
m = json.loads((root / (e["id"] + "-registry.json")).read_bytes())
members = json.loads((root / (e["id"] + "-members.json")).read_bytes())
member = next(x for x in members if x["name"] == e["file"])
assert m["version"] == e["tag"]
assert member["crc"] == e["member_crc32"] == zlib.crc32(raw)
assert e["package_sha256"].startswith("unknown")
proof = "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
else:
root = REF / e["identity_root"]
key = e["identity_key"]
commit = (root / (key + "-commit.txt")).read_bytes()
tree = json.loads((root / (key + "-tree.json")).read_bytes())
assert object_hash("commit", commit) == e["commit"]
assert commit.decode().splitlines()[0] == "tree " + e["tree"] == "tree " + tree["sha"]
assert not tree["truncated"]
assert (
next(t["sha"] for t in tree["tree"] if t["path"] == e["file"])
== e["git_blob_sha1"]
== object_hash("blob", raw)
)
tag = json.loads((root / (key + "-tag.json")).read_bytes())
tag_raw = (root / (key + "-tag.txt")).read_bytes()
assert tag["commit"] == e["commit"]
if tag["object"] == e["commit"]:
assert tag_raw == commit
else:
assert object_hash("tag", tag_raw) == tag["object"]
assert tag_raw.decode().startswith("object " + e["commit"] + "\n")
proof = (
"Rehashed commit/tag/selected blo"
"b; complete tree listing, not fu"
"ll tree-object rehash"
)
if not e["license_file"].startswith("未知"):
license_row = next(
x
for x in rows
if x["id"] == e["id"]
and ((REF / x["local_file"]).resolve() == (REF / e["license_file"]).resolve())
)
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"] == "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
assert len(inv["fields"]) == 95 and len(inv["notes"]) == 4
assert (
len(inv["scopes"]) == 1
and inv["scopes"][0]["nodes"] == 69
and inv["scopes"][0]["edges"] == 58
)
assert set(inv["scopes"][0]["modes"]) == {0} and inv["scopes"][0]["named_nodes"] == 60
assert {n["node"] for n in inv["empty"]} == {218, 209, 212, 211, 219, 142, 126, 125, 272}
assert all(n["state"] == "missing" for n in inv["empty"])
for f, original in zip(block["fields"], inv["fields"], strict=True):
assert f["pointer"] == original["pointer"] and f["json_type"] == original["json_type"]
assert canonical(f["value"]) == canonical(original["value"])
assert canonical(f["value"]) == canonical(f["named_value"])
from build_definition import PATHS, REPO
g = json.loads((REPO / PATHS[0]).read_bytes())
ns = {n["id"]: n for n in g["nodes"]}
edges = {e[0]: e[1:5] for e in g["links"]}
expected = {
287: [127, 0, 142, 0],
295: [142, 0, 147, 0],
327: [147, 0, 149, 0],
436: [149, 0, 178, 0],
386: [178, 0, 224, 0],
413: [253, 0, 126, 0],
414: [253, 0, 124, 0],
415: [124, 0, 254, 0],
416: [254, 0, 208, 0],
354: [208, 0, 125, 3],
384: [125, 1, 211, 0],
420: [211, 0, 262, 0],
363: [211, 1, 212, 1],
421: [262, 0, 212, 0],
365: [212, 0, 209, 4],
375: [209, 0, 219, 0],
376: [209, 0, 218, 0],
418: [219, 0, 257, 0],
419: [257, 0, 220, 0],
}
for k, v in expected.items():
assert edges[k] == v, (k, edges[k], v)
assert ns[125]["outputs"][0]["links"] == [] and ns[209]["outputs"][1]["links"] == []
assert ns[282]["outputs"][0]["links"] is None
assert ns[262]["widgets_values"][5] == ns[262]["widgets_values_named"]["force_unload"] == "cuda"
assert next(i for i in ns[262]["inputs"] if i["name"] == "force_unload")["type"] == "BOOLEAN"
assert all(
b["source_id"] == "unknown"
for b in block["node_bindings"]
if b["class_type"]
in ["SetNode", "GetNode", "LayerUtility: PurgeVRAM V2", "Label (rgthree)"]
)
expected_text = {
117: (1670, 38, True, "3712abf649cd3bdd6b3aeaaa07a5fbeaff7e55d756abf0bd3fcc6b1311c09ad8"),
255: (526, 9, True, "426494ce4903a9dace25f62d1aa14b0802f788c5bc3c2a608c7b446b38558110"),
140: (452, 16, True, "e72ca08679fd91e2b0185be81dfd558a2b59613540df74d4fa3e5ea6cdb8e938"),
281: (129, 5, False, "e495da4a5e607e261ed393cd07ff34d6ad4fda82ede86166ae63bc60d2f7fb9c"),
138: (
10512,
126,
False,
"070167aecef0fb593c6cad6e3b6236351c10ad213c7a62d1b2d354e430ede6d3",
),
282: (2231, 4, False, "81c76e274a22fdd29ef94a8586fb6edb7ccf78b851204316e6e77323305a26a6"),
}
for nid, (length, lf, tail, sha) in expected_text.items():
text = ns[nid]["widgets_values"][0]
assert (
len(text) == length
and text.count("\n") == lf
and text.endswith("\n") == tail
and text.count("\\n") == 0
)
assert hashlib.sha256(text.encode()).hexdigest() == sha
result = dict(
sources=checks,
positions=95,
notes=4,
edges=58,
accurate_nodes=sum(bool(b["candidates"]) for b in block["node_bindings"]),
unknown_nodes=[b for b in block["node_bindings"] if b["source_id"] == "unknown"],
unresolved_nodes=[
b for b in block["node_bindings"] if b["source_id"].startswith("unresolved-")
],
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(
"PASS 95 paired positions,4 notes,58 edges;",
result["accurate_nodes"],
"accurate nodes",
len(result["unknown_nodes"]),
"unknown",
len(result["unresolved_nodes"]),
"unresolved",
)
if __name__ == "__main__":
main()
@@ -0,0 +1,6 @@
tree 464882c394abbafb1ff649f5b5e70bc9fe076a69
parent 6eba7739f077b06dcf019e5aa5f7da5d2a029d68
author comfyanonymous <comfyanonymous@protonmail.com> 1785725354 -0400
committer comfyanonymous <comfyanonymous@protonmail.com> 1785725354 -0400
ComfyUI v0.30.0
@@ -0,0 +1,2 @@
From https://github.com/Comfy-Org/ComfyUI
* tag v0.30.0 -> FETCH_HEAD
@@ -0,0 +1,5 @@
{
"object": "b1693ecba9f5b65f8c80ab36b195ab963ec92413",
"commit": "b1693ecba9f5b65f8c80ab36b195ab963ec92413",
"tag": "v0.30.0"
}
@@ -0,0 +1,6 @@
tree 464882c394abbafb1ff649f5b5e70bc9fe076a69
parent 6eba7739f077b06dcf019e5aa5f7da5d2a029d68
author comfyanonymous <comfyanonymous@protonmail.com> 1785725354 -0400
committer comfyanonymous <comfyanonymous@protonmail.com> 1785725354 -0400
ComfyUI v0.30.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>.
@@ -0,0 +1,442 @@
# MiniMax H3 audio VAE: DAC-lineage waveform encoder + BigVGAN decoder.
# Weight-norm parametrizations are folded into plain conv weights, so this
# module uses ordinary ops.Conv1d / ops.ConvTranspose1d and loads the converted
# checkpoint (plain "*.weight" tensors) with strict=True.
#
# Lineage / licenses of the reference implementation:
# DAC encoder: descript-audio-codec (MIT)
# BigVGAN decoder: NVIDIA BigVGAN (MIT), adapted from hifi-gan (MIT)
# Alias-free ops: junjun3518/alias-free-torch (Apache-2.0), julius (MIT)
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
import comfy.ops
ops = comfy.ops.disable_weight_init
# Snake activations
def snake(x, alpha, beta):
# x + 1/beta * sin^2(alpha * x)
t = torch.sin(alpha * x)
return t.mul_(t).mul_((beta + 1e-9).reciprocal()).add_(x)
class Snake1d(nn.Module):
"""Snake activation with per-channel alpha (encoder side)."""
def __init__(self, channels):
super().__init__()
self.alpha = nn.Parameter(torch.empty(1, channels, 1))
def forward(self, x):
return snake(x, self.alpha, self.alpha)
class SnakeBeta(nn.Module):
"""SnakeBeta := x + 1/beta * sin^2(alpha * x); alpha/beta stored in log scale."""
def __init__(self, in_features):
super().__init__()
self.alpha = nn.Parameter(torch.empty(in_features))
self.beta = nn.Parameter(torch.empty(in_features))
def forward(self, x):
alpha = torch.exp(self.alpha).view(1, -1, 1)
beta = torch.exp(self.beta).view(1, -1, 1)
return snake(x, alpha, beta)
# Alias-free (anti-aliased) activation: kaiser-windowed sinc resampling
def kaiser_sinc_filter1d(cutoff, half_width, kernel_size):
# returns filter [1, 1, kernel_size]
even = kernel_size % 2 == 0
half_size = kernel_size // 2
# kaiser window design
delta_f = 4 * half_width
A = 2.285 * (half_size - 1) * math.pi * delta_f + 7.95
if A > 50.0:
beta = 0.1102 * (A - 8.7)
elif A >= 21.0:
beta = 0.5842 * (A - 21) ** 0.4 + 0.07886 * (A - 21.0)
else:
beta = 0.0
window = torch.kaiser_window(kernel_size, beta=beta, periodic=False)
if even:
time = torch.arange(-half_size, half_size) + 0.5
else:
time = torch.arange(kernel_size) - half_size
filter_ = 2 * cutoff * window * torch.sinc(2 * cutoff * time)
# Normalize filter to have sum = 1, otherwise there is a small leakage of
# the constant component in the input signal.
filter_ /= filter_.sum()
return filter_.view(1, 1, kernel_size)
class UpSample1d(nn.Module):
def __init__(self, ratio=2, kernel_size=12):
super().__init__()
self.ratio = ratio
self.stride = ratio
self.pad = kernel_size // ratio - 1
self.pad_left = self.pad * ratio + (kernel_size - ratio) // 2
self.pad_right = self.pad * ratio + (kernel_size - ratio + 1) // 2
self.register_buffer(
"filter",
kaiser_sinc_filter1d(cutoff=0.5 / ratio, half_width=0.6 / ratio, kernel_size=kernel_size),
)
def forward(self, x):
_, C, _ = x.shape
x = F.pad(x, (self.pad, self.pad), mode="replicate")
x = F.conv_transpose1d(x, self.filter.expand(C, -1, -1).to(x.dtype), stride=self.stride, groups=C).mul_(self.ratio)
x = x[..., self.pad_left:-self.pad_right]
return x
class LowPassFilter1d(nn.Module):
def __init__(self, cutoff=0.5, half_width=0.6, stride=1, kernel_size=12):
super().__init__()
self.pad_left = kernel_size // 2 - int(kernel_size % 2 == 0)
self.pad_right = kernel_size // 2
self.stride = stride
self.register_buffer("filter", kaiser_sinc_filter1d(cutoff, half_width, kernel_size))
def forward(self, x):
_, C, _ = x.shape
x = F.pad(x, (self.pad_left, self.pad_right), mode="replicate")
return F.conv1d(x, self.filter.expand(C, -1, -1).to(x.dtype), stride=self.stride, groups=C)
class DownSample1d(nn.Module):
def __init__(self, ratio=2, kernel_size=12):
super().__init__()
self.ratio = ratio
self.kernel_size = kernel_size
self.lowpass = LowPassFilter1d(
cutoff=0.5 / ratio,
half_width=0.6 / ratio,
stride=ratio,
kernel_size=self.kernel_size,
)
def forward(self, x):
return self.lowpass(x)
class Activation1d(nn.Module):
"""upsample x2 -> pointwise activation -> downsample x2 (anti-aliased)."""
def __init__(self, activation, up_ratio=2, down_ratio=2, up_kernel_size=12, down_kernel_size=12):
super().__init__()
self.act = activation
self.upsample = UpSample1d(up_ratio, up_kernel_size)
self.downsample = DownSample1d(down_ratio, down_kernel_size)
def forward(self, x):
x = self.upsample(x)
x = self.act(x)
x = self.downsample(x)
return x
# DAC encoder
class ResidualUnit(nn.Module):
def __init__(self, dim=16, dilation=1):
super().__init__()
pad = ((7 - 1) * dilation) // 2
self.block = nn.Sequential(
Snake1d(dim),
ops.Conv1d(dim, dim, kernel_size=7, dilation=dilation, padding=pad),
Snake1d(dim),
ops.Conv1d(dim, dim, kernel_size=1),
)
def forward(self, x):
y = self.block(x)
pad = (x.shape[-1] - y.shape[-1]) // 2
if pad > 0:
x = x[..., pad:-pad]
return y.add_(x)
class EncoderBlock(nn.Module):
def __init__(self, dim=16, stride=1):
super().__init__()
self.block = nn.Sequential(
ResidualUnit(dim // 2, dilation=1),
ResidualUnit(dim // 2, dilation=3),
ResidualUnit(dim // 2, dilation=9),
Snake1d(dim // 2),
ops.Conv1d(
dim // 2,
dim,
kernel_size=2 * stride,
stride=stride,
padding=math.ceil(stride / 2),
),
)
def forward(self, x):
return self.block(x)
class Encoder(nn.Module):
def __init__(self, d_model=64, strides=(2, 4, 4, 5, 5), d_latent=2048):
super().__init__()
block = [ops.Conv1d(1, d_model, kernel_size=7, padding=3)]
for stride in strides:
d_model *= 2
block += [EncoderBlock(d_model, stride=stride)]
block += [
Snake1d(d_model),
ops.Conv1d(d_model, d_latent, kernel_size=3, padding=1),
]
self.block = nn.Sequential(*block)
def forward(self, x):
return self.block(x)
# Attention projection (encoder posterior head)
class GeGluMlp(nn.Module):
def __init__(self, in_features, hidden_features):
super().__init__()
self.norm = ops.LayerNorm(in_features)
self.act = nn.GELU(approximate="tanh")
self.w0 = ops.Linear(in_features, hidden_features)
self.w1 = ops.Linear(in_features, hidden_features)
self.w2 = ops.Linear(hidden_features, in_features)
def forward(self, x):
x = self.norm(x)
return self.w2(self.act(self.w0(x)).mul_(self.w1(x)))
class CausalAttention(nn.Module):
def __init__(self, in_dim, out_dim, num_heads):
super().__init__()
self.head_dim = in_dim // num_heads
self.num_heads = num_heads
self.out_dim = out_dim
self.qkv = ops.Linear(in_dim, in_dim * 3, bias=False)
self.q_bias = nn.Parameter(torch.empty(in_dim))
self.v_bias = nn.Parameter(torch.empty(in_dim))
self.register_buffer("zero_k_bias", torch.empty(in_dim))
self.proj = ops.Linear(out_dim, out_dim)
def forward(self, x):
B, N, C = x.shape
weight, _, offload_stream = comfy.ops.cast_bias_weight(self.qkv, x, offloadable=True)
qkv = F.linear(x, weight=weight, bias=torch.cat((self.q_bias, self.zero_k_bias, self.v_bias)))
comfy.ops.uncast_bias_weight(self.qkv, weight, None, offload_stream)
q, k, v = qkv.reshape(B, N, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4).unbind(0)
# mean over heads then pool down to the latent width (in_dim >> out_dim)
x = comfy.ops.scaled_dot_product_attention(q, k, v, is_causal=True)
x = F.adaptive_avg_pool1d(torch.mean(x, dim=1), self.out_dim)
return self.proj(x)
class AttnProjection(nn.Module):
def __init__(self, in_dim, out_dim, num_heads, mlp_ratio=2):
super().__init__()
self.norm1 = ops.LayerNorm(in_dim)
self.attn = CausalAttention(in_dim, out_dim, num_heads)
self.proj = ops.Linear(in_dim, out_dim)
self.norm3 = ops.LayerNorm(in_dim)
self.norm2 = ops.LayerNorm(out_dim)
hidden_dim = int(out_dim * mlp_ratio)
self.mlp = GeGluMlp(in_features=out_dim, hidden_features=hidden_dim)
def forward(self, x):
# x: [B, T, in_dim]
x = self.proj(self.norm3(x)).add_(self.attn(self.norm1(x)))
return x.add_(self.mlp(self.norm2(x)))
# BigVGAN decoder
def get_padding(kernel_size, dilation=1):
return int((kernel_size * dilation - dilation) / 2)
class AMPBlock1(nn.Module):
def __init__(self, channels, kernel_size=3, dilation=(1, 3, 5)):
super().__init__()
self.convs1 = nn.ModuleList(
[
ops.Conv1d(channels, channels, kernel_size, stride=1, dilation=d, padding=get_padding(kernel_size, d))
for d in dilation
]
)
self.convs2 = nn.ModuleList(
[
ops.Conv1d(channels, channels, kernel_size, stride=1, dilation=1, padding=get_padding(kernel_size, 1))
for _ in range(len(dilation))
]
)
self.num_layers = len(self.convs1) + len(self.convs2)
self.activations = nn.ModuleList(
[Activation1d(activation=SnakeBeta(channels)) for _ in range(self.num_layers)]
)
def forward(self, x):
acts1, acts2 = self.activations[::2], self.activations[1::2]
for c1, c2, a1, a2 in zip(self.convs1, self.convs2, acts1, acts2):
xt = a1(x)
xt = c1(xt)
xt = a2(xt)
xt = c2(xt)
x = xt.add_(x)
return x
class BigVGAN(nn.Module):
"""BigVGAN vocoder (MiniMax H3 32 kHz configuration).
use_bias_at_final=False, use_tanh_at_final=False (output clamped to [-1, 1]).
"""
def __init__(
self,
num_mels=2048,
upsample_initial_channel=1024,
upsample_rates=(5, 5, 2, 2, 2, 2, 2),
upsample_kernel_sizes=(9, 9, 4, 4, 4, 4, 4),
resblock_kernel_sizes=(3, 7, 11),
resblock_dilation_sizes=((1, 3, 5), (1, 3, 5), (1, 3, 5)),
):
super().__init__()
self.num_kernels = len(resblock_kernel_sizes)
self.num_upsamples = len(upsample_rates)
self.conv_pre = ops.Conv1d(num_mels, upsample_initial_channel, 7, 1, padding=3)
self.ups = nn.ModuleList()
for i, (u, k) in enumerate(zip(upsample_rates, upsample_kernel_sizes)):
self.ups.append(
nn.ModuleList(
[
ops.ConvTranspose1d(
upsample_initial_channel // (2 ** i),
upsample_initial_channel // (2 ** (i + 1)),
k,
u,
padding=(k - u) // 2,
)
]
)
)
self.resblocks = nn.ModuleList()
for i in range(len(self.ups)):
ch = upsample_initial_channel // (2 ** (i + 1))
for k, d in zip(resblock_kernel_sizes, resblock_dilation_sizes):
self.resblocks.append(AMPBlock1(ch, k, d))
self.activation_post = Activation1d(activation=SnakeBeta(ch))
self.conv_post = ops.Conv1d(ch, 1, 7, 1, padding=3, bias=False)
def forward(self, x):
x = self.conv_pre(x)
for i in range(self.num_upsamples):
for i_up in range(len(self.ups[i])):
x = self.ups[i][i_up](x)
xs = None
for j in range(self.num_kernels):
if xs is None:
xs = self.resblocks[i * self.num_kernels + j](x)
else:
xs += self.resblocks[i * self.num_kernels + j](x)
x = xs.div_(self.num_kernels)
x = self.activation_post(x)
return self.conv_post(x).clamp_(-1.0, 1.0)
# Top-level VAE
class MiniMaxH3AudioVAE(nn.Module):
"""MiniMax H3 stereo audio VAE at 32 kHz.
Latents are [B, 32, 2, T]: 32 channels, 2 stereo channels, T frames at
40 latent frames per second (800 audio samples per latent frame). The
stereo channels are processed independently by the mono encoder/decoder.
Latents are normalized with the stored per-channel latents_mean/std.
"""
def __init__(
self,
encoder_dim=64,
encoder_rates=(2, 4, 4, 5, 5),
latent_dim=2048,
decoder_dim=1024,
vae_latent_channels=32,
):
super().__init__()
self.sample_rate = 32000
self.hop_length = 1
for r in encoder_rates:
self.hop_length *= r
self.samples_per_latent = self.hop_length # 800
self.latents_per_second = self.sample_rate // self.hop_length # 40
self.output_sample_rate = self.sample_rate # read by LTXVAudioVAEDecode
self.encoder = Encoder(encoder_dim, encoder_rates, latent_dim)
self.pre_block = AttnProjection(latent_dim, vae_latent_channels, num_heads=8)
self.mean_proj = ops.Conv1d(vae_latent_channels, vae_latent_channels, 1)
# logs_proj exists in the checkpoint but is unused at inference
# (encode returns the posterior mean, no sampling).
self.logs_proj = ops.Conv1d(vae_latent_channels, vae_latent_channels, 1)
self.dec_in_proj = ops.Conv1d(vae_latent_channels, latent_dim, 1)
self.decoder = BigVGAN(num_mels=latent_dim, upsample_initial_channel=decoder_dim)
self.register_buffer("latents_mean", torch.empty(vae_latent_channels))
self.register_buffer("latents_std", torch.empty(vae_latent_channels))
def decode(self, z):
"""Decode normalized latents [B, 32, 2, T] to stereo waveforms [B, 2, L] at 32 kHz."""
b, c, s, t = z.shape
z = z.permute(0, 2, 1, 3).reshape(b * s, c, t)
mean = self.latents_mean.view(1, -1, 1).to(device=z.device, dtype=z.dtype)
std = self.latents_std.view(1, -1, 1).to(device=z.device, dtype=z.dtype)
z = z * std + mean
x = self.dec_in_proj(z)
x = self.decoder(x) # [b * s, 1, L], already clamped to [-1, 1]
return x.reshape(b, s, -1)
def encode(self, waveform):
"""Encode stereo waveforms [B, 2, L] at 32 kHz (in [-1, 1]) to normalized latents [B, 32, 2, T].
L is right-padded with zeros to a multiple of 800 samples; the returned
posterior mean is used directly (no sampling).
"""
b, s, length = waveform.shape
right_pad = math.ceil(length / self.hop_length) * self.hop_length - length
waveform = F.pad(waveform, (0, right_pad))
x = waveform.reshape(b * s, 1, -1)
x = self.encoder(x) # [b * s, latent_dim, T]
x = self.pre_block(x.transpose(1, 2)).transpose(1, 2) # [b * s, 32, T]
z = self.mean_proj(x)
mean = self.latents_mean.view(1, -1, 1).to(device=z.device, dtype=z.dtype)
std = self.latents_std.view(1, -1, 1).to(device=z.device, dtype=z.dtype)
z = (z - mean) / std
return z.reshape(b, s, z.shape[1], z.shape[2]).permute(0, 2, 1, 3)
@@ -0,0 +1,694 @@
# MiniMax H3 video VAE: 3D causal CNN encoder + ViT3D decoder.
import math
import torch
import torch.nn as nn
import torch.nn.functional as F
import comfy.ops
import comfy.quant_ops
import comfy.rmsnorm
from comfy.ldm.modules.attention import optimized_attention
ops = comfy.ops.disable_weight_init
IMAGENET_MEAN = (0.485, 0.456, 0.406)
IMAGENET_STD = (0.229, 0.224, 0.225)
LATENTS_MEAN = [
0.858090341091156, -0.9606591463088989, 1.0661640167236328, -0.5090325474739075,
-0.2727581858634949, -1.3675414323806763, -0.2553254961967468, -0.26907554268836975,
-0.5376840829849243, -0.0464097298681736, 0.6657370328903198, 0.19690127670764923,
-0.5460608005523682, -0.4035342037677765, -0.23683024942874908, 0.25928452610969543,
-0.30133944749832153, 0.211341992020607, -1.1206848621368408, 0.3581933379173279,
-0.04225143790245056, 0.2604829967021942, 0.22864092886447906, 0.7056031823158264,
]
LATENTS_STD = [
1.2223774194717407, 1.2767263650894165, 1.68317747116088865, 1.7549455165863037,
1.5636216402053833, 2.194143533706665, 0.96531379222869875, 1.05698859691619875,
0.841948926448822, 0.7729952931404114, 1.8955937623977661, 0.946841835975647,
0.7996809482574463, 0.44988900423049925, 0.7197399735450745, 0.69362932443618775,
2.961095094680786, 2.7694199085235595, 3.0496184825897215, 2.1088054180145265,
3.276226282119751, 3.1627357006073, 2.28168129920959475, 2.6127843856811525,
]
# 3D causal CNN encoder
class CausalConv3d(ops.Conv3d):
# Reflect spatial padding, causal (zeros, front-only) temporal padding.
def __init__(self, in_channels, out_channels, kernel_size, stride=1, padding=0):
super().__init__(in_channels, out_channels, kernel_size=kernel_size, stride=stride)
self.causal_padding = (padding,) * 3 if isinstance(padding, int) else tuple(padding)
def forward(self, x):
if sum(self.causal_padding) == 0:
return super().forward(x)
x = F.pad(x, (self.causal_padding[2], self.causal_padding[2], self.causal_padding[1], self.causal_padding[1], 0, 0), mode="reflect")
if x.shape[2] == 1:
# single frame: the causal front padding is all zeros truncate the temporal taps instead of convolving zero frames
return super().forward(x, autopad="causal_zero")
x = F.pad(x, (0, 0, 0, 0, self.causal_padding[0] * 2, 0), mode="constant")
return super().forward(x)
class TemporalIsolatedGroupNorm(ops.GroupNorm):
# GroupNorm with statistics computed per frame (time merged into batch).
def forward(self, x):
if x.dim() == 5:
b, c, t, h, w = x.shape
x = x.permute(0, 2, 1, 3, 4).contiguous().view(b * t, c, 1, h, w)
x = super().forward(x)
return x.view(b, t, c, h, w).permute(0, 2, 1, 3, 4).contiguous()
return super().forward(x)
def group_norm_3d(num_channels):
return TemporalIsolatedGroupNorm(num_groups=32, num_channels=num_channels, eps=1e-6, affine=True)
class Downsample3D(nn.Module):
def __init__(self, in_channels, out_channels, time_stride=1, space_stride=2):
super().__init__()
self.space_stride = space_stride
self.conv = CausalConv3d(
in_channels,
out_channels,
kernel_size=3,
padding=(1, 0, 0),
stride=(time_stride, space_stride, space_stride),
)
def forward(self, x):
if self.space_stride == 2:
x = F.pad(x, (0, 1, 0, 1, 0, 0), mode="reflect")
return self.conv(x)
class ResnetBlock3D(nn.Module):
def __init__(self, in_channels, out_channels=None):
super().__init__()
self.in_channels = in_channels
out_channels = in_channels if out_channels is None else out_channels
self.out_channels = out_channels
self.norm1 = group_norm_3d(in_channels)
self.norm2 = group_norm_3d(out_channels)
self.conv1 = CausalConv3d(in_channels, out_channels, kernel_size=3, padding=1)
self.conv2 = CausalConv3d(out_channels, out_channels, kernel_size=3, padding=1)
if in_channels != out_channels:
self.nin_shortcut = CausalConv3d(in_channels, out_channels, kernel_size=1)
def forward(self, x):
h = self.conv1(F.silu(self.norm1(x), inplace=True))
h = self.conv2(F.silu(self.norm2(h), inplace=True))
if self.in_channels != self.out_channels:
x = self.nin_shortcut(x)
return h.add_(x)
class EncoderFCN3D(nn.Module):
def __init__(self, ch, ch_mult, space_down, time_down, num_res_blocks, in_channels, z_channels, double_z=True):
super().__init__()
self.num_levels = len(ch_mult)
if isinstance(num_res_blocks, int):
num_res_blocks = [num_res_blocks] * self.num_levels
self.num_res_blocks = num_res_blocks
block_mid = [ch * ch_mult[i] for i in range(self.num_levels)]
block_in = [block_mid[0]] + block_mid[:-1]
block_out = block_mid
self.conv_in = CausalConv3d(in_channels, block_in[0], kernel_size=3, padding=1)
self.down = nn.ModuleList()
for i_level in range(self.num_levels):
down = nn.Module()
down.block = nn.ModuleList()
for i in range(self.num_res_blocks[i_level]):
down.block.append(
ResnetBlock3D(
in_channels=block_in[i_level] if i == 0 else block_mid[i_level],
out_channels=block_mid[i_level],
)
)
if space_down[i_level] * time_down[i_level] > 1:
down.downsample = Downsample3D(
block_mid[i_level],
block_out[i_level],
time_stride=time_down[i_level],
space_stride=space_down[i_level],
)
self.down.append(down)
self.norm_out = group_norm_3d(block_out[-1])
self.conv_out = CausalConv3d(
block_out[-1],
2 * z_channels if double_z else z_channels,
kernel_size=3,
padding=1,
)
def forward(self, x):
h = self.conv_in(x)
for i_level in range(self.num_levels):
for i_block in range(self.num_res_blocks[i_level]):
h = self.down[i_level].block[i_block](h)
if hasattr(self.down[i_level], "downsample"):
h = self.down[i_level].downsample(h)
h = F.silu(self.norm_out(h))
return self.conv_out(h)
# ViT3D decoder
def create_token_ids(patch_dims, device, dtype):
coords_list = []
for dim_size in patch_dims:
coords = torch.arange(0.5, dim_size, dtype=dtype, device=device)
coords = coords / dim_size
coords = 2.0 * coords - 1.0
coords_list.append(coords)
coords = torch.stack(torch.meshgrid(*coords_list, indexing="ij"), dim=-1)
return coords.flatten(0, len(patch_dims) - 1).unsqueeze(0)
class RotaryEmbeddingND(nn.Module):
def __init__(self, dim, rotary_base=100.0, n_dim=3):
super().__init__()
self.n_dim = n_dim
self.angle_scale = 2.0 * math.pi
inv_freq = 1 / rotary_base ** torch.arange(0, 1, 2 * n_dim / dim, dtype=torch.float32)
self.register_buffer("inv_freq", inv_freq, persistent=False)
def forward(self, img_ids):
# [B, S, n_dim] -> [B, S, 1, pairs, 2, 2] rotation table for the kitchen split-half rope
angles = (
self.angle_scale
* img_ids[:, :, :, None].float()
* self.inv_freq.to(img_ids.device)[None, None, None, :]
)
angles = angles.flatten(2, 3)
c, s = torch.cos(angles), torch.sin(angles)
table = torch.stack([c, -s, s, c], dim=-1).reshape(*angles.shape[:2], 1, angles.shape[-1], 2, 2)
return table.to(img_ids.dtype)
class FeedForward(nn.Module):
# Gated SiLU FFN.
def __init__(self, dim, mult=4, bias=True):
super().__init__()
inner_dim = dim * mult
self.w1 = ops.Linear(dim, inner_dim * 2, bias=bias)
self.w2 = ops.Linear(inner_dim, dim, bias=bias)
def forward(self, x):
gate, x = self.w1(x).chunk(2, dim=-1)
return self.w2(F.silu(gate).mul_(x))
class Attention(nn.Module):
def __init__(self, heads, dim_head, bias=True, eps=1e-5):
super().__init__()
self.dim_head = dim_head
self.heads = heads
inner_dim = dim_head * heads
self.norm_q = ops.RMSNorm(dim_head, eps=eps, elementwise_affine=False)
self.norm_k = ops.RMSNorm(dim_head, eps=eps, elementwise_affine=False)
self.to_qkv = ops.Linear(inner_dim, inner_dim * 3, bias=bias)
self.to_out = ops.Linear(inner_dim, inner_dim, bias=bias)
def forward(self, x, rotary_pos_emb=None):
batch_size, seq_len, _ = x.shape
qkv = self.to_qkv(x)
qkv = qkv.view(batch_size, seq_len, -1, 3 * self.dim_head)
query, key, value = torch.chunk(qkv, 3, dim=-1)
query = comfy.rmsnorm.rms_norm(query, self.norm_q.weight, self.norm_q.eps)
key = comfy.rmsnorm.rms_norm(key, self.norm_k.weight, self.norm_k.eps)
if rotary_pos_emb is not None:
rot = rotary_pos_emb.shape[-3] * 2
query[..., :rot], key[..., :rot] = comfy.quant_ops.ck.apply_rope_split_half(
query[..., :rot], key[..., :rot], rotary_pos_emb)
out = optimized_attention(query.transpose(1, 2), key.transpose(1, 2), value.transpose(1, 2),
self.heads, skip_reshape=True).nan_to_num_(0.0)
return self.to_out(out)
class TransformerBlock(nn.Module):
def __init__(self, heads, dim_head, bias=True, eps=1e-5):
super().__init__()
dim = heads * dim_head
self.norm1 = ops.RMSNorm(dim, elementwise_affine=True, eps=eps)
self.attn = Attention(heads=heads, dim_head=dim_head, bias=bias, eps=eps)
self.scale1 = nn.Parameter(torch.empty(dim))
self.norm2 = ops.RMSNorm(dim, elementwise_affine=True, eps=eps)
self.ff = FeedForward(dim=dim, bias=bias)
self.scale2 = nn.Parameter(torch.empty(dim))
def forward(self, x, rotary_pos_emb=None):
x = x.addcmul_(self.attn(comfy.rmsnorm.rms_norm(x, self.norm1.weight, self.norm1.eps), rotary_pos_emb), self.scale1)
return x.addcmul_(self.ff(comfy.rmsnorm.rms_norm(x, self.norm2.weight, self.norm2.eps)), self.scale2)
class ViT3DDecoder(nn.Module):
def __init__(self, patch_size=16, patch_size_t=4, in_channels=24, out_channels=3, num_layers=36, heads=32, dim_head=64, rope_theta=100.0,
rope_dim_ratio=0.75, bias=True, eps=1e-5, num_register_tokens=4):
super().__init__()
dim = heads * dim_head
self.patch_size = patch_size
self.patch_size_t = patch_size_t
self.out_channels = out_channels
self.num_register_tokens = num_register_tokens
self.pos_embed = RotaryEmbeddingND(int(dim_head * rope_dim_ratio), rope_theta, n_dim=3)
self.x_embedder = ops.Linear(in_channels, dim)
self.register_tokens = nn.Parameter(torch.empty(1, num_register_tokens, dim))
# unused at inference; kept so the checkpoint loads without leftover keys
self.register_buffer("mask_token", torch.empty(1, 1, dim))
self.transformer_blocks = nn.ModuleList(
[TransformerBlock(heads=heads, dim_head=dim_head, bias=bias, eps=eps)
for _ in range(num_layers)]
)
self.norm_out = ops.LayerNorm(dim, elementwise_affine=True, eps=eps)
self.proj_out = ops.Linear(dim, out_channels * patch_size_t * patch_size * patch_size)
def forward(self, x):
B, C, latent_T, latent_H, latent_W = x.shape
h = self.x_embedder(x.flatten(2).transpose(1, 2)) # [B, T*H*W, C]
num_patches = h.shape[1]
num_suffix = 1 + self.num_register_tokens
h = torch.cat([h, self.register_tokens.expand(B, -1, -1), torch.zeros_like(h[:, 0:1, :])], dim=1)
img_ids = create_token_ids((latent_T, latent_H, latent_W), x.device, x.dtype).expand(B, -1, -1)
suffix_ids = torch.zeros((B, num_suffix, 3), device=x.device, dtype=img_ids.dtype)
img_ids = torch.cat([img_ids, suffix_ids], dim=1)
rotary_pos_emb = self.pos_embed(img_ids)
for block in self.transformer_blocks:
h = block(h, rotary_pos_emb)
output = self.proj_out(self.norm_out(h))
output = output[:, :num_patches, :]
output = output.view(
B, latent_T, latent_H, latent_W,
self.out_channels, self.patch_size_t, self.patch_size, self.patch_size,
)
output = output.permute(0, 4, 1, 5, 2, 6, 3, 7).contiguous()
output = output.reshape(
B, self.out_channels,
latent_T * self.patch_size_t,
latent_H * self.patch_size,
latent_W * self.patch_size,
)
return output
# Full VAE
class MiniMaxH3VideoVAE(nn.Module):
def __init__(
self,
in_channels=3,
out_ch=3,
ch=128,
embed_dim=24,
z_channels=24,
ch_mult=(1, 2, 2, 4, 4, 8),
num_res_blocks=2,
space_down=(2, 2, 2, 2, 1, 1),
time_down=(1, 2, 2, 1, 1, 1),
clip_length=17,
token_drop=3,
tile_size=256,
tile_overlap_min=64,
tiling=True,
):
super().__init__()
self.vae_ratio = int(math.prod(space_down))
self.vae_ratio_t = int(math.prod(time_down))
# temporal chunking parameters
self.clip_length = clip_length
self.token_drop = token_drop
self.frame_pre_padding = (-clip_length) % self.vae_ratio_t
self.tokens_chunk_size = math.ceil(clip_length / self.vae_ratio_t)
self.token_overlap = (-token_drop) % self.tokens_chunk_size
self.frame_overlap = max(self.token_overlap * self.vae_ratio_t - self.frame_pre_padding, 0)
# spatial tiling parameters
self.tiling = tiling
self.tile_size = tile_size
self.tile_overlap_min = tile_overlap_min
self.encoder = EncoderFCN3D(
ch=ch,
ch_mult=list(ch_mult),
space_down=list(space_down),
time_down=list(time_down),
num_res_blocks=num_res_blocks,
in_channels=in_channels,
z_channels=z_channels,
double_z=True,
)
self.quant_conv = ops.Conv3d(z_channels * 2, 2 * embed_dim, 1)
self.post_quant_conv = ops.Conv3d(embed_dim, z_channels, 1)
self.decoder = ViT3DDecoder(
patch_size=self.vae_ratio,
patch_size_t=self.vae_ratio_t,
in_channels=z_channels,
out_channels=out_ch,
)
self.register_buffer("latents_mean", torch.tensor(LATENTS_MEAN))
self.register_buffer("latents_std", torch.tensor(LATENTS_STD))
self.register_buffer("pixel_mean", torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1, 1), persistent=False)
self.register_buffer("pixel_std", torch.tensor(IMAGENET_STD).view(1, 3, 1, 1, 1), persistent=False)
# single-shot forward
def _encode_moments(self, x):
return self.quant_conv(self.encoder(x))
def _decode_pixels(self, z):
return self.decoder(self.post_quant_conv(z))
def _adaptive_encode(self, x):
if self.tiling:
return self.tiled_encode(x)
return self._encode_moments(x)
def _adaptive_decode(self, z):
if self.tiling:
return self.tiled_decode(z)
return self._decode_pixels(z)
# spatial tiling
def split_tiles(self, input_len):
tile_size = self.tile_size
if tile_size >= input_len:
return [0], [input_len], []
N = math.ceil(input_len / tile_size)
while True:
overlaps = [self.tile_overlap_min] * (N - 1)
remaining = tile_size * N - sum(overlaps) - input_len
if remaining < 0:
N += 1
else:
break
remaining_units = remaining // self.vae_ratio
for i in range(remaining_units):
overlaps[i % (N - 1)] += self.vae_ratio
tile_start_idx = [0]
for i in range(N - 1):
tile_start_idx.append(tile_start_idx[-1] + tile_size - overlaps[i])
return tile_start_idx, [tile_size] * N, overlaps
def blend(self, a, b, blend_extent, dim):
blend_extent = min(a.shape[dim], b.shape[dim], blend_extent)
positions = torch.arange(blend_extent, device=b.device, dtype=b.dtype)
weight_a = 1 - positions / blend_extent
weight_b = positions / blend_extent
shape = [1] * a.ndim
shape[dim] = blend_extent
weight_a = weight_a.view(shape)
weight_b = weight_b.view(shape)
slice_a = [slice(None)] * a.ndim
slice_a[dim] = slice(-blend_extent, None)
slice_b = [slice(None)] * b.ndim
slice_b[dim] = slice(0, blend_extent)
blended = a[tuple(slice_a)] * weight_a + b[tuple(slice_b)] * weight_b
if blend_extent < b.shape[dim]:
slice_b_rest = [slice(None)] * b.ndim
slice_b_rest[dim] = slice(blend_extent, None)
return torch.cat([blended, b[tuple(slice_b_rest)]], dim=dim)
return blended
def tiled_encode(self, x):
height, width = x.shape[-2], x.shape[-1]
y_idx, y_len, y_overlap = self.split_tiles(height)
x_idx, x_len, x_overlap = self.split_tiles(width)
rows = []
for i_pos, i_len in zip(y_idx, y_len):
row = []
for j_pos, j_len in zip(x_idx, x_len):
tile = x[..., i_pos:i_pos + i_len, j_pos:j_pos + j_len]
row.append(self._encode_moments(tile))
rows.append(row)
latent_y_overlap = [o // self.vae_ratio for o in y_overlap]
latent_x_overlap = [o // self.vae_ratio for o in x_overlap]
result_rows = []
for i, row in enumerate(rows):
result_row = []
for j, tile in enumerate(row):
if i > 0:
tile = self.blend(rows[i - 1][j], tile, latent_y_overlap[i - 1], dim=-2)
if j > 0:
tile = self.blend(row[j - 1], tile, latent_x_overlap[j - 1], dim=-1)
if i < len(rows) - 1:
tile = tile[..., :-latent_y_overlap[i], :]
if j < len(row) - 1:
tile = tile[..., :, :-latent_x_overlap[j]]
result_row.append(tile)
result_rows.append(torch.cat(result_row, dim=-1))
return torch.cat(result_rows, dim=-2)
def tiled_decode(self, z):
height, width = z.shape[-2] * self.vae_ratio, z.shape[-1] * self.vae_ratio
y_idx, y_len, y_overlap = self.split_tiles(height)
x_idx, x_len, x_overlap = self.split_tiles(width)
# Blended tiles are written straight into a pre-allocated canvas.
canvas = None
row_tails = []
out_y = 0
for i, (i_pos, i_len) in enumerate(zip(y_idx, y_len)):
zi, zl = i_pos // self.vae_ratio, i_len // self.vae_ratio
new_tails = []
left_tail = None
out_x = 0
for j, (j_pos, j_len) in enumerate(zip(x_idx, x_len)):
zj, zw = j_pos // self.vae_ratio, j_len // self.vae_ratio
tile = self._decode_pixels(z[..., zi:zi + zl, zj:zj + zw])
if i < len(y_idx) - 1:
new_tails.append(tile[..., -y_overlap[i]:, :].clone())
next_left_tail = tile[..., :, -x_overlap[j]:].clone() if j < len(x_idx) - 1 else None
if i > 0:
tile = self.blend(row_tails[j], tile, y_overlap[i - 1], dim=-2)
if j > 0:
tile = self.blend(left_tail, tile, x_overlap[j - 1], dim=-1)
left_tail = next_left_tail
if i < len(y_idx) - 1:
tile = tile[..., :-y_overlap[i], :]
if j < len(x_idx) - 1:
tile = tile[..., :, :-x_overlap[j]]
if canvas is None:
canvas = torch.empty(*tile.shape[:-2], height, width, dtype=tile.dtype, device=tile.device)
canvas[..., out_y:out_y + tile.shape[-2], out_x:out_x + tile.shape[-1]].copy_(tile)
out_x += tile.shape[-1]
row_tails = new_tails
out_y += tile.shape[-2]
return canvas
# temporal chunking
def encode_temporal(self, x):
if x.shape[2] % self.clip_length != 0:
pad_size = (-x.shape[2]) % self.clip_length
pad_frames = x[:, :, -1:].repeat(1, 1, pad_size, 1, 1)
x = torch.cat([x, pad_frames], dim=2)
num_chunks = x.shape[2] // self.clip_length
z_list = []
for i in range(num_chunks):
clip_x = x[:, :, i * self.clip_length:(i + 1) * self.clip_length, :, :]
z_list.append(self._adaptive_encode(clip_x))
z = torch.cat(z_list, dim=2)
if self.token_drop > 0:
z = z[:, :, :-self.token_drop]
return z
def _decode_temporal_pad_frames(self, z_len, pad_tokens):
if pad_tokens <= 0:
return 0
intra_tail = self.clip_length % self.vae_ratio_t
if intra_tail == 0:
return pad_tokens * self.vae_ratio_t
z_len_before_pad = z_len - pad_tokens
return sum(
(intra_tail if (z_len_before_pad + k) % self.tokens_chunk_size == 0
else self.vae_ratio_t)
for k in range(pad_tokens)
)
def _decode_temporal_frame_plan(self, z_len, num_chunks, pad_tokens):
chunk_dec = self.tokens_chunk_size * self.vae_ratio_t
split_count = int(self.token_drop > 0) + 1
total_frames = 0
final_overlap_frames = 0
for i in range(num_chunks):
t_start_idx = i * self.tokens_chunk_size
t_end_idx = t_start_idx + self.tokens_chunk_size + self.token_overlap
clip_token_len = max(0, min(t_end_idx, z_len) - min(t_start_idx, z_len))
clip_frame_len = clip_token_len * self.vae_ratio_t
for j in range(split_count):
f_start_idx = j * chunk_dec
f_end_idx = min(f_start_idx + chunk_dec, clip_frame_len)
chunk_frames = max(0, f_end_idx - f_start_idx - self.frame_pre_padding)
if j == 0:
total_frames += chunk_frames
else:
final_overlap_frames = chunk_frames
total_frames += final_overlap_frames
return total_frames - self._decode_temporal_pad_frames(z_len, pad_tokens)
def decode_temporal(self, z):
chunk_dec = self.tokens_chunk_size * self.vae_ratio_t
split_count = int(self.token_drop > 0) + 1
pseudo_total_tokens = z.shape[2] + self.token_drop
pad_tokens = 0
remainder = pseudo_total_tokens % self.tokens_chunk_size
if remainder != 0:
pad_tokens = self.tokens_chunk_size - remainder
pseudo_total_tokens += pad_tokens
num_chunks = pseudo_total_tokens // self.tokens_chunk_size - int(self.token_drop > 0)
if num_chunks < 1:
# too few tokens for one chunk (e.g. T_lat == 2): pad one extra chunk
pad_tokens += self.tokens_chunk_size
num_chunks += 1
if pad_tokens > 0:
pad_z = z[:, :, -1:, :, :].repeat(1, 1, pad_tokens, 1, 1)
z = torch.cat([z, pad_z], dim=2)
output_frames = self._decode_temporal_frame_plan(z.shape[2], num_chunks, pad_tokens)
dec = None
dec_overlap = None
write_pos = 0
def write_part(part):
nonlocal dec, write_pos
part_frames = part.shape[2]
if part_frames <= 0:
return
if dec is None:
out_shape = list(part.shape)
out_shape[2] = output_frames
dec = torch.empty(out_shape, dtype=part.dtype, device=part.device)
copy_frames = min(part_frames, max(0, dec.shape[2] - write_pos))
if copy_frames > 0:
dec[:, :, write_pos:write_pos + copy_frames, :, :].copy_(
part[:, :, :copy_frames, :, :]
)
write_pos += copy_frames
for i in range(num_chunks):
t_start_idx = i * self.tokens_chunk_size
t_end_idx = t_start_idx + self.tokens_chunk_size + self.token_overlap
clip_z = z[:, :, t_start_idx:t_end_idx, :, :]
clip_dec = self._adaptive_decode(clip_z)
for j in range(split_count):
f_start_idx = j * chunk_dec
f_end_idx = min(f_start_idx + chunk_dec, clip_dec.shape[2])
clip_dec_chunk = clip_dec[:, :, f_start_idx:f_end_idx, :, :]
clip_dec_chunk = clip_dec_chunk[:, :, self.frame_pre_padding:, :, :]
if j == 0:
if dec_overlap is not None:
clip_dec_chunk = self.blend(
dec_overlap, clip_dec_chunk, self.frame_overlap, dim=-3
)
dec_overlap = None
write_part(clip_dec_chunk)
else:
dec_overlap = clip_dec_chunk.contiguous()
if i == num_chunks - 1 and dec_overlap is not None:
write_part(dec_overlap)
dec_overlap = None
del clip_dec, clip_z
return dec
def encode(self, x):
# x: [B, 3, T, H, W] in [-1, 1] -> normalized latents [B, 24, T_lat, H/16, W/16]
if x.ndim == 4:
x = x.unsqueeze(2)
x = x.add(1.0).mul_(0.5).sub_(self.pixel_mean.to(x)).div_(self.pixel_std.to(x))
if x.shape[2] == 1:
moments = self._adaptive_encode(x)
moments = moments[:, :, -1:, :, :]
else:
moments = self.encode_temporal(x)
mean = torch.chunk(moments.float(), 2, dim=1)[0]
latents_mean = self.latents_mean.view(1, -1, 1, 1, 1).to(mean)
latents_std = self.latents_std.view(1, -1, 1, 1, 1).to(mean)
return (mean - latents_mean) / latents_std
def encode_tiled(self, x, **kwargs):
# tiling is always on internally with the reference's semantic tile sizes, ignore tiling fallbacks
return self.encode(x)
def decode_tiled(self, z, **kwargs):
return self.decode(z)
def decode(self, z):
# z: [B, 24, T_lat, H_lat, W_lat] normalized latents -> pixels [B, 3, T, H, W] in [-1, 1]
latents_mean = self.latents_mean.view(1, -1, 1, 1, 1).to(z)
latents_std = self.latents_std.view(1, -1, 1, 1, 1).to(z)
z = z * latents_std + latents_mean
if z.shape[2] == 1:
dec = self._adaptive_decode(z)
dec = dec[:, :, -1:, :, :]
else:
dec = self.decode_temporal(z)
dec = dec.float()
dec.mul_(self.pixel_std.to(dec)).add_(self.pixel_mean.to(dec)).clamp_(0.0, 1.0).mul_(2.0).sub_(1.0)
return dec
@@ -0,0 +1,94 @@
import torch
class NestedTensor:
def __init__(self, tensors):
self.tensors = list(tensors)
self.is_nested = True
def _copy(self):
return NestedTensor(self.tensors)
def apply_operation(self, other, operation):
o = self._copy()
if isinstance(other, NestedTensor):
for i, t in enumerate(o.tensors):
o.tensors[i] = operation(t, other.tensors[i])
else:
for i, t in enumerate(o.tensors):
o.tensors[i] = operation(t, other)
return o
def __add__(self, b):
return self.apply_operation(b, lambda x, y: x + y)
def __sub__(self, b):
return self.apply_operation(b, lambda x, y: x - y)
def __mul__(self, b):
return self.apply_operation(b, lambda x, y: x * y)
# def __itruediv__(self, b):
# return self.apply_operation(b, lambda x, y: x / y)
def __truediv__(self, b):
return self.apply_operation(b, lambda x, y: x / y)
def __getitem__(self, *args, **kwargs):
return self.apply_operation(None, lambda x, y: x.__getitem__(*args, **kwargs))
def unbind(self):
return self.tensors
def to(self, *args, **kwargs):
o = self._copy()
for i, t in enumerate(o.tensors):
o.tensors[i] = t.to(*args, **kwargs)
return o
def new_ones(self, *args, **kwargs):
return self.tensors[0].new_ones(*args, **kwargs)
def float(self):
return self.to(dtype=torch.float)
def cpu(self):
return self.to(device="cpu")
def chunk(self, *args, **kwargs):
return self.apply_operation(None, lambda x, y: x.chunk(*args, **kwargs))
def size(self):
return self.tensors[0].size()
@property
def shape(self):
return self.tensors[0].shape
@property
def ndim(self):
dims = 0
for t in self.tensors:
dims = max(t.ndim, dims)
return dims
@property
def device(self):
return self.tensors[0].device
@property
def dtype(self):
return self.tensors[0].dtype
@property
def layout(self):
return self.tensors[0].layout
def cat_nested(tensors, *args, **kwargs):
cated_tensors = []
for i in range(len(tensors[0].tensors)):
tens = []
for j in range(len(tensors)):
tens.append(tensors[j].tensors[i])
cated_tensors.append(torch.cat(tens, *args, **kwargs))
return NestedTensor(cated_tensors)
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,201 @@
"""MiniMax H3 text/vision conditioning: Qwen3-VL-32B (truncated to 50 layers).
The H3 presentation is NOT chat-templated: token ids are raw prompt/label text
(no special tokens) with explicit vision blocks spliced in:
t2va: <prompt>
fl2va: "<Picture 1>: " <vision block> ["<Picture 2>: " <vision block>] <prompt>
ref2va: per condition in request order (1-based ordinals per type):
image -> "<Picture i>: " <vision block>
audio -> "<Audio j>: " (audio never enters Qwen)
video -> "<Video k>: " then per 2-frame temporal block
"<T.T seconds>" <vision block(2 frames)>
then <prompt>
The conditioning is the unnormalized hidden state after LM layer 50 (the
converted checkpoint is truncated there, so this is simply the last-layer
output with no final norm). Vision-pad positions carry adaLN token tag 0
(video modality) in the DiT; text positions carry tag 1 — the tags are
returned alongside the embeddings as "minimax_token_tags".
"""
import math
import torch
import torch.nn.functional as F
import comfy.sd1_clip
from .qwen3vl import Qwen3VL, Qwen3VLSDTokenizer
VISION_START = 151652
VISION_END = 151653
QWEN_IMAGE_MEAN = [0.5, 0.5, 0.5]
QWEN_IMAGE_STD = [0.5, 0.5, 0.5]
def process_video_block(frames, patch_size=16, temporal_patch_size=2, merge_size=2,
min_pixels=3136, max_pixels=12845056):
"""[2, H, W, C] frame pair -> (flatten_patches, grid_thw) with grid_t=1.
Same resize/normalize policy as process_qwen2vl_images, but the two frames
fill the temporal patch instead of repeating a single frame.
"""
t, height, width, _ = frames.shape
imgs = frames.permute(0, 3, 1, 2)
factor = patch_size * merge_size
h_bar = round(height / factor) * factor
w_bar = round(width / factor) * factor
if h_bar * w_bar > max_pixels:
beta = math.sqrt((height * width) / max_pixels)
h_bar = max(factor, math.floor(height / beta / factor) * factor)
w_bar = max(factor, math.floor(width / beta / factor) * factor)
elif h_bar * w_bar < min_pixels:
beta = math.sqrt(min_pixels / (height * width))
h_bar = math.ceil(height * beta / factor) * factor
w_bar = math.ceil(width * beta / factor) * factor
imgs = F.interpolate(imgs, size=(h_bar, w_bar), mode="bilinear", align_corners=False)
mean = torch.tensor(QWEN_IMAGE_MEAN, device=imgs.device).view(1, 3, 1, 1)
std = torch.tensor(QWEN_IMAGE_STD, device=imgs.device).view(1, 3, 1, 1)
imgs = (imgs - mean) / std
grid_h = h_bar // patch_size
grid_w = w_bar // patch_size
patches = imgs.reshape(1, temporal_patch_size, 3, grid_h // merge_size, merge_size,
patch_size, grid_w // merge_size, merge_size, patch_size)
patches = patches.permute(0, 3, 6, 4, 7, 2, 1, 5, 8)
flatten = patches.reshape(grid_h * grid_w, 3 * temporal_patch_size * patch_size * patch_size)
grid_thw = torch.stack([torch.tensor([1, grid_h, grid_w], device=frames.device, dtype=torch.long)])
return flatten, grid_thw
def token_tags_from_embeds_info(seq_len, embeds_info):
# whole vision block VIDEO(0), including the flanking <|vision_start|>/<|vision_end|> tokens
# embeds_info spans cover only the expanded embeddings, so widen by one on each side.
tags = torch.ones(seq_len, dtype=torch.long)
for e in embeds_info:
if e.get("type") == "image":
tags[max(0, e["index"] - 1):e["index"] + e["size"] + 1] = 0
return tags
class MiniMaxQwen3VL(Qwen3VL):
model_type = "qwen3vl_32b"
def preprocess_embed(self, embed, device):
if embed["type"] == "image" and embed.get("minimax_video_block", False):
flatten, grid = process_video_block(embed["data"])
merged, deepstack = self.visual(flatten.to(device, dtype=torch.float32), grid)
return merged, {"grid": grid, "deepstack": deepstack}
return super().preprocess_embed(embed, device)
def forward(self, input_ids, attention_mask=None, embeds=None, num_tokens=None,
intermediate_output=None, final_layer_norm_intermediate=True,
dtype=None, embeds_info=[], **kwargs):
seq = embeds.shape[1] if embeds is not None else input_ids.shape[1]
self.last_token_tags = token_tags_from_embeds_info(seq, embeds_info)
return super().forward(input_ids, attention_mask=attention_mask, embeds=embeds,
num_tokens=num_tokens, intermediate_output=intermediate_output,
final_layer_norm_intermediate=final_layer_norm_intermediate,
dtype=dtype, embeds_info=embeds_info, **kwargs)
class MiniMaxH3ClipModel(comfy.sd1_clip.SDClipModel):
def __init__(self, device="cpu", layer="last", layer_idx=None, dtype=None, model_options={}):
super().__init__(device=device, layer="last", layer_idx=None, textmodel_json_config={},
dtype=dtype, special_tokens={"pad": 151643}, layer_norm_hidden_state=False,
model_class=MiniMaxQwen3VL, enable_attention_masks=False,
return_attention_masks=False, model_options=model_options)
def encode_token_weights(self, token_weight_pairs):
out = super().encode_token_weights(token_weight_pairs)
tags = getattr(self.transformer, "last_token_tags", None)
if tags is not None:
extra = out[2] if len(out) > 2 and isinstance(out[2], dict) else {}
extra["minimax_token_tags"] = tags
out = (out[0], out[1], extra)
return out
class MiniMaxH3TEModel(comfy.sd1_clip.SD1ClipModel):
def __init__(self, device="cpu", dtype=None, model_options={}):
super().__init__(device=device, dtype=dtype, name="qwen3vl_32b",
clip_model=MiniMaxH3ClipModel, model_options=model_options)
class MiniMaxH3Tokenizer(comfy.sd1_clip.SD1Tokenizer):
def __init__(self, embedding_directory=None, tokenizer_data={}):
tokenizer = lambda *a, **kw: Qwen3VLSDTokenizer(*a, **kw, embedding_size=5120, embedding_key="qwen3vl_32b")
super().__init__(embedding_directory=embedding_directory, tokenizer_data=tokenizer_data, name="qwen3vl_32b", tokenizer=tokenizer)
def _text_ids(self, text):
tok = self.qwen3vl_32b.tokenizer
return tok(text, add_special_tokens=False)["input_ids"]
@staticmethod
def _vision_entry(data, video_block=False):
emb = {"type": "image", "data": data, "original_type": "image"}
if video_block:
emb["minimax_video_block"] = True
return emb
def tokenize_with_weights(self, text, return_word_ids=False, images=[],
minimax_ref_items=None, **kwargs):
entries = []
def add_text(s):
entries.extend((tid, 1.0) for tid in self._text_ids(s))
def add_vision(data, video_block=False):
entries.append((VISION_START, 1.0))
entries.append((self._vision_entry(data, video_block), 1.0))
entries.append((VISION_END, 1.0))
if minimax_ref_items:
counters = {"image": 0, "audio": 0, "video": 0}
for item in minimax_ref_items:
kind = item["type"]
counters[kind] += 1
if kind == "image":
add_text("<Picture %d>: " % counters["image"])
add_vision(item["data"])
elif kind == "audio":
add_text("<Audio %d>: " % counters["audio"])
elif kind == "video":
frames = item["data"] # [T, H, W, C], sampled at 2 fps
timestamps = item.get("timestamps")
if timestamps is None:
timestamps = [i / 2.0 for i in range(frames.shape[0])]
if frames.shape[0] % 2 == 1: # repeat-pad to temporal patch of 2
frames = torch.cat([frames, frames[-1:]], dim=0)
timestamps = list(timestamps) + [timestamps[-1]]
add_text("<Video %d>: " % counters["video"])
for i in range(0, frames.shape[0], 2):
block_ts = (timestamps[i] + timestamps[i + 1]) / 2.0
add_text("<%.1f seconds>" % block_ts)
add_vision(frames[i:i + 2], video_block=True)
else:
for i, img in enumerate(images):
add_text("<Picture %d>: " % (i + 1))
add_vision(img)
add_text(text)
if len(entries) == 0:
entries.append((151643, 1.0))
if return_word_ids:
entries = [t + (0,) for t in entries]
return {"qwen3vl_32b": [entries]}
def untokenize(self, token_weight_pair):
return self.qwen3vl_32b.untokenize(token_weight_pair)
def te(dtype_llama=None, llama_quantization_metadata=None, **kwargs):
class MiniMaxH3TEModel_(MiniMaxH3TEModel):
def __init__(self, device="cpu", dtype=None, model_options={}):
if dtype_llama is not None:
dtype = dtype_llama
if llama_quantization_metadata is not None:
model_options = model_options.copy()
model_options["quantization_metadata"] = llama_quantization_metadata
super().__init__(device=device, dtype=dtype, model_options=model_options)
return MiniMaxH3TEModel_
@@ -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",
]
@@ -0,0 +1,147 @@
from __future__ import annotations
from abc import ABC, abstractmethod
from fractions import Fraction
from typing import Optional, Union, IO
import io
import av
from .._util import VideoContainer, VideoCodec, VideoComponents
class VideoInput(ABC):
"""
Abstract base class for video input types.
"""
@abstractmethod
def get_components(self) -> VideoComponents:
"""
Abstract method to get the video components (images, audio, and frame rate).
Returns:
VideoComponents containing images, audio, and frame rate
"""
pass
@abstractmethod
def save_to(
self,
path: Union[str, IO[bytes]],
format: VideoContainer = VideoContainer.AUTO,
codec: VideoCodec = VideoCodec.AUTO,
metadata: Optional[dict] = None,
bit_depth: int | None = None,
crf: float | None = None,
):
"""
Abstract method to save the video input to a file.
bit_depth selects the encoded bit depth; None keeps the video's native depth.
crf selects the H.264 constant rate factor; None uses the encoder default.
"""
pass
@abstractmethod
def as_trimmed(
self,
start_time: float | None = None,
duration: float | None = None,
strict_duration: bool = False,
) -> VideoInput | None:
"""
Create a new VideoInput which is trimmed to have the corresponding start_time and duration
Returns:
A new VideoInput, or None if the result would have negative duration
"""
pass
def get_stream_source(self) -> Union[str, io.BytesIO]:
"""
Get a streamable source for the video. This allows processing without
loading the entire video into memory.
Returns:
Either a file path (str) or a BytesIO object that can be opened with av.
Default implementation creates a BytesIO buffer, but subclasses should
override this for better performance when possible.
"""
buffer = io.BytesIO()
self.save_to(buffer)
buffer.seek(0)
return buffer
def get_active_trim_window(self) -> tuple[float, float]:
"""Return the active trim as ``(start_time, duration)`` in seconds (start_time normalized
to ``>= 0``; ``duration == 0`` means "until the end"). Default: no trim; trimmable subclasses override.
"""
return 0.0, 0.0
# Provide a default implementation, but subclasses can provide optimized versions
# if possible.
def get_dimensions(self) -> tuple[int, int]:
"""
Returns the dimensions of the video input.
Returns:
Tuple of (width, height)
"""
components = self.get_components()
return components.images.shape[2], components.images.shape[1]
def get_bit_depth(self) -> int:
"""
Returns the bit depth of the video (e.g. 8 or 10).
Default implementation returns 8; subclasses report their real depth.
"""
return 8
def get_duration(self) -> float:
"""
Returns the duration of the video in seconds.
Returns:
Duration in seconds
"""
components = self.get_components()
frame_count = components.images.shape[0]
return float(frame_count / components.frame_rate)
def get_frame_count(self) -> int:
"""
Returns the number of frames in the video.
Default implementation uses :meth:`get_components`, which may require
loading all frames into memory. File-based implementations should
override this method and use container/stream metadata instead.
Returns:
Total number of frames as an integer.
"""
return int(self.get_components().images.shape[0])
def get_frame_rate(self) -> Fraction:
"""
Returns the frame rate of the video.
Default implementation materializes the video into memory via
`get_components()`. Subclasses that can inspect the underlying
container (e.g. `VideoFromFile`) should override this with a more
efficient implementation.
Returns:
Frame rate as a Fraction.
"""
return self.get_components().frame_rate
def get_container_format(self) -> str:
"""
Returns the container format of the video (e.g., 'mp4', 'mov', 'avi').
Returns:
Container format as string
"""
# Default implementation - subclasses should override for better performance
source = self.get_stream_source()
with av.open(source, mode="r") as container:
return container.format.name
@@ -0,0 +1,909 @@
from av.container import InputContainer
from av.subtitles.stream import SubtitleStream
from av.video.reformatter import ColorRange
from fractions import Fraction
from typing import Optional
from .._input import AudioInput, VideoInput
import av
import io
import itertools
import json
import numpy as np
import math
import os
import torch
from .._util import VideoContainer, VideoCodec, VideoComponents
import logging
def container_to_output_format(container_format: str | None) -> str | None:
"""
A container's `format` may be a comma-separated list of formats.
E.g., iso container's `format` may be `mov,mp4,m4a,3gp,3g2,mj2`.
However, writing to a file/stream with `av.open` requires a single format,
or `None` to auto-detect.
"""
if not container_format:
return None # Auto-detect
if "," not in container_format:
return container_format
formats = container_format.split(",")
return formats[0]
def get_open_write_kwargs(
dest: str | io.BytesIO, container_format: str, to_format: str | None
) -> dict:
"""Get kwargs for writing a `VideoFromFile` to a file/stream with `av.open`"""
is_write_to_buffer = isinstance(dest, io.BytesIO)
is_mp4_file = not is_write_to_buffer and os.path.splitext(dest)[1].lower() == ".mp4"
movflags = "use_metadata_tags+faststart" if is_mp4_file else "use_metadata_tags"
open_kwargs = {
"mode": "w",
# If isobmff, preserve custom metadata tags (workflow, prompt, extra_pnginfo)
"options": {"movflags": movflags},
}
if is_write_to_buffer:
# Set output format explicitly, since it cannot be inferred from file extension
if to_format == VideoContainer.AUTO:
to_format = container_format.lower()
elif isinstance(to_format, str):
to_format = to_format.lower()
open_kwargs["format"] = container_to_output_format(to_format)
return open_kwargs
def video_stream_bit_depth(stream) -> int:
if stream is None or stream.format is None or not stream.format.components:
return 8
return max(component.bits for component in stream.format.components)
def last_decodable_audio_stream(container: InputContainer):
"""Streams FFmpeg has no decoder for have no codec context, and decoding their
packets crashes the process (e.g. APAC spatial-audio track in iPhone)."""
stream = next(
(s for s in reversed(container.streams.audio) if s.codec_context is not None),
None,
)
if stream is None and len(container.streams.audio):
logging.warning("No decodable audio stream found in video; ignoring audio.")
return stream
def probe_audio_params(container: InputContainer, audio_stream, max_packets: int = 200):
"""Containers probed only up to a window (mpegts) leave audio codec parameters unset when
audio starts beyond it; learn them by decoding ahead. The caller must seek back afterwards.
Returns (sample_rate, channels), zeros when the stream never yields a decodable frame."""
for i, packet in enumerate(container.demux(audio_stream)):
try:
frames = packet.decode()
except av.error.FFmpegError:
frames = ()
if frames:
return frames[0].sample_rate, frames[0].layout.nb_channels
if i >= max_packets:
break
return 0, 0
def write_output_metadata(container: InputContainer, output, metadata: dict | None):
"""Copy the source container's metadata, then overlay the caller's tags."""
for key, value in container.metadata.items():
if metadata is None or key not in metadata:
output.metadata[key] = value
if metadata is not None:
for key, value in metadata.items():
output.metadata[key] = value if isinstance(value, str) else json.dumps(value)
def mp4_output_open_kwargs(path: str | io.BytesIO, format: VideoContainer, codec: VideoCodec) -> dict:
if format != VideoContainer.AUTO and format != VideoContainer.MP4:
raise ValueError("Only MP4 format is supported for now")
if codec != VideoCodec.AUTO and codec != VideoCodec.H264:
raise ValueError("Only H264 codec is supported for now")
# FFmpeg's faststart pass reopens the output by filename, so it cannot be used with file-like objects.
movflags = "use_metadata_tags+faststart" if isinstance(path, (str, os.PathLike)) else "use_metadata_tags"
open_kwargs = {"mode": "w", "options": {"movflags": movflags}}
if isinstance(format, VideoContainer) and format != VideoContainer.AUTO:
open_kwargs["format"] = format.value
elif isinstance(path, io.BytesIO):
open_kwargs["format"] = "mp4" # no file extension to infer the format from
return open_kwargs
class VideoFromFile(VideoInput):
"""
Class representing video input from a file.
"""
def __init__(self, file: str | io.BytesIO, *, start_time: float=0, duration: float=0):
"""
Initialize the VideoFromFile object based off of either a path on disk or a BytesIO object
containing the file contents.
"""
self.__file = file
self.__start_time = start_time
self.__duration = duration
def get_stream_source(self) -> str | io.BytesIO:
"""
Return the underlying file source for efficient streaming.
This avoids unnecessary memory copies when the source is already a file path.
"""
if isinstance(self.__file, io.BytesIO):
self.__file.seek(0)
return self.__file
def get_active_trim_window(self) -> tuple[float, float]:
start_time = self.__start_time
if start_time < 0:
start_time = max(self._get_raw_duration() + start_time, 0.0)
return float(start_time), float(self.__duration)
def get_dimensions(self) -> tuple[int, int]:
"""
Returns the dimensions of the video input.
Returns:
Tuple of (width, height)
"""
if isinstance(self.__file, io.BytesIO):
self.__file.seek(0) # Reset the BytesIO object to the beginning
with av.open(self.__file, mode='r') as container:
for stream in container.streams:
if stream.type == 'video':
assert isinstance(stream, av.VideoStream)
return stream.width, stream.height
raise ValueError(f"No video stream found in file '{self.__file}'")
def get_bit_depth(self) -> int:
if isinstance(self.__file, io.BytesIO):
self.__file.seek(0) # Reset the BytesIO object to the beginning
with av.open(self.__file, mode="r") as container:
video_stream = container.streams.video[0] if len(container.streams.video) > 0 else None
return video_stream_bit_depth(video_stream)
def get_duration(self) -> float:
"""
Returns the duration of the video in seconds.
Returns:
Duration in seconds
"""
raw_duration = self._get_raw_duration()
if self.__start_time < 0:
duration_from_start = min(raw_duration, -self.__start_time)
else:
duration_from_start = raw_duration - self.__start_time
if self.__duration:
return min(self.__duration, duration_from_start)
return duration_from_start
def _get_raw_duration(self) -> float:
if isinstance(self.__file, io.BytesIO):
self.__file.seek(0)
with av.open(self.__file, mode="r") as container:
if container.duration is not None:
return float(container.duration / av.time_base)
# Fallback: calculate from frame count and frame rate
video_stream = next(
(s for s in container.streams if s.type == "video"), None
)
if video_stream and video_stream.frames and video_stream.average_rate:
return float(video_stream.frames / video_stream.average_rate)
# Last resort: decode frames to count them
if video_stream and video_stream.average_rate:
frame_count = 0
container.seek(0)
frame_iterator = (
container.decode(video_stream)
if video_stream.codec.capabilities & 0x100
else container.demux(video_stream)
)
for packet in frame_iterator:
frame_count += 1
if frame_count > 0:
return float(frame_count / video_stream.average_rate)
raise ValueError(f"Could not determine duration for file '{self.__file}'")
def get_frame_count(self) -> int:
"""
Returns the number of frames in the video without materializing them as
torch tensors.
"""
if isinstance(self.__file, io.BytesIO):
self.__file.seek(0)
with av.open(self.__file, mode="r") as container:
video_stream = self._get_first_video_stream(container)
# 1. Prefer the frames field if available and usable
if (
video_stream.frames
and video_stream.frames > 0
and not self.__start_time
and not self.__duration
):
return int(video_stream.frames)
# 2. Try to estimate from duration and average_rate using only metadata
if (
getattr(video_stream, "duration", None) is not None
and getattr(video_stream, "time_base", None) is not None
and video_stream.average_rate
):
raw_duration = float(video_stream.duration * video_stream.time_base)
if self.__start_time < 0:
duration_from_start = min(raw_duration, -self.__start_time)
else:
duration_from_start = raw_duration - self.__start_time
duration_seconds = min(self.__duration, duration_from_start)
estimated_frames = int(round(duration_seconds * float(video_stream.average_rate)))
if estimated_frames > 0:
return estimated_frames
# 3. Last resort: decode frames and count them (streaming)
start_time, duration = self.get_active_trim_window()
frame_count = 1
start_pts = int(start_time / video_stream.time_base)
end_pts = int((start_time + duration) / video_stream.time_base)
container.seek(start_pts, stream=video_stream)
frame_iterator = (
container.decode(video_stream)
if video_stream.codec.capabilities & 0x100
else container.demux(video_stream)
)
for frame in frame_iterator:
if frame.pts >= start_pts:
break
else:
raise ValueError(f"Could not determine frame count for file '{self.__file}'\nNo frames exist for start_time {self.__start_time}")
for frame in frame_iterator:
if frame.pts >= end_pts:
break
frame_count += 1
return frame_count
def get_frame_rate(self) -> Fraction:
"""
Returns the average frame rate of the video using container metadata
without decoding all frames.
"""
if isinstance(self.__file, io.BytesIO):
self.__file.seek(0)
with av.open(self.__file, mode="r") as container:
video_stream = self._get_first_video_stream(container)
# Preferred: use PyAV's average_rate (usually already a Fraction-like)
if video_stream.average_rate:
return Fraction(video_stream.average_rate)
# Fallback: estimate from frames + duration if available
if video_stream.frames and container.duration:
duration_seconds = float(container.duration / av.time_base)
if duration_seconds > 0:
return Fraction(video_stream.frames / duration_seconds).limit_denominator()
# Last resort: match get_components_internal default
return Fraction(1)
def get_container_format(self) -> str:
"""
Returns the container format of the video (e.g., 'mp4', 'mov', 'avi').
Returns:
Container format as string
"""
if isinstance(self.__file, io.BytesIO):
self.__file.seek(0)
with av.open(self.__file, mode='r') as container:
return container.format.name
def get_components_internal(self, container: InputContainer) -> VideoComponents:
video_stream = self._get_first_video_stream(container)
start_time, duration = self.get_active_trim_window()
# Get video frames
frames = []
audio_frames = []
alphas = None
start_pts = int(start_time / video_stream.time_base)
end_pts = int((start_time + duration) / video_stream.time_base)
if start_pts != 0:
container.seek(start_pts, stream=video_stream)
image_format = 'gbrpf32le'
process_image_format = lambda a: a
align_graph = None
audio = None
streams = [video_stream]
has_first_audio_frame = False
checked_alpha = False
# Default to False so we decode until EOF if duration is 0
video_done = False
audio_done = True
audio_stream = last_decodable_audio_stream(container)
if audio_stream is not None:
streams += [audio_stream]
resampler = av.audio.resampler.AudioResampler(format='fltp')
audio_done = False
for packet in container.demux(*streams):
if video_done and audio_done:
break
if packet.stream.type == "video":
if video_done:
continue
try:
for frame in packet.decode():
if frame.pts < start_pts:
continue
if duration and frame.pts >= end_pts:
video_done = True
break
if not checked_alpha:
alpha_channel = False
for comp in frame.format.components:
if comp.is_alpha or frame.format.name == "pal8":
alphas = []
alpha_channel = True
break
if frame.format.name in ("yuvj420p", "yuvj422p", "yuvj444p", "rgb24", "rgba", "pal8"):
process_image_format = lambda a: a.float() / 255.0
if alpha_channel:
image_format = 'rgba'
else:
image_format = 'rgb24'
else:
process_image_format = lambda a: a
if alpha_channel:
image_format = 'gbrapf32le'
else:
image_format = 'gbrpf32le'
checked_alpha = True
# Fix non-deterministic video decode when the video width is not a multiple of 32
# For non-yuvj pixel formats: most H.264/H.265 video and static images (e.g. lossy WebP via LoadImage)
# Pad both axes to a multiple of 32 and smear the border so the alignment padding never bleeds into the cropped edges
if image_format in ('gbrpf32le', 'gbrapf32le') and frame.width % 32 != 0:
if align_graph is None:
pad_w = ((frame.width + 31) // 32) * 32
pad_h = ((frame.height + 31) // 32) * 32
g = av.filter.Graph()
g_src = g.add_buffer(width=frame.width, height=frame.height,
format=frame.format.name, time_base=video_stream.time_base)
g_pad = g.add('pad', f'{pad_w}:{pad_h}:0:0')
g_fill = g.add('fillborders', f'left=0:right={pad_w - frame.width}:top=0:bottom={pad_h - frame.height}:mode=smear')
g_sink = g.add('buffersink')
g_src.link_to(g_pad)
g_pad.link_to(g_fill)
g_fill.link_to(g_sink)
g.configure()
align_graph = (g, g_src, g_sink)
align_graph[1].push(frame)
img = np.ascontiguousarray(align_graph[2].pull().to_ndarray(format=image_format)[:frame.height, :frame.width])
else:
img = frame.to_ndarray(format=image_format)
if frame.rotation != 0:
k = int(round(frame.rotation // 90))
img = np.rot90(img, k=k, axes=(0, 1)).copy()
if alphas is None:
frames.append(torch.from_numpy(img))
else:
frames.append(torch.from_numpy(img[..., :-1]))
alphas.append(torch.from_numpy(img[..., -1:]))
except av.error.InvalidDataError:
logging.info("pyav decode error")
elif packet.stream.type == "audio":
if audio_done:
continue
aframes = itertools.chain.from_iterable(
map(resampler.resample, packet.decode())
)
for frame in aframes:
if duration and frame.time > start_time + duration:
audio_done = True
break
if not has_first_audio_frame:
offset_seconds = start_time - frame.pts * audio_stream.time_base
to_skip = max(0, int(offset_seconds * audio_stream.sample_rate))
if to_skip < frame.samples:
has_first_audio_frame = True
audio_frames.append(frame.to_ndarray()[..., to_skip:])
else:
audio_frames.append(frame.to_ndarray())
images = process_image_format(torch.stack(frames)) if len(frames) > 0 else torch.zeros(0, 0, 0, 3)
if alphas is not None:
alphas = process_image_format(torch.stack(alphas)) if len(alphas) > 0 else torch.zeros(0, 0, 0, 1)
# Get frame rate
frame_rate = Fraction(video_stream.average_rate) if video_stream.average_rate else Fraction(1)
if len(audio_frames) > 0:
audio_data = np.concatenate(audio_frames, axis=1) # shape: (channels, total_samples)
if duration:
audio_data = audio_data[..., :int(duration * audio_stream.sample_rate)]
audio_tensor = torch.from_numpy(audio_data).unsqueeze(0) # shape: (1, channels, total_samples)
audio = AudioInput({
"waveform": audio_tensor,
"sample_rate": int(audio_stream.sample_rate) if audio_stream.sample_rate else 1,
})
metadata = container.metadata
return VideoComponents(images=images, alpha=alphas, audio=audio, frame_rate=frame_rate, metadata=metadata)
def get_components(self) -> VideoComponents:
if isinstance(self.__file, io.BytesIO):
self.__file.seek(0) # Reset the BytesIO object to the beginning
with av.open(self.__file, mode='r') as container:
return self.get_components_internal(container)
raise ValueError(f"No video stream found in file '{self.__file}'")
def save_to(
self,
path: str | io.BytesIO,
format: VideoContainer = VideoContainer.AUTO,
codec: VideoCodec = VideoCodec.AUTO,
metadata: Optional[dict] = None,
bit_depth: int | None = None,
crf: float | None = None,
):
if isinstance(self.__file, io.BytesIO):
self.__file.seek(0) # Reset the BytesIO object to the beginning
with av.open(self.__file, mode='r') as container:
container_format = container.format.name
video_stream = container.streams.video[0] if len(container.streams.video) > 0 else None
video_encoding = video_stream.codec.name if video_stream is not None else None
source_bit_depth = video_stream_bit_depth(video_stream)
reuse_streams = True
if format != VideoContainer.AUTO and format not in container_format.split(","):
reuse_streams = False
if codec != VideoCodec.AUTO and codec != video_encoding and video_encoding is not None:
reuse_streams = False
if bit_depth is not None and video_encoding is not None and bit_depth != source_bit_depth:
reuse_streams = False
if crf is not None:
reuse_streams = False
if self.__start_time or self.__duration:
reuse_streams = False
if not reuse_streams:
if bit_depth is None:
bit_depth = source_bit_depth
return self._save_transcoded(container, path, format=format, codec=codec, metadata=metadata, bit_depth=bit_depth, crf=crf)
streams = container.streams
open_kwargs = get_open_write_kwargs(path, container_format, format)
with av.open(path, **open_kwargs) as output_container:
# Add metadata before writing any streams
write_output_metadata(container, output_container, metadata)
# Add streams to the new container. Streams with no codec context cannot be used as an output template.
stream_map = {}
for stream in streams:
if isinstance(stream, (av.VideoStream, av.AudioStream, SubtitleStream)):
if stream.codec_context is None:
logging.warning("Skipping %s stream %d with unsupported codec", stream.type, stream.index)
continue
out_stream = output_container.add_stream_from_template(template=stream, opaque=True)
stream_map[stream] = out_stream
# Write packets to the new container
for packet in container.demux():
if packet.stream in stream_map and packet.dts is not None:
packet.stream = stream_map[packet.stream]
output_container.mux(packet)
def _save_transcoded(
self,
container: InputContainer,
path: str | io.BytesIO,
format: VideoContainer,
codec: VideoCodec,
metadata: dict | None,
bit_depth: int,
crf: float | None = None,
):
"""Re-encode to H.264/AAC one frame at a time; peak memory does not scale with video length."""
open_kwargs = mp4_output_open_kwargs(path, format, codec)
video_stream = self._get_first_video_stream(container)
start_time, duration = self.get_active_trim_window()
start_pts = int(start_time / video_stream.time_base)
end_pts = int((start_time + duration) / video_stream.time_base) if duration else None
stream_end_pts = None
if video_stream.duration is not None:
stream_end_pts = (video_stream.start_time or 0) + video_stream.duration
output_end_pts = end_pts
if stream_end_pts is not None and (output_end_pts is None or stream_end_pts < output_end_pts):
output_end_pts = stream_end_pts
if start_pts != 0:
container.seek(start_pts, stream=video_stream)
audio_stream = last_decodable_audio_stream(container)
pix_fmt = "yuv420p10le" if bit_depth >= 10 else "yuv420p"
rate = Fraction(video_stream.average_rate) if video_stream.average_rate else Fraction(1)
resampler = None
sample_rate = 0
audio_time_base = None
duration_cap = None
if audio_stream is not None:
sample_rate = audio_stream.codec_context.sample_rate
channels = audio_stream.codec_context.channels
if not sample_rate:
sample_rate, channels = probe_audio_params(container, audio_stream)
container.seek(start_pts, stream=video_stream)
if sample_rate:
audio_stream.codec_context.flush_buffers()
else:
logging.warning("Audio stream parameters could not be determined; ignoring audio.")
audio_stream = None
if audio_stream is not None:
audio_time_base = Fraction(1, sample_rate)
layout = {1: "mono", 2: "stereo", 6: "5.1"}.get(channels, "stereo")
resampler = av.audio.resampler.AudioResampler(format="fltp", layout=layout, rate=sample_rate)
if duration:
duration_cap = math.ceil(duration * sample_rate)
streams = [video_stream] if audio_stream is None else [video_stream, audio_stream]
pts_step = max(1, int(round((1 / rate) / video_stream.time_base)))
video_done = False
audio_done = audio_stream is None
video_pts_offset = None
last_video_pts = None
last_video_end = None
# rebased pts -> true display duration: the mp4 muxer pads the last sample with 1/rate otherwise
video_frame_durations = {}
source_size = None
rotation_k = 0
rotation_filter = None
audio_started = False
samples_written = 0
pending_audio = []
# The output opens lazily on the first kept frame: it decides the geometry (90/270 rotation swaps dims),
# and never seeking back keeps webm/mkv leading audio intact.
output = None
out_video = None
out_audio = None
def audio_frame_from_ndarray(nd_planar):
frame = av.AudioFrame.from_ndarray(np.ascontiguousarray(nd_planar), format="fltp", layout=layout)
frame.sample_rate = sample_rate
return frame
def drain_audio(final=False):
# Audio may cover the pts span of the video written so far, capped by the requested duration
nonlocal samples_written, audio_done
if last_video_end is None:
cap = 0
else:
cap = math.ceil(last_video_end * video_stream.time_base * sample_rate)
if duration_cap is not None:
cap = min(cap, duration_cap)
while pending_audio and not audio_done:
frame = pending_audio[0]
if samples_written + frame.samples <= cap:
frame.pts = samples_written
frame.time_base = audio_time_base
output.mux(out_audio.encode(frame))
samples_written += frame.samples
pending_audio.pop(0)
continue
if final:
keep = frame.to_ndarray()[..., :cap - samples_written]
if keep.shape[-1] > 0:
tail = audio_frame_from_ndarray(keep)
tail.pts = samples_written
tail.time_base = audio_time_base
output.mux(out_audio.encode(tail))
samples_written += keep.shape[-1]
pending_audio.clear()
break
if duration_cap is not None and samples_written >= duration_cap:
audio_done = True
return cap
try:
for packet in container.demux(*streams):
if video_done and audio_done:
break
if packet.stream == video_stream and not video_done:
try:
frames = packet.decode()
except av.error.InvalidDataError:
logging.info("pyav decode error")
continue
for frame in frames:
if frame.pts is not None and frame.pts < start_pts:
continue
if end_pts is not None and frame.pts is not None and frame.pts >= end_pts:
video_done = True
if last_video_pts is not None:
# the source continues past the window: hold the last kept frame to the window end
end_offset = video_pts_offset if video_pts_offset is not None else start_pts
last_video_end = max(last_video_end, end_pts - end_offset)
break
# the source's true display duration of this frame; average_rate is not a
# frame duration (sparse/VFR sources), so it is only the fallback
frame_duration = frame.duration if frame.duration else pts_step
if end_pts is not None and frame.pts is not None:
frame_duration = min(frame_duration, end_pts - frame.pts)
if output is None:
rotation_k = int(round(frame.rotation // 90)) % 4 if frame.rotation else 0
if rotation_k % 2:
out_width, out_height = frame.height, frame.width
else:
out_width, out_height = frame.width, frame.height
if out_width % 2 or out_height % 2:
raise ValueError(f"H.264 output requires even dimensions, got {out_width}x{out_height}")
source_size = (frame.width, frame.height)
output = av.open(path, **open_kwargs)
# Add metadata before writing any streams
write_output_metadata(container, output, metadata)
out_video = output.add_stream("h264", rate=rate)
# no B-frames: reordering makes mp4 sample durations follow decode order,
# so irregular-VFR spans and trim windows land wrong
out_video.codec_context.max_b_frames = 0
out_video.width = out_width
out_video.height = out_height
out_video.pix_fmt = pix_fmt
if crf is not None:
out_video.options = {"crf": str(crf)}
# source pts pass through (rebased to 0), so variable frame rate survives
out_video.codec_context.time_base = video_stream.time_base
if audio_stream is not None:
out_audio = output.add_stream("aac", rate=sample_rate, layout=layout)
if (frame.width, frame.height) != source_size:
# encoding would silently rescale the new geometry into the old one
raise ValueError(
f"Video resolution changes mid-stream "
f"({source_size[0]}x{source_size[1]} -> {frame.width}x{frame.height}); cannot transcode"
)
if rotation_k:
if rotation_filter is None:
g = av.filter.Graph()
g_src = g.add_buffer(width=frame.width, height=frame.height,
format=frame.format.name, time_base=video_stream.time_base)
tail = g_src
for filter_name, filter_args in {1: [("transpose", "cclock")],
2: [("hflip", None), ("vflip", None)],
3: [("transpose", "clock")]}[rotation_k]:
step = g.add(filter_name, filter_args)
tail.link_to(step)
tail = step
g_sink = g.add("buffersink")
tail.link_to(g_sink)
g.configure()
rotation_filter = (g_src, g_sink)
rotation_filter[0].push(frame)
frame = rotation_filter[1].pull()
if frame.color_range == ColorRange.JPEG:
# compress full-range sources (yuvj/MJPEG) to limited range
frame = frame.reformat(format=pix_fmt, src_color_range="JPEG", dst_color_range="MPEG")
else:
frame = frame.reformat(format=pix_fmt)
frame_output_end = None
if frame.pts is not None:
if video_pts_offset is None:
video_pts_offset = frame.pts
frame.pts -= video_pts_offset
if output_end_pts is not None:
frame_output_end = output_end_pts - video_pts_offset
if frame.pts + frame_duration > frame_output_end:
clamped_pts = frame_output_end - frame_duration
if clamped_pts >= 0 and (last_video_pts is None or clamped_pts > last_video_pts):
frame.pts = min(frame.pts, clamped_pts)
elif frame.pts < frame_output_end:
frame_duration = frame_output_end - frame.pts
else:
continue
if frame.pts is None or (last_video_pts is not None and frame.pts <= last_video_pts):
# broken sources emit missing/backward timestamps mid-stream, which the
# muxer rejects; nudge them forward by one nominal frame interval
frame.pts = 0 if last_video_pts is None else last_video_pts + pts_step
if frame_output_end is not None and frame.pts + frame_duration > frame_output_end:
if frame.pts >= frame_output_end:
continue
frame_duration = frame_output_end - frame.pts
last_video_pts = frame.pts
last_video_end = frame.pts + frame_duration
video_frame_durations[frame.pts] = frame_duration
# the decoded pict_type would force x264's frame types (intra-only
# sources like MJPEG/ProRes would come out all-keyframe)
frame.pict_type = 0
for out_packet in out_video.encode(frame):
out_packet.duration = video_frame_durations.pop(out_packet.pts, 0)
output.mux(out_packet)
drain_audio()
elif packet.stream == audio_stream and not audio_done:
for resampled in itertools.chain.from_iterable(map(resampler.resample, packet.decode())):
frame_start = None
if resampled.pts is not None:
# passthrough frames keep the source stream's time base
tb = resampled.time_base if resampled.time_base else audio_time_base
frame_start = float(resampled.pts * tb)
if duration and not audio_started and frame_start >= start_time + duration:
audio_done = True
break
if not audio_started:
if frame_start is None:
frame_start = 0.0
to_skip = max(0, int((start_time - frame_start) * sample_rate))
if to_skip >= resampled.samples:
continue
audio_started = True
if duration and frame_start > start_time:
duration_cap = min(duration_cap, math.ceil((start_time + duration - frame_start) * sample_rate))
if to_skip:
pending_audio.append(audio_frame_from_ndarray(resampled.to_ndarray()[..., to_skip:]))
continue
pending_audio.append(resampled)
if video_done:
# the video window is complete so the cap is final, but containers
# that interleave audio behind video (fragmented mp4) still owe most
# of it: stop only once the demuxed audio covers the cap
cap = drain_audio()
if pending_audio or samples_written >= cap:
drain_audio(final=True)
audio_done = True
break
if output is None:
raise ValueError(f"No decodable video frames found in file '{self.__file}'")
if out_audio is not None and not audio_done:
drain_audio(final=True)
window_fill = last_video_end - last_video_pts if video_done and last_video_pts is not None else 0
for out_packet in out_video.encode(None):
duration = video_frame_durations.pop(out_packet.pts, 0)
if out_packet.pts == last_video_pts:
duration = max(duration, window_fill)
out_packet.duration = duration
output.mux(out_packet)
if out_audio is not None:
output.mux(out_audio.encode(None))
except BaseException:
if output is not None:
output.close()
if isinstance(path, (str, os.PathLike)) and os.path.exists(path):
os.remove(path)
raise
else:
if output is not None:
output.close()
def _get_first_video_stream(self, container: InputContainer):
if len(container.streams.video):
return container.streams.video[0]
raise ValueError(f"No video stream found in file '{self.__file}'")
def as_trimmed(
self, start_time: float = 0, duration: float = 0, strict_duration: bool = True
) -> VideoInput | None:
trimmed = VideoFromFile(
self.get_stream_source(),
start_time=start_time + self.__start_time,
duration=duration,
)
if trimmed.get_duration() < duration and strict_duration:
return None
return trimmed
class VideoFromComponents(VideoInput):
"""
Class representing video input from tensors.
"""
def __init__(self, components: VideoComponents, bit_depth: int = 8):
self.__components = components
# Tensor components have no inherent bit depth; this is the depth used when encoding.
self.__bit_depth = bit_depth
def get_components(self) -> VideoComponents:
return VideoComponents(
images=self.__components.images,
audio=self.__components.audio,
frame_rate=self.__components.frame_rate,
)
def get_bit_depth(self) -> int:
return self.__bit_depth
def save_to(
self,
path: str,
format: VideoContainer = VideoContainer.AUTO,
codec: VideoCodec = VideoCodec.AUTO,
metadata: Optional[dict] = None,
bit_depth: int | None = None,
crf: float | None = None,
):
"""Save the video to a file path or BytesIO buffer."""
open_kwargs = mp4_output_open_kwargs(path, format, codec)
# None means "use the depth this video was created with" (CreateVideo's choice).
if bit_depth is None:
bit_depth = self.__bit_depth
is_10bit = bit_depth >= 10
with av.open(path, **open_kwargs) as output:
# Add metadata before writing any streams
if metadata is not None:
for key, value in metadata.items():
output.metadata[key] = json.dumps(value)
frame_rate = Fraction(round(self.__components.frame_rate * 1000), 1000)
# Create a video stream
pix_fmt = "yuv420p10le" if is_10bit else "yuv420p"
video_stream = output.add_stream('h264', rate=frame_rate)
video_stream.width = self.__components.images.shape[2]
video_stream.height = self.__components.images.shape[1]
video_stream.pix_fmt = pix_fmt
if crf is not None:
video_stream.options = {"crf": str(crf)}
# Create an audio stream
audio_sample_rate = 1
audio_stream: Optional[av.AudioStream] = None
if self.__components.audio:
audio_sample_rate = int(self.__components.audio['sample_rate'])
waveform = self.__components.audio['waveform']
waveform = waveform[0, :, :math.ceil((audio_sample_rate / frame_rate) * self.__components.images.shape[0])]
layout = {1: 'mono', 2: 'stereo', 6: '5.1'}.get(waveform.shape[0], 'stereo')
audio_stream = output.add_stream('aac', rate=audio_sample_rate, layout=layout)
# Encode video
for i, frame in enumerate(self.__components.images):
if is_10bit:
# 16-bit RGB keeps float precision through the conversion to 10-bit YUV.
img = (frame.float() * 65535).clamp(0, 65535).cpu().numpy().astype(np.uint16) # shape: (H, W, 3)
frame = av.VideoFrame.from_ndarray(img, format="rgb48le")
else:
img = (frame * 255).clamp(0, 255).byte().cpu().numpy() # shape: (H, W, 3)
frame = av.VideoFrame.from_ndarray(img, format='rgb24')
frame = frame.reformat(format=pix_fmt)
packet = video_stream.encode(frame)
output.mux(packet)
# Flush video
packet = video_stream.encode(None)
output.mux(packet)
if audio_stream and self.__components.audio:
frame = av.AudioFrame.from_ndarray(waveform.float().cpu().contiguous().numpy(), format='fltp', layout=layout)
frame.sample_rate = audio_sample_rate
frame.pts = 0
output.mux(audio_stream.encode(frame))
# Flush encoder
output.mux(audio_stream.encode(None))
def as_trimmed(
self,
start_time: float | None = None,
duration: float | None = None,
strict_duration: bool = True,
) -> VideoInput | None:
if self.get_duration() < start_time + duration:
return None
#TODO Consider tracking duration and trimming at time of save?
return VideoFromFile(self.get_stream_source(), start_time=start_time, duration=duration)
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
from ._io import * # noqa: F403
@@ -0,0 +1,486 @@
from __future__ import annotations
import json
import os
import random
import uuid
from io import BytesIO
import av
import numpy as np
import torch
try:
import torchaudio
TORCH_AUDIO_AVAILABLE = True
except:
TORCH_AUDIO_AVAILABLE = False
from PIL import Image as PILImage
from PIL.PngImagePlugin import PngInfo
import folder_paths
# used for image preview
from comfy.cli_args import args
from ._io import ComfyNode, FolderType, Image, _UIOutput
class SavedResult(dict):
def __init__(self, filename: str, subfolder: str, type: FolderType):
super().__init__(filename=filename, subfolder=subfolder,type=type.value)
@property
def filename(self) -> str:
return self["filename"]
@property
def subfolder(self) -> str:
return self["subfolder"]
@property
def type(self) -> FolderType:
return FolderType(self["type"])
class SavedImages(_UIOutput):
"""A UI output class to represent one or more saved images, potentially animated."""
def __init__(self, results: list[SavedResult], is_animated: bool = False):
super().__init__()
self.results = results
self.is_animated = is_animated
def as_dict(self) -> dict:
data = {"images": self.results}
if self.is_animated:
data["animated"] = (True,)
return data
class SavedAudios(_UIOutput):
"""UI wrapper around one or more audio files on disk (FLAC / MP3 / Opus)."""
def __init__(self, results: list[SavedResult]):
super().__init__()
self.results = results
def as_dict(self) -> dict:
return {"audio": self.results}
def _get_directory_by_folder_type(folder_type: FolderType) -> str:
if folder_type == FolderType.input:
return folder_paths.get_input_directory()
if folder_type == FolderType.output:
return folder_paths.get_output_directory()
return folder_paths.get_temp_directory()
class ImageSaveHelper:
"""A helper class with static methods to handle image saving and metadata."""
@staticmethod
def _convert_tensor_to_pil(image_tensor: torch.Tensor) -> PILImage.Image:
"""Converts a single torch tensor to a PIL Image."""
return PILImage.fromarray(np.clip(255.0 * image_tensor.cpu().numpy(), 0, 255).astype(np.uint8))
@staticmethod
def _create_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None:
"""Creates a PngInfo object with prompt and extra_pnginfo."""
if args.disable_metadata or cls is None or not cls.hidden:
return None
metadata = PngInfo()
if cls.hidden.prompt:
metadata.add_text("prompt", json.dumps(cls.hidden.prompt))
if cls.hidden.extra_pnginfo:
for x in cls.hidden.extra_pnginfo:
metadata.add_text(x, json.dumps(cls.hidden.extra_pnginfo[x]))
return metadata
@staticmethod
def _create_animated_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None:
"""Creates a PngInfo object with prompt and extra_pnginfo for animated PNGs (APNG)."""
if args.disable_metadata or cls is None or not cls.hidden:
return None
metadata = PngInfo()
if cls.hidden.prompt:
metadata.add(
b"comf",
"prompt".encode("latin-1", "strict")
+ b"\0"
+ json.dumps(cls.hidden.prompt).encode("latin-1", "strict"),
after_idat=True,
)
if cls.hidden.extra_pnginfo:
for x in cls.hidden.extra_pnginfo:
metadata.add(
b"comf",
x.encode("latin-1", "strict")
+ b"\0"
+ json.dumps(cls.hidden.extra_pnginfo[x]).encode("latin-1", "strict"),
after_idat=True,
)
return metadata
@staticmethod
def _create_webp_metadata(pil_image: PILImage.Image, cls: type[ComfyNode] | None) -> PILImage.Exif:
"""Creates EXIF metadata bytes for WebP images."""
exif_data = pil_image.getexif()
if args.disable_metadata or cls is None or cls.hidden is None:
return exif_data
if cls.hidden.prompt is not None:
exif_data[0x0110] = "prompt:{}".format(json.dumps(cls.hidden.prompt)) # EXIF 0x0110 = Model
if cls.hidden.extra_pnginfo is not None:
inital_exif_tag = 0x010F # EXIF 0x010f = Make
for key, value in cls.hidden.extra_pnginfo.items():
exif_data[inital_exif_tag] = "{}:{}".format(key, json.dumps(value))
inital_exif_tag -= 1
return exif_data
@staticmethod
def save_images(
images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, compress_level = 4,
) -> list[SavedResult]:
"""Saves a batch of images as individual PNG files."""
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
)
results = []
metadata = ImageSaveHelper._create_png_metadata(cls)
for batch_number, image_tensor in enumerate(images):
img = ImageSaveHelper._convert_tensor_to_pil(image_tensor)
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
file = f"{filename_with_batch_num}_{counter:05}_.png"
img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=compress_level)
results.append(SavedResult(file, subfolder, folder_type))
counter += 1
return results
@staticmethod
def get_save_images_ui(images, filename_prefix: str, cls: type[ComfyNode] | None, compress_level=4) -> SavedImages:
"""Saves a batch of images and returns a UI object for the node output."""
return SavedImages(
ImageSaveHelper.save_images(
images,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
compress_level=compress_level,
)
)
@staticmethod
def save_animated_png(
images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, fps: float, compress_level: int
) -> SavedResult:
"""Saves a batch of images as a single animated PNG."""
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
)
pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images]
metadata = ImageSaveHelper._create_animated_png_metadata(cls)
file = f"{filename}_{counter:05}_.png"
save_path = os.path.join(full_output_folder, file)
pil_images[0].save(
save_path,
pnginfo=metadata,
compress_level=compress_level,
save_all=True,
duration=int(1000.0 / fps),
append_images=pil_images[1:],
)
return SavedResult(file, subfolder, folder_type)
@staticmethod
def get_save_animated_png_ui(
images, filename_prefix: str, cls: type[ComfyNode] | None, fps: float, compress_level: int
) -> SavedImages:
"""Saves an animated PNG and returns a UI object for the node output."""
result = ImageSaveHelper.save_animated_png(
images,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
fps=fps,
compress_level=compress_level,
)
return SavedImages([result], is_animated=len(images) > 1)
@staticmethod
def save_animated_webp(
images,
filename_prefix: str,
folder_type: FolderType,
cls: type[ComfyNode] | None,
fps: float,
lossless: bool,
quality: int,
method: int,
) -> SavedResult:
"""Saves a batch of images as a single animated WebP."""
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
)
pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images]
pil_exif = ImageSaveHelper._create_webp_metadata(pil_images[0], cls)
file = f"{filename}_{counter:05}_.webp"
pil_images[0].save(
os.path.join(full_output_folder, file),
save_all=True,
duration=int(1000.0 / fps),
append_images=pil_images[1:],
exif=pil_exif,
lossless=lossless,
quality=quality,
method=method,
)
return SavedResult(file, subfolder, folder_type)
@staticmethod
def get_save_animated_webp_ui(
images,
filename_prefix: str,
cls: type[ComfyNode] | None,
fps: float,
lossless: bool,
quality: int,
method: int,
) -> SavedImages:
"""Saves an animated WebP and returns a UI object for the node output."""
result = ImageSaveHelper.save_animated_webp(
images,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
fps=fps,
lossless=lossless,
quality=quality,
method=method,
)
return SavedImages([result], is_animated=len(images) > 1)
class AudioSaveHelper:
"""A helper class with static methods to handle audio saving and metadata."""
_OPUS_RATES = [8000, 12000, 16000, 24000, 48000]
@staticmethod
def save_audio(
audio: dict,
filename_prefix: str,
folder_type: FolderType,
cls: type[ComfyNode] | None,
format: str = "flac",
quality: str = "128k",
) -> list[SavedResult]:
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type)
)
metadata = {}
if not args.disable_metadata and cls is not None:
if cls.hidden.prompt is not None:
metadata["prompt"] = json.dumps(cls.hidden.prompt)
if cls.hidden.extra_pnginfo is not None:
for x in cls.hidden.extra_pnginfo:
metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x])
results = []
for batch_number, waveform in enumerate(audio["waveform"].cpu()):
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
file = f"{filename_with_batch_num}_{counter:05}.{format}"
output_path = os.path.join(full_output_folder, file)
# Use original sample rate initially
sample_rate = audio["sample_rate"]
# Handle Opus sample rate requirements
if format == "opus":
if sample_rate > 48000:
sample_rate = 48000
elif sample_rate not in AudioSaveHelper._OPUS_RATES:
# Find the next highest supported rate
for rate in sorted(AudioSaveHelper._OPUS_RATES):
if rate > sample_rate:
sample_rate = rate
break
if sample_rate not in AudioSaveHelper._OPUS_RATES: # Fallback if still not supported
sample_rate = 48000
# Resample if necessary
if sample_rate != audio["sample_rate"]:
if not TORCH_AUDIO_AVAILABLE:
raise Exception("torchaudio is not available; cannot resample audio.")
waveform = torchaudio.functional.resample(waveform, audio["sample_rate"], sample_rate)
# Create output with specified format
output_buffer = BytesIO()
output_container = av.open(output_buffer, mode="w", format=format)
# Set metadata on the container
for key, value in metadata.items():
output_container.metadata[key] = value
layout = "mono" if waveform.shape[0] == 1 else "stereo"
# Set up the output stream with appropriate properties
if format == "opus":
out_stream = output_container.add_stream("libopus", rate=sample_rate, layout=layout)
if quality == "64k":
out_stream.bit_rate = 64000
elif quality == "96k":
out_stream.bit_rate = 96000
elif quality == "128k":
out_stream.bit_rate = 128000
elif quality == "192k":
out_stream.bit_rate = 192000
elif quality == "320k":
out_stream.bit_rate = 320000
elif format == "mp3":
out_stream = output_container.add_stream("libmp3lame", rate=sample_rate, layout=layout)
if quality == "V0":
# TODO i would really love to support V3 and V5 but there doesn't seem to be a way to set the qscale level, the property below is a bool
out_stream.codec_context.qscale = 1
elif quality == "128k":
out_stream.bit_rate = 128000
elif quality == "320k":
out_stream.bit_rate = 320000
else: # format == "flac":
out_stream = output_container.add_stream("flac", rate=sample_rate, layout=layout)
frame = av.AudioFrame.from_ndarray(
waveform.movedim(0, 1).reshape(1, -1).float().numpy(),
format="flt",
layout=layout,
)
frame.sample_rate = sample_rate
frame.pts = 0
output_container.mux(out_stream.encode(frame))
# Flush encoder
output_container.mux(out_stream.encode(None))
# Close containers
output_container.close()
# Write the output to file
output_buffer.seek(0)
with open(output_path, "wb") as f:
f.write(output_buffer.getbuffer())
results.append(SavedResult(file, subfolder, folder_type))
counter += 1
return results
@staticmethod
def get_save_audio_ui(
audio, filename_prefix: str, cls: type[ComfyNode] | None, format: str = "flac", quality: str = "128k",
) -> SavedAudios:
"""Save and instantly wrap for UI."""
return SavedAudios(
AudioSaveHelper.save_audio(
audio,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
format=format,
quality=quality,
)
)
class PreviewImage(_UIOutput):
def __init__(self, image: Image.Type, animated: bool = False, cls: type[ComfyNode] = None, **kwargs):
self.values = ImageSaveHelper.save_images(
image,
filename_prefix="ComfyUI_temp_" + ''.join(random.choice("abcdefghijklmnopqrstupvxyz") for _ in range(5)),
folder_type=FolderType.temp,
cls=cls,
compress_level=1,
)
self.animated = animated
def as_dict(self):
return {
"images": self.values,
"animated": (self.animated,)
}
class PreviewMask(PreviewImage):
def __init__(self, mask: PreviewMask.Type, animated: bool=False, cls: ComfyNode=None, **kwargs):
preview = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])).movedim(1, -1).expand(-1, -1, -1, 3)
super().__init__(preview, animated, cls, **kwargs)
class PreviewAudio(_UIOutput):
def __init__(self, audio: dict, cls: type[ComfyNode] = None, **kwargs):
self.values = AudioSaveHelper.save_audio(
audio,
filename_prefix="ComfyUI_temp_" + "".join(random.choice("abcdefghijklmnopqrstuvwxyz") for _ in range(5)),
folder_type=FolderType.temp,
cls=cls,
format="flac",
quality="128k",
)
def as_dict(self) -> dict:
return {"audio": self.values}
class PreviewVideo(_UIOutput):
def __init__(self, values: list[SavedResult | dict], **kwargs):
self.values = values
def as_dict(self):
return {"images": self.values, "animated": (True,)}
class PreviewUI3D(_UIOutput):
def __init__(self, model_file, camera_info, **kwargs):
self.model_file = model_file
self.camera_info = camera_info
self.bg_image_path = None
bg_image = kwargs.get("bg_image", None)
if bg_image is not None:
img_array = (bg_image[0].cpu().numpy() * 255).astype(np.uint8)
img = PILImage.fromarray(img_array)
temp_dir = folder_paths.get_temp_directory()
filename = f"bg_{uuid.uuid4().hex}.png"
bg_image_path = os.path.join(temp_dir, filename)
img.save(bg_image_path, compress_level=1)
self.bg_image_path = f"temp/{filename}"
def as_dict(self):
return {"result": [self.model_file, self.camera_info, self.bg_image_path]}
class PreviewUI3DAdvanced(_UIOutput):
def __init__(self, model_file, camera_info, model_3d_info):
self.model_file = model_file
self.camera_info = camera_info
self.model_3d_info = model_3d_info
def as_dict(self):
return {"result": [self.model_file, self.camera_info, self.model_3d_info]}
class PreviewText(_UIOutput):
def __init__(self, value: str, **kwargs):
self.value = value
def as_dict(self):
return {"text": (self.value,)}
__all__ = [
"SavedResult",
"SavedImages",
"SavedAudios",
"ImageSaveHelper",
"AudioSaveHelper",
"PreviewImage",
"PreviewMask",
"PreviewAudio",
"PreviewVideo",
"PreviewUI3D",
"PreviewUI3DAdvanced",
"PreviewText",
]
@@ -0,0 +1 @@
from ._ui import * # noqa: F403
@@ -0,0 +1,15 @@
from .video_types import VideoContainer, VideoCodec, VideoComponents
from .geometry_types import VOXEL, MESH, SPLAT, File3D
from .image_types import SVG
__all__ = [
# Utility Types
"VideoContainer",
"VideoCodec",
"VideoComponents",
"VOXEL",
"MESH",
"SPLAT",
"File3D",
"SVG",
]
@@ -0,0 +1,50 @@
from dataclasses import dataclass
from enum import Enum
from fractions import Fraction
from typing import Optional
from .._input import ImageInput, AudioInput, MaskInput
class VideoCodec(str, Enum):
AUTO = "auto"
H264 = "h264"
@classmethod
def as_input(cls) -> list[str]:
"""
Returns a list of codec names that can be used as node input.
"""
return [member.value for member in cls]
class VideoContainer(str, Enum):
AUTO = "auto"
MP4 = "mp4"
@classmethod
def as_input(cls) -> list[str]:
"""
Returns a list of container names that can be used as node input.
"""
return [member.value for member in cls]
@classmethod
def get_extension(cls, value) -> str:
"""
Returns the file extension for the container.
"""
if isinstance(value, str):
value = cls(value)
if value == VideoContainer.MP4 or value == VideoContainer.AUTO:
return "mp4"
return ""
@dataclass
class VideoComponents:
"""
Dataclass representing the components of a video.
"""
images: ImageInput
frame_rate: Fraction
audio: Optional[AudioInput] = None
metadata: Optional[dict] = None
alpha: Optional[MaskInput] = None
@@ -0,0 +1,896 @@
import av
import torchaudio
import torch
import comfy.model_management
import folder_paths
import os
import hashlib
import node_helpers
import logging
from typing_extensions import override
from comfy_api.latest import ComfyExtension, IO, UI
class EmptyLatentAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="EmptyLatentAudio",
display_name="Empty Latent Audio",
category="model/latent",
essentials_category="Audio",
inputs=[
IO.Float.Input("seconds", default=47.6, min=1.0, max=1000.0, step=0.1),
IO.Int.Input(
"batch_size", default=1, min=1, max=4096, tooltip="The number of latent images in the batch.",
),
],
outputs=[IO.Latent.Output()],
)
@classmethod
def execute(cls, seconds, batch_size) -> IO.NodeOutput:
length = round((seconds * 44100 / 2048) / 2) * 2
latent = torch.zeros([batch_size, 64, length], device=comfy.model_management.intermediate_device())
return IO.NodeOutput({"samples": latent, "type": "audio", "downscale_ratio_temporal": 2048})
generate = execute # TODO: remove
class ConditioningStableAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="ConditioningStableAudio",
category="model/conditioning/stable audio",
inputs=[
IO.Conditioning.Input("positive"),
IO.Conditioning.Input("negative"),
IO.Float.Input("seconds_start", default=0.0, min=0.0, max=1000.0, step=0.1),
IO.Float.Input("seconds_total", default=47.0, min=0.0, max=1000.0, step=0.1),
],
outputs=[
IO.Conditioning.Output(display_name="positive"),
IO.Conditioning.Output(display_name="negative"),
],
)
@classmethod
def execute(cls, positive, negative, seconds_start, seconds_total) -> IO.NodeOutput:
positive = node_helpers.conditioning_set_values(positive, {"seconds_start": seconds_start, "seconds_total": seconds_total})
negative = node_helpers.conditioning_set_values(negative, {"seconds_start": seconds_start, "seconds_total": seconds_total})
return IO.NodeOutput(positive, negative)
append = execute # TODO: remove
class VAEEncodeAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="VAEEncodeAudio",
search_aliases=["audio to latent"],
display_name="VAE Encode Audio",
category="model/latent",
inputs=[
IO.Audio.Input("audio"),
IO.Vae.Input("vae"),
],
outputs=[IO.Latent.Output()],
)
@classmethod
def execute(cls, vae, audio) -> IO.NodeOutput:
if audio is None:
raise ValueError("VAEEncodeAudio: input audio is None (source video may have no audio track).")
sample_rate = audio["sample_rate"]
vae_sample_rate = getattr(vae, "audio_sample_rate", 44100)
if vae_sample_rate != sample_rate:
waveform = torchaudio.functional.resample(audio["waveform"], sample_rate, vae_sample_rate)
else:
waveform = audio["waveform"]
t = vae.encode(waveform.movedim(1, -1))
return IO.NodeOutput({"samples": t})
encode = execute # TODO: remove
def vae_decode_audio(vae, samples, tile=None, overlap=None):
latent = samples["samples"]
if latent.is_nested:
latent = latent.unbind()[-1]
if tile is not None:
audio = vae.decode_tiled(latent, tile_x=tile, tile_y=tile, overlap=overlap).movedim(-1, 1)
else:
audio = vae.decode(latent).movedim(-1, 1)
std = torch.std(audio, dim=[1, 2], keepdim=True) * 5.0
std[std < 1.0] = 1.0
audio /= std
vae_sample_rate = getattr(vae, "audio_sample_rate_output", getattr(vae, "audio_sample_rate", 44100))
return {"waveform": audio, "sample_rate": vae_sample_rate if "sample_rate" not in samples else samples["sample_rate"]}
class VAEDecodeAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="VAEDecodeAudio",
search_aliases=["latent to audio"],
display_name="VAE Decode Audio",
category="model/latent",
inputs=[
IO.Latent.Input("samples"),
IO.Vae.Input("vae"),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, vae, samples) -> IO.NodeOutput:
return IO.NodeOutput(vae_decode_audio(vae, samples))
decode = execute # TODO: remove
class VAEDecodeAudioTiled(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="VAEDecodeAudioTiled",
search_aliases=["latent to audio"],
display_name="VAE Decode Audio (Tiled)",
category="model/latent",
inputs=[
IO.Latent.Input("samples"),
IO.Vae.Input("vae"),
IO.Int.Input("tile_size", default=512, min=32, max=8192, step=8),
IO.Int.Input("overlap", default=64, min=0, max=1024, step=8),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, vae, samples, tile_size, overlap) -> IO.NodeOutput:
return IO.NodeOutput(vae_decode_audio(vae, samples, tile_size, overlap))
class SaveAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudio",
search_aliases=["export flac"],
display_name="Save Audio (FLAC) (DEPRECATED)",
category="audio",
essentials_category="Audio",
inputs=[
IO.Audio.Input("audio"),
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_deprecated=True,
is_output_node=True,
outputs=[IO.Audio.Output("audio")]
)
@classmethod
def execute(cls, audio, filename_prefix="ComfyUI", format="flac") -> IO.NodeOutput:
if audio is None:
raise ValueError("SaveAudio: input audio is None (source video may have no audio track).")
return IO.NodeOutput(
audio,
ui=UI.AudioSaveHelper.get_save_audio_ui(audio, filename_prefix=filename_prefix, cls=cls, format=format)
)
class SaveAudioMP3(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudioMP3",
search_aliases=["export mp3"],
display_name="Save Audio (MP3) (DEPRECATED)",
category="audio",
essentials_category="Audio",
inputs=[
IO.Audio.Input("audio"),
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
IO.Combo.Input("quality", options=["V0", "128k", "320k"], default="V0"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_deprecated=True,
is_output_node=True,
outputs=[IO.Audio.Output("audio")]
)
@classmethod
def execute(cls, audio, filename_prefix="ComfyUI", format="mp3", quality="128k") -> IO.NodeOutput:
if audio is None:
raise ValueError("SaveAudioMP3: input audio is None (source video may have no audio track).")
return IO.NodeOutput(
audio,
ui=UI.AudioSaveHelper.get_save_audio_ui(
audio, filename_prefix=filename_prefix, cls=cls, format=format, quality=quality
)
)
class SaveAudioOpus(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudioOpus",
search_aliases=["export opus"],
display_name="Save Audio (Opus) (DEPRECATED)",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
IO.Combo.Input("quality", options=["64k", "96k", "128k", "192k", "320k"], default="128k"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_deprecated=True,
is_output_node=True,
outputs=[IO.Audio.Output("audio")]
)
@classmethod
def execute(cls, audio, filename_prefix="ComfyUI", format="opus", quality="V3") -> IO.NodeOutput:
if audio is None:
raise ValueError("SaveAudioOpus: input audio is None (source video may have no audio track).")
return IO.NodeOutput(
audio,
ui=UI.AudioSaveHelper.get_save_audio_ui(
audio, filename_prefix=filename_prefix, cls=cls, format=format, quality=quality
)
)
class SaveAudioAdvanced(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudioAdvanced",
search_aliases=["save audio", "export audio", "output audio", "write audio", "flac", "mp3", "opus"],
display_name="Save Audio (Advanced)",
description="Saves the input audio to your ComfyUI output directory.",
category="audio",
inputs=[
IO.Audio.Input("audio", tooltip="The audio to save."),
IO.String.Input(
"filename_prefix",
default="audio/ComfyUI",
tooltip=("The prefix for the file to save. May include formatting tokens such as %date:yyyy-MM-dd%."),
),
IO.DynamicCombo.Input(
"format",
options=[
IO.DynamicCombo.Option("flac", []),
IO.DynamicCombo.Option("mp3", [
IO.Combo.Input("quality", options=["V0", "128k", "320k"], default="V0"),
]),
IO.DynamicCombo.Option("opus", [
IO.Combo.Input("quality", options=["64k", "96k", "128k", "192k", "320k"], default="128k"),
]),
],
tooltip="The file format in which to save the audio.",
),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
outputs=[IO.Audio.Output("audio")],
)
@classmethod
def execute(cls, audio, filename_prefix: str, format: dict) -> IO.NodeOutput:
file_format = format.get("format", None)
quality = format.get("quality", None)
if quality:
ui=UI.AudioSaveHelper.get_save_audio_ui(audio, filename_prefix=filename_prefix, cls=cls, format=file_format, quality=quality)
else:
ui=UI.AudioSaveHelper.get_save_audio_ui(audio, filename_prefix=filename_prefix, cls=cls, format=file_format)
return IO.NodeOutput(audio, ui=ui)
class PreviewAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="PreviewAudio",
search_aliases=["play audio"],
display_name="Preview Audio",
category="audio",
description="Preview the audio without saving it to the ComfyUI output directory.",
inputs=[
IO.Audio.Input("audio"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
outputs=[IO.Audio.Output("audio")]
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
if audio is None:
raise ValueError("PreviewAudio: input audio is None (source video may have no audio track).")
return IO.NodeOutput(audio, ui=UI.PreviewAudio(audio, cls=cls))
save_flac = execute # TODO: remove
def f32_pcm(wav: torch.Tensor) -> torch.Tensor:
"""Convert audio to float 32 bits PCM format."""
if wav.dtype.is_floating_point:
return wav
elif wav.dtype == torch.int16:
return wav.float() / (2 ** 15)
elif wav.dtype == torch.int32:
return wav.float() / (2 ** 31)
raise ValueError(f"Unsupported wav dtype: {wav.dtype}")
def load(filepath: str) -> tuple[torch.Tensor, int]:
with av.open(filepath) as af:
if not af.streams.audio:
raise ValueError("No audio stream found in the file.")
stream = af.streams.audio[0]
sr = stream.codec_context.sample_rate
n_channels = stream.channels
frames = []
length = 0
for frame in af.decode(streams=stream.index):
buf = torch.from_numpy(frame.to_ndarray())
if buf.shape[0] != n_channels:
buf = buf.view(-1, n_channels).t()
frames.append(buf)
length += buf.shape[1]
if not frames:
raise ValueError("No audio frames decoded.")
wav = torch.cat(frames, dim=1)
wav = f32_pcm(wav)
return wav, sr
class LoadAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
input_dir = folder_paths.get_input_directory()
os.makedirs(input_dir, exist_ok=True)
files = folder_paths.filter_files_content_types(os.listdir(input_dir), ["audio", "video"])
return IO.Schema(
node_id="LoadAudio",
search_aliases=["import audio", "open audio", "audio file"],
display_name="Load Audio",
category="audio",
essentials_category="Audio",
inputs=[
IO.Combo.Input("audio", upload=IO.UploadType.audio, options=sorted(files)),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
audio_path = folder_paths.get_annotated_filepath(audio)
waveform, sample_rate = load(audio_path)
audio = {"waveform": waveform.unsqueeze(0), "sample_rate": sample_rate}
return IO.NodeOutput(audio)
@classmethod
def fingerprint_inputs(cls, audio):
image_path = folder_paths.get_annotated_filepath(audio)
m = hashlib.sha256()
with open(image_path, 'rb') as f:
m.update(f.read())
return m.digest().hex()
@classmethod
def validate_inputs(cls, audio):
if not folder_paths.exists_annotated_filepath(audio):
return "Invalid audio file: {}".format(audio)
return True
load = execute # TODO: remove
class RecordAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="RecordAudio",
search_aliases=["microphone input", "audio capture", "voice input"],
display_name="Record Audio",
category="audio",
inputs=[
IO.Custom("AUDIO_RECORD").Input("audio"),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
audio_path = folder_paths.get_annotated_filepath(audio)
waveform, sample_rate = load(audio_path)
audio = {"waveform": waveform.unsqueeze(0), "sample_rate": sample_rate}
return IO.NodeOutput(audio)
load = execute # TODO: remove
class TrimAudioDuration(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="TrimAudioDuration",
search_aliases=["cut audio", "audio clip", "shorten audio"],
display_name="Trim Audio Duration",
description="Trim audio tensor into chosen time range.",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.Float.Input(
"start_index",
default=0.0,
min=-0xffffffffffffffff,
max=0xffffffffffffffff,
step=0.01,
tooltip="Start time in seconds, can be negative to count from the end (supports sub-seconds).",
),
IO.Float.Input(
"duration",
default=60.0,
min=0.0,
step=0.01,
tooltip="Duration in seconds",
),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio, start_index, duration) -> IO.NodeOutput:
if audio is None:
return IO.NodeOutput(None)
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
audio_length = waveform.shape[-1]
if audio_length == 0:
return IO.NodeOutput(audio)
if start_index < 0:
start_frame = audio_length + int(round(start_index * sample_rate))
else:
start_frame = int(round(start_index * sample_rate))
start_frame = max(0, min(start_frame, audio_length))
end_frame = start_frame + int(round(duration * sample_rate))
end_frame = max(0, min(end_frame, audio_length))
if start_frame >= end_frame:
raise ValueError("TrimAudioDuration: Start time must be less than end time and be within the audio length.")
return IO.NodeOutput({"waveform": waveform[..., start_frame:end_frame], "sample_rate": sample_rate})
trim = execute # TODO: remove
class SplitAudioChannels(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SplitAudioChannels",
search_aliases=["stereo to mono"],
display_name="Split Audio Channels",
description="Separates the audio into left and right channels.",
category="audio",
inputs=[
IO.Audio.Input("audio"),
],
outputs=[
IO.Audio.Output(display_name="left"),
IO.Audio.Output(display_name="right"),
],
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
if audio is None:
return IO.NodeOutput(None, None)
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
if waveform.shape[1] != 2:
raise ValueError(f"AudioSplit: Input audio must be stereo (2 channels), got {waveform.shape[1]} channel(s).")
left_channel = waveform[..., 0:1, :]
right_channel = waveform[..., 1:2, :]
return IO.NodeOutput({"waveform": left_channel, "sample_rate": sample_rate}, {"waveform": right_channel, "sample_rate": sample_rate})
separate = execute # TODO: remove
class JoinAudioChannels(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="JoinAudioChannels",
display_name="Join Audio Channels",
description="Joins left and right mono audio channels into a stereo audio.",
category="audio",
inputs=[
IO.Audio.Input("audio_left"),
IO.Audio.Input("audio_right"),
],
outputs=[
IO.Audio.Output(display_name="audio"),
],
)
@classmethod
def execute(cls, audio_left, audio_right) -> IO.NodeOutput:
if audio_left is None and audio_right is None:
return IO.NodeOutput(None)
if audio_left is None:
return IO.NodeOutput(audio_right)
if audio_right is None:
return IO.NodeOutput(audio_left)
waveform_left = audio_left["waveform"]
sample_rate_left = audio_left["sample_rate"]
waveform_right = audio_right["waveform"]
sample_rate_right = audio_right["sample_rate"]
if waveform_left.shape[1] != 1 or waveform_right.shape[1] != 1:
raise ValueError("AudioJoin: Both input audios must be mono.")
# Handle different sample rates by resampling to the higher rate
waveform_left, waveform_right, output_sample_rate = match_audio_sample_rates(
waveform_left, sample_rate_left, waveform_right, sample_rate_right
)
# Handle different lengths by trimming to the shorter length
length_left = waveform_left.shape[-1]
length_right = waveform_right.shape[-1]
if length_left != length_right:
min_length = min(length_left, length_right)
if length_left > min_length:
logging.info(f"JoinAudioChannels: Trimming left channel from {length_left} to {min_length} samples.")
waveform_left = waveform_left[..., :min_length]
if length_right > min_length:
logging.info(f"JoinAudioChannels: Trimming right channel from {length_right} to {min_length} samples.")
waveform_right = waveform_right[..., :min_length]
# Join the channels into stereo
left_channel = waveform_left[..., 0:1, :]
right_channel = waveform_right[..., 0:1, :]
stereo_waveform = torch.cat([left_channel, right_channel], dim=1)
return IO.NodeOutput({"waveform": stereo_waveform, "sample_rate": output_sample_rate})
def match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2):
if sample_rate_1 != sample_rate_2:
if sample_rate_1 > sample_rate_2:
waveform_2 = torchaudio.functional.resample(waveform_2, sample_rate_2, sample_rate_1)
output_sample_rate = sample_rate_1
logging.info(f"Resampling audio2 from {sample_rate_2}Hz to {sample_rate_1}Hz for merging.")
else:
waveform_1 = torchaudio.functional.resample(waveform_1, sample_rate_1, sample_rate_2)
output_sample_rate = sample_rate_2
logging.info(f"Resampling audio1 from {sample_rate_1}Hz to {sample_rate_2}Hz for merging.")
else:
output_sample_rate = sample_rate_1
return waveform_1, waveform_2, output_sample_rate
class AudioConcat(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioConcat",
search_aliases=["join audio", "combine audio", "append audio"],
display_name="Concatenate Audio",
description="Concatenates the audio1 to audio2 in the specified direction.",
category="audio",
inputs=[
IO.Audio.Input("audio1"),
IO.Audio.Input("audio2"),
IO.Combo.Input(
"direction",
options=['after', 'before'],
default="after",
tooltip="Whether to append audio2 after or before audio1.",
)
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio1, audio2, direction) -> IO.NodeOutput:
if audio1 is None and audio2 is None:
return IO.NodeOutput(None)
if audio1 is None:
return IO.NodeOutput(audio2)
if audio2 is None:
return IO.NodeOutput(audio1)
waveform_1 = audio1["waveform"]
waveform_2 = audio2["waveform"]
sample_rate_1 = audio1["sample_rate"]
sample_rate_2 = audio2["sample_rate"]
if waveform_1.shape[1] == 1:
waveform_1 = waveform_1.repeat(1, 2, 1)
logging.info("AudioConcat: Converted mono audio1 to stereo by duplicating the channel.")
if waveform_2.shape[1] == 1:
waveform_2 = waveform_2.repeat(1, 2, 1)
logging.info("AudioConcat: Converted mono audio2 to stereo by duplicating the channel.")
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
if direction == 'after':
concatenated_audio = torch.cat((waveform_1, waveform_2), dim=2)
elif direction == 'before':
concatenated_audio = torch.cat((waveform_2, waveform_1), dim=2)
return IO.NodeOutput({"waveform": concatenated_audio, "sample_rate": output_sample_rate})
concat = execute # TODO: remove
class AudioMerge(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioMerge",
search_aliases=["mix audio", "overlay audio", "layer audio"],
display_name="Merge Audio",
description="Combine two audio tracks by overlaying their waveforms.",
category="audio",
inputs=[
IO.Audio.Input("audio1"),
IO.Audio.Input("audio2"),
IO.Combo.Input(
"merge_method",
options=["add", "mean", "subtract", "multiply"],
tooltip="The method used to combine the audio waveforms.",
)
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio1, audio2, merge_method) -> IO.NodeOutput:
if audio1 is None and audio2 is None:
return IO.NodeOutput(None)
if audio1 is None:
return IO.NodeOutput(audio2)
if audio2 is None:
return IO.NodeOutput(audio1)
waveform_1 = audio1["waveform"]
waveform_2 = audio2["waveform"]
sample_rate_1 = audio1["sample_rate"]
sample_rate_2 = audio2["sample_rate"]
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
length_1 = waveform_1.shape[-1]
length_2 = waveform_2.shape[-1]
if length_1 == 0 or length_2 == 0:
return IO.NodeOutput({"waveform": waveform_1, "sample_rate": output_sample_rate})
if length_2 > length_1:
logging.info(f"AudioMerge: Trimming audio2 from {length_2} to {length_1} samples to match audio1 length.")
waveform_2 = waveform_2[..., :length_1]
elif length_2 < length_1:
logging.info(f"AudioMerge: Padding audio2 from {length_2} to {length_1} samples to match audio1 length.")
pad_shape = list(waveform_2.shape)
pad_shape[-1] = length_1 - length_2
pad_tensor = torch.zeros(pad_shape, dtype=waveform_2.dtype, device=waveform_2.device)
waveform_2 = torch.cat((waveform_2, pad_tensor), dim=-1)
if merge_method == "add":
waveform = waveform_1 + waveform_2
elif merge_method == "subtract":
waveform = waveform_1 - waveform_2
elif merge_method == "multiply":
waveform = waveform_1 * waveform_2
elif merge_method == "mean":
waveform = (waveform_1 + waveform_2) / 2
max_val = waveform.abs().max()
if max_val > 1.0:
waveform = waveform / max_val
return IO.NodeOutput({"waveform": waveform, "sample_rate": output_sample_rate})
merge = execute # TODO: remove
class AudioAdjustVolume(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioAdjustVolume",
search_aliases=["audio gain", "loudness", "audio level"],
display_name="Adjust Audio Volume",
category="audio",
description="Adjust the volume of the audio by a specified amount in decibels (dB).",
inputs=[
IO.Audio.Input("audio"),
IO.Int.Input(
"volume",
default=1,
min=-100,
max=100,
tooltip="Volume adjustment in decibels (dB). 0 = no change, +6 = double, -6 = half, etc",
)
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio, volume) -> IO.NodeOutput:
if audio is None:
return IO.NodeOutput(None)
if volume == 0:
return IO.NodeOutput(audio)
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
gain = 10 ** (volume / 20)
waveform = waveform * gain
return IO.NodeOutput({"waveform": waveform, "sample_rate": sample_rate})
adjust_volume = execute # TODO: remove
class EmptyAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="EmptyAudio",
search_aliases=["blank audio"],
display_name="Empty Audio",
category="audio",
inputs=[
IO.Float.Input(
"duration",
default=60.0,
min=0.0,
max=0xffffffffffffffff,
step=0.01,
tooltip="Duration of the empty audio clip in seconds",
),
IO.Int.Input(
"sample_rate",
default=44100,
tooltip="Sample rate of the empty audio clip.",
min=1,
max=192000,
advanced=True,
),
IO.Int.Input(
"channels",
default=2,
min=1,
max=2,
tooltip="Number of audio channels (1 for mono, 2 for stereo).",
advanced=True,
),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, duration, sample_rate, channels) -> IO.NodeOutput:
num_samples = int(round(duration * sample_rate))
waveform = torch.zeros((1, channels, num_samples), dtype=torch.float32)
return IO.NodeOutput({"waveform": waveform, "sample_rate": sample_rate})
create_empty_audio = execute # TODO: remove
class AudioEqualizer3Band(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioEqualizer3Band",
search_aliases=["eq", "bass boost", "treble boost", "equalizer"],
display_name="Audio Equalizer (3-Band)",
category="audio",
is_experimental=True,
inputs=[
IO.Audio.Input("audio"),
IO.Float.Input("low_gain_dB", default=0.0, min=-24.0, max=24.0, step=0.1, tooltip="Gain for Low frequencies (Bass)"),
IO.Int.Input("low_freq", default=100, min=20, max=500, tooltip="Cutoff frequency for Low shelf"),
IO.Float.Input("mid_gain_dB", default=0.0, min=-24.0, max=24.0, step=0.1, tooltip="Gain for Mid frequencies"),
IO.Int.Input("mid_freq", default=1000, min=200, max=4000, tooltip="Center frequency for Mids"),
IO.Float.Input("mid_q", default=0.707, min=0.1, max=10.0, step=0.1, tooltip="Q factor (bandwidth) for Mids"),
IO.Float.Input("high_gain_dB", default=0.0, min=-24.0, max=24.0, step=0.1, tooltip="Gain for High frequencies (Treble)"),
IO.Int.Input("high_freq", default=5000, min=1000, max=15000, tooltip="Cutoff frequency for High shelf"),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio, low_gain_dB, low_freq, mid_gain_dB, mid_freq, mid_q, high_gain_dB, high_freq) -> IO.NodeOutput:
if audio is None:
return IO.NodeOutput(None)
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
if waveform.shape[-1] == 0:
return IO.NodeOutput(audio)
eq_waveform = waveform.clone()
# 1. Apply Low Shelf (Bass)
if low_gain_dB != 0:
eq_waveform = torchaudio.functional.bass_biquad(
eq_waveform,
sample_rate,
gain=low_gain_dB,
central_freq=float(low_freq),
Q=0.707
)
# 2. Apply Peaking EQ (Mids)
if mid_gain_dB != 0:
eq_waveform = torchaudio.functional.equalizer_biquad(
eq_waveform,
sample_rate,
center_freq=float(mid_freq),
gain=mid_gain_dB,
Q=mid_q
)
# 3. Apply High Shelf (Treble)
if high_gain_dB != 0:
eq_waveform = torchaudio.functional.treble_biquad(
eq_waveform,
sample_rate,
gain=high_gain_dB,
central_freq=float(high_freq),
Q=0.707
)
return IO.NodeOutput({"waveform": eq_waveform, "sample_rate": sample_rate})
class AudioExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[IO.ComfyNode]]:
return [
EmptyLatentAudio,
VAEEncodeAudio,
VAEDecodeAudio,
VAEDecodeAudioTiled,
SaveAudio,
SaveAudioMP3,
SaveAudioOpus,
SaveAudioAdvanced,
LoadAudio,
PreviewAudio,
ConditioningStableAudio,
RecordAudio,
TrimAudioDuration,
SplitAudioChannels,
JoinAudioChannels,
AudioConcat,
AudioMerge,
AudioAdjustVolume,
EmptyAudio,
AudioEqualizer3Band,
]
async def comfy_entrypoint() -> AudioExtension:
return AudioExtension()
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,126 @@
"""Math expression node using simpleeval for safe evaluation.
Provides a ComfyMathExpression node that evaluates math expressions
against dynamically-grown numeric inputs.
"""
import math
import string
from simpleeval import simple_eval
from typing_extensions import override
from comfy_api.latest import ComfyExtension, io
MAX_EXPONENT = 4000
def _variadic_sum(*args):
"""Support both sum(values) and sum(a, b, c)."""
if len(args) == 1 and hasattr(args[0], "__iter__"):
return sum(args[0])
return sum(args)
def _safe_pow(base, exp):
"""Wrap pow() with an exponent cap to prevent DoS via huge exponents.
The ** operator is already guarded by simpleeval's safe_power, but
pow() as a callable bypasses that guard.
"""
if abs(exp) > MAX_EXPONENT:
raise ValueError(f"Exponent {exp} exceeds maximum allowed ({MAX_EXPONENT})")
return pow(base, exp)
MATH_FUNCTIONS = {
"sum": _variadic_sum,
"min": min,
"max": max,
"abs": abs,
"round": round,
"pow": _safe_pow,
"sqrt": math.sqrt,
"ceil": math.ceil,
"floor": math.floor,
"log": math.log,
"log2": math.log2,
"log10": math.log10,
"sin": math.sin,
"cos": math.cos,
"tan": math.tan,
"int": int,
"float": float,
}
class MathExpressionNode(io.ComfyNode):
"""Evaluates a math expression against dynamically-grown inputs."""
@classmethod
def define_schema(cls) -> io.Schema:
autogrow = io.Autogrow.TemplateNames(
input=io.MultiType.Input("value", [io.Float, io.Int, io.Boolean]),
names=list(string.ascii_lowercase),
min=1,
)
return io.Schema(
node_id="ComfyMathExpression",
display_name="Math Expression",
category="utilities",
search_aliases=[
"expression", "formula", "calculate", "calculator",
"eval", "math",
],
inputs=[
io.String.Input("expression", default="a + b", multiline=True),
io.Autogrow.Input("values", template=autogrow),
],
outputs=[
io.Float.Output(display_name="FLOAT"),
io.Int.Output(display_name="INT"),
io.Boolean.Output(display_name="BOOL"),
],
)
@classmethod
def execute(
cls, expression: str, values: io.Autogrow.Type
) -> io.NodeOutput:
if not expression.strip():
raise ValueError("Expression cannot be empty.")
context: dict = dict(values)
context["values"] = list(values.values())
result = simple_eval(expression, names=context, functions=MATH_FUNCTIONS)
# bool check must come first because bool is a subclass of int in Python
if not isinstance(result, (int, float)):
raise ValueError(
f"Math Expression '{expression}' must evaluate to a numeric result, "
f"got {type(result).__name__}: {result!r}"
)
try:
float_result = float(result)
except OverflowError:
raise ValueError(
f"Math Expression '{expression}' produced a result too large to "
f"represent as a float: {result}"
) from None
if not math.isfinite(float_result):
raise ValueError(
f"Math Expression '{expression}' produced a non-finite result: {result}"
)
return io.NodeOutput(float_result, int(result), bool(result))
class MathExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [MathExpressionNode]
async def comfy_entrypoint() -> MathExtension:
return MathExtension()
@@ -0,0 +1,337 @@
"""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 torchaudio
import nodes
import comfy.model_management
import comfy.model_sampling
import comfy.nested_tensor
import comfy.utils
import node_helpers
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 _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,
"minimax_frame_count": frame_count,
})
return io.NodeOutput(cond, latent)
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"),
io.Vae.Input("audio_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, (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()],
)
@staticmethod
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 = torchaudio.functional.resample(waveform, sr, vae_sr)
z = audio_vae.encode(waveform[:1].movedim(1, -1)) # [1, 32, 2, T]
return z, z.shape[-1]
@classmethod
def execute(cls, clip, vae, audio_vae, prompt, width, height, length, ref_image_size="match",
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")
z = vae.encode(resized)
ref_items.append({"type": "image", "data": 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]
z = vae.encode(frames)
audio_latent, ref_audio_t = (None, 0)
if soundtrack is not None:
audio_latent, ref_audio_t = cls._encode_ref_audio(audio_vae, soundtrack)
# 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))]})
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
audio_latent, ref_audio_t = cls._encode_ref_audio(audio_vae, audio)
ref_items.append({"type": "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; 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="MiniMax H3 Sigma 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.ModelSamplingDiscreteFlow, 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)
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 MiniMaxH3Extension(ComfyExtension):
async def get_node_list(self):
return [
EmptyMiniMaxH3LatentAV,
MiniMaxH3ImageToVideo,
MiniMaxH3ReferenceToVideo,
MiniMaxH3SigmaShift
]
async def comfy_entrypoint() -> MiniMaxH3Extension:
return MiniMaxH3Extension()
@@ -0,0 +1,360 @@
import comfy.sd
import comfy.model_sampling
import comfy.latent_formats
import nodes
import torch
import node_helpers
class LCM(comfy.model_sampling.EPS):
def calculate_denoised(self, sigma, model_output, model_input):
timestep = self.timestep(sigma).view(sigma.shape[:1] + (1,) * (model_output.ndim - 1))
sigma = sigma.view(sigma.shape[:1] + (1,) * (model_output.ndim - 1))
x0 = model_input - model_output * sigma
sigma_data = 0.5
scaled_timestep = timestep * 10.0 #timestep_scaling
c_skip = sigma_data**2 / (scaled_timestep**2 + sigma_data**2)
c_out = scaled_timestep / (scaled_timestep**2 + sigma_data**2) ** 0.5
return c_out * x0 + c_skip * model_input
class ModelSamplingDiscreteDistilled(comfy.model_sampling.ModelSamplingDiscrete):
original_timesteps = 50
def __init__(self, model_config=None, zsnr=None):
super().__init__(model_config, zsnr=zsnr)
self.skip_steps = self.num_timesteps // self.original_timesteps
sigmas_valid = torch.zeros((self.original_timesteps), dtype=torch.float32)
for x in range(self.original_timesteps):
sigmas_valid[self.original_timesteps - 1 - x] = self.sigmas[self.num_timesteps - 1 - x * self.skip_steps]
self.set_sigmas(sigmas_valid)
def timestep(self, sigma):
log_sigma = sigma.log()
dists = log_sigma.to(self.log_sigmas.device) - self.log_sigmas[:, None]
return (dists.abs().argmin(dim=0).view(sigma.shape) * self.skip_steps + (self.skip_steps - 1)).to(sigma.device)
def sigma(self, timestep):
t = torch.clamp(((timestep.float().to(self.log_sigmas.device) - (self.skip_steps - 1)) / self.skip_steps).float(), min=0, max=(len(self.sigmas) - 1))
low_idx = t.floor().long()
high_idx = t.ceil().long()
w = t.frac()
log_sigma = (1 - w) * self.log_sigmas[low_idx] + w * self.log_sigmas[high_idx]
return log_sigma.exp().to(timestep.device)
class ModelSamplingDiscrete:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["eps", "v_prediction", "lcm", "x0", "img_to_img", "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):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingDiscreteFlow
sampling_type = comfy.model_sampling.CONST
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}),
}}
FUNCTION = "patch_aura"
CATEGORY = "model/patch"
def patch_aura(self, model, shift):
return self.patch(model, shift, multiplier=1.0)
class ModelSamplingFlux:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"max_shift": ("FLOAT", {"default": 1.15, "min": 0.0, "max": 100.0, "step":0.01, "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):
def rescale_cfg(args):
cond = args["cond"]
uncond = args["uncond"]
cond_scale = args["cond_scale"]
sigma = args["sigma"]
sigma = sigma.view(sigma.shape[:1] + (1,) * (cond.ndim - 1))
x_orig = args["input"]
#rescale cfg has to be done on v-pred model output
x = x_orig / (sigma * sigma + 1.0)
cond = ((x - (x_orig - cond)) * (sigma ** 2 + 1.0) ** 0.5) / (sigma)
uncond = ((x - (x_orig - uncond)) * (sigma ** 2 + 1.0) ** 0.5) / (sigma)
#rescalecfg
x_cfg = uncond + cond_scale * (cond - uncond)
ro_pos = torch.std(cond, dim=(1,2,3), keepdim=True)
ro_cfg = torch.std(x_cfg, dim=(1,2,3), keepdim=True)
x_rescaled = x_cfg * (ro_pos / ro_cfg)
x_final = multiplier * x_rescaled + (1.0 - multiplier) * x_cfg
return x_orig - (x - x_final * sigma / (sigma * sigma + 1.0) ** 0.5)
m = model.clone()
m.set_model_sampler_cfg_function(rescale_cfg)
return (m, )
class 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, )
NODE_CLASS_MAPPINGS = {
"ModelSamplingDiscrete": ModelSamplingDiscrete,
"ModelSamplingContinuousEDM": ModelSamplingContinuousEDM,
"ModelSamplingContinuousV": ModelSamplingContinuousV,
"ModelSamplingStableCascade": ModelSamplingStableCascade,
"ModelSamplingSD3": ModelSamplingSD3,
"ModelSamplingAuraFlow": ModelSamplingAuraFlow,
"ModelSamplingFlux": ModelSamplingFlux,
"ModelNoiseScale": ModelNoiseScale,
"RescaleCFG": RescaleCFG,
"ModelComputeDtype": ModelComputeDtype,
}
@@ -0,0 +1,912 @@
import torch
from torch import nn
import folder_paths
import comfy.utils
import comfy.ops
import comfy.model_management
import comfy.ldm.common_dit
import comfy.latent_formats
import comfy.ldm.lumina.controlnet
import comfy.ldm.supir.supir_modules
import comfy.ldm.anima.lllite
import comfy.ldm.wan.uni3c
from comfy.ldm.wan.model_multitalk import WanMultiTalkAttentionBlock, MultiTalkAudioProjModel
from comfy_api.latest import io
from comfy.ldm.supir.supir_patch import SUPIRPatch
class BlockWiseControlBlock(torch.nn.Module):
# [linear, gelu, linear]
def __init__(self, dim: int = 3072, device=None, dtype=None, operations=None):
super().__init__()
self.x_rms = operations.RMSNorm(dim, eps=1e-6)
self.y_rms = operations.RMSNorm(dim, eps=1e-6)
self.input_proj = operations.Linear(dim, dim)
self.act = torch.nn.GELU()
self.output_proj = operations.Linear(dim, dim)
def forward(self, x, y):
x, y = self.x_rms(x), self.y_rms(y)
x = self.input_proj(x + y)
x = self.act(x)
x = self.output_proj(x)
return x
class QwenImageBlockWiseControlNet(torch.nn.Module):
def __init__(
self,
num_layers: int = 60,
in_dim: int = 64,
additional_in_dim: int = 0,
dim: int = 3072,
device=None, dtype=None, operations=None
):
super().__init__()
self.additional_in_dim = additional_in_dim
self.img_in = operations.Linear(in_dim + additional_in_dim, dim, device=device, dtype=dtype)
self.controlnet_blocks = torch.nn.ModuleList(
[
BlockWiseControlBlock(dim, device=device, dtype=dtype, operations=operations)
for _ in range(num_layers)
]
)
def process_input_latent_image(self, latent_image):
latent_image[:, :16] = comfy.latent_formats.Wan21().process_in(latent_image[:, :16])
patch_size = 2
hidden_states = comfy.ldm.common_dit.pad_to_patch_size(latent_image, (1, patch_size, patch_size))
orig_shape = hidden_states.shape
hidden_states = hidden_states.view(orig_shape[0], orig_shape[1], orig_shape[-2] // 2, 2, orig_shape[-1] // 2, 2)
hidden_states = hidden_states.permute(0, 2, 4, 1, 3, 5)
hidden_states = hidden_states.reshape(orig_shape[0], (orig_shape[-2] // 2) * (orig_shape[-1] // 2), orig_shape[1] * 4)
return self.img_in(hidden_states)
def control_block(self, img, controlnet_conditioning, block_id):
return self.controlnet_blocks[block_id](img, controlnet_conditioning)
class SigLIPMultiFeatProjModel(torch.nn.Module):
"""
SigLIP Multi-Feature Projection Model for processing style features from different layers
and projecting them into a unified hidden space.
Args:
siglip_token_nums (int): Number of SigLIP tokens, default 257
style_token_nums (int): Number of style tokens, default 256
siglip_token_dims (int): Dimension of SigLIP tokens, default 1536
hidden_size (int): Hidden layer size, default 3072
context_layer_norm (bool): Whether to use context layer normalization, default False
"""
def __init__(
self,
siglip_token_nums: int = 729,
style_token_nums: int = 64,
siglip_token_dims: int = 1152,
hidden_size: int = 3072,
context_layer_norm: bool = True,
device=None, dtype=None, operations=None
):
super().__init__()
# High-level feature processing (layer -2)
self.high_embedding_linear = nn.Sequential(
operations.Linear(siglip_token_nums, style_token_nums),
nn.SiLU()
)
self.high_layer_norm = (
operations.LayerNorm(siglip_token_dims) if context_layer_norm else nn.Identity()
)
self.high_projection = operations.Linear(siglip_token_dims, hidden_size, bias=True)
# Mid-level feature processing (layer -11)
self.mid_embedding_linear = nn.Sequential(
operations.Linear(siglip_token_nums, style_token_nums),
nn.SiLU()
)
self.mid_layer_norm = (
operations.LayerNorm(siglip_token_dims) if context_layer_norm else nn.Identity()
)
self.mid_projection = operations.Linear(siglip_token_dims, hidden_size, bias=True)
# Low-level feature processing (layer -20)
self.low_embedding_linear = nn.Sequential(
operations.Linear(siglip_token_nums, style_token_nums),
nn.SiLU()
)
self.low_layer_norm = (
operations.LayerNorm(siglip_token_dims) if context_layer_norm else nn.Identity()
)
self.low_projection = operations.Linear(siglip_token_dims, hidden_size, bias=True)
def forward(self, siglip_outputs):
"""
Forward pass function
Args:
siglip_outputs: Output from SigLIP model, containing hidden_states
Returns:
torch.Tensor: Concatenated multi-layer features with shape [bs, 3*style_token_nums, hidden_size]
"""
dtype = next(self.high_embedding_linear.parameters()).dtype
# Process high-level features (layer -2)
high_embedding = self._process_layer_features(
siglip_outputs[2],
self.high_embedding_linear,
self.high_layer_norm,
self.high_projection,
dtype
)
# Process mid-level features (layer -11)
mid_embedding = self._process_layer_features(
siglip_outputs[1],
self.mid_embedding_linear,
self.mid_layer_norm,
self.mid_projection,
dtype
)
# Process low-level features (layer -20)
low_embedding = self._process_layer_features(
siglip_outputs[0],
self.low_embedding_linear,
self.low_layer_norm,
self.low_projection,
dtype
)
# Concatenate features from all layersmodel_patch
return torch.cat((high_embedding, mid_embedding, low_embedding), dim=1)
def _process_layer_features(
self,
hidden_states: torch.Tensor,
embedding_linear: nn.Module,
layer_norm: nn.Module,
projection: nn.Module,
dtype: torch.dtype
) -> torch.Tensor:
"""
Helper function to process features from a single layer
Args:
hidden_states: Input hidden states [bs, seq_len, dim]
embedding_linear: Embedding linear layer
layer_norm: Layer normalization
projection: Projection layer
dtype: Target data type
Returns:
torch.Tensor: Processed features [bs, style_token_nums, hidden_size]
"""
# Transform dimensions: [bs, seq_len, dim] -> [bs, dim, seq_len] -> [bs, dim, style_token_nums] -> [bs, style_token_nums, dim]
embedding = embedding_linear(
hidden_states.to(dtype).transpose(1, 2)
).transpose(1, 2)
# Apply layer normalization
embedding = layer_norm(embedding)
# Project to target hidden space
embedding = projection(embedding)
return embedding
def z_image_convert(sd):
replace_keys = {".attention.to_out.0.bias": ".attention.out.bias",
".attention.norm_k.weight": ".attention.k_norm.weight",
".attention.norm_q.weight": ".attention.q_norm.weight",
".attention.to_out.0.weight": ".attention.out.weight"
}
out_sd = {}
for k in sorted(sd.keys()):
w = sd[k]
k_out = k
if k_out.endswith(".attention.to_k.weight"):
cc = [w]
continue
if k_out.endswith(".attention.to_q.weight"):
cc = [w] + cc
continue
if k_out.endswith(".attention.to_v.weight"):
cc = cc + [w]
w = torch.cat(cc, dim=0)
k_out = k_out.replace(".attention.to_v.weight", ".attention.qkv.weight")
for r, rr in replace_keys.items():
k_out = k_out.replace(r, rr)
out_sd[k_out] = w
return out_sd
class ModelPatchLoader:
@classmethod
def INPUT_TYPES(s):
return {"required": { "name": (folder_paths.get_filename_list("model_patches"), ),
}}
RETURN_TYPES = ("MODEL_PATCH",)
FUNCTION = "load_model_patch"
EXPERIMENTAL = True
CATEGORY = "model/loaders"
def load_model_patch(self, name):
model_patch_path = folder_paths.get_full_path_or_raise("model_patches", name)
sd, metadata = comfy.utils.load_torch_file(model_patch_path, safe_load=True, return_metadata=True)
dtype = comfy.utils.weight_dtype(sd)
if 'lllite_conditioning1.conv1.weight' in sd:
model = comfy.ldm.anima.lllite.AnimaLLLite(sd, metadata, device=comfy.model_management.unet_offload_device(), dtype=dtype, operations=comfy.ops.manual_cast)
elif 'controlnet_blocks.0.y_rms.weight' in sd:
additional_in_dim = sd["img_in.weight"].shape[1] - 64
model = QwenImageBlockWiseControlNet(additional_in_dim=additional_in_dim, device=comfy.model_management.unet_offload_device(), dtype=dtype, operations=comfy.ops.manual_cast)
elif 'feature_embedder.mid_layer_norm.bias' in sd:
sd = comfy.utils.state_dict_prefix_replace(sd, {"feature_embedder.": ""}, filter_keys=True)
model = SigLIPMultiFeatProjModel(device=comfy.model_management.unet_offload_device(), dtype=dtype, operations=comfy.ops.manual_cast)
elif 'control_all_x_embedder.2-1.weight' in sd: # alipai z image fun controlnet
sd = z_image_convert(sd)
config = {}
if 'control_layers.4.adaLN_modulation.0.weight' not in sd:
config['n_control_layers'] = 3
config['additional_in_dim'] = 17
config['refiner_control'] = True
if 'control_layers.14.adaLN_modulation.0.weight' in sd:
config['n_control_layers'] = 15
config['additional_in_dim'] = 17
config['refiner_control'] = True
ref_weight = sd.get("control_noise_refiner.0.after_proj.weight", None)
if ref_weight is not None:
if torch.count_nonzero(ref_weight) == 0:
config['broken'] = True
model = comfy.ldm.lumina.controlnet.ZImage_Control(device=comfy.model_management.unet_offload_device(), dtype=dtype, operations=comfy.ops.manual_cast, **config)
elif 'controlnet_patch_embedding.weight' in sd: # Uni3C controlnet for Wan
attn_key_replace = {".self_attn.to_q.": ".self_attn.q.",
".self_attn.to_k.": ".self_attn.k.",
".self_attn.to_v.": ".self_attn.v.",
".self_attn.to_out.0.": ".self_attn.o."}
converted_sd = {}
for k, w in sd.items():
for r, rr in attn_key_replace.items():
k = k.replace(r, rr)
converted_sd[k] = w
sd = converted_sd
num_layers = sum(1 for k in sd if k.startswith("proj_out.") and k.endswith(".weight"))
conv_out_dim = sd["controlnet_patch_embedding.weight"].shape[0]
if "proj_in.weight" in sd:
dim = sd["proj_in.weight"].shape[0]
else:
dim = conv_out_dim
model = comfy.ldm.wan.uni3c.WanUni3CControlnet(
in_channels=sd["controlnet_patch_embedding.weight"].shape[1],
conv_out_dim=conv_out_dim,
dim=dim,
ffn_dim=sd["controlnet_blocks.0.ffn.0.bias"].shape[0],
num_layers=num_layers,
time_embed_dim=sd["controlnet_blocks.0.norm1.linear.weight"].shape[1],
out_proj_dim=sd["proj_out.0.weight"].shape[0],
add_channels=sd["controlnet_mask_embedding.mask_proj.0.weight"].shape[1],
mid_channels=sd["controlnet_mask_embedding.mask_proj.0.weight"].shape[0],
device=comfy.model_management.unet_offload_device(),
dtype=dtype,
operations=comfy.ops.manual_cast)
elif "audio_proj.proj1.weight" in sd:
model = MultiTalkModelPatch(
audio_window=5, context_tokens=32, vae_scale=4,
in_dim=sd["blocks.0.audio_cross_attn.proj.weight"].shape[0],
intermediate_dim=sd["audio_proj.proj1.weight"].shape[0],
out_dim=sd["audio_proj.norm.weight"].shape[0],
device=comfy.model_management.unet_offload_device(),
operations=comfy.ops.manual_cast)
elif 'model.control_model.input_hint_block.0.weight' in sd or 'control_model.input_hint_block.0.weight' in sd:
prefix_replace = {}
if 'model.control_model.input_hint_block.0.weight' in sd:
prefix_replace["model.control_model."] = "control_model."
prefix_replace["model.diffusion_model.project_modules."] = "project_modules."
else:
prefix_replace["control_model."] = "control_model."
prefix_replace["project_modules."] = "project_modules."
# Extract denoise_encoder weights before filter_keys discards them
de_prefix = "first_stage_model.denoise_encoder."
denoise_encoder_sd = {}
for k in list(sd.keys()):
if k.startswith(de_prefix):
denoise_encoder_sd[k[len(de_prefix):]] = sd.pop(k)
sd = comfy.utils.state_dict_prefix_replace(sd, prefix_replace, filter_keys=True)
sd.pop("control_model.mask_LQ", None)
model = comfy.ldm.supir.supir_modules.SUPIR(device=comfy.model_management.unet_offload_device(), dtype=dtype, operations=comfy.ops.manual_cast)
if denoise_encoder_sd:
model.denoise_encoder_sd = denoise_encoder_sd
model_patcher = comfy.model_patcher.CoreModelPatcher(model, load_device=comfy.model_management.get_torch_device(), offload_device=comfy.model_management.unet_offload_device())
model.load_state_dict(sd, assign=model_patcher.is_dynamic())
return (model_patcher,)
class AnimaLLLiteApply:
@classmethod
def INPUT_TYPES(s):
return {"required": {"model": ("MODEL",),
"model_patch": ("MODEL_PATCH",),
"image": ("IMAGE",),
"strength": ("FLOAT", {"default": 1.0, "min": -10.0, "max": 10.0, "step": 0.01}),
"start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}),
"end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}),
},
"optional": {"mask": ("MASK",),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "apply_patch"
EXPERIMENTAL = True
CATEGORY = "model_patches/anima"
def apply_patch(self, model, model_patch, image, strength, start_percent, end_percent, mask=None):
image = image[..., :3]
if model_patch.model.cond_in_channels == 4 and mask is None:
mask = torch.zeros_like(image[..., 0])
elif model_patch.model.cond_in_channels != 4:
mask = None
model_sampling = model.get_model_object("model_sampling")
sigma_start = float(model_sampling.percent_to_sigma(start_percent))
sigma_end = float(model_sampling.percent_to_sigma(end_percent))
patch = comfy.ldm.anima.lllite.AnimaLLLitePatch(model_patch, image, mask, strength, sigma_start, sigma_end)
model_patched = model.clone()
model_patched.set_model_post_input_patch(patch)
model_patched.set_model_attn1_patch(comfy.ldm.anima.lllite.AnimaLLLiteAttentionPatch(
patch,
{"q": "self_attn_q_proj", "k": "self_attn_k_proj", "v": "self_attn_v_proj"},
))
model_patched.set_model_attn2_patch(comfy.ldm.anima.lllite.AnimaLLLiteAttentionPatch(
patch,
{"q": "cross_attn_q_proj"},
))
model_patched.set_model_patch(comfy.ldm.anima.lllite.AnimaLLLiteMLPPatch(patch), "mlp_patch")
return (model_patched,)
class DiffSynthCnetPatch:
def __init__(self, model_patch, vae, image, strength, mask=None):
self.model_patch = model_patch
self.vae = vae
self.image = image
self.strength = strength
self.mask = mask
self.encoded_image = model_patch.model.process_input_latent_image(self.encode_latent_cond(image))
self.encoded_image_size = (image.shape[1], image.shape[2])
def encode_latent_cond(self, image):
latent_image = self.vae.encode(image)
if self.model_patch.model.additional_in_dim > 0:
if self.mask is None:
mask_ = torch.ones_like(latent_image)[:, :self.model_patch.model.additional_in_dim // 4]
else:
mask_ = comfy.utils.common_upscale(self.mask.mean(dim=1, keepdim=True), latent_image.shape[-1], latent_image.shape[-2], "bilinear", "none")
return torch.cat([latent_image, mask_], dim=1)
else:
return latent_image
def __call__(self, kwargs):
x = kwargs.get("x")
img = kwargs.get("img")
block_index = kwargs.get("block_index")
spacial_compression = self.vae.spacial_compression_encode()
if self.encoded_image is None or self.encoded_image_size != (x.shape[-2] * spacial_compression, x.shape[-1] * spacial_compression):
image_scaled = comfy.utils.common_upscale(self.image.movedim(-1, 1), x.shape[-1] * spacial_compression, x.shape[-2] * spacial_compression, "area", "center")
loaded_models = comfy.model_management.loaded_models(only_currently_used=True)
self.encoded_image = self.model_patch.model.process_input_latent_image(self.encode_latent_cond(image_scaled.movedim(1, -1)))
self.encoded_image_size = (image_scaled.shape[-2], image_scaled.shape[-1])
comfy.model_management.load_models_gpu(loaded_models)
img[:, :self.encoded_image.shape[1]] += (self.model_patch.model.control_block(img[:, :self.encoded_image.shape[1]], self.encoded_image.to(img.dtype), block_index) * self.strength)
kwargs['img'] = img
return kwargs
def to(self, device_or_dtype):
if isinstance(device_or_dtype, torch.device):
self.encoded_image = self.encoded_image.to(device_or_dtype)
return self
def models(self):
return [self.model_patch]
class ZImageControlPatch:
def __init__(self, model_patch, vae, image, strength, inpaint_image=None, mask=None):
self.model_patch = model_patch
self.vae = vae
self.image = image
self.inpaint_image = inpaint_image
self.mask = mask
self.strength = strength
self.is_inpaint = self.model_patch.model.additional_in_dim > 0
skip_encoding = False
if self.image is not None and self.inpaint_image is not None:
if self.image.shape != self.inpaint_image.shape:
skip_encoding = True
if skip_encoding:
self.encoded_image = None
else:
self.encoded_image = self.encode_latent_cond(self.image, self.inpaint_image)
if self.image is None:
self.encoded_image_size = (self.inpaint_image.shape[1], self.inpaint_image.shape[2])
else:
self.encoded_image_size = (self.image.shape[1], self.image.shape[2])
self.temp_data = None
def encode_latent_cond(self, control_image=None, inpaint_image=None):
latent_image = None
if control_image is not None:
latent_image = comfy.latent_formats.Flux().process_in(self.vae.encode(control_image))
if self.is_inpaint:
if inpaint_image is None:
inpaint_image = torch.ones_like(control_image) * 0.5
if self.mask is not None:
mask_inpaint = comfy.utils.common_upscale(self.mask.view(self.mask.shape[0], -1, self.mask.shape[-2], self.mask.shape[-1]).mean(dim=1, keepdim=True), inpaint_image.shape[-2], inpaint_image.shape[-3], "bilinear", "center")
inpaint_image = ((inpaint_image - 0.5) * mask_inpaint.movedim(1, -1).round()) + 0.5
inpaint_image_latent = comfy.latent_formats.Flux().process_in(self.vae.encode(inpaint_image))
if self.mask is None:
mask_ = torch.zeros_like(inpaint_image_latent)[:, :1]
else:
mask_ = comfy.utils.common_upscale(self.mask.view(self.mask.shape[0], -1, self.mask.shape[-2], self.mask.shape[-1]).mean(dim=1, keepdim=True).to(device=inpaint_image_latent.device), inpaint_image_latent.shape[-1], inpaint_image_latent.shape[-2], "nearest", "center")
if latent_image is None:
latent_image = comfy.latent_formats.Flux().process_in(self.vae.encode(torch.ones_like(inpaint_image) * 0.5))
return torch.cat([latent_image, mask_, inpaint_image_latent], dim=1)
else:
return latent_image
def __call__(self, kwargs):
x = kwargs.get("x")
img = kwargs.get("img")
img_input = kwargs.get("img_input")
txt = kwargs.get("txt")
pe = kwargs.get("pe")
vec = kwargs.get("vec")
block_index = kwargs.get("block_index")
block_type = kwargs.get("block_type", "")
spacial_compression = self.vae.spacial_compression_encode()
if self.encoded_image is None or self.encoded_image_size != (x.shape[-2] * spacial_compression, x.shape[-1] * spacial_compression):
image_scaled = None
if self.image is not None:
image_scaled = comfy.utils.common_upscale(self.image.movedim(-1, 1), x.shape[-1] * spacial_compression, x.shape[-2] * spacial_compression, "area", "center").movedim(1, -1)
self.encoded_image_size = (image_scaled.shape[-3], image_scaled.shape[-2])
inpaint_scaled = None
if self.inpaint_image is not None:
inpaint_scaled = comfy.utils.common_upscale(self.inpaint_image.movedim(-1, 1), x.shape[-1] * spacial_compression, x.shape[-2] * spacial_compression, "area", "center").movedim(1, -1)
self.encoded_image_size = (inpaint_scaled.shape[-3], inpaint_scaled.shape[-2])
loaded_models = comfy.model_management.loaded_models(only_currently_used=True)
self.encoded_image = self.encode_latent_cond(image_scaled, inpaint_scaled)
comfy.model_management.load_models_gpu(loaded_models)
cnet_blocks = self.model_patch.model.n_control_layers
div = round(30 / cnet_blocks)
cnet_index = (block_index // div)
cnet_index_float = (block_index / div)
kwargs.pop("img") # we do ops in place
kwargs.pop("txt")
if cnet_index_float > (cnet_blocks - 1):
self.temp_data = None
return kwargs
if self.temp_data is None or self.temp_data[0] > cnet_index:
if block_type == "noise_refiner":
self.temp_data = (-3, (None, self.model_patch.model(txt, self.encoded_image.to(img.dtype), pe, vec)))
else:
self.temp_data = (-1, (None, self.model_patch.model(txt, self.encoded_image.to(img.dtype), pe, vec)))
if block_type == "noise_refiner":
next_layer = self.temp_data[0] + 1
self.temp_data = (next_layer, self.model_patch.model.forward_noise_refiner_block(block_index, self.temp_data[1][1], img_input[:, :self.temp_data[1][1].shape[1]], None, pe, vec))
if self.temp_data[1][0] is not None:
img[:, :self.temp_data[1][0].shape[1]] += (self.temp_data[1][0] * self.strength)
else:
while self.temp_data[0] < cnet_index and (self.temp_data[0] + 1) < cnet_blocks:
next_layer = self.temp_data[0] + 1
self.temp_data = (next_layer, self.model_patch.model.forward_control_block(next_layer, self.temp_data[1][1], img_input[:, :self.temp_data[1][1].shape[1]], None, pe, vec))
if cnet_index_float == self.temp_data[0]:
img[:, :self.temp_data[1][0].shape[1]] += (self.temp_data[1][0] * self.strength)
if cnet_blocks == self.temp_data[0] + 1:
self.temp_data = None
return kwargs
def to(self, device_or_dtype):
if isinstance(device_or_dtype, torch.device):
if self.encoded_image is not None:
self.encoded_image = self.encoded_image.to(device_or_dtype)
self.temp_data = None
return self
def models(self):
return [self.model_patch]
class QwenImageDiffsynthControlnet:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"model_patch": ("MODEL_PATCH",),
"vae": ("VAE",),
"image": ("IMAGE",),
"strength": ("FLOAT", {"default": 1.0, "min": -10.0, "max": 10.0, "step": 0.01}),
},
"optional": {"mask": ("MASK",)}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "diffsynth_controlnet"
EXPERIMENTAL = True
CATEGORY = "model/patch/qwen"
def diffsynth_controlnet(self, model, model_patch, vae, image=None, strength=1.0, inpaint_image=None, mask=None):
model_patched = model.clone()
if image is not None:
image = image[:, :, :, :3]
if inpaint_image is not None:
inpaint_image = inpaint_image[:, :, :, :3]
if mask is not None:
if mask.ndim == 3:
mask = mask.unsqueeze(1)
if mask.ndim == 4:
mask = mask.unsqueeze(2)
mask = 1.0 - mask
if isinstance(model_patch.model, comfy.ldm.lumina.controlnet.ZImage_Control):
patch = ZImageControlPatch(model_patch, vae, image, strength, inpaint_image=inpaint_image, mask=mask)
model_patched.set_model_noise_refiner_patch(patch)
model_patched.set_model_double_block_patch(patch)
else:
model_patched.set_model_double_block_patch(DiffSynthCnetPatch(model_patch, vae, image, strength, mask))
return (model_patched,)
class ZImageFunControlnet(QwenImageDiffsynthControlnet):
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"model_patch": ("MODEL_PATCH",),
"vae": ("VAE",),
"strength": ("FLOAT", {"default": 1.0, "min": -10.0, "max": 10.0, "step": 0.01}),
},
"optional": {"image": ("IMAGE",), "inpaint_image": ("IMAGE",), "mask": ("MASK",)}}
CATEGORY = "model/patch/z-image"
class WanUni3CCnetPatch:
def __init__(self, model_patch, render_video, vae, latent_format, strength, sigma_start, sigma_end):
self.model_patch = model_patch
self.render_video = render_video
self.vae = vae
self.latent_format = latent_format
self.strength = strength
self.sigma_start = sigma_start
self.sigma_end = sigma_end
self.prepared_render = None
self.temp_data = None
def encode_render_video(self, target_latent_shape):
t_len, h_len, w_len = target_latent_shape
temporal_compression = self.vae.temporal_compression_decode() or 1
spatial_compression = self.vae.spacial_compression_encode()
target_frames = (t_len - 1) * temporal_compression + 1
target_height = h_len * spatial_compression
target_width = w_len * spatial_compression
frames = self.render_video
if frames.shape[0] > target_frames:
frames = frames[:target_frames]
elif frames.shape[0] < target_frames:
last_frame = frames[-1:].expand(target_frames - frames.shape[0], -1, -1, -1)
frames = torch.cat([frames, last_frame], dim=0)
if frames.shape[1] != target_height or frames.shape[2] != target_width:
frames = comfy.utils.common_upscale(frames.movedim(-1, 1), target_width, target_height, "bilinear", "center").movedim(1, -1)
loaded_models = comfy.model_management.loaded_models(only_currently_used=True)
render_latent = self.vae.encode(frames)
comfy.model_management.load_models_gpu(loaded_models)
return self.latent_format.process_in(render_latent)
def build_controlnet_input(self, x, dtype, samples_per_cond):
# first 20 channels of the model input: noise latent + I2V mask (zero padded for T2V)
hidden = x[:samples_per_cond, :20].to(dtype)
if hidden.shape[1] < 20:
pad_shape = list(hidden.shape)
pad_shape[1] = 20 - hidden.shape[1]
hidden = torch.cat([hidden, torch.zeros(pad_shape, dtype=hidden.dtype, device=hidden.device)], dim=1)
render = self.prepared_render
if render is None or render.shape[2:] != hidden.shape[2:]:
render = self.encode_render_video(hidden.shape[2:])
render = render.to(device=hidden.device, dtype=dtype)
self.prepared_render = render
if render.shape[0] != hidden.shape[0]:
render = render.expand(hidden.shape[0], -1, -1, -1, -1)
return torch.cat([hidden, render], dim=1)
def __call__(self, kwargs):
img = kwargs.get("img")
block_index = kwargs.get("block_index")
transformer_options = kwargs.get("transformer_options", {})
if block_index == 0:
self.temp_data = None
active = True
sigmas = transformer_options.get("sigmas", None)
if sigmas is not None:
sigma = sigmas[0].item()
if sigma > self.sigma_start or sigma < self.sigma_end:
active = False
if active:
x = kwargs.get("x")
# cond and uncond chunks share latents, so we can reuse residuals
num_conds = len(transformer_options.get("cond_or_uncond", [0]))
samples_per_cond = x.shape[0]
if num_conds > 0 and x.shape[0] % num_conds == 0:
samples_per_cond = x.shape[0] // num_conds
temb = kwargs.get("vec")[:samples_per_cond]
if temb.ndim == 3:
temb = temb[:, 0]
model = self.model_patch.model
controlnet_input = self.build_controlnet_input(x, img.dtype, samples_per_cond)
hidden, freqs = model.process_input(controlnet_input)
self.temp_data = (hidden, temb.to(img.dtype), freqs)
num_layers = self.model_patch.model.num_layers
if self.temp_data is not None and block_index < num_layers:
hidden, temb, freqs = self.temp_data
hidden, residual = self.model_patch.model.forward_block(block_index, hidden, temb, freqs)
residual = residual.to(img.dtype) * self.strength
if residual.shape[0] != img.shape[0]:
residual = residual.repeat(img.shape[0] // residual.shape[0], 1, 1)
img_offset = kwargs.get("img_offset", 0)
img[:, img_offset:img_offset + residual.shape[1]] += residual
if block_index >= num_layers - 1:
self.temp_data = None
else:
self.temp_data = (hidden, temb, freqs)
return kwargs
def to(self, device_or_dtype):
if isinstance(device_or_dtype, torch.device):
if self.prepared_render is not None:
self.prepared_render = self.prepared_render.to(device_or_dtype)
self.temp_data = None
return self
def models(self):
return [self.model_patch]
class WanUni3CControlnetApply:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"model_patch": ("MODEL_PATCH",),
"vae": ("VAE",),
"render_video": ("IMAGE", {"tooltip": "The guidance video rendered from the camera trajectory, most commonly warped point cloud renders of the input image."}),
"strength": ("FLOAT", {"default": 1.0, "min": -10.0, "max": 10.0, "step": 0.01}),
"start_percent": ("FLOAT", {"default": 0.0, "min": 0.0, "max": 1.0, "step": 0.001}),
"end_percent": ("FLOAT", {"default": 1.0, "min": 0.0, "max": 1.0, "step": 0.001}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "apply_patch"
EXPERIMENTAL = True
CATEGORY = "model/patch/wan"
def apply_patch(self, model, model_patch, vae, render_video, strength, start_percent, end_percent):
if not isinstance(model_patch.model, comfy.ldm.wan.uni3c.WanUni3CControlnet):
raise ValueError("The connected model patch is not a Uni3C ControlNet.")
cnet_dim = model_patch.model.controlnet_blocks[0].norm1.linear.in_features
model_dim = getattr(model.get_model_object("diffusion_model"), "dim", None)
if model_dim is None:
raise ValueError("The Uni3C ControlNet only works with Wan models.")
if model_dim != cnet_dim:
raise ValueError("This Uni3C ControlNet expects a Wan model with dim {}, the loaded model has dim {}.".format(cnet_dim, model_dim))
model_patched = model.clone()
model_sampling = model.get_model_object("model_sampling")
sigma_start = model_sampling.percent_to_sigma(start_percent)
sigma_end = model_sampling.percent_to_sigma(end_percent)
latent_format = model.get_model_object("latent_format")
patch = WanUni3CCnetPatch(model_patch, render_video[:, :, :, :3], vae, latent_format, strength, sigma_start, sigma_end)
model_patched.set_model_double_block_patch(patch)
return (model_patched,)
class UsoStyleProjectorPatch:
def __init__(self, model_patch, encoded_image):
self.model_patch = model_patch
self.encoded_image = encoded_image
def __call__(self, kwargs):
txt_ids = kwargs.get("txt_ids")
txt = kwargs.get("txt")
siglip_embedding = self.model_patch.model(self.encoded_image.to(txt.dtype)).to(txt.dtype)
txt = torch.cat([siglip_embedding, txt], dim=1)
kwargs['txt'] = txt
kwargs['txt_ids'] = torch.cat([torch.zeros(siglip_embedding.shape[0], siglip_embedding.shape[1], 3, dtype=txt_ids.dtype, device=txt_ids.device), txt_ids], dim=1)
return kwargs
def to(self, device_or_dtype):
if isinstance(device_or_dtype, torch.device):
self.encoded_image = self.encoded_image.to(device_or_dtype)
return self
def models(self):
return [self.model_patch]
class USOStyleReference:
@classmethod
def INPUT_TYPES(s):
return {"required": {"model": ("MODEL",),
"model_patch": ("MODEL_PATCH",),
"clip_vision_output": ("CLIP_VISION_OUTPUT", ),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "apply_patch"
EXPERIMENTAL = True
CATEGORY = "model/patch/flux"
def apply_patch(self, model, model_patch, clip_vision_output):
encoded_image = torch.stack((clip_vision_output.all_hidden_states[:, -20], clip_vision_output.all_hidden_states[:, -11], clip_vision_output.penultimate_hidden_states))
model_patched = model.clone()
model_patched.set_model_post_input_patch(UsoStyleProjectorPatch(model_patch, encoded_image))
return (model_patched,)
class MultiTalkModelPatch(torch.nn.Module):
def __init__(
self,
audio_window: int = 5,
intermediate_dim: int = 512,
in_dim: int = 5120,
out_dim: int = 768,
context_tokens: int = 32,
vae_scale: int = 4,
num_layers: int = 40,
device=None, dtype=None, operations=None
):
super().__init__()
self.audio_proj = MultiTalkAudioProjModel(
seq_len=audio_window,
seq_len_vf=audio_window+vae_scale-1,
intermediate_dim=intermediate_dim,
out_dim=out_dim,
context_tokens=context_tokens,
device=device,
dtype=dtype,
operations=operations
)
self.blocks = torch.nn.ModuleList(
[
WanMultiTalkAttentionBlock(in_dim, out_dim, device=device, dtype=dtype, operations=operations)
for _ in range(num_layers)
]
)
class SUPIRApply(io.ComfyNode):
@classmethod
def define_schema(cls) -> io.Schema:
return io.Schema(
node_id="SUPIRApply",
category="model/patch/supir",
is_experimental=True,
inputs=[
io.Model.Input("model"),
io.ModelPatch.Input("model_patch"),
io.Vae.Input("vae"),
io.Image.Input("image"),
io.Float.Input("strength_start", default=1.0, min=0.0, max=10.0, step=0.01,
tooltip="Control strength at the start of sampling (high sigma)."),
io.Float.Input("strength_end", default=1.0, min=0.0, max=10.0, step=0.01,
tooltip="Control strength at the end of sampling (low sigma). Linearly interpolated from start."),
io.Float.Input("restore_cfg", default=4.0, min=0.0, max=20.0, step=0.1, advanced=True,
tooltip="Pulls denoised output toward the input latent. Higher = stronger fidelity to input. 0 to disable."),
io.Float.Input("restore_cfg_s_tmin", default=0.05, min=0.0, max=1.0, step=0.01, advanced=True,
tooltip="Sigma threshold below which restore_cfg is disabled."),
],
outputs=[io.Model.Output()],
)
@classmethod
def _encode_with_denoise_encoder(cls, vae, model_patch, image):
"""Encode using denoise_encoder weights from SUPIR checkpoint if available."""
denoise_sd = getattr(model_patch.model, 'denoise_encoder_sd', None)
if not denoise_sd:
return vae.encode(image)
# Clone VAE patcher, apply denoise_encoder weights to clone, encode
orig_patcher = vae.patcher
vae.patcher = orig_patcher.clone()
patches = {f"encoder.{k}": (v,) for k, v in denoise_sd.items()}
vae.patcher.add_patches(patches, strength_patch=1.0, strength_model=0.0)
try:
return vae.encode(image)
finally:
vae.patcher = orig_patcher
@classmethod
def execute(cls, *, model: io.Model.Type, model_patch: io.ModelPatch.Type, vae: io.Vae.Type, image: io.Image.Type,
strength_start: float, strength_end: float, restore_cfg: float, restore_cfg_s_tmin: float) -> io.NodeOutput:
model_patched = model.clone()
hint_latent = model.get_model_object("latent_format").process_in(
cls._encode_with_denoise_encoder(vae, model_patch, image[:, :, :, :3]))
patch = SUPIRPatch(model_patch, model_patch.model.project_modules, hint_latent, strength_start, strength_end)
patch.register(model_patched)
if restore_cfg > 0.0:
# Round-trip to match original pipeline: decode hint, re-encode with regular VAE
latent_format = model.get_model_object("latent_format")
decoded = vae.decode(latent_format.process_out(hint_latent))
x_center = latent_format.process_in(vae.encode(decoded[:, :, :, :3]))
sigma_max = 14.6146
def restore_cfg_function(args):
denoised = args["denoised"]
sigma = args["sigma"]
if sigma.dim() > 0:
s = sigma[0].item()
else:
s = sigma.item()
if s > restore_cfg_s_tmin:
ref = x_center.to(device=denoised.device, dtype=denoised.dtype)
b = denoised.shape[0]
if ref.shape[0] != b:
ref = ref.expand(b, -1, -1, -1) if ref.shape[0] == 1 else ref.repeat((b + ref.shape[0] - 1) // ref.shape[0], 1, 1, 1)[:b]
sigma_val = sigma.view(-1, 1, 1, 1) if sigma.dim() > 0 else sigma
d_center = denoised - ref
denoised = denoised - d_center * ((sigma_val / sigma_max) ** restore_cfg)
return denoised
model_patched.set_model_sampler_post_cfg_function(restore_cfg_function)
return io.NodeOutput(model_patched)
NODE_CLASS_MAPPINGS = {
"ModelPatchLoader": ModelPatchLoader,
"QwenImageDiffsynthControlnet": QwenImageDiffsynthControlnet,
"ZImageFunControlnet": ZImageFunControlnet,
"WanUni3CControlnetApply": WanUni3CControlnetApply,
"USOStyleReference": USOStyleReference,
"SUPIRApply": SUPIRApply,
"AnimaLLLiteApply": AnimaLLLiteApply,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"ModelPatchLoader": "Load Model Patch",
"QwenImageDiffsynthControlnet": "Apply Qwen Image DiffSynth ControlNet",
"ZImageFunControlnet": "Apply Z-Image Fun ControlNet",
"WanUni3CControlnetApply": "Apply Wan Uni3C ControlNet",
"USOStyleReference": "Apply USO Style Reference",
"SUPIRApply": "Apply SUPIR Patch",
"AnimaLLLiteApply": "Apply Anima LLLite",
}
@@ -0,0 +1,108 @@
import sys
from typing_extensions import override
from comfy_api.latest import ComfyExtension, io
class String(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="PrimitiveString",
search_aliases=["text", "string", "text box", "prompt"],
display_name="Text",
category="utilities/primitive",
inputs=[io.String.Input("value")],
outputs=[io.String.Output()]
)
@classmethod
def execute(cls, value: str) -> io.NodeOutput:
return io.NodeOutput(value)
class StringMultiline(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="PrimitiveStringMultiline",
search_aliases=["text", "string", "text multiline", "string multiline", "text box", "prompt"],
display_name="Text (Multiline)",
category="utilities/primitive",
essentials_category="Basics",
inputs=[io.String.Input("value", multiline=True)],
outputs=[io.String.Output()],
)
@classmethod
def execute(cls, value: str) -> io.NodeOutput:
return io.NodeOutput(value)
class Int(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="PrimitiveInt",
display_name="Int",
category="utilities/primitive",
inputs=[
io.Int.Input("value", min=-sys.maxsize, max=sys.maxsize, control_after_generate=io.ControlAfterGenerate.fixed),
],
outputs=[io.Int.Output()],
)
@classmethod
def execute(cls, value: int) -> io.NodeOutput:
return io.NodeOutput(value)
class Float(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="PrimitiveFloat",
display_name="Float",
category="utilities/primitive",
inputs=[
io.Float.Input("value", min=-sys.maxsize, max=sys.maxsize, step=0.1),
],
outputs=[io.Float.Output()],
)
@classmethod
def execute(cls, value: float) -> io.NodeOutput:
return io.NodeOutput(value)
class Boolean(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="PrimitiveBoolean",
display_name="Boolean",
category="utilities/primitive",
inputs=[
io.Boolean.Input("value"),
],
outputs=[io.Boolean.Output()],
)
@classmethod
def execute(cls, value: bool) -> io.NodeOutput:
return io.NodeOutput(value)
class PrimitivesExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [
String,
StringMultiline,
Int,
Float,
Boolean,
]
async def comfy_entrypoint() -> PrimitivesExtension:
return PrimitivesExtension()
@@ -0,0 +1,94 @@
import math
from enum import Enum
from typing_extensions import override
from comfy_api.latest import ComfyExtension, io
class AspectRatio(str, Enum):
SQUARE = "1:1 (Square)"
PHOTO_V = "2:3 (Portrait Photo)"
PHOTO_H = "3:2 (Photo)"
STANDARD_V = "3:4 (Portrait Standard)"
STANDARD_H = "4:3 (Standard)"
WIDESCREEN_V = "9:16 (Portrait Widescreen)"
WIDESCREEN_H = "16:9 (Widescreen)"
ULTRAWIDE_H = "21:9 (Ultrawide)"
ASPECT_RATIOS: dict[AspectRatio, tuple[int, int]] = {
AspectRatio.SQUARE: (1, 1),
AspectRatio.PHOTO_V: (2, 3),
AspectRatio.PHOTO_H: (3, 2),
AspectRatio.STANDARD_V: (3, 4),
AspectRatio.STANDARD_H: (4, 3),
AspectRatio.WIDESCREEN_V: (9, 16),
AspectRatio.WIDESCREEN_H: (16, 9),
AspectRatio.ULTRAWIDE_H: (21, 9),
}
class ResolutionSelector(io.ComfyNode):
"""Calculate width and height from aspect ratio and megapixel target."""
@classmethod
def define_schema(cls):
return io.Schema(
node_id="ResolutionSelector",
display_name="Resolution Selector",
category="utilities",
description="Calculate width and height from aspect ratio and megapixel target. Useful for setting up Empty Latent Image dimensions.",
inputs=[
io.Combo.Input(
"aspect_ratio",
options=AspectRatio,
default=AspectRatio.SQUARE,
tooltip="The aspect ratio for the output dimensions.",
),
io.Float.Input(
"megapixels",
default=1.0,
min=0.1,
max=16.0,
step=0.1,
tooltip="Target total megapixels. 1.0 MP ≈ 1024x1024 for square.",
),
io.Int.Input(
id="multiple",
default=8,
min=8,
max=128,
step=4,
tooltip="Nearest multiple of the result to set the selected resolution to.",
advanced=True,
),
],
outputs=[
io.Int.Output(
"width", tooltip="Calculated width in pixels multiplied by the selected multiple."
),
io.Int.Output(
"height", tooltip="Calculated height in pixels multiplied by the selected multiple."
),
],
)
@classmethod
def execute(cls, aspect_ratio: str, megapixels: float, multiple: int) -> io.NodeOutput:
w_ratio, h_ratio = ASPECT_RATIOS[aspect_ratio]
total_pixels = megapixels * 1024 * 1024
scale = math.sqrt(total_pixels / (w_ratio * h_ratio))
width = round(w_ratio * scale / multiple) * multiple
height = round(h_ratio * scale / multiple) * multiple
return io.NodeOutput(width, height)
class ResolutionExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [
ResolutionSelector,
]
async def comfy_entrypoint() -> ResolutionExtension:
return ResolutionExtension()
@@ -0,0 +1,320 @@
import os
import av
import torch
import folder_paths
import json
from typing import Optional
from typing_extensions import override
from fractions import Fraction
from comfy_api.latest import ComfyExtension, io, ui, Input, InputImpl, Types
from comfy.cli_args import args
class SaveWEBM(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="SaveWEBM",
search_aliases=["export webm"],
display_name="Save WEBM",
category="video",
is_experimental=True,
inputs=[
io.Image.Input("images", tooltip="RGBA images are saved with their alpha channel as transparency (vp9 codec only)."),
io.String.Input("filename_prefix", default="ComfyUI"),
io.Combo.Input("codec", options=["vp9", "av1"]),
io.Float.Input("fps", default=24.0, min=0.01, max=1000.0, step=0.01),
io.Float.Input("crf", default=32.0, min=0, max=63.0, step=1, tooltip="Higher crf means lower quality with a smaller file size, lower crf means higher quality higher filesize."),
],
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
is_output_node=True,
outputs=[io.Image.Output(display_name="images")]
)
@classmethod
def execute(cls, images, codec, fps, filename_prefix, crf) -> io.NodeOutput:
full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(
filename_prefix, folder_paths.get_output_directory(), images[0].shape[1], images[0].shape[0]
)
file = f"{filename}_{counter:05}_.webm"
container = av.open(os.path.join(full_output_folder, file), mode="w")
if cls.hidden.prompt is not None:
container.metadata["prompt"] = json.dumps(cls.hidden.prompt)
if cls.hidden.extra_pnginfo is not None:
for x in cls.hidden.extra_pnginfo:
container.metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x])
# Save transparency when the images carry an alpha channel (RGBA) and the codec supports it.
# vp9 -> yuva420p; other codecs have no usable alpha path, so the alpha is ignored.
save_alpha = images.shape[-1] == 4 and codec == "vp9"
codec_map = {"vp9": "libvpx-vp9", "av1": "libsvtav1"}
stream = container.add_stream(codec_map[codec], rate=Fraction(round(fps * 1000), 1000))
stream.width = images.shape[-2]
stream.height = images.shape[-3]
stream.pix_fmt = "yuva420p" if save_alpha else ("yuv420p10le" if codec == "av1" else "yuv420p")
stream.bit_rate = 0
stream.options = {'crf': str(crf)}
if codec == "av1":
stream.options["preset"] = "6"
for frame in images:
if save_alpha:
frame = av.VideoFrame.from_ndarray(torch.clamp(frame[..., :4] * 255, min=0, max=255).to(device=torch.device("cpu"), dtype=torch.uint8).numpy(), format="rgba")
else:
frame = av.VideoFrame.from_ndarray(torch.clamp(frame[..., :3] * 255, min=0, max=255).to(device=torch.device("cpu"), dtype=torch.uint8).numpy(), format="rgb24")
for packet in stream.encode(frame):
container.mux(packet)
container.mux(stream.encode())
container.close()
return io.NodeOutput(images, ui=ui.PreviewVideo([ui.SavedResult(file, subfolder, io.FolderType.output)]))
class SaveVideo(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="SaveVideo",
search_aliases=["export video"],
display_name="Save Video",
category="video",
essentials_category="Basics",
description="Saves the input videos to your ComfyUI output directory.",
inputs=[
io.Video.Input("video", tooltip="The video to save."),
io.String.Input("filename_prefix", default="video/ComfyUI", tooltip="The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."),
io.Combo.Input("format", options=Types.VideoContainer.as_input(), default="auto", tooltip="The format to save the video as."),
io.DynamicCombo.Input(
"codec",
options=[
io.DynamicCombo.Option("auto", []),
io.DynamicCombo.Option(
"h264",
[
io.DynamicCombo.Input(
"encoding",
display_name="encoding mode",
options=[
io.DynamicCombo.Option("auto", []),
io.DynamicCombo.Option(
"re-encode",
[io.Float.Input("crf", default=23.0, min=0.0, max=51.0, step=1.0, tooltip="Lower values produce higher quality and larger files.")],
),
],
optional=True,
tooltip="Automatic preserves compatible H.264 streams. Re-encode applies a custom CRF.",
),
],
),
],
tooltip="The codec to use for the video.",
),
],
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
is_output_node=True,
outputs=[io.Video.Output("video")],
)
@classmethod
def execute(cls, video: Input.Video, filename_prefix, format: str, codec: io.DynamicCombo.Type) -> io.NodeOutput:
codec_name = codec["codec"]
encoding = codec.get("encoding") or {}
width, height = video.get_dimensions()
full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(
filename_prefix,
folder_paths.get_output_directory(),
width,
height
)
saved_metadata = None
if not args.disable_metadata:
metadata = {}
if cls.hidden.extra_pnginfo is not None:
metadata.update(cls.hidden.extra_pnginfo)
if cls.hidden.prompt is not None:
metadata["prompt"] = cls.hidden.prompt
if len(metadata) > 0:
saved_metadata = metadata
file = f"{filename}_{counter:05}_.{Types.VideoContainer.get_extension(format)}"
video.save_to(
os.path.join(full_output_folder, file),
format=Types.VideoContainer(format),
codec=codec_name,
metadata=saved_metadata,
crf=encoding.get("crf"),
)
return io.NodeOutput(video, ui=ui.PreviewVideo([ui.SavedResult(file, subfolder, io.FolderType.output)]))
class CreateVideo(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="CreateVideo",
search_aliases=["images to video"],
display_name="Create Video",
category="video",
essentials_category="Video Tools",
description="Create a video from images.",
inputs=[
io.Image.Input("images", tooltip="The images to create a video from."),
io.Float.Input("fps", default=30.0, min=1.0, max=120.0, step=1.0),
io.Audio.Input("audio", optional=True, tooltip="The audio to add to the video."),
io.Int.Input(
"bit_depth",
min=8,
max=10,
default=8,
step=2,
tooltip="Bit depth of the created video. 10-bit keeps smoother gradients with less"
" banding, but some players and downstream nodes may not support it.",
optional=True,
display_mode=io.NumberDisplay.number,
),
],
outputs=[
io.Video.Output(),
],
)
@classmethod
def execute(
cls, images: Input.Image, fps: float, audio: Optional[Input.Audio] = None, bit_depth: int = 8,
) -> io.NodeOutput:
return io.NodeOutput(
InputImpl.VideoFromComponents(
Types.VideoComponents(images=images, audio=audio, frame_rate=Fraction(fps)),
bit_depth=bit_depth,
)
)
class GetVideoComponents(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="GetVideoComponents",
search_aliases=["extract frames", "split video", "video to images", "demux"],
display_name="Get Video Components",
category="video",
description="Extracts all components from a video: frames, audio, framerate, and bit depth.",
inputs=[
io.Video.Input("video", tooltip="The video to extract components from."),
],
outputs=[
io.Image.Output(display_name="images"),
io.Audio.Output(display_name="audio"),
io.Float.Output(display_name="fps"),
io.Int.Output(display_name="bit_depth"),
],
)
@classmethod
def execute(cls, video: Input.Video) -> io.NodeOutput:
components = video.get_components()
return io.NodeOutput(components.images, components.audio, float(components.frame_rate), video.get_bit_depth())
class LoadVideo(io.ComfyNode):
@classmethod
def define_schema(cls):
input_dir = folder_paths.get_input_directory()
files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f))]
files = folder_paths.filter_files_content_types(files, ["video"])
return io.Schema(
node_id="LoadVideo",
search_aliases=["import video", "open video", "video file"],
display_name="Load Video",
category="video",
essentials_category="Basics",
inputs=[
io.Combo.Input("file", options=sorted(files), upload=io.UploadType.video),
],
outputs=[
io.Video.Output(),
],
)
@classmethod
def execute(cls, file) -> io.NodeOutput:
video_path = folder_paths.get_annotated_filepath(file)
return io.NodeOutput(InputImpl.VideoFromFile(video_path))
@classmethod
def fingerprint_inputs(s, file):
video_path = folder_paths.get_annotated_filepath(file)
mod_time = os.path.getmtime(video_path)
# Instead of hashing the file, we can just use the modification time to avoid
# rehashing large files.
return mod_time
@classmethod
def validate_inputs(s, file):
if not folder_paths.exists_annotated_filepath(file):
return "Invalid video file: {}".format(file)
return True
class VideoSlice(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="Video Slice",
display_name="Trim Video",
search_aliases=["trim video duration", "skip first frames", "frame load cap", "start time"],
category="video",
essentials_category="Video Tools",
inputs=[
io.Video.Input("video"),
io.Float.Input(
"start_time",
default=0.0,
max=1e5,
min=-1e5,
step=0.001,
tooltip="Start time in seconds",
),
io.Float.Input(
"duration",
default=0.0,
min=0.0,
step=0.001,
tooltip="Duration in seconds, or 0 for unlimited duration",
),
io.Boolean.Input(
"strict_duration",
default=False,
tooltip="If True, when the specified duration is not possible, an error will be raised.",
),
],
outputs=[
io.Video.Output(),
],
)
@classmethod
def execute(cls, video: io.Video.Type, start_time: float, duration: float, strict_duration: bool) -> io.NodeOutput:
trimmed = video.as_trimmed(start_time, duration, strict_duration=strict_duration)
if trimmed is not None:
return io.NodeOutput(trimmed)
raise ValueError(
f"Failed to slice video:\nSource duration: {video.get_duration()}\nStart time: {start_time}\nTarget duration: {duration}"
)
class VideoExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [
SaveWEBM,
SaveVideo,
CreateVideo,
GetVideoComponents,
LoadVideo,
VideoSlice,
]
async def comfy_entrypoint() -> VideoExtension:
return VideoExtension()
@@ -0,0 +1,589 @@
import os
import time
import mimetypes
import logging
from typing import Literal, List
from collections.abc import Collection
from comfy.cli_args import args
supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {}
# --base-directory - Resets all default paths configured in folder_paths with a new base path
if args.base_directory:
base_path = os.path.abspath(args.base_directory)
else:
base_path = os.path.dirname(os.path.realpath(__file__))
if args.models_directory:
models_dir = os.path.abspath(args.models_directory)
else:
models_dir = os.path.join(base_path, "models")
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
folder_names_and_paths["loras"] = ([os.path.join(models_dir, "loras")], supported_pt_extensions)
folder_names_and_paths["vae"] = ([os.path.join(models_dir, "vae")], supported_pt_extensions)
folder_names_and_paths["text_encoders"] = ([os.path.join(models_dir, "text_encoders"), os.path.join(models_dir, "clip")], supported_pt_extensions)
folder_names_and_paths["diffusion_models"] = ([os.path.join(models_dir, "unet"), os.path.join(models_dir, "diffusion_models")], supported_pt_extensions)
folder_names_and_paths["clip_vision"] = ([os.path.join(models_dir, "clip_vision")], supported_pt_extensions)
folder_names_and_paths["style_models"] = ([os.path.join(models_dir, "style_models")], supported_pt_extensions)
folder_names_and_paths["embeddings"] = ([os.path.join(models_dir, "embeddings")], supported_pt_extensions)
folder_names_and_paths["diffusers"] = ([os.path.join(models_dir, "diffusers")], ["folder"])
folder_names_and_paths["vae_approx"] = ([os.path.join(models_dir, "vae_approx")], supported_pt_extensions)
folder_names_and_paths["controlnet"] = ([os.path.join(models_dir, "controlnet"), os.path.join(models_dir, "t2i_adapter")], supported_pt_extensions)
folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], supported_pt_extensions)
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
folder_names_and_paths["latent_upscale_models"] = ([os.path.join(models_dir, "latent_upscale_models")], supported_pt_extensions)
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
folder_names_and_paths["datasets"] = ([os.path.join(base_path, "datasets")], set())
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")], supported_pt_extensions)
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
folder_names_and_paths["model_patches"] = ([os.path.join(models_dir, "model_patches")], supported_pt_extensions)
folder_names_and_paths["audio_encoders"] = ([os.path.join(models_dir, "audio_encoders")], supported_pt_extensions)
folder_names_and_paths["background_removal"] = ([os.path.join(models_dir, "background_removal")], supported_pt_extensions)
folder_names_and_paths["frame_interpolation"] = ([os.path.join(models_dir, "frame_interpolation")], supported_pt_extensions)
folder_names_and_paths["geometry_estimation"] = ([os.path.join(models_dir, "geometry_estimation")], supported_pt_extensions)
folder_names_and_paths["optical_flow"] = ([os.path.join(models_dir, "optical_flow")], supported_pt_extensions)
folder_names_and_paths["detection"] = ([os.path.join(models_dir, "detection")], supported_pt_extensions)
output_directory = os.path.join(base_path, "output")
temp_directory = os.path.join(base_path, "temp")
input_directory = os.path.join(base_path, "input")
user_directory = os.path.join(base_path, "user")
filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
class CacheHelper:
"""
Helper class for managing file list cache data.
"""
def __init__(self):
self.cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
self.active = False
def get(self, key: str, default=None) -> tuple[list[str], dict[str, float], float]:
if not self.active:
return default
return self.cache.get(key, default)
def set(self, key: str, value: tuple[list[str], dict[str, float], float]) -> None:
if self.active:
self.cache[key] = value
def clear(self):
self.cache.clear()
def __enter__(self):
self.active = True
return self
def __exit__(self, exc_type, exc_value, traceback):
self.active = False
self.clear()
cache_helper = CacheHelper()
extension_mimetypes_cache = {
"webp" : "image",
"fbx" : "model",
}
def map_legacy(folder_name: str) -> str:
legacy = {"unet": "diffusion_models",
"clip": "text_encoders"}
return legacy.get(folder_name, folder_name)
if not os.path.exists(input_directory):
try:
os.makedirs(input_directory)
except:
logging.error("Failed to create input directory")
def set_output_directory(output_dir: str) -> None:
global output_directory
output_directory = output_dir
def set_temp_directory(temp_dir: str) -> None:
global temp_directory
temp_directory = temp_dir
def set_input_directory(input_dir: str) -> None:
global input_directory
input_directory = input_dir
def get_output_directory() -> str:
global output_directory
return output_directory
def get_temp_directory() -> str:
global temp_directory
return temp_directory
def get_input_directory() -> str:
global input_directory
return input_directory
def get_user_directory() -> str:
return user_directory
def set_user_directory(user_dir: str) -> None:
global user_directory
user_directory = user_dir
# System User Protection - Protects system directories from HTTP endpoint access
# System Users are internal-only users that cannot be accessed via HTTP endpoints.
# They use the '__' prefix convention (similar to Python's private member convention).
SYSTEM_USER_PREFIX = "__"
def get_system_user_directory(name: str = "system") -> str:
"""
Get the path to a System User directory.
System User directories (prefixed with '__') are only accessible via internal API,
not through HTTP endpoints. Use this for storing system-internal data that
should not be exposed to users.
Args:
name: System user name (e.g., "system", "cache"). Must be alphanumeric
with underscores allowed, but cannot start with underscore.
Returns:
Absolute path to the system user directory.
Raises:
ValueError: If name is empty, invalid, or starts with underscore.
Example:
>>> get_system_user_directory("cache")
'/path/to/user/__cache'
"""
if not name or not isinstance(name, str):
raise ValueError("System user name cannot be empty")
if not name.replace("_", "").isalnum():
raise ValueError(f"Invalid system user name: '{name}'")
if name.startswith("_"):
raise ValueError("System user name should not start with underscore")
return os.path.join(get_user_directory(), f"{SYSTEM_USER_PREFIX}{name}")
def get_public_user_directory(user_id: str) -> str | None:
"""
Get the path to a Public User directory for HTTP endpoint access.
This function provides structural security by returning None for any
System User (prefixed with '__'). All HTTP endpoints should use this
function instead of directly constructing user paths.
Args:
user_id: User identifier from HTTP request.
Returns:
Absolute path to the user directory, or None if user_id is invalid
or refers to a System User.
Example:
>>> get_public_user_directory("default")
'/path/to/user/default'
>>> get_public_user_directory("__system")
None
"""
if not user_id or not isinstance(user_id, str):
return None
if user_id.startswith(SYSTEM_USER_PREFIX):
return None
return os.path.join(get_user_directory(), user_id)
#NOTE: used in http server so don't put folders that should not be accessed remotely
def get_directory_by_type(type_name: str) -> str | None:
if type_name == "output":
return get_output_directory()
if type_name == "temp":
return get_temp_directory()
if type_name == "input":
return get_input_directory()
return None
def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> list[str]:
"""
Example:
files = os.listdir(folder_paths.get_input_directory())
videos = filter_files_content_types(files, ["video"])
Note:
- 'model' in MIME context refers to 3D models, not files containing trained weights and parameters
"""
global extension_mimetypes_cache
result = []
for file in files:
extension = file.split('.')[-1]
if extension not in extension_mimetypes_cache:
mime_type, _ = mimetypes.guess_type(file, strict=False)
if not mime_type:
continue
content_type = mime_type.split('/')[0]
extension_mimetypes_cache[extension] = content_type
else:
content_type = extension_mimetypes_cache[extension]
if content_type in content_types:
result.append(file)
return result
# determine base_dir rely on annotation if name is 'filename.ext [annotation]' format
# otherwise use default_path as base_dir
def annotated_filepath(name: str) -> tuple[str, str | None]:
if name.endswith("[output]"):
base_dir = get_output_directory()
name = name[:-9]
elif name.endswith("[input]"):
base_dir = get_input_directory()
name = name[:-8]
elif name.endswith("[temp]"):
base_dir = get_temp_directory()
name = name[:-7]
else:
return name, None
return name, base_dir
# Content types a browser may execute or render inline. File endpoints that
# serve user-controlled content must force these to download (and ideally set
# Content-Disposition: attachment) to avoid stored XSS. Centralised here so the
# /view and /userdata handlers can't drift apart. mimetypes.guess_type may
# return either the text/* or application/* spelling depending on platform, so
# both are listed.
DANGEROUS_CONTENT_TYPES = {
'text/html', 'text/html-sandboxed', 'application/xhtml+xml',
'text/javascript', 'application/javascript', 'application/x-javascript',
'application/ecmascript', 'text/css',
'image/svg+xml', 'application/xml', 'text/xml',
# message/rfc822 (.mht/.mhtml) can carry script in some browsers.
'message/rfc822',
}
def is_dangerous_content_type(content_type: str | None) -> bool:
"""Return True if a browser may execute or render `content_type` inline.
Normalises before matching so the check can't be slipped past with a
charset/boundary parameter (``text/html; charset=utf-8``) or casing
(``TEXT/HTML``). Any XML dialect (``*+xml`` or ``*/xml``) is treated as
dangerous because XML can carry inline script via stylesheet/entity tricks,
which also covers the ``application/{xslt,rss,atom,rdf}+xml`` family without
enumerating each one. Endpoints serving user-controlled content should route
a dangerous type to ``application/octet-stream`` + ``Content-Disposition:
attachment`` + ``X-Content-Type-Options: nosniff``.
"""
if not content_type:
return False
normalized = content_type.split(';', 1)[0].strip().lower()
if normalized in DANGEROUS_CONTENT_TYPES:
return True
return normalized.endswith('+xml') or normalized.endswith('/xml')
def renders_safely_as_image(content_type: str | None, sec_fetch_dest: str | None) -> bool:
"""Return True if a dangerous `content_type` is safe to serve inline anyway.
An SVG referenced by an ``<img>`` is loaded in secure static mode: scripts
and external references are disabled, so the stored XSS that
``is_dangerous_content_type`` guards against cannot fire. The attack needs
the SVG to become a document, which is a separate ``Sec-Fetch-Dest``.
Browsers set that header themselves and script cannot override it (the
``Sec-`` prefix makes it a forbidden header name), so it is trustworthy for
this decision. Anything else, including a missing header from a non-browser
client or a proxy that strips it, fails closed.
"""
if sec_fetch_dest != 'image':
return False
return (content_type or '').split(';', 1)[0].strip().lower() == 'image/svg+xml'
def is_within_directory(directory: str, target: str) -> bool:
"""Return True if `target` resolves to a path inside `directory`.
Uses realpath on both operands so that a symlink placed inside `directory`
that points elsewhere cannot escape the containment check at open time.
"""
try:
directory = os.path.realpath(directory)
target = os.path.realpath(target)
return os.path.commonpath((directory, target)) == directory
except ValueError:
# ValueError is raised by realpath() on a path with an embedded null
# byte, and by commonpath() on Windows when the paths are on different
# drives. In either case the target is not safely within the directory.
return False
def get_annotated_filepath(name: str, default_dir: str | None=None) -> str:
name, base_dir = annotated_filepath(name)
if base_dir is None:
if default_dir is not None:
base_dir = default_dir
else:
base_dir = get_input_directory() # fallback path
filepath = os.path.abspath(os.path.join(base_dir, name))
# Prevent path traversal: the resolved path must stay within base_dir.
# repr() the name in the message so a crafted value can't inject log lines.
if not is_within_directory(base_dir, filepath):
raise ValueError("Invalid file path: {!r}".format(name))
return filepath
def exists_annotated_filepath(name) -> bool:
name, base_dir = annotated_filepath(name)
if base_dir is None:
base_dir = get_input_directory() # fallback path
filepath = os.path.abspath(os.path.join(base_dir, name))
# Treat traversal attempts as non-existent rather than probing the filesystem.
if not is_within_directory(base_dir, filepath):
return False
return os.path.exists(filepath)
def add_model_folder_path(folder_name: str, full_folder_path: str, is_default: bool = False) -> None:
global folder_names_and_paths
folder_name = map_legacy(folder_name)
if folder_name in folder_names_and_paths:
paths, _exts = folder_names_and_paths[folder_name]
if full_folder_path in paths:
if is_default and paths[0] != full_folder_path:
# If the path to the folder is not the first in the list, move it to the beginning.
paths.remove(full_folder_path)
paths.insert(0, full_folder_path)
else:
if is_default:
paths.insert(0, full_folder_path)
else:
paths.append(full_folder_path)
else:
folder_names_and_paths[folder_name] = ([full_folder_path], set())
def get_folder_paths(folder_name: str) -> list[str]:
folder_name = map_legacy(folder_name)
return folder_names_and_paths[folder_name][0][:]
def recursive_search(directory: str, excluded_dir_names: list[str] | None=None) -> tuple[list[str], dict[str, float]]:
if not os.path.isdir(directory):
return [], {}
if excluded_dir_names is None:
excluded_dir_names = []
result = []
dirs = {}
# Attempt to add the initial directory to dirs with error handling
try:
dirs[directory] = os.path.getmtime(directory)
except FileNotFoundError:
logging.warning(f"Warning: Unable to access {directory}. Skipping this path.")
logging.debug("recursive file list on directory {}".format(directory))
dirpath: str
subdirs: list[str]
filenames: list[str]
for dirpath, subdirs, filenames in os.walk(directory, followlinks=True, topdown=True):
subdirs[:] = [d for d in subdirs if d not in excluded_dir_names]
for file_name in filenames:
try:
relative_path = os.path.relpath(os.path.join(dirpath, file_name), directory)
result.append(relative_path)
except:
logging.warning(f"Warning: Unable to access {file_name}. Skipping this file.")
continue
for d in subdirs:
path: str = os.path.join(dirpath, d)
try:
dirs[path] = os.path.getmtime(path)
except FileNotFoundError:
logging.warning(f"Warning: Unable to access {path}. Skipping this path.")
continue
logging.debug("found {} files".format(len(result)))
return result, dirs
def filter_files_extensions(files: Collection[str], extensions: Collection[str]) -> list[str]:
return sorted(list(filter(lambda a: os.path.splitext(a)[-1].lower() in extensions or len(extensions) == 0, files)))
def get_full_path(folder_name: str, filename: str) -> str | None:
"""
Get the full path of a file in a folder, has to be a file
"""
global folder_names_and_paths
folder_name = map_legacy(folder_name)
if folder_name not in folder_names_and_paths:
return None
folders = folder_names_and_paths[folder_name]
filename = os.path.relpath(os.path.join("/", filename), "/")
for x in folders[0]:
full_path = os.path.join(x, filename)
if os.path.isfile(full_path):
return full_path
elif os.path.islink(full_path):
logging.warning("WARNING path {} exists but doesn't link anywhere, skipping.".format(full_path))
return None
def get_full_path_or_raise(folder_name: str, filename: str) -> str:
"""
Get the full path of a file in a folder, has to be a file
"""
full_path = get_full_path(folder_name, filename)
if full_path is None:
raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.")
return full_path
def get_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float]:
folder_name = map_legacy(folder_name)
global folder_names_and_paths
output_list = set()
folders = folder_names_and_paths[folder_name]
output_folders = {}
for x in folders[0]:
files, folders_all = recursive_search(x, excluded_dir_names=[".git"])
output_list.update(filter_files_extensions(files, folders[1]))
output_folders = {**output_folders, **folders_all}
return sorted(list(output_list)), output_folders, time.perf_counter()
def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float] | None:
strong_cache = cache_helper.get(folder_name)
if strong_cache is not None:
return strong_cache
global filename_list_cache
global folder_names_and_paths
folder_name = map_legacy(folder_name)
if folder_name not in filename_list_cache:
return None
out = filename_list_cache[folder_name]
for x in out[1]:
time_modified = out[1][x]
folder = x
if os.path.getmtime(folder) != time_modified:
return None
folders = folder_names_and_paths[folder_name]
for x in folders[0]:
if os.path.isdir(x):
if x not in out[1]:
return None
return out
def get_filename_list(folder_name: str) -> list[str]:
folder_name = map_legacy(folder_name)
out = cached_filename_list_(folder_name)
if out is None:
out = get_filename_list_(folder_name)
global filename_list_cache
filename_list_cache[folder_name] = out
cache_helper.set(folder_name, out)
return list(out[0])
def get_save_image_path(filename_prefix: str, output_dir: str, image_width=0, image_height=0) -> tuple[str, str, int, str, str]:
def map_filename(filename: str) -> tuple[int, str]:
prefix_len = len(os.path.basename(filename_prefix))
prefix = filename[:prefix_len + 1]
try:
remainder = filename[prefix_len + 1:]
base_remainder = remainder.split('.')[0]
digits = int(base_remainder.split('_')[0])
except:
digits = 0
return digits, prefix
def compute_vars(input: str, image_width: int, image_height: int) -> str:
input = input.replace("%width%", str(image_width))
input = input.replace("%height%", str(image_height))
now = time.localtime()
input = input.replace("%year%", str(now.tm_year))
input = input.replace("%month%", str(now.tm_mon).zfill(2))
input = input.replace("%day%", str(now.tm_mday).zfill(2))
input = input.replace("%hour%", str(now.tm_hour).zfill(2))
input = input.replace("%minute%", str(now.tm_min).zfill(2))
input = input.replace("%second%", str(now.tm_sec).zfill(2))
return input
if "%" in filename_prefix:
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
filename = os.path.basename(os.path.normpath(filename_prefix))
full_output_folder = os.path.join(output_dir, subfolder)
if not is_within_directory(output_dir, full_output_folder):
err = "**** ERROR: Saving image outside the output folder is not allowed." + \
"\n full_output_folder: " + os.path.abspath(full_output_folder) + \
"\n output_dir: " + output_dir
logging.error(err)
raise Exception(err)
try:
counter = max(filter(lambda a: os.path.normcase(a[1][:-1]) == os.path.normcase(filename) and a[1][-1] == "_", map(map_filename, os.listdir(full_output_folder))))[0] + 1
except ValueError:
counter = 1
except FileNotFoundError:
os.makedirs(full_output_folder, exist_ok=True)
counter = 1
return full_output_folder, filename, counter, subfolder, filename_prefix
def get_input_subfolders() -> list[str]:
"""Returns a list of all subfolder paths in the input directory, recursively.
Returns:
List of folder paths relative to the input directory, excluding the root directory
"""
input_dir = get_input_directory()
folders = []
try:
if not os.path.exists(input_dir):
return []
for root, dirs, _ in os.walk(input_dir):
rel_path = os.path.relpath(root, input_dir)
if rel_path != ".": # Only include non-root directories
# Normalize path separators to forward slashes
folders.append(rel_path.replace(os.sep, '/'))
return sorted(folders)
except FileNotFoundError:
return []

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