docs: add exact single-sampler director desk reference

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-11-01 09:20:09 +08:00
co-authored by multica-agent
parent e52a0cfc08
commit f265023458
233 changed files with 264225 additions and 1 deletions
@@ -15,6 +15,10 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
DEFINITIONS = {
(
"example_ComfyUI_workflows/4-视频生成/Minimax-"
"h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json"
): "cb2b4be5be66a7181c1a6c4c53626792e236425cf3d1c3cf8162d4e6dea9e1cf",
(
"example_ComfyUI_workflows/4-视频生成/Minimax-"
"h3/MiniMax_H3_孤海智能一体化(多合一简化版).json"
File diff suppressed because one or more lines are too long
@@ -0,0 +1,226 @@
"Exact graph binding, all saved positions, dual scopes and closed eligibility."
import copy
import hashlib
import json
import runpy
import sys
from pathlib import Path
import pytest
from calliope.comfyui.fixed_document import DEFINITIONS, canonical
from calliope.comfyui.library import build_document
from calliope.comfyui.source_reviews import review_for
REPO = Path(__file__).resolve().parents[2]
OUT = REPO / ("docs/hel-892/director-one-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"])
== canonical(f["value"])
)
assert all(
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
)
if f["input_pointer"].startswith("/"):
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
for i in f["evidence"]:
e = BLOCK["sources"][i]
raw = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
if raw:
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
else:
assert e["lines"] == [0, 0] and "零字节" in e["claim"]
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
@pytest.mark.parametrize("variant", ["source", "text", "named"])
def test_caller_rehash_cannot_expand_trust(f, variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
if variant == "text":
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
else:
selected_pointer = f["named_pointer"] if variant == "named" else f["pointer"]
p, _, key = selected_pointer.rpartition("/")
parent = pointer(s, p)
parent[int(key) if isinstance(parent, list) else key] = "forged"
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
assert not doc(s, r)["fixed_version"]["matched"]
@pytest.mark.parametrize("key", ["extra", "links", "id", "groups", "version", "definitions"])
def test_whole_graph_mutations_fail_closed(key):
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
source[key] = {"subgraphs": []} if key == "definitions" else "forged"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
@pytest.mark.parametrize("key", ["mode", "properties", "inputs", "outputs"])
@pytest.mark.parametrize("index", [0, 1, 4])
def test_node_identity_and_state_fail_closed(key, index):
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
source["nodes"][index][key] = "forged"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
def test_path_and_source_binding_cannot_be_extended():
from calliope.comfyui.fixed_document import fixed_document_for
assert fixed_document_for(PATH + "forged", SOURCE, REVIEW) is None
review = copy.deepcopy(REVIEW)
review["source_sha"] = "forged"
assert not doc(SOURCE, review)["fixed_version"]["matched"]
@pytest.mark.parametrize("suffix", [b"\n", b" ", b"\t"])
def test_original_byte_identity_rejects_equivalent_json(suffix):
altered = RAW + suffix
assert json.loads(altered) == SOURCE
assert review_for(PATH, hashlib.sha1(altered).hexdigest()) is None
@pytest.mark.parametrize("key", ["user_overview", "source_sha256", "sources", "flow", "counts"])
def test_editorial_or_citation_rehash_cannot_replace_code_owned_pin(key):
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
review["fixed_version_document"][key] = "forged"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
@pytest.mark.parametrize("key", ["properties", "inputs", "outputs", "mode"])
@pytest.mark.parametrize("nid", [41, 85, 98, 100, 60, 84, 53, 93, 96, 97, 102, 21, 25, 23, 105])
def test_control_identity_and_state_forgery_fail_closed(nid, key):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
next(n for n in s["nodes"] if n["id"] == nid)[key] = "forged"
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
assert not doc(s, r)["fixed_version"]["matched"]
def test_exact_build_and_qualification():
assert canonical(runpy.run_path(str(OUT / "build_definition.py"))["build"]()) == canonical(
BLOCK
)
assert PATH in DEFINITIONS and len(DEFINITIONS) >= 119 and doc()["fixed_version"]["matched"]
assert BLOCK["counts"]["saved_fields"] == 89 and len(BLOCK["comments"]) == 0
assert len(BLOCK["boundaries"]) == 0 and len(BLOCK["zero_saved_nodes"]) == 5
assert not doc()["status"]["doc_done"] and not doc()["status"]["exec_verified"]
sys.path.insert(0, str(OUT))
try:
runpy.run_path(str(OUT / "verify_sources.py"))["main"]()
finally:
sys.path.remove(str(OUT))
def test_raw_source_version_mismatch_is_fail_closed():
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
source["nodes"][1]["properties"]["ver"] = "other-plugin-version"
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
canonical(source)
).hexdigest()
assert not doc(source, review)["fixed_version"]["matched"]
def test_old_reviews_and_qualification_are_unchanged():
import subprocess
name = "calliope-backend/src/calliope/comfyui/source_reviews.json"
previous = json.loads(
subprocess.check_output(
["git", "show", "e52a0cfc08780473355d10dc600c0d08742a6c3b:" + 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) == 118 and sum(len(b["fields"]) for b in old) == 6727
def test_original_track_state_and_preread_correction():
ns = {n["id"]: n for n in SOURCE["nodes"]}
raw = ns[41]["widgets_values"][3]
assert len(raw) == 33909 and raw.count("\n") == 0 and raw.count("\\n") == 393
assert ns[93]["widgets_values"] == [False]
assert doc()["source_notes"] == []
assert json.loads(raw)["total_length"] == 120
assert ns[53]["widgets_values"][4] == "0, 0, 0"
@pytest.mark.parametrize(
"nid",
[
63,
64,
65,
66,
68,
71,
72,
73,
74,
75,
77,
78,
79,
80,
81,
83,
86,
88,
90,
91,
92,
94,
95,
89,
103,
87,
55,
57,
59,
104,
99,
105,
],
)
def test_unversioned_identity_does_not_inherit_kj(nid):
bind = next(b for b in BLOCK["node_bindings"] if b["node_id"] == str(nid))
assert bind["source_id"] == "unknown" and not bind["candidates"]
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,141 @@
{
"fixed_count": 365,
"fixed_paths": {
"/api/workflows": 3,
"/api/workflows/115": 4,
"/api/workflows/110": 4,
"/api/workflows/130": 3,
"/api/workflows/127": 3,
"/api/workflows/124": 3,
"/api/workflows/125": 3,
"/api/workflows/126": 3,
"/api/workflows/109": 3,
"/api/workflows/107": 3,
"/api/workflows/108": 3,
"/api/workflows/132": 3,
"/api/workflows/131": 3,
"/api/workflows/133": 3,
"/api/workflows/106": 3,
"/api/workflows/63": 3,
"/api/workflows/59": 3,
"/api/workflows/65": 3,
"/api/workflows/60": 3,
"/api/workflows/61": 3,
"/api/workflows/66": 3,
"/api/workflows/71": 3,
"/api/workflows/69": 3,
"/api/workflows/68": 3,
"/api/workflows/67": 3,
"/api/workflows/43": 3,
"/api/workflows/95": 3,
"/api/workflows/88": 3,
"/api/workflows/89": 3,
"/api/workflows/90": 3,
"/api/workflows/96": 3,
"/api/workflows/91": 3,
"/api/workflows/92": 3,
"/api/workflows/102": 3,
"/api/workflows/93": 3,
"/api/workflows/100": 3,
"/api/workflows/98": 3,
"/api/workflows/99": 3,
"/api/workflows/97": 3,
"/api/workflows/101": 3,
"/api/workflows/105": 3,
"/api/workflows/104": 3,
"/api/workflows/103": 3,
"/api/workflows/94": 3,
"/api/workflows/87": 3,
"/api/workflows/86": 3,
"/api/workflows/85": 3,
"/api/workflows/84": 3,
"/api/workflows/74": 3,
"/api/workflows/73": 3,
"/api/workflows/72": 3,
"/api/workflows/83": 3,
"/api/workflows/82": 3,
"/api/workflows/81": 3,
"/api/workflows/80": 3,
"/api/workflows/79": 3,
"/api/workflows/78": 3,
"/api/workflows/77": 3,
"/api/workflows/76": 3,
"/api/workflows/75": 3,
"/api/workflows/54": 3,
"/api/workflows/55": 3,
"/api/workflows/56": 3,
"/api/workflows/58": 3,
"/api/workflows/57": 3,
"/api/workflows/44": 3,
"/api/workflows/53": 3,
"/api/workflows/52": 3,
"/api/workflows/51": 3,
"/api/workflows/50": 3,
"/api/workflows/49": 3,
"/api/workflows/47": 3,
"/api/workflows/48": 3,
"/api/workflows/46": 3,
"/api/workflows/45": 3,
"/api/workflows/42": 3,
"/api/workflows/41": 3,
"/api/workflows/40": 3,
"/api/workflows/39": 3,
"/api/workflows/38": 3,
"/api/workflows/37": 3,
"/api/workflows/18": 3,
"/api/workflows/20": 3,
"/api/workflows/30": 3,
"/api/workflows/32": 3,
"/api/workflows/34": 3,
"/api/workflows/33": 3,
"/api/workflows/31": 3,
"/api/workflows/29": 3,
"/api/workflows/28": 3,
"/api/workflows/27": 3,
"/api/workflows/26": 3,
"/api/workflows/17": 3,
"/api/workflows/4": 3,
"/api/workflows/15": 3,
"/api/workflows/11": 3,
"/api/workflows/3": 3,
"/api/workflows/9": 3,
"/api/workflows/16": 3,
"/api/workflows/10": 3,
"/api/workflows/23": 3,
"/api/workflows/8": 3,
"/api/workflows/22": 3,
"/api/workflows/5": 3,
"/api/workflows/6": 3,
"/api/workflows/7": 3,
"/api/workflows/19": 3,
"/api/workflows/13": 3,
"/api/workflows/12": 3,
"/api/workflows/64": 3,
"/api/workflows/62": 3,
"/api/workflows/70": 3,
"/api/workflows/1": 3,
"/api/workflows/36": 3,
"/api/workflows/35": 3,
"/api/workflows/2": 3,
"/api/workflows/25": 3,
"/api/workflows/24": 3,
"/api/workflows/21": 3,
"/api/workflows/14": 3,
"/api/settings": 1,
"/api/workflows/156": 1,
"/api/workflows/157": 1
},
"polling_count": 36,
"polling_paths": {
"/api/jobs": 36
},
"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 @@
........................................................................ [ 14%]
........................................................................ [ 29%]
........................................................................ [ 43%]
........................................................................ [ 58%]
........................................................................ [ 73%]
........................................................................ [ 87%]
............................................................ [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
492 passed, 1 warning in 9.15s
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,728 @@
{
"base": "e52a0cfc08780473355d10dc600c0d08742a6c3b",
"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": 118,
"drawer_css_unchanged": true,
"drawer_whole_file_unchanged": true,
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
"conversion_rerun": false,
"profiles_28_candidates_9_diffs_6": "unchanged"
}
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,17 @@
{
"js": {
"command": "node --check e2e/director-one-document.mjs",
"exit_code": 0
},
"backend": {
"command": "uv build --project calliope-backend --offline",
"exit_code": 0,
"resources": "package-check.json: final wheel/sdist three resources byte-equal"
},
"frontend": {
"command": "npm run build --prefix calliope-web",
"exit_code": 0
},
"formal_entries": "entry-executed.json",
"whole_repository_green_claimed": false
}
@@ -0,0 +1,581 @@
"Static MiniMax H3 GH multi-stage reference; no upstream execution."
import ast
import hashlib
import json
from pathlib import Path
REPO = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "director-one-reference"
PATHS = [
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json"
]
HOST = "no-subgraph"
LAYOUTS = {
"UniBlockSwap": ["num_blocks"],
"easy ifElse": ["boolean"],
"GetNode": ["Constant"],
"SetNode": ["Constant"],
"KSampler": [
"seed",
"control_after_generate",
"steps",
"cfg",
"sampler_name",
"scheduler",
"denoise",
],
"PathchSageAttentionKJ": ["sage_attention", "allow_compile"],
"easy minimaxH3ToVideo": ["prompt", "mode", "width", "height", "length", "ref_image_size"],
"easy seed": ["seed", "control_after_generate", "🎲 Manual Random Seed"],
"SaveVideo": ["filename_prefix", "format", "codec"],
"CreateVideo": ["fps", "bit_depth"],
"easy multiTrackTaskOutput": ["task_index", "prompt_format"],
"StringContains": ["string", "substring", "case_sensitive"],
"ComfyMathExpression": ["expression"],
"easy promptLine": [
"prompt",
"start_index",
"max_rows",
"remove_empty_lines",
"get values from COMBO link",
],
"ImageResizeKJv2": [
"width",
"height",
"upscale_method",
"keep_proportion",
"pad_color",
"crop_position",
"divisible_by",
"device",
],
"PrimitiveBoolean": ["value"],
"easy multiTrackEditor": ["resolution", "resolution.resize_method", "format", "track_data"],
"UNETLoader": ["unet_name", "weight_dtype"],
"CLIPLoader": ["clip_name", "type", "device"],
"LoraLoaderModelOnly": ["lora_name", "strength_model"],
"VAELoader": ["vae_name"],
}
LABELS = {
"num_blocks": "模型块迁移数量(-1条件另核)",
"boolean": "swap选择缓存(受外线覆盖)",
"Constant": "别名名称保存(版本未知)",
"seed": "独立种子缓存",
"control_after_generate": "种子前端控制保存",
"steps": "采样步数保存",
"cfg": "CFG保存",
"sampler_name": "采样算法保存",
"scheduler": "调度器保存",
"denoise": "降噪保存",
"sage_attention": "Sage实现选择保存",
"allow_compile": "编译允许保存",
"prompt": "完整提示文本缓存",
"mode": "参考模式缓存(受外线覆盖)",
"width": "宽度保存缓存",
"height": "高度保存缓存",
"length": "帧长保存缓存",
"ref_image_size": "参考尺寸策略",
"🎲 Manual Random Seed": "手动随机种子辅助null",
"filename_prefix": "完整保存前缀",
"format": "容器/轨道格式保存",
"codec": "编码器选择保存",
"fps": "fps保存缓存(受外线覆盖)",
"bit_depth": "图像位深保存",
"task_index": "任务索引保存",
"prompt_format": "提示格式保存(非本次API请求)",
"string": "查找源字符串",
"substring": "待查子串缓存(受外线覆盖)",
"case_sensitive": "大小写匹配保存",
"expression": "完整数学表达式(不求值)",
"start_index": "起始行索引缓存(受外线覆盖)",
"max_rows": "最大行数保存",
"remove_empty_lines": "空行开关源字符串/BOOLEAN差异",
"get values from COMBO link": "额外COMBO前端辅助空串",
"upscale_method": "缩放算法选择",
"keep_proportion": "比例策略保存",
"pad_color": "完整填充颜色字符串",
"crop_position": "裁剪位置保存",
"divisible_by": "尺寸对齐倍数",
"device": "设备选择保存",
"value": "swap开启别名源布尔(原false)",
"resolution": "轨道分辨率保存",
"resolution.resize_method": "轨道尺寸处理保存",
"track_data": "完整轨道状态原字符串(仅文本)",
"unet_name": "完整扩散模型文件引用",
"weight_dtype": "权重dtype选择",
"clip_name": "完整文本模型文件引用",
"type": "文本模型类型保存",
"vae_name": "完整VAE文件引用",
"lora_name": "完整普通LoRA文件引用",
"strength_model": "模型LoRA强度保存",
}
def canonical(v):
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
def build(index=0):
raw = (REPO / PATHS[index]).read_bytes()
g = json.loads(raw)
editorial = json.loads((OUT / "editorial.json").read_bytes())
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="../director-one-reference/" + e["local_file"],
lines=[1, len(data.decode().splitlines())],
claim="本图准确声明来源文本/元数据;Git与许可取得状态按各记录分列,未执行,代码许可不等于模型许可",
)
)
if e["file"].endswith(".py"):
trees[e["local_file"]] = ast.parse(data)
bindings = []
prose = json.loads((OUT / "prose.json").read_bytes())
refs = {}
schemas = {}
for nid, ptr, scope, n in nodes:
cls = n["type"]
if cls in ["Note", "MarkdownNote"]:
continue
symbol = {
"easy ifElse": "IfElse",
"easy seed": "easySeed",
"easy promptLine": "promptLine",
"easy minimaxH3ToVideo": "EasyMiniMaxH3ToVideo",
"easy multiTrackInfoOutput": "MultiTrackInfoOutput",
"easy multiTrackTaskOutput": "MultiTrackTaskOutput",
"easy multiTrackEditor": "MultiTrackEditor",
"easy anythingIndexSwitch": "anythingIndexSwitch",
"PrimitiveStringMultiline": "StringMultiline",
"CR Prompt Text": "CR_PromptText",
"VHS_VideoCombine": "VideoCombine",
"LayerUtility: ImageScaleByAspectRatio V2": "ImageScaleByAspectRatioV2",
"PrimitiveFloat": "Float",
"PrimitiveInt": "Int",
"PrimitiveBoolean": "Boolean",
"ComfyMathExpression": "MathExpressionNode",
"ShowText|pysssss": "ShowText",
"Image Comparer (rgthree)": "RgthreeImageComparer",
"ComfySwitchNode": "SwitchNode",
"Images to RGB": "WAS_Images_To_RGB",
"忽略多组孤海": "IgnoreGroupsGuHai",
"GH_ImageVideoComparer": "GHImageVideoComparer",
}.get(cls, cls)
version = n.get("properties", {}).get("ver", "未知")
core_id = {
"0.29.0": "core0290",
"0.30.2": "core0302",
"4172da4e2edc03951ffead12ca1c20a0028d3cb0": "swap",
"595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7": "easy",
"9d0282d4e19ef2718c084edf55864dfb4533032f": "media85",
"829a7a6030b151cb6ac091595570eb3a3d8c4512": "mediaout",
"fcfa42394d6347b4f04295041afdd7d92ba78c12": "mediaeditor",
"35e5956193769d18a13136cdedb73a36a05c73e6": "kjpatch",
"eb356e6cd5dedac54bb84bc54b8da8f185fa8472": "kjresize",
}.get(version, "unknown")
if cls == HOST:
core_id = "subgraph-definition"
candidates = []
rs = []
for i, e in enumerate(manifest):
if e["id"] != core_id or not e["file"].endswith(".py"):
continue
if (
cls in ["PrimitiveInt", "PrimitiveFloat", "PrimitiveBoolean"]
and e["file"] != "comfy_extras/nodes_primitive.py"
):
continue
if cls == "KSampler" and e["file"] != "nodes.py":
continue
if cls == "PreviewAudio" and e["file"] != "comfy_extras/nodes_audio.py":
continue
for c in trees[e["local_file"]].body:
if not isinstance(c, ast.ClassDef) or c.name != symbol:
continue
sources.append(
dict(
sources[i],
lines=[c.lineno, c.end_lineno],
claim=f"本节点准确{core_id}声明类实现;不等于目标安装或宿主恢复认证",
)
)
rs += [i, len(sources) - 1]
candidates.append(dict(source=i, symbol=symbol, lines=[c.lineno, c.end_lineno]))
if cls in ["LoraLoaderModelOnly", "LoraLoaderBypassModelOnly"]:
parent = next(
p
for p in trees[e["local_file"]].body
if isinstance(p, ast.ClassDef)
and p.name
== (
"LoraLoaderBypass"
if cls == "LoraLoaderBypassModelOnly"
else "LoraLoader"
)
)
sources.append(
dict(
sources[i],
lines=[parent.lineno, parent.end_lineno],
claim=f"本节点准确{core_id}父类及加载条件;只静态读取",
)
)
rs.append(len(sources) - 1)
for d in ast.walk(c):
if isinstance(d, ast.Dict):
for k, v in zip(d.keys, d.values, strict=True):
if (
isinstance(k, ast.Constant)
and isinstance(k.value, str)
and isinstance(v, ast.Tuple)
):
default = "无显式default;动态枚举/方法条件只作参考"
for opts in v.elts[1:]:
if isinstance(opts, ast.Dict):
for dk, dv in zip(opts.keys, opts.values, strict=True):
if (
isinstance(dk, ast.Constant)
and dk.value == "default"
):
default = ast.unparse(dv)
schemas[nid, k.value] = (default, ast.unparse(v))
if (
isinstance(d, ast.Call)
and isinstance(d.func, ast.Attribute)
and (d.func.attr == "Input")
):
arg = (
d.args[0]
if d.args
else next((k.value for k in d.keywords if k.arg == "id"), None)
)
if not isinstance(arg, ast.Constant) or not isinstance(arg.value, str):
continue
name = arg.value
if cls == "TextGenerate" and name in [
"temperature",
"top_k",
"top_p",
"min_p",
"repetition_penalty",
"seed",
"presence_penalty",
]:
name = "sampling_mode." + name
default = next(
(ast.unparse(k.value) for k in d.keywords if k.arg == "default"),
"无显式default,不从execute函数缺省补值",
)
if cls == "SaveImageAdvanced" and name in [
"bit_depth",
"input_color_space",
]:
# Keep the first exact PNG DynamicCombo branch.
schemas.setdefault((nid, "format." + name), (default, ast.unparse(d)))
else:
schemas[nid, name] = (default, ast.unparse(d))
assert len(candidates) <= 1, (nid, candidates)
if not candidates and core_id not in ["unknown", "subgraph-definition"]:
core_id = "unresolved-" + core_id
bindings.append(
dict(
node_id=nid,
class_type=cls,
source_version=version,
source_id=core_id,
candidates=candidates,
)
)
if core_id.replace("unresolved-", "") in [
"goohai",
"rgthree",
"showtext",
"ghgroup",
"ghcompare",
"was",
"vosr",
]:
rs += [
i for i, e in enumerate(manifest) if e["id"] == core_id.replace("unresolved-", "")
]
if cls == "KSampler":
rs += [
i
for i, e in enumerate(manifest)
if e["id"] == core_id and e["file"] == "comfy/samplers.py"
]
if cls in [
"KSampler",
"LoadImage",
"ShowText|pysssss",
"Image Comparer (rgthree)",
"忽略多组孤海",
]:
rs += [i for i, e in enumerate(manifest) if e["id"] in ["frontend", "litegraph"]]
if cls == "QwenImage21Cache":
rs += [
i
for i, e in enumerate(manifest)
if e["id"] == core_id
and e["file"].startswith(("comfy/ldm/qwen_image21/", "comfy_api/latest/"))
]
rs += [i for i, e in enumerate(manifest) if e["id"] == core_id.removeprefix("unresolved-")]
rs += [i for i, e in enumerate(manifest) if e["id"] == "frontend"]
refs[nid] = list(dict.fromkeys(rs))
fields = []
comments = []
flow = []
empty = []
for nid, ptr, scope, n in nodes:
cls = n["type"]
if cls in ["Note", "MarkdownNote"]:
comments.append(
dict(
node_id=nid,
pointer=ptr + "/widgets_values/0",
text=n["widgets_values"][0],
meaning=prose["notes"][nid],
named_pointer=ptr + "/widgets_values_named/text",
named_value=n["widgets_values_named"]["text"],
evidence=[],
)
)
flow.append(nid + " 原注释节点 " + json.dumps(n, ensure_ascii=False))
continue
core_id = next(b["source_id"] for b in bindings if b["node_id"] == nid)
effect = (
editorial[nid]
+ " 原mode="
+ str(n["mode"])
+ (
"(旁路保存态,不模拟穿透或执行)。"
if n["mode"] == 4
else "(mode2禁用/忽略保存态,不模拟组控制或执行)。"
if n["mode"] == 2
else "(活动保存态,不认证执行)。"
)
)
flow += [
effect,
nid + " 原属性 " + json.dumps(n.get("properties", {}), ensure_ascii=False),
nid
+ " 原输入/输出 "
+ json.dumps({k: n[k] for k in ["inputs", "outputs"]}, ensure_ascii=False),
nid
+ " 原具名保存 "
+ json.dumps(n.get("widgets_values_named", "missing"), ensure_ascii=False),
nid
+ " 原其它属性 "
+ json.dumps(
{
k: v
for k, v in n.items()
if k
not in [
"inputs",
"outputs",
"properties",
"widgets_values",
"widgets_values_named",
]
},
ensure_ascii=False,
),
]
if not n.get("widgets_values"):
empty.append(
dict(
node_id=nid,
class_type=cls,
pointer=ptr,
scope=scope,
state="missing" if "widgets_values" not in n else "empty_list",
effect=effect,
named_state="empty_object"
if n.get("widgets_values_named") == {}
else "missing",
)
)
continue
for j, (name, value) in enumerate(
n["widgets_values"].items()
if isinstance(n["widgets_values"], dict)
else zip(LAYOUTS[cls], n["widgets_values"], strict=True)
):
saved_key = (
name.replace("~", "~0").replace("/", "~1")
if isinstance(n["widgets_values"], dict)
else str(j)
)
found = [i for (i, x) in enumerate(n["inputs"]) if x["name"] == name]
inp = found[0] if len(found) == 1 else None
linked = inp is not None and n["inputs"][inp].get("link") is not None
boundary = cls == HOST
aux = name in [
"control_after_generate",
"audioUI",
"🎲 Manual Random Seed",
"get values from COMBO link",
"fixed",
"upload",
"text_0",
"rgthree_comparer",
"guhai_ig",
"videopreview",
]
(default, limits) = schemas.get(
(nid, name),
(
"未知:本准确类未给出该保存字段的独立schema默认",
"源保存位置与准确schema字段缺口分列,不认证后端执行映射",
),
)
unit = "无准确物理单位时只按原接口文本;源JSON类型与schema分列,不计算实际结果"
meta = prose.get("field_meta", {}).get(cls, {}).get(name, {})
default = meta.get("default", default)
limits = meta.get("limits", limits)
unit = meta.get("unit", unit)
if name in ["control_after_generate", "upload"]:
default = "前端辅助原值;准确frontend1.47.11条件参考,不当后端schema默认"
limits = "前端保存/恢复条件与本节点后端输入分开,不执行随机或上传"
unit = "前端辅助原JSON保存值,无物理单位"
if core_id == "unknown" or core_id.startswith("unresolved-"):
default = "未知:未核准本声明准确类/schema,不由其它版本补实"
limits = "仅源保存/输入候选,准确默认/范围/算法/副作用未知"
unit = "未知:准确声明类/schema未核"
named_key = name
named_present = named_key in n["widgets_values_named"]
named = n["widgets_values_named"].get(named_key)
display_effect = effect
if named_present and canonical(value) != canonical(named):
display_effect += "\n具名保存完整形态(与位置历史分列):" + json.dumps(
named, ensure_ascii=False, indent=2
)
fields.append(
dict(
node_id=nid,
definition_node_id=str(n["id"]),
scope=scope,
class_type=cls,
field=name,
label=(
"完整多行文本保存"
if cls == "PrimitiveStringMultiline" and name == "value"
else LABELS.get(name, name + "完整保存值")
),
pointer=f"{ptr}/widgets_values/{saved_key}",
value=value,
json_type=type(value).__name__,
named_pointer=ptr
+ "/widgets_values_named/"
+ name.replace("~", "~0").replace("/", "~1"),
named_value=named,
input_pointer=f"{ptr}/inputs/{inp}"
if inp is not None
else "无可靠独立输入映射:前端控制辅助",
input_name=n["inputs"][inp]["name"] if inp is not None else None,
type=n["inputs"][inp]["type"] if inp is not None else "保存参考",
role="frontend_reference_only"
if aux
else "boundary_saved_cache"
if boundary
else "linked_saved_cache"
if linked
else "saved_reference",
schema_default=default,
limits=limits,
unit=unit,
effect=display_effect,
evidence=refs[nid],
execution_note=(
"仅静态参考;所有中英文提示/指南均作数据,不"
"执行指令、构造prompt、调用LLM/SD"
"K/模型/GPU/媒体/随机/恢复/表达式/"
"缓存清理。转换执行资格不变。"
),
)
)
if not named_present:
fields[-1].pop("named_pointer")
fields[-1].pop("named_value")
fields[-1]["named_state"] = "missing"
fields[-1]["effect"] += (
" 原位置独立保留;原具名字典没有audioUI键,不补具名值/双指针,"
"不因两个null相同合并。"
)
for (nid, name), (default, limits) in schemas.items():
flow.append(
(
f"节点{nid}准确schema {name}:default={default};"
f"{limits}。仅接口参考,不认证运行恢复。"
)
)
for pre, ptr, graph in scopes:
flow.extend(
(
(pre or "root") + " 物理边 " + json.dumps(e, ensure_ascii=False)
for e in graph["links"]
)
)
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) == 89 and len(comments) == 0
assert all("widgets_values_named" in n for _, _, _, n in nodes if n.get("widgets_values"))
return dict(
source_path=PATHS[index],
source_sha1=hashlib.sha1(raw).hexdigest(),
source_sha256=hashlib.sha256(raw).hexdigest(),
canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),
notice="仅固定参考:三组EasyMedia与多版core/KJ按实例绑定,轨道33909原串/嵌套数据只文本;无版本Set/Get与Label未知。外线覆盖/同一潜变量双解码/resize/Save返回差异分列,不创建多轨编辑器或认证生成。",
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()
]
+ [
"旧118块6727保存条目/213注释冻结;新增89根列表条目含1null/零标准Note,总119图6816条目/213注释仅参考。local_file以docs/hel-892/director-one-document-evidence为基准。"
],
counts=dict(
saved_fields=89,
root_saved_fields=89,
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=56,
root_nodes=56,
internal_nodes=0,
physical_edges=54,
source_notes=0,
saved_objects=0,
history_objects=0,
final_scalars=0,
final_prompt_constructed=False,
),
node_bindings=bindings,
fields=fields,
sources=sources,
comments=comments,
flow=flow,
flow_evidence=list(range(len(sources))),
zero_saved_nodes=empty,
boundaries=boundaries,
steps=[overview] + json.loads((OUT / "prose.json").read_bytes())["steps"],
)
@@ -0,0 +1,79 @@
"""Collect final completed browser evidence and independently verify port release."""
import collections
import json
import re
import shutil
import socket
from pathlib import Path
from urllib.parse import urlsplit
ROOT = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
LOCAL = ROOT / ".local-evidence/director-one-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,31 @@
第138批,仅MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样)固定参考。基线e52a0cfc08780473355d10dc600c0d08742a6c3b,原分支agent/agent/a64a969a6a44,PR25 → main。最终内容由pins.json、用途SHA自排除清单与提交后final-head.json共同绑定。
产品只新增source_reviews.json本图固定块及fixed_document.py路径/pin;专项、浏览入口、完整可逆中文和证据另交。转换器/执行器/Drawer整文件/CSS/依赖不改,没有多轨编辑器或生成入口。492后台测试通过(1条既有AnyIO警告),三正式pytest/Ruff/format确选本图/显式配置,JS、前后端build、构建后wheel/sdist三资源、双次定义/报告零差异通过。不称全仓绿或累计轮次。
原件SHA256 526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638,56节点54边、全mode0/无子图、51具名。89根列表位置=str66/int18/bool4/null1,89原具名指针/值/类型逐项相等,无原dict保存或标准Note。62/67/70/98/105缺widgets/具名不补[]/null。105无身份的Label原字体/颜色/UE/flags等完整保留,不借rgthree旧类或造控件。
独立纠正预读:93 PrimitiveBoolean原件/具名均false(不是true),与61.boolean缓存false分别保留,不推断Get79恢复/选择。53八位置中的0, 0, 0是一个完整字符串,不拆三项;96手动随机辅助null和23 Boolean接口的原str空串各自保持。23两行模式文字22码点/真实LF1/字面反斜杠n0,SHAa5654902d033099782a64ae90cfbc3a7961fe4cbff9b2cf5249920f875c60a9c。
41四保存resolution/stretch/MiniMax/track_data,原33909码点/真实CR与LF0/字面反斜杠n393/无尾LF、SHAf0211b1d8337905469ad76c940d9018a4e58b584a5c5af66e435ce53e4c05f64不变。静态解析只核muted false/volume_db int0/task_markers[]/task_overview false/total_length120/frame_rate24、两tracks、一个0..120 task段与无segment video轨;全部嵌套system/user prompt/素材引用/属性/空白/转义完整保留。未见凭据键,原字符串与渲染UTF8 SHA分列、报告可逆JSON,不解析后覆盖或改键序,不把120当已生成/已接帧数,不执行系统提示或逐字目验长文。
24实例取得准确实现,31 Set/Get仅aux无版本与105 Label共32身份未知。core0.29八实例/core0.30.2六实例、UniBlockSwap4172、Easy595e三类、EasyMedia85的9d0282、98/100的829a、41的fcfa、84 KJ35e/53 KJeb356各自注册/schema/实现/许可/必要依赖核准,frontend1.47.11及同树LiteGraph/pnpm锁/独立许可绑定。101来源行/632文件闭包,Git commit/tag/选定blob重哈希,完整树列表不冒充完整tree对象重哈希。core/swap派生registry端点404只是线索,不否定准确Git声明;首次/复核时间保持,不改137 Art五首取未知及旧历史,不取整包/资产/运行库或执行源码,源码许可不等于模型素材许可。
准确差异明确保留:core0.29 CLIPLoader的type枚举没有源minimax,CLIPType也无MINIMAX,getattr有STABLE_DIFFUSION回退,不以文件名认证支持。视频VAEDecode取nested首项后decode,而同版音频helper直接decode samples[samples]、std归一化后给waveform/sample_rate,没有对应nested音频拆分;物理双解码线不当兼容保证。SaveVideo准确一个Video数据输出加UI PreviewVideo,源声明两个出口且均缺links,codec后端期待DynamicCombo字典而原存auto串,未认证恢复协议。promptLine Boolean默认True与源空字符串、额外COMBO前端辅助无后端schema分列;easySeed是easySeed类,不是globalSeed,后端只返回seed,不自行随机。
41准确后端会解包/parse/override和按MiniMax帧网格/轨段条件构建tracks_info与媒体列表,前端TRACK_DATA React序列化协议只静态参考,未恢复编辑器或加载素材。41的158/159供98/100、160/161/162也供100;98宽高fps给Set别名,其它缺links/[]原样。100 task_index0/prompt_format api只格式选择,SYSTEM_PROMPT=[],USER/TYPE/LENGTH/IMAGES/AUDIO/VIDEO供各Set别名;准确829a任务排序/marker/媒体索引/裁剪/提示格式与本图未执行分列,不认证实际素材或调用API。
Get type170覆盖21.substring,StringContains37→Math原表达式a→INT38覆盖promptLine.start_index,COMBO165覆盖85.mode,STRING=[]。所有字符串判断/表达式/行索引只描述条件不执行。MODEL69→84 Sage→60 swap→61真支,84未swap输出给假支;Get79覆盖61缓存,93false→99同名Set只有意图,不补99→79物理边。准确swap -1/0/容器架构/回调与清理条件静态说明,无容器helper返回3项而调用解包4项差异保留,不证明MiniMax架构支持、GPU迁移或显存效果。61→76普通LoRA→Set model,Get model才给KSampler,不套Bypass或由8step文件名推断效果。
85准确9d的输入列表、reference/multi_frames、空参考分支/首末图、媒体限制9/3/3、音频VAE与GraphBuilder扩展仅源码协议,不构造子图或执行。源空prompt/reference/960/544/22/match缓存受提示/COMBO/尺寸别名外线覆盖,图/音给85但videos=null,任务VIDEO已供Set并不等于85接视频。85 positive同时给ZeroOut作negative和82positive,LATENT127才是起点。82七值304583185482826/fixed/8/int1/euler/beta/int1保持,Get seed128覆盖;96独立387782047472665/randomize/null→Set seed不认证随机恢复或复现。
同一82 LATENT117/119给62视频/67音频解码,62 IMAGE109→53resize。KJ eb356八值1920/1920/nvidia_rtx_vsr/resize/完整pad_color/center/32/cpu、mask=null、额外输出缺links原样。准确RTX分支会import nvvfx/VideoSuperRes ULTRA/load并有兼容NVIDIA GPU条件,cpu保存不保证该分支可CPU运行;未取运行库/驱动/模型、执行缩放或认证已1920/mask/显存。53 IMAGE155和67 AUDIO156进102,Get fps157覆盖缓存int30,bit_depth int8与状态24分别保持不手算。准确CreateVideo用Fraction(fps)/VideoComponents,不等于已编码保存;VIDEO148→97,目录/auto格式/动态codec/隐藏元数据与UI/data返回条件仅静态,不执行文件I/O或保证音轨/时长/画质/同步。
真实e52a0cf旧代码隔离库升级1/跳过154,其余154整行不变;重复155、精确回退重升、前后用户修改各conflict1/29列保护。155导入/1排除、16/139、1217/3660/294及全停用/未检查/空时间戳保持。旧118块6727条目/213标准注释及其它155对象、12823基线文件/163原件/191资源、28profile/九候选/六差分/资格冻结。
最终1440/390浏览5260断言,分组{"aggregate": 6, "new_director_one": 2408, "old_one_hundred_eighteen": 2832, "shared_regressions": 14};实际GET doc_json与隔离导出全等。89位置/具名/类型/null/零标准Note、完整33909原串/所有嵌套值及渲染SHA、多版准确来源/未知别名与Label、各外线/双解码/Save协议冲突、旧118摘要/共享回退/迟到重试/焦点/无横溢通过。32最终截图,实际目验14张代表图,不冒充长文逐字目验。本机字体对来源键骰子emoji显示缺字方框,中文主标签可读,原UTF8/指针/SHA保持;未加字体或改UI/源名。
请求前Node fetch/Python readiness/导航/HTTP限http本机hostname8247/5173无凭据,四URL负例发送前拒绝;字体就地响应/HMR关闭。固定GET浏览370/后端365,扣六夹具加一次就绪逐路径全等;轮询浏览36/后端36,差额{"/api/jobs": 0, "/api/events": 0},仅容许确证快照后/api/jobs至多一条。finally停止自有服务、两端口独立拒绝,无PNG/pyc入Git。
首次AST将nodes.py注册KSampler与samplers内部同名helper同时匹配,现按注册文件限定,原错误保留;lint未用zlib导入已移除并正式复验,原条目日志保留。仅原记录修正,不倒改SeedVR/127/132/135/136/137历史、不累计通过轮次或把旧独立轮询强行同数。
累计119参考6816条目/213标准注释,剩36张;155全量最终定稿、可靠转换、目标核对和必要实跑仍未完成,最终定稿/新增转换/真实生成0。未连接目标、请求定义、启停TTS/ComfyUI、读Input Assets、构造prompt/执行上游/EasyMedia/SDK/swap/attention/字符串判断/表达式/索引/随机/采样/模型/GPU/缩放/图像音视频/预览/别名/清理,未访问云API/模型目录/在线库、取资产/整包/字体运行库、增依赖付费、合并部署,当前无需材料或机器窗口。交总管接回HEL-893做一次功能+界面审核后再推进。
@@ -0,0 +1,58 @@
{
"60": "MODEL69 fl2va UNET129→84原拼PathchSageAttentionKJ准确35e595→113→60 UniBlockSwap4172→114→61.on_true,同时84未swap输出115→61.on_false。Get79开启swap116覆盖61.boolean缓存false。93原件PrimitiveBoolean真实保存false(预读true已纠正)→150→99 Set开启swap,仅别名意图,不补99→79边/认证实际分支;源两处false与图名不当关闭后无副作用证明。 60准确UniBlockSwap4172 aux smthemex,派生registry端点404只本次线索,不否定aux准确Git仓/commit。num_blocks INT默认-1/min-1/max10000/step1;0原样返回,-1在发现容器时覆盖所有块,正值有裁界条件。实现clone、备份处理、其它模型移CPU/cache清理、install_block_swap和ON_LOAD/ON_CLEANUP/GGUF回调。容器按blocks/transformer_blocks/double_blocks/single_blocks/input_blocks/output_blocks/middle_block/layers/double_stream_layers/single_stream_layers/block及ModuleList/forward条件发现,不由MiniMax文件名保证架构支持。无容器分支install返回3项,而调用解包4项,保留准确静态接口差异,不执行验证或承诺可运行/节省显存,不执行迁移/卸载/清理。",
"61": "MODEL69 fl2va UNET129→84原拼PathchSageAttentionKJ准确35e595→113→60 UniBlockSwap4172→114→61.on_true,同时84未swap输出115→61.on_false。Get79开启swap116覆盖61.boolean缓存false。93原件PrimitiveBoolean真实保存false(预读true已纠正)→150→99 Set开启swap,仅别名意图,不补99→79边/认证实际分支;源两处false与图名不当关闭后无副作用证明。 61准确Easy595e IfElse与130c分开核,Boolean schema无显式default,on_true/on_false lazy;check_lazy_status按布尔请求所选缺支,函数签名boolean=True不是schema默认,execute直接按bool返回对应支。源false受116覆盖,不做选择。61输出122→76普通LoraLoaderModelOnly(不是Bypass)→123→77 Set model;78 Get model124才给82。76准确core0.30.2普通LoRA强度FLOAT默认1.0/-100..100/step0.01,源JSON int1与8step文件名原样;父类路径缓存/安全加载/模型补丁只静态,不证明安装/兼容/8步效果。",
"62": "根56节点54物理边,全mode0、无子图,51具名。89根列表位置=str66/int18/bool4/null1,无字典保存和标准Note。62/67/70/98/105五处缺widgets/具名键,不补[]/null。105 Label (rgthree)无cnr/aux/ver,字体/颜色/UE/flags等完整原属性保留,仅名称不绑定rgthree旧类,不造控件或认证实际样式行为。 同一82 LATENT117/119分别进入62视频VAE/67音频VAE解码,VAE Get65/63各118/120仅名字意图。准确core0.29 ConditioningZeroOut零条件仅静态。VAEDecode遇latent.is_nested取unbind()[0]后decode并合并5D批次;VAEDecodeAudio的helper直接decode(samples[samples]),没有对应nested音频拆分,按std归一化并返回waveform/sample_rate。视频/音频分支准确实现差异保留,不把同一潜变量双解码的物理线当两者兼容保证,不运行清零/采样/双解码或认证音轨/同步。62 IMAGE109→53 resize,不是两个采样出口或两段采样。",
"63": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。 同一82 LATENT117/119分别进入62视频VAE/67音频VAE解码,VAE Get65/63各118/120仅名字意图。准确core0.29 ConditioningZeroOut零条件仅静态。VAEDecode遇latent.is_nested取unbind()[0]后decode并合并5D批次;VAEDecodeAudio的helper直接decode(samples[samples]),没有对应nested音频拆分,按std归一化并返回waveform/sample_rate。视频/音频分支准确实现差异保留,不把同一潜变量双解码的物理线当两者兼容保证,不运行清零/采样/双解码或认证音轨/同步。62 IMAGE109→53 resize,不是两个采样出口或两段采样。",
"64": "85准确EasyMedia9d0282 EasyMiniMaxH3ToVideo:源空prompt/reference/960/544/22/match;Get81提示词135覆盖prompt、23 COMBO165覆盖mode、Get80/64/66外线136/137/138覆盖宽高长度、Get72images133/Get71audio134给图音,videos=null未接。95保存任务VIDEO并不等于85接视频。准确schema mode reference/multi_frames,width/height默认1344/768步32、length默认124/5..3600/step17和match/max参考策略与原缓存分列,不手算像素/帧数/时长。",
"65": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。 同一82 LATENT117/119分别进入62视频VAE/67音频VAE解码,VAE Get65/63各118/120仅名字意图。准确core0.29 ConditioningZeroOut零条件仅静态。VAEDecode遇latent.is_nested取unbind()[0]后decode并合并5D批次;VAEDecodeAudio的helper直接decode(samples[samples]),没有对应nested音频拆分,按std归一化并返回waveform/sample_rate。视频/音频分支准确实现差异保留,不把同一潜变量双解码的物理线当两者兼容保证,不运行清零/采样/双解码或认证音轨/同步。62 IMAGE109→53 resize,不是两个采样出口或两段采样。",
"66": "85准确EasyMedia9d0282 EasyMiniMaxH3ToVideo:源空prompt/reference/960/544/22/match;Get81提示词135覆盖prompt、23 COMBO165覆盖mode、Get80/64/66外线136/137/138覆盖宽高长度、Get72images133/Get71audio134给图音,videos=null未接。95保存任务VIDEO并不等于85接视频。准确schema mode reference/multi_frames,width/height默认1344/768步32、length默认124/5..3600/step17和match/max参考策略与原缓存分列,不手算像素/帧数/时长。",
"67": "根56节点54物理边,全mode0、无子图,51具名。89根列表位置=str66/int18/bool4/null1,无字典保存和标准Note。62/67/70/98/105五处缺widgets/具名键,不补[]/null。105 Label (rgthree)无cnr/aux/ver,字体/颜色/UE/flags等完整原属性保留,仅名称不绑定rgthree旧类,不造控件或认证实际样式行为。 同一82 LATENT117/119分别进入62视频VAE/67音频VAE解码,VAE Get65/63各118/120仅名字意图。准确core0.29 ConditioningZeroOut零条件仅静态。VAEDecode遇latent.is_nested取unbind()[0]后decode并合并5D批次;VAEDecodeAudio的helper直接decode(samples[samples]),没有对应nested音频拆分,按std归一化并返回waveform/sample_rate。视频/音频分支准确实现差异保留,不把同一潜变量双解码的物理线当两者兼容保证,不运行清零/采样/双解码或认证音轨/同步。62 IMAGE109→53 resize,不是两个采样出口或两段采样。 53 IMAGE155与67 AUDIO156→102 CreateVideo,Get68 fps157覆盖fps缓存JSON int30,bit_depth JSON int8独立;轨道state frame_rate24、cache30与未知别名外线不手算/归一化。准确core0.30.2 CreateVideo fps FLOAT默认30.0/1..120/step1、bit_depth可选INT默认8/8..10/step2,构建VideoFromComponents(帧/音轨/Fraction(fps),bit_depth),本身不证明已编码落盘或真实色深/音轨/同步。",
"68": "53 IMAGE155与67 AUDIO156→102 CreateVideo,Get68 fps157覆盖fps缓存JSON int30,bit_depth JSON int8独立;轨道state frame_rate24、cache30与未知别名外线不手算/归一化。准确core0.30.2 CreateVideo fps FLOAT默认30.0/1..120/step1、bit_depth可选INT默认8/8..10/step2,构建VideoFromComponents(帧/音轨/Fraction(fps),bit_depth),本身不证明已编码落盘或真实色深/音轨/同步。",
"70": "根56节点54物理边,全mode0、无子图,51具名。89根列表位置=str66/int18/bool4/null1,无字典保存和标准Note。62/67/70/98/105五处缺widgets/具名键,不补[]/null。105 Label (rgthree)无cnr/aux/ver,字体/颜色/UE/flags等完整原属性保留,仅名称不绑定rgthree旧类,不造控件或认证实际样式行为。 85准确实现enable_expand/is_input_list,展开IMAGE批次/媒体列表;multi_frames不允许videos/audios,multi_frames或所有参考为空时构造MiniMaxH3ImageToVideo子图,图像首/末帧取首尾;reference分支限制9图/3视频/3音频、有独立音频需audio_vae、视频GetVideoComponents及Reference桥接。返回positive/latent两路并expand graph.finalize,不执行GraphBuilder或构造本图prompt/子图,不借名字认证当前分支/参考素材/模型支持。positive121→70 ConditioningZeroOut作negative126,同时positive125直给82;LATENT127才是82起点。 同一82 LATENT117/119分别进入62视频VAE/67音频VAE解码,VAE Get65/63各118/120仅名字意图。准确core0.29 ConditioningZeroOut零条件仅静态。VAEDecode遇latent.is_nested取unbind()[0]后decode并合并5D批次;VAEDecodeAudio的helper直接decode(samples[samples]),没有对应nested音频拆分,按std归一化并返回waveform/sample_rate。视频/音频分支准确实现差异保留,不把同一潜变量双解码的物理线当两者兼容保证,不运行清零/采样/双解码或认证音轨/同步。62 IMAGE109→53 resize,不是两个采样出口或两段采样。",
"71": "85准确EasyMedia9d0282 EasyMiniMaxH3ToVideo:源空prompt/reference/960/544/22/match;Get81提示词135覆盖prompt、23 COMBO165覆盖mode、Get80/64/66外线136/137/138覆盖宽高长度、Get72images133/Get71audio134给图音,videos=null未接。95保存任务VIDEO并不等于85接视频。准确schema mode reference/multi_frames,width/height默认1344/768步32、length默认124/5..3600/step17和match/max参考策略与原缓存分列,不手算像素/帧数/时长。",
"72": "85准确EasyMedia9d0282 EasyMiniMaxH3ToVideo:源空prompt/reference/960/544/22/match;Get81提示词135覆盖prompt、23 COMBO165覆盖mode、Get80/64/66外线136/137/138覆盖宽高长度、Get72images133/Get71audio134给图音,videos=null未接。95保存任务VIDEO并不等于85接视频。准确schema mode reference/multi_frames,width/height默认1344/768步32、length默认124/5..3600/step17和match/max参考策略与原缓存分列,不手算像素/帧数/时长。",
"73": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"74": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"75": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"77": "61准确Easy595e IfElse与130c分开核,Boolean schema无显式default,on_true/on_false lazy;check_lazy_status按布尔请求所选缺支,函数签名boolean=True不是schema默认,execute直接按bool返回对应支。源false受116覆盖,不做选择。61输出122→76普通LoraLoaderModelOnly(不是Bypass)→123→77 Set model;78 Get model124才给82。76准确core0.30.2普通LoRA强度FLOAT默认1.0/-100..100/step0.01,源JSON int1与8step文件名原样;父类路径缓存/安全加载/模型补丁只静态,不证明安装/兼容/8步效果。",
"78": "61准确Easy595e IfElse与130c分开核,Boolean schema无显式default,on_true/on_false lazy;check_lazy_status按布尔请求所选缺支,函数签名boolean=True不是schema默认,execute直接按bool返回对应支。源false受116覆盖,不做选择。61输出122→76普通LoraLoaderModelOnly(不是Bypass)→123→77 Set model;78 Get model124才给82。76准确core0.30.2普通LoRA强度FLOAT默认1.0/-100..100/step0.01,源JSON int1与8step文件名原样;父类路径缓存/安全加载/模型补丁只静态,不证明安装/兼容/8步效果。",
"79": "MODEL69 fl2va UNET129→84原拼PathchSageAttentionKJ准确35e595→113→60 UniBlockSwap4172→114→61.on_true,同时84未swap输出115→61.on_false。Get79开启swap116覆盖61.boolean缓存false。93原件PrimitiveBoolean真实保存false(预读true已纠正)→150→99 Set开启swap,仅别名意图,不补99→79边/认证实际分支;源两处false与图名不当关闭后无副作用证明。",
"80": "85准确EasyMedia9d0282 EasyMiniMaxH3ToVideo:源空prompt/reference/960/544/22/match;Get81提示词135覆盖prompt、23 COMBO165覆盖mode、Get80/64/66外线136/137/138覆盖宽高长度、Get72images133/Get71audio134给图音,videos=null未接。95保存任务VIDEO并不等于85接视频。准确schema mode reference/multi_frames,width/height默认1344/768步32、length默认124/5..3600/step17和match/max参考策略与原缓存分列,不手算像素/帧数/时长。",
"81": "85准确EasyMedia9d0282 EasyMiniMaxH3ToVideo:源空prompt/reference/960/544/22/match;Get81提示词135覆盖prompt、23 COMBO165覆盖mode、Get80/64/66外线136/137/138覆盖宽高长度、Get72images133/Get71audio134给图音,videos=null未接。95保存任务VIDEO并不等于85接视频。准确schema mode reference/multi_frames,width/height默认1344/768步32、length默认124/5..3600/step17和match/max参考策略与原缓存分列,不手算像素/帧数/时长。",
"82": "61准确Easy595e IfElse与130c分开核,Boolean schema无显式default,on_true/on_false lazy;check_lazy_status按布尔请求所选缺支,函数签名boolean=True不是schema默认,execute直接按bool返回对应支。源false受116覆盖,不做选择。61输出122→76普通LoraLoaderModelOnly(不是Bypass)→123→77 Set model;78 Get model124才给82。76准确core0.30.2普通LoRA强度FLOAT默认1.0/-100..100/step0.01,源JSON int1与8step文件名原样;父类路径缓存/安全加载/模型补丁只静态,不证明安装/兼容/8步效果。 85准确实现enable_expand/is_input_list,展开IMAGE批次/媒体列表;multi_frames不允许videos/audios,multi_frames或所有参考为空时构造MiniMaxH3ImageToVideo子图,图像首/末帧取首尾;reference分支限制9图/3视频/3音频、有独立音频需audio_vae、视频GetVideoComponents及Reference桥接。返回positive/latent两路并expand graph.finalize,不执行GraphBuilder或构造本图prompt/子图,不借名字认证当前分支/参考素材/模型支持。positive121→70 ConditioningZeroOut作negative126,同时positive125直给82;LATENT127才是82起点。 82准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1;准确枚举/范围/默认与源类型独立,Get83 seed128覆盖缓存。96准确Easy595e easySeed类(不是globalSeed)原387782047472665/randomize/末尾null→146→94 Set seed;后端仅seed INT及隐藏元数据、doit返回传入seed,不自行随机。control_after_generate/手动随机辅助null独立前端保存,v1 seed脚本条件与当前web默认版本分开,不借后端补第三字段/执行随机或保证复现。 同一82 LATENT117/119分别进入62视频VAE/67音频VAE解码,VAE Get65/63各118/120仅名字意图。准确core0.29 ConditioningZeroOut零条件仅静态。VAEDecode遇latent.is_nested取unbind()[0]后decode并合并5D批次;VAEDecodeAudio的helper直接decode(samples[samples]),没有对应nested音频拆分,按std归一化并返回waveform/sample_rate。视频/音频分支准确实现差异保留,不把同一潜变量双解码的物理线当两者兼容保证,不运行清零/采样/双解码或认证音轨/同步。62 IMAGE109→53 resize,不是两个采样出口或两段采样。",
"83": "82准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1;准确枚举/范围/默认与源类型独立,Get83 seed128覆盖缓存。96准确Easy595e easySeed类(不是globalSeed)原387782047472665/randomize/末尾null→146→94 Set seed;后端仅seed INT及隐藏元数据、doit返回传入seed,不自行随机。control_after_generate/手动随机辅助null独立前端保存,v1 seed脚本条件与当前web默认版本分开,不借后端补第三字段/执行随机或保证复现。",
"84": "MODEL69 fl2va UNET129→84原拼PathchSageAttentionKJ准确35e595→113→60 UniBlockSwap4172→114→61.on_true,同时84未swap输出115→61.on_false。Get79开启swap116覆盖61.boolean缓存false。93原件PrimitiveBoolean真实保存false(预读true已纠正)→150→99 Set开启swap,仅别名意图,不补99→79边/认证实际分支;源两处false与图名不当关闭后无副作用证明。 84准确KJ35e595 sage_attention auto/allow_compile false;schema sage_attention默认False但枚举是disabled/auto/多个sage实现,接口默认与源字符串分列。disabled直接返回原model,其它clone并设置optimized_attention_override;auto导入sageattention,allow_compile条件只源码参考,不安装库/编译/执行attention/GPU,不以文件名认证兼容/显存。53 resize独立KJ eb356,不传播版本或套b8b/2bf/60cd。",
"85": "23准确Easy595e promptLine保存两行multi_frames真实LF reference,22码点/LF1/字面反斜杠n0,SHAa5654902d033099782a64ae90cfbc3a7961fe4cbff9b2cf5249920f875c60a9c。start_index0/max_rows1000/remove_empty_lines空串/额外get values from COMBO link空串均原样。准确schema Boolean remove_empty_lines默认True,与源JSON str空串差异不修;额外COMBO辅助后端无schema,不补字段。execute split LF、条件去空、限制起止索引并返回相同rows两路输出列表;源STRING=[]未接,COMBO165覆盖85.mode缓存reference。未运行行选择/布尔强转,不保证自动模式或把空串冒充false布尔。 85准确EasyMedia9d0282 EasyMiniMaxH3ToVideo:源空prompt/reference/960/544/22/match;Get81提示词135覆盖prompt、23 COMBO165覆盖mode、Get80/64/66外线136/137/138覆盖宽高长度、Get72images133/Get71audio134给图音,videos=null未接。95保存任务VIDEO并不等于85接视频。准确schema mode reference/multi_frames,width/height默认1344/768步32、length默认124/5..3600/step17和match/max参考策略与原缓存分列,不手算像素/帧数/时长。 85准确实现enable_expand/is_input_list,展开IMAGE批次/媒体列表;multi_frames不允许videos/audios,multi_frames或所有参考为空时构造MiniMaxH3ImageToVideo子图,图像首/末帧取首尾;reference分支限制9图/3视频/3音频、有独立音频需audio_vae、视频GetVideoComponents及Reference桥接。返回positive/latent两路并expand graph.finalize,不执行GraphBuilder或构造本图prompt/子图,不借名字认证当前分支/参考素材/模型支持。positive121→70 ConditioningZeroOut作negative126,同时positive125直给82;LATENT127才是82起点。",
"86": "100保存task_index0/prompt_format api,准确schema索引默认0/min0,格式含default及api/llm等,api只是格式字符串,不是本次访问API。实现解包tracks_info、task按start_frame排序/marker区间选取、索引限制到存在任务,长度含端点等条件独立,图片media_index/音视频输出索引与裁剪/重叠/音量条件、build_prompt_request与api/llm格式返回仅静态。SYSTEM_PROMPT=[]未消费,USER_PROMPT142→89 Set提示词、TYPE163→103 Set type、LENGTH140→87 Set length、IMAGES141→88、AUDIO139→86、VIDEO147→95;IMAGE_INDEXES缺links。不执行索引/裁音/视频/提示重写,不认证当前素材列表非空或自动任务执行。",
"88": "100保存task_index0/prompt_format api,准确schema索引默认0/min0,格式含default及api/llm等,api只是格式字符串,不是本次访问API。实现解包tracks_info、task按start_frame排序/marker区间选取、索引限制到存在任务,长度含端点等条件独立,图片media_index/音视频输出索引与裁剪/重叠/音量条件、build_prompt_request与api/llm格式返回仅静态。SYSTEM_PROMPT=[]未消费,USER_PROMPT142→89 Set提示词、TYPE163→103 Set type、LENGTH140→87 Set length、IMAGES141→88、AUDIO139→86、VIDEO147→95;IMAGE_INDEXES缺links。不执行索引/裁音/视频/提示重写,不认证当前素材列表非空或自动任务执行。",
"90": "41 TRACKS_INFO158/159分别给98信息和100任务,IMAGE160/AUDIO161/VIDEO162也给100。98/100独立准确829a,不继承41 fcfa或85 9d。98 parse JSON失败回{},返回width/height/total_length/frame_rate及任务计数,函数取缺省544/960/121/24不等于本图当前值;输出width144→91 Set width、height143→90 Set height、fps145→92 Set fps,TOTAL_FRAMES缺links、TASK_COUNT=[],不改形态或认证任务已运行。",
"91": "41 TRACKS_INFO158/159分别给98信息和100任务,IMAGE160/AUDIO161/VIDEO162也给100。98/100独立准确829a,不继承41 fcfa或85 9d。98 parse JSON失败回{},返回width/height/total_length/frame_rate及任务计数,函数取缺省544/960/121/24不等于本图当前值;输出width144→91 Set width、height143→90 Set height、fps145→92 Set fps,TOTAL_FRAMES缺links、TASK_COUNT=[],不改形态或认证任务已运行。",
"92": "41 TRACKS_INFO158/159分别给98信息和100任务,IMAGE160/AUDIO161/VIDEO162也给100。98/100独立准确829a,不继承41 fcfa或85 9d。98 parse JSON失败回{},返回width/height/total_length/frame_rate及任务计数,函数取缺省544/960/121/24不等于本图当前值;输出width144→91 Set width、height143→90 Set height、fps145→92 Set fps,TOTAL_FRAMES缺links、TASK_COUNT=[],不改形态或认证任务已运行。",
"94": "82准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1;准确枚举/范围/默认与源类型独立,Get83 seed128覆盖缓存。96准确Easy595e easySeed类(不是globalSeed)原387782047472665/randomize/末尾null→146→94 Set seed;后端仅seed INT及隐藏元数据、doit返回传入seed,不自行随机。control_after_generate/手动随机辅助null独立前端保存,v1 seed脚本条件与当前web默认版本分开,不借后端补第三字段/执行随机或保证复现。",
"95": "100保存task_index0/prompt_format api,准确schema索引默认0/min0,格式含default及api/llm等,api只是格式字符串,不是本次访问API。实现解包tracks_info、task按start_frame排序/marker区间选取、索引限制到存在任务,长度含端点等条件独立,图片media_index/音视频输出索引与裁剪/重叠/音量条件、build_prompt_request与api/llm格式返回仅静态。SYSTEM_PROMPT=[]未消费,USER_PROMPT142→89 Set提示词、TYPE163→103 Set type、LENGTH140→87 Set length、IMAGES141→88、AUDIO139→86、VIDEO147→95;IMAGE_INDEXES缺links。不执行索引/裁音/视频/提示重写,不认证当前素材列表非空或自动任务执行。 85准确EasyMedia9d0282 EasyMiniMaxH3ToVideo:源空prompt/reference/960/544/22/match;Get81提示词135覆盖prompt、23 COMBO165覆盖mode、Get80/64/66外线136/137/138覆盖宽高长度、Get72images133/Get71audio134给图音,videos=null未接。95保存任务VIDEO并不等于85接视频。准确schema mode reference/multi_frames,width/height默认1344/768步32、length默认124/5..3600/step17和match/max参考策略与原缓存分列,不手算像素/帧数/时长。",
"96": "82准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1;准确枚举/范围/默认与源类型独立,Get83 seed128覆盖缓存。96准确Easy595e easySeed类(不是globalSeed)原387782047472665/randomize/末尾null→146→94 Set seed;后端仅seed INT及隐藏元数据、doit返回传入seed,不自行随机。control_after_generate/手动随机辅助null独立前端保存,v1 seed脚本条件与当前web默认版本分开,不借后端补第三字段/执行随机或保证复现。",
"97": "102 VIDEO148→97 SaveVideo,源三保存video/ComfyUI/auto/auto;两个VIDEO出口都缺links,name相同而label等原属性差异保留。准确core0.30.2 SaveVideo只有一个Video数据输出加UI PreviewVideo;format普通Combo枚举/codec DynamicCombo字典协议(execute取codec[codec]及encoding/crf)与源auto字符串保存分列,不认证frontend已转换字典或补字段。h264子选择encoding auto/re-encode、CRF23.0/0..51条件和隐藏prompt/extra_pnginfo受disable_metadata控制、目录命名/计数/video.save_to仅静态,不沿用其它版本或执行编码/媒体/文件输出。",
"98": "根56节点54物理边,全mode0、无子图,51具名。89根列表位置=str66/int18/bool4/null1,无字典保存和标准Note。62/67/70/98/105五处缺widgets/具名键,不补[]/null。105 Label (rgthree)无cnr/aux/ver,字体/颜色/UE/flags等完整原属性保留,仅名称不绑定rgthree旧类,不造控件或认证实际样式行为。 41 TRACKS_INFO158/159分别给98信息和100任务,IMAGE160/AUDIO161/VIDEO162也给100。98/100独立准确829a,不继承41 fcfa或85 9d。98 parse JSON失败回{},返回width/height/total_length/frame_rate及任务计数,函数取缺省544/960/121/24不等于本图当前值;输出width144→91 Set width、height143→90 Set height、fps145→92 Set fps,TOTAL_FRAMES缺links、TASK_COUNT=[],不改形态或认证任务已运行。",
"102": "53 IMAGE155与67 AUDIO156→102 CreateVideo,Get68 fps157覆盖fps缓存JSON int30,bit_depth JSON int8独立;轨道state frame_rate24、cache30与未知别名外线不手算/归一化。准确core0.30.2 CreateVideo fps FLOAT默认30.0/1..120/step1、bit_depth可选INT默认8/8..10/step2,构建VideoFromComponents(帧/音轨/Fraction(fps),bit_depth),本身不证明已编码落盘或真实色深/音轨/同步。 102 VIDEO148→97 SaveVideo,源三保存video/ComfyUI/auto/auto;两个VIDEO出口都缺links,name相同而label等原属性差异保留。准确core0.30.2 SaveVideo只有一个Video数据输出加UI PreviewVideo;format普通Combo枚举/codec DynamicCombo字典协议(execute取codec[codec]及encoding/crf)与源auto字符串保存分列,不认证frontend已转换字典或补字段。h264子选择encoding auto/re-encode、CRF23.0/0..51条件和隐藏prompt/extra_pnginfo受disable_metadata控制、目录命名/计数/video.save_to仅静态,不沿用其它版本或执行编码/媒体/文件输出。",
"89": "100保存task_index0/prompt_format api,准确schema索引默认0/min0,格式含default及api/llm等,api只是格式字符串,不是本次访问API。实现解包tracks_info、task按start_frame排序/marker区间选取、索引限制到存在任务,长度含端点等条件独立,图片media_index/音视频输出索引与裁剪/重叠/音量条件、build_prompt_request与api/llm格式返回仅静态。SYSTEM_PROMPT=[]未消费,USER_PROMPT142→89 Set提示词、TYPE163→103 Set type、LENGTH140→87 Set length、IMAGES141→88、AUDIO139→86、VIDEO147→95;IMAGE_INDEXES缺links。不执行索引/裁音/视频/提示重写,不认证当前素材列表非空或自动任务执行。",
"100": "41 TRACKS_INFO158/159分别给98信息和100任务,IMAGE160/AUDIO161/VIDEO162也给100。98/100独立准确829a,不继承41 fcfa或85 9d。98 parse JSON失败回{},返回width/height/total_length/frame_rate及任务计数,函数取缺省544/960/121/24不等于本图当前值;输出width144→91 Set width、height143→90 Set height、fps145→92 Set fps,TOTAL_FRAMES缺links、TASK_COUNT=[],不改形态或认证任务已运行。 100保存task_index0/prompt_format api,准确schema索引默认0/min0,格式含default及api/llm等,api只是格式字符串,不是本次访问API。实现解包tracks_info、task按start_frame排序/marker区间选取、索引限制到存在任务,长度含端点等条件独立,图片media_index/音视频输出索引与裁剪/重叠/音量条件、build_prompt_request与api/llm格式返回仅静态。SYSTEM_PROMPT=[]未消费,USER_PROMPT142→89 Set提示词、TYPE163→103 Set type、LENGTH140→87 Set length、IMAGES141→88、AUDIO139→86、VIDEO147→95;IMAGE_INDEXES缺links。不执行索引/裁音/视频/提示重写,不认证当前素材列表非空或自动任务执行。",
"103": "100保存task_index0/prompt_format api,准确schema索引默认0/min0,格式含default及api/llm等,api只是格式字符串,不是本次访问API。实现解包tracks_info、task按start_frame排序/marker区间选取、索引限制到存在任务,长度含端点等条件独立,图片media_index/音视频输出索引与裁剪/重叠/音量条件、build_prompt_request与api/llm格式返回仅静态。SYSTEM_PROMPT=[]未消费,USER_PROMPT142→89 Set提示词、TYPE163→103 Set type、LENGTH140→87 Set length、IMAGES141→88、AUDIO139→86、VIDEO147→95;IMAGE_INDEXES缺links。不执行索引/裁音/视频/提示重写,不认证当前素材列表非空或自动任务执行。",
"87": "100保存task_index0/prompt_format api,准确schema索引默认0/min0,格式含default及api/llm等,api只是格式字符串,不是本次访问API。实现解包tracks_info、task按start_frame排序/marker区间选取、索引限制到存在任务,长度含端点等条件独立,图片media_index/音视频输出索引与裁剪/重叠/音量条件、build_prompt_request与api/llm格式返回仅静态。SYSTEM_PROMPT=[]未消费,USER_PROMPT142→89 Set提示词、TYPE163→103 Set type、LENGTH140→87 Set length、IMAGES141→88、AUDIO139→86、VIDEO147→95;IMAGE_INDEXES缺links。不执行索引/裁音/视频/提示重写,不认证当前素材列表非空或自动任务执行。",
"55": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"57": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"59": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"104": "大量Set/Get只有aux KJ无版本,保存同名只名称意图,没有Set→Get物理边;准确schema/默认/范围/映射/宿主恢复与副作用未知,不继承84或53不同KJ提交。Get104 type170覆盖21.substring空串;21保存源string=r2v,rv2v与case_sensitive true。准确core0.30.2 StringContains按substring in string,非敏感时两串lower;这里只显示原字符串和条件,不运行判断或认证当前模式。BOOLEAN37→25表达式原串a,25 INT38覆盖23.start_index缓存0,FLOAT/BOOL出口缺links;表达式只文本不求值/算索引。",
"21": "大量Set/Get只有aux KJ无版本,保存同名只名称意图,没有Set→Get物理边;准确schema/默认/范围/映射/宿主恢复与副作用未知,不继承84或53不同KJ提交。Get104 type170覆盖21.substring空串;21保存源string=r2v,rv2v与case_sensitive true。准确core0.30.2 StringContains按substring in string,非敏感时两串lower;这里只显示原字符串和条件,不运行判断或认证当前模式。BOOLEAN37→25表达式原串a,25 INT38覆盖23.start_index缓存0,FLOAT/BOOL出口缺links;表达式只文本不求值/算索引。",
"25": "大量Set/Get只有aux KJ无版本,保存同名只名称意图,没有Set→Get物理边;准确schema/默认/范围/映射/宿主恢复与副作用未知,不继承84或53不同KJ提交。Get104 type170覆盖21.substring空串;21保存源string=r2v,rv2v与case_sensitive true。准确core0.30.2 StringContains按substring in string,非敏感时两串lower;这里只显示原字符串和条件,不运行判断或认证当前模式。BOOLEAN37→25表达式原串a,25 INT38覆盖23.start_index缓存0,FLOAT/BOOL出口缺links;表达式只文本不求值/算索引。",
"23": "大量Set/Get只有aux KJ无版本,保存同名只名称意图,没有Set→Get物理边;准确schema/默认/范围/映射/宿主恢复与副作用未知,不继承84或53不同KJ提交。Get104 type170覆盖21.substring空串;21保存源string=r2v,rv2v与case_sensitive true。准确core0.30.2 StringContains按substring in string,非敏感时两串lower;这里只显示原字符串和条件,不运行判断或认证当前模式。BOOLEAN37→25表达式原串a,25 INT38覆盖23.start_index缓存0,FLOAT/BOOL出口缺links;表达式只文本不求值/算索引。 23准确Easy595e promptLine保存两行multi_frames真实LF reference,22码点/LF1/字面反斜杠n0,SHAa5654902d033099782a64ae90cfbc3a7961fe4cbff9b2cf5249920f875c60a9c。start_index0/max_rows1000/remove_empty_lines空串/额外get values from COMBO link空串均原样。准确schema Boolean remove_empty_lines默认True,与源JSON str空串差异不修;额外COMBO辅助后端无schema,不补字段。execute split LF、条件去空、限制起止索引并返回相同rows两路输出列表;源STRING=[]未接,COMBO165覆盖85.mode缓存reference。未运行行选择/布尔强转,不保证自动模式或把空串冒充false布尔。",
"53": "84准确KJ35e595 sage_attention auto/allow_compile false;schema sage_attention默认False但枚举是disabled/auto/多个sage实现,接口默认与源字符串分列。disabled直接返回原model,其它clone并设置optimized_attention_override;auto导入sageattention,allow_compile条件只源码参考,不安装库/编译/执行attention/GPU,不以文件名认证兼容/显存。53 resize独立KJ eb356,不传播版本或套b8b/2bf/60cd。 同一82 LATENT117/119分别进入62视频VAE/67音频VAE解码,VAE Get65/63各118/120仅名字意图。准确core0.29 ConditioningZeroOut零条件仅静态。VAEDecode遇latent.is_nested取unbind()[0]后decode并合并5D批次;VAEDecodeAudio的helper直接decode(samples[samples]),没有对应nested音频拆分,按std归一化并返回waveform/sample_rate。视频/音频分支准确实现差异保留,不把同一潜变量双解码的物理线当两者兼容保证,不运行清零/采样/双解码或认证音轨/同步。62 IMAGE109→53 resize,不是两个采样出口或两段采样。 53准确KJ eb356 ImageResizeKJv2八保存[int1920,int1920,nvidia_rtx_vsr,resize,完整字符串0, 0, 0,center,int32,cpu],pad_color含逗号空格为一项,不能拆三参数。mask=null,width/height/mask额外输出缺links未消费;对齐/resize/pad/crop等条件和keep_proportion schema枚举却默认False的差异另核。nvidia_rtx_vsr分支尝试import nvvfx,缺库会ImportError,需要兼容NVIDIA GPU,VideoSuperRes ULTRA上下文/load及8对齐只是静态条件;device cpu原值不保证CPU可替代该GPU路径。不获取运行库/驱动/模型或执行缩放,不称已输出1920/mask有效/显存足够。 53 IMAGE155与67 AUDIO156→102 CreateVideo,Get68 fps157覆盖fps缓存JSON int30,bit_depth JSON int8独立;轨道state frame_rate24、cache30与未知别名外线不手算/归一化。准确core0.30.2 CreateVideo fps FLOAT默认30.0/1..120/step1、bit_depth可选INT默认8/8..10/step2,构建VideoFromComponents(帧/音轨/Fraction(fps),bit_depth),本身不证明已编码落盘或真实色深/音轨/同步。",
"93": "MODEL69 fl2va UNET129→84原拼PathchSageAttentionKJ准确35e595→113→60 UniBlockSwap4172→114→61.on_true,同时84未swap输出115→61.on_false。Get79开启swap116覆盖61.boolean缓存false。93原件PrimitiveBoolean真实保存false(预读true已纠正)→150→99 Set开启swap,仅别名意图,不补99→79边/认证实际分支;源两处false与图名不当关闭后无副作用证明。",
"99": "MODEL69 fl2va UNET129→84原拼PathchSageAttentionKJ准确35e595→113→60 UniBlockSwap4172→114→61.on_true,同时84未swap输出115→61.on_false。Get79开启swap116覆盖61.boolean缓存false。93原件PrimitiveBoolean真实保存false(预读true已纠正)→150→99 Set开启swap,仅别名意图,不补99→79边/认证实际分支;源两处false与图名不当关闭后无副作用证明。",
"41": "41 easy multiTrackEditor准确fcfa,四保存832 x 480 (16:9)/stretch/MiniMax/完整track_data原字符串。track_data33909码点、真实CR/LF0、字面反斜杠n393、无尾LF,SHAf0211b1d8337905469ad76c940d9018a4e58b584a5c5af66e435ce53e4c05f64;原串与原具名独立保存,不解析后覆盖或改键序。所有嵌套prompt/素材引用/属性/空白/转义完整保留,按原串与渲染UTF8 SHA核,不称逐字目验长文。 状态仅静态解析:muted false/volume_db JSON int0/task_markers[]/task_overview false/total_length120/frame_rate24,两tracks,task轨一个start_frame0/end_frame120的segment,video轨无segment。内含完整system/user prompt等作者脚本,只作数据,不执行指令/构造prompt/调用LLM。静态键检查未见凭据字段,不访问任何素材URL/文件/目录/媒体,不把保存轨段当实际生成或已接120帧,不创建多轨编辑器/canvas/media/iframe。 41准确后端is_input_list;resolution DynamicCombo包含分辨率及resize_method子输入、format默认Wan(源MiniMax不是默认)、TRACK_DATA自定义输入,prompt_override/image/audio/video为optional。execute解包列表、parse原状态,非空override可改构造数据,随后_build_tracks_info_and_media_outputs决定tracks_info和媒体列表。MiniMax配置target_rate24、尺寸网格32与frames(17,5),会根据轨段/任务时长和格式条件对帧数做处理;源total_length120不直接当输出帧数,也不手算本图最终结果。精确前端注册TRACK_DATA React widget、默认状态/normalize及serializeValue返回currentValue文本协议已列,未执行前端或恢复认证。 41 TRACKS_INFO158/159分别给98信息和100任务,IMAGE160/AUDIO161/VIDEO162也给100。98/100独立准确829a,不继承41 fcfa或85 9d。98 parse JSON失败回{},返回width/height/total_length/frame_rate及任务计数,函数取缺省544/960/121/24不等于本图当前值;输出width144→91 Set width、height143→90 Set height、fps145→92 Set fps,TOTAL_FRAMES缺links、TASK_COUNT=[],不改形态或认证任务已运行。",
"105": "根56节点54物理边,全mode0、无子图,51具名。89根列表位置=str66/int18/bool4/null1,无字典保存和标准Note。62/67/70/98/105五处缺widgets/具名键,不补[]/null。105 Label (rgthree)无cnr/aux/ver,字体/颜色/UE/flags等完整原属性保留,仅名称不绑定rgthree旧类,不造控件或认证实际样式行为。",
"69": "MODEL69 fl2va UNET129→84原拼PathchSageAttentionKJ准确35e595→113→60 UniBlockSwap4172→114→61.on_true,同时84未swap输出115→61.on_false。Get79开启swap116覆盖61.boolean缓存false。93原件PrimitiveBoolean真实保存false(预读true已纠正)→150→99 Set开启swap,仅别名意图,不补99→79边/认证实际分支;源两处false与图名不当关闭后无副作用证明。 54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"54": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"76": "61准确Easy595e IfElse与130c分开核,Boolean schema无显式default,on_true/on_false lazy;check_lazy_status按布尔请求所选缺支,函数签名boolean=True不是schema默认,execute直接按bool返回对应支。源false受116覆盖,不做选择。61输出122→76普通LoraLoaderModelOnly(不是Bypass)→123→77 Set model;78 Get model124才给82。76准确core0.30.2普通LoRA强度FLOAT默认1.0/-100..100/step0.01,源JSON int1与8step文件名原样;父类路径缓存/安全加载/模型补丁只静态,不证明安装/兼容/8步效果。",
"56": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"58": "54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。"
}
@@ -0,0 +1,17 @@
[
{
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_director_one_fixed_document.py calliope-backend/tests/test_workflow_library.py -q",
"exit_code": 0,
"log": "backend-tests.txt"
},
{
"command": "uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/director-one-document-evidence/*.py calliope-backend/tests/test_director_one_fixed_document.py e2e/run-director-one-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 0,
"log": "ruff-entry.txt"
},
{
"command": "uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/director-one-document-evidence/*.py calliope-backend/tests/test_director_one_fixed_document.py e2e/run-director-one-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 0,
"log": "format-entry.txt"
}
]
@@ -0,0 +1,6 @@
FETCH media85 9d0282d4e19ef2718c084edf55864dfb4533032f 3
FETCH mediaout 829a7a6030b151cb6ac091595570eb3a3d8c4512 5
FETCH swap 4172da4e2edc03951ffead12ca1c20a0028d3cb0 2
FETCH mediaeditor fcfa42394d6347b4f04295041afdd7d92ba78c12 7
FETCH kjpatch 35e5956193769d18a13136cdedb73a36a05c73e6 1
FETCH easy 595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7 2
@@ -0,0 +1,5 @@
FETCH easy 595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7 2
FETCH core0290 a8c44f9b2a0678ac4082e3529a3f43db7472acfe 2
FETCH mediaout 829a7a6030b151cb6ac091595570eb3a3d8c4512 9
FETCH mediaeditor fcfa42394d6347b4f04295041afdd7d92ba78c12 9
FETCH core0302 dec5d9450a5290bcf63430409ea41018e67f41c3 4
File diff suppressed because it is too large Load Diff
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...
9:14:46 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
https://svelte.dev/e/element_invalid_self_closing_tag
343: <div class="page-pad">
344: <Skeleton height="64px" />
345: <div class="gap" />
^
346: <Skeleton height="280px" />
347: </div>
9:14:46 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...
9:14:49 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
https://svelte.dev/e/element_invalid_self_closing_tag
343: <div class="page-pad">
344: <Skeleton height="64px" />
345: <div class="gap" />
^
346: <Skeleton height="280px" />
347: </div>
9:14:49 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
https://svelte.dev/e/a11y_media_has_caption
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
155: {#if shot.job?.status === 'done' && shot.job.output}
156: <video
^
157: class="vshot-video"
158: src={assetUrl(shot.job.output) ?? undefined}
✓ 763 modules transformed.
rendering chunks...
computing gzip size...
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
.svelte-kit/output/client/.vite/manifest.json 26.73 kB │ gzip: 3.24 kB
.svelte-kit/output/client/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/assets/12.IyyrLGyK.css 0.22 kB │ gzip: 0.15 kB
.svelte-kit/output/client/_app/immutable/assets/6.C62bpzl4.css 0.22 kB │ gzip: 0.15 kB
.svelte-kit/output/client/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB │ gzip: 0.22 kB
.svelte-kit/output/client/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB │ gzip: 0.34 kB
.svelte-kit/output/client/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB │ gzip: 0.31 kB
.svelte-kit/output/client/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB │ gzip: 0.37 kB
.svelte-kit/output/client/_app/immutable/assets/ConfirmDialog.DOfiQL0c.css 0.91 kB │ gzip: 0.38 kB
.svelte-kit/output/client/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB │ gzip: 0.58 kB
.svelte-kit/output/client/_app/immutable/assets/18.DG2SembM.css 1.87 kB │ gzip: 0.70 kB
.svelte-kit/output/client/_app/immutable/assets/ImageLightbox.BK2SuPZK.css 2.20 kB │ gzip: 0.72 kB
.svelte-kit/output/client/_app/immutable/assets/10.-McisAlK.css 4.49 kB │ gzip: 1.20 kB
.svelte-kit/output/client/_app/immutable/assets/15.Do7_3xO3.css 4.84 kB │ gzip: 1.32 kB
.svelte-kit/output/client/_app/immutable/assets/ComfyDynamicForm.BMZDOzpt.css 4.86 kB │ gzip: 1.14 kB
.svelte-kit/output/client/_app/immutable/assets/16.D3s-Wa9z.css 5.02 kB │ gzip: 1.31 kB
.svelte-kit/output/client/_app/immutable/assets/AgentComposer.ub9gqAax.css 6.39 kB │ gzip: 1.59 kB
.svelte-kit/output/client/_app/immutable/assets/4.D4ArXiOU.css 10.48 kB │ gzip: 2.23 kB
.svelte-kit/output/client/_app/immutable/assets/11.CkE-wdAx.css 10.49 kB │ gzip: 2.33 kB
.svelte-kit/output/client/_app/immutable/assets/3.CU9FCfPU.css 10.86 kB │ gzip: 2.39 kB
.svelte-kit/output/client/_app/immutable/assets/AgentChat.DoddhUHp.css 11.39 kB │ gzip: 2.53 kB
.svelte-kit/output/client/_app/immutable/assets/AppShell.BDTKT42t.css 12.74 kB │ gzip: 2.91 kB
.svelte-kit/output/client/_app/immutable/assets/5.CYAHcbnz.css 15.04 kB │ gzip: 3.15 kB
.svelte-kit/output/client/_app/immutable/assets/0.DtQ4sRph.css 19.40 kB │ gzip: 4.66 kB
.svelte-kit/output/client/_app/immutable/assets/StudioGenerate.DLzq3T0v.css 21.08 kB │ gzip: 4.13 kB
.svelte-kit/output/client/_app/immutable/assets/19.DdIn3xwb.css 22.49 kB │ gzip: 3.73 kB
.svelte-kit/output/client/_app/immutable/assets/8.F76ywLuB.css 28.78 kB │ gzip: 5.24 kB
.svelte-kit/output/client/_app/immutable/assets/7._yLDI1qf.css 31.71 kB │ gzip: 5.43 kB
.svelte-kit/output/client/_app/immutable/nodes/5.DUJAhBNk.js 0.09 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/Bzak7iHL.js 0.10 kB │ gzip: 0.10 kB
.svelte-kit/output/client/_app/immutable/chunks/DTQKaZHR.js 0.10 kB │ gzip: 0.11 kB
.svelte-kit/output/client/_app/immutable/chunks/IKQcdn9t.js 0.12 kB │ gzip: 0.12 kB
.svelte-kit/output/client/_app/immutable/entry/start.B5oZu4lp.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.PsVllMPH.js 0.16 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/nodes/9.CjdoN5hk.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/DABlDART.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.B0XSfETQ.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.Cpz5v1n9.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.BWuZmRbj.js 1.18 kB │ gzip: 0.71 kB
.svelte-kit/output/client/_app/immutable/chunks/Dp1pzeXC.js 1.27 kB │ gzip: 0.73 kB
.svelte-kit/output/client/_app/immutable/nodes/6.BnlRzsI4.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/B-rgtBzk.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.78uZ3P3u.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/B7zopYYb.js 6.86 kB │ gzip: 3.09 kB
.svelte-kit/output/client/_app/immutable/chunks/B0Wlifky.js 9.22 kB │ gzip: 2.13 kB
.svelte-kit/output/client/_app/immutable/nodes/16.Bz5rI2iC.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.Bh-VLBSt.js 11.97 kB │ gzip: 4.01 kB
.svelte-kit/output/client/_app/immutable/nodes/0.CcvzD77g.js 12.03 kB │ gzip: 4.41 kB
.svelte-kit/output/client/_app/immutable/nodes/10.CTZKwMw6.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.BTIACauN.js 23.02 kB │ gzip: 7.51 kB
.svelte-kit/output/client/_app/immutable/chunks/DEUDm9Y2.js 23.98 kB │ gzip: 9.32 kB
.svelte-kit/output/client/_app/immutable/nodes/11.L9H67vfn.js 24.95 kB │ gzip: 8.35 kB
.svelte-kit/output/client/_app/immutable/nodes/3.CsQV3_c-.js 25.68 kB │ gzip: 8.33 kB
.svelte-kit/output/client/_app/immutable/nodes/4.vnH9DeZL.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/DcbXV2hC.js 38.54 kB │ gzip: 13.85 kB
.svelte-kit/output/client/_app/immutable/chunks/CPluiqx0.js 41.30 kB │ gzip: 15.68 kB
.svelte-kit/output/client/_app/immutable/nodes/19.Cc0v-LGg.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/99skuD3J.js 81.38 kB │ gzip: 27.49 kB
.svelte-kit/output/client/_app/immutable/nodes/8.Bpgeojje.js 86.49 kB │ gzip: 28.96 kB
.svelte-kit/output/client/_app/immutable/nodes/7.ChQSwnDJ.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.90s
.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 7.11s
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-static
Wrote site to "build"
✔ done
@@ -0,0 +1,771 @@
{
"base": "e52a0cfc08780473355d10dc600c0d08742a6c3b",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/__init__.py",
"sha256": "1d3488bcc2eadcd8a8f2e84ab4f6e9bdf52096b8af637c4da399db041d5a0543"
},
{
"path": "calliope-backend/src/calliope/comfyui/client.py",
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
},
{
"path": "calliope-backend/src/calliope/comfyui/companions.py",
"sha256": "7dde205059bf489e3d39539a8b42333b3947c3989d890441f70a45cf67d9ab04"
},
{
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.json",
"sha256": "3a85718f877a63be54c843e2610b24dcc3013a6011f705d6348c91e2c7f78fd6"
},
{
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.py",
"sha256": "0b849256dbb06f709c1ba856c34b3df04d2fccf09984a6e1fe1284b792eaf867"
},
{
"path": "calliope-backend/src/calliope/comfyui/dry_run.py",
"sha256": "f8bf4d1b91d959044de1dbc4aeb11bf0bb521f51f1928d36a46c670381a08ed7"
},
{
"path": "calliope-backend/src/calliope/comfyui/endpoints.py",
"sha256": "fc99a623850b581ae38843bbc3baf1b71ca9fd633e6103a34cb809a345e5a647"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
},
{
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
},
{
"path": "calliope-backend/src/calliope/comfyui/library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
},
{
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
},
{
"path": "calliope-backend/src/calliope/comfyui/lint.py",
"sha256": "9b79bf162e13fb68321727fb17f96d6fc0c217d60db85de38235c4270bf9b4e3"
},
{
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
},
{
"path": "calliope-backend/src/calliope/comfyui/parser.py",
"sha256": "a02d583c6a1cf7f85e77341a20308823771c233fb95241118a264e202a5230a0"
},
{
"path": "calliope-backend/src/calliope/comfyui/patcher.py",
"sha256": "8ac1417f0f78d952cdb219b10811a6ed7d4ce3bb0d561708858c4a8f5d15b45d"
},
{
"path": "calliope-backend/src/calliope/comfyui/preflight.py",
"sha256": "6629961d33204cbe5b3fc3d8a5a0a4de0c86d235e73f542d191429cf7f4bd2ec"
},
{
"path": "calliope-backend/src/calliope/comfyui/profiles.py",
"sha256": "4ca33343fc3f20e0fb82558cb428548f6415af04fb90213a694fb759515732f2"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
},
{
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
},
{
"path": "calliope-backend/src/calliope/comfyui/registry.py",
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
},
{
"path": "calliope-backend/src/calliope/comfyui/roles.py",
"sha256": "cc0b45eac2d881a6f7cc5ea88ceadb03f71715240a45257fef3a76bfc53d56c4"
},
{
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
},
{
"path": "calliope-backend/src/calliope/comfyui/smart_fill.py",
"sha256": "adc34e80cca7a2b38cc834a713c9e64001caac84413af288389e5554e304bab6"
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.py",
"sha256": "b85e26f1e4fce77f75429b7bc0653401065b2cd28151bdf5d9edc87c096e9419"
},
{
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
},
{
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
},
{
"path": "calliope-backend/src/calliope/comfyui/validate.py",
"sha256": "c27fca69a604705b06809fdd692975ca0e7a08d05d558172962f8910a6a0491d"
},
{
"path": "docs/hel-892/supplied-api/01.api.json",
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
},
{
"path": "docs/hel-892/supplied-api/02.api.json",
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
},
{
"path": "docs/hel-892/supplied-api/03.api.json",
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
},
{
"path": "docs/hel-892/supplied-api/04.api.json",
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
},
{
"path": "docs/hel-892/supplied-api/05.api.json",
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
},
{
"path": "docs/hel-892/supplied-api/06.api.json",
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
},
{
"path": "docs/hel-892/supplied-api/07.api.json",
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
},
{
"path": "docs/hel-892/supplied-api/manifest.json",
"sha256": "f1367b4fa7a8377fb57512d17c80bc697d4d3abd0adb77adc3c06c6dedab69ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
},
{
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
},
{
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
},
{
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
},
{
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
},
{
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
},
{
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
},
{
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
},
{
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
},
{
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
},
{
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
},
{
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
},
{
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
}
],
"original_files": 156,
"all_unchanged": true
}
@@ -0,0 +1,10 @@
{
"get_sha256": "ef263beb20ae246243de9b374e7a12e99890bf865e22d3892b09e432d3200535",
"export_sha256": "aab559d5678c8fc687e32e172565a0ef1f3e3bf42cc172de7dc5ec4d83fd81e0",
"canonical_doc_sha256": "eefab09b36f460a77d1287956ad8ebc99665ed5513a0b70a836d5ed4744902b9",
"doc_json_equals_isolated_export": true,
"workflow_id": 115,
"pins": {
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json": "cb2b4be5be66a7181c1a6c4c53626792e236425cf3d1c3cf8162d4e6dea9e1cf"
}
}
@@ -0,0 +1,18 @@
{
"batch": 138,
"accurate_instances": 24,
"unknown_identity_instances": 32,
"unknown": "31 Set/Get only aux without version and105 Label (rgthree) without cnr/aux/ver; do not bind KJ/rgthree old classes",
"source_conflicts": [
"93 original and named false, instruction preread true corrected",
"core0.29 CLIPLoader type enum and CLIPType lack minimax, load_clip getattr fallback stable_diffusion; not model compatibility",
"core0.29 audio decoder directly decodes samples[samples], unlike video nested first-item extraction",
"core0.30.2 SaveVideo one data Video plus UI PreviewVideo vs source two ports with missing links",
"SaveVideo execute codec dictionary protocol vs source auto string; no restoration authentication",
"promptLine remove_empty_lines Boolean schema vs source empty string; extra COMBO helper absent backend schema",
"UniBlockSwap no-container helper3 tuple vs caller4-unpack; only static interface discrepancy, not executed"
],
"credentials_key_scan": "static keys only, no credential fields found in parsed track_data; text instructions remain data",
"history": "SeedVR/127/132/135/136 and137 Art five unknown first-acquisition times kept; source closure carries137",
"upstream_executed": false
}
@@ -0,0 +1,69 @@
{
"base": "e52a0cfc08780473355d10dc600c0d08742a6c3b",
"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": 89,
"new_notes": 0,
"old_saved": 6727,
"old_notes": 213,
"overviews": 119,
"all_disabled": true,
"doc_done": 0,
"executed": 0
}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
首次静态绑定在82 KSampler处发现两个同名类:准确nodes.py注册节点KSampler和comfy/samplers.py内部KSampler helper。未执行上游。已按节点注册文件nodes.py限定类,内部sampler文件作为必要实现依赖保留,不把其schema当注册节点。原错误AssertionError: (82, source0 lines1580..1607; source2 lines1380..1444)。
@@ -0,0 +1,14 @@
........................................................................ [ 14%]
........................................................................ [ 29%]
........................................................................ [ 43%]
........................................................................ [ 58%]
........................................................................ [ 73%]
........................................................................ [ 87%]
............................................................ [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
492 passed, 1 warning in 8.92s
@@ -0,0 +1,17 @@
[
{
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_director_one_fixed_document.py calliope-backend/tests/test_workflow_library.py -q",
"exit_code": 0,
"log": "backend-tests.txt"
},
{
"command": "uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/director-one-document-evidence/*.py calliope-backend/tests/test_director_one_fixed_document.py e2e/run-director-one-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 1,
"log": "ruff-entry.txt"
},
{
"command": "uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/director-one-document-evidence/*.py calliope-backend/tests/test_director_one_fixed_document.py e2e/run-director-one-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
"exit_code": 0,
"log": "format-entry.txt"
}
]
@@ -0,0 +1,19 @@
F401 [*] `zlib` imported but unused
--> docs/hel-892/director-one-document-evidence/verify_sources.py:5:8
|
3 | import hashlib
4 | import json
5 | import zlib
| ^^^^
6 |
7 | from build_definition import OUT, REF, build, canonical
|
help: Remove unused import: `zlib`
|
4 | import json
- import zlib
5 |
|
Found 1 error.
[*] 1 fixable with the `--fix` option.
@@ -0,0 +1,96 @@
"Independent original bytes and every physical boundary; no layout mapping."
import hashlib
import json
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
PATH = (
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/"
+ "MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json"
)
def inventory():
raw = (ROOT / PATH).read_bytes()
g = json.loads(raw)
(fields, empty, notes, scopes) = ([], [], [], [])
graphs = [("", g)] + [
(f"/definitions/subgraphs/{i}", s)
for (i, s) in enumerate(g.get("definitions", {}).get("subgraphs", []))
]
for prefix, graph in graphs:
scopes.append(
dict(
pointer=prefix or "/",
nodes=len(graph["nodes"]),
edges=len(graph["links"]),
modes=[n["mode"] for n in graph["nodes"]],
named_nodes=sum(("widgets_values_named" in n for n in graph["nodes"])),
)
)
for i, n in enumerate(graph["nodes"]):
p = f"{prefix}/nodes/{i}"
if "widgets_values" not in n or n["widgets_values"] in [None, []]:
empty.append(
dict(
node=n["id"],
pointer=p,
state="missing"
if "widgets_values" not in n
else "null"
if n["widgets_values"] is None
else "empty_list",
)
)
if n["type"] in ["Note", "MarkdownNote"]:
notes.append(
dict(
node=n["id"],
pointer=p + "/widgets_values/0",
text=n["widgets_values"][0],
characters=len(n["widgets_values"][0]),
lf_count=n["widgets_values"][0].count("\n"),
literal_backslash_n=n["widgets_values"][0].count("\\n"),
ends_with_lf=n["widgets_values"][0].endswith("\n"),
named=n.get("widgets_values_named"),
)
)
continue
saved = n.get("widgets_values") or []
entries = saved.items() if isinstance(saved, dict) else enumerate(saved)
for j, v in entries:
fields.append(
dict(
node=n["id"],
pointer=f"{p}/widgets_values/{j}",
value=v,
json_type=type(v).__name__,
scope="root" if not prefix else prefix,
named=n.get("widgets_values_named"),
)
)
return dict(
path=PATH,
sha256=hashlib.sha256(raw).hexdigest(),
git_blob_sha1=hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\x00" + raw).hexdigest(),
fields=fields,
empty=empty,
notes=notes,
scopes=scopes,
extra=g["extra"],
hosts=[n for n in g["nodes"] if n["id"] in [41, 105]],
definition_boundary=[
{k: s[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]}
for s in g.get("definitions", {}).get("subgraphs", [])
],
)
if __name__ == "__main__":
x = inventory()
(OUT / "independent-inventory.json").write_text(
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
)
print("Saved", len(x["fields"]), "notes", len(x["notes"]), "scopes", x["scopes"])
@@ -0,0 +1,11 @@
{
"base": "e52a0cfc08780473355d10dc600c0d08742a6c3b",
"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": 12823,
"allowed_product_resources": [
"calliope-backend/src/calliope/comfyui/fixed_document.py",
"calliope-backend/src/calliope/comfyui/source_reviews.json"
]
}
@@ -0,0 +1,610 @@
[
{
"node_id": "60",
"class_type": "UniBlockSwap",
"source_version": "4172da4e2edc03951ffead12ca1c20a0028d3cb0",
"source_id": "swap",
"candidates": [
{
"source": 73,
"symbol": "UniBlockSwap",
"lines": [
80,
201
]
}
]
},
{
"node_id": "61",
"class_type": "easy ifElse",
"source_version": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
"source_id": "easy",
"candidates": [
{
"source": 23,
"symbol": "IfElse",
"lines": [
897,
920
]
}
]
},
{
"node_id": "62",
"class_type": "VAEDecode",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "VAEDecode",
"lines": [
313,
338
]
}
]
},
{
"node_id": "63",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "64",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "65",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "66",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "67",
"class_type": "VAEDecodeAudio",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 1,
"symbol": "VAEDecodeAudio",
"lines": [
111,
130
]
}
]
},
{
"node_id": "68",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "70",
"class_type": "ConditioningZeroOut",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "ConditioningZeroOut",
"lines": [
272,
295
]
}
]
},
{
"node_id": "71",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "72",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "73",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "74",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "75",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "77",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "78",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "79",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "80",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "81",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "82",
"class_type": "KSampler",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "KSampler",
"lines": [
1580,
1607
]
}
]
},
{
"node_id": "83",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "84",
"class_type": "PathchSageAttentionKJ",
"source_version": "35e5956193769d18a13136cdedb73a36a05c73e6",
"source_id": "kjpatch",
"candidates": [
{
"source": 75,
"symbol": "PathchSageAttentionKJ",
"lines": [
104,
135
]
}
]
},
{
"node_id": "85",
"class_type": "easy minimaxH3ToVideo",
"source_version": "9d0282d4e19ef2718c084edf55864dfb4533032f",
"source_id": "media85",
"candidates": [
{
"source": 59,
"symbol": "EasyMiniMaxH3ToVideo",
"lines": [
583,
770
]
}
]
},
{
"node_id": "86",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "88",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "90",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "91",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "92",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "94",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "95",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "96",
"class_type": "easy seed",
"source_version": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
"source_id": "easy",
"candidates": [
{
"source": 24,
"symbol": "easySeed",
"lines": [
5,
22
]
}
]
},
{
"node_id": "97",
"class_type": "SaveVideo",
"source_version": "0.30.2",
"source_id": "core0302",
"candidates": [
{
"source": 8,
"symbol": "SaveVideo",
"lines": [
75,
149
]
}
]
},
{
"node_id": "98",
"class_type": "easy multiTrackInfoOutput",
"source_version": "829a7a6030b151cb6ac091595570eb3a3d8c4512",
"source_id": "mediaout",
"candidates": [
{
"source": 62,
"symbol": "MultiTrackInfoOutput",
"lines": [
1632,
1670
]
}
]
},
{
"node_id": "102",
"class_type": "CreateVideo",
"source_version": "0.30.2",
"source_id": "core0302",
"candidates": [
{
"source": 8,
"symbol": "CreateVideo",
"lines": [
152,
192
]
}
]
},
{
"node_id": "89",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "100",
"class_type": "easy multiTrackTaskOutput",
"source_version": "829a7a6030b151cb6ac091595570eb3a3d8c4512",
"source_id": "mediaout",
"candidates": [
{
"source": 62,
"symbol": "MultiTrackTaskOutput",
"lines": [
2264,
2439
]
}
]
},
{
"node_id": "103",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "87",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "55",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "57",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "59",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "104",
"class_type": "GetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "21",
"class_type": "StringContains",
"source_version": "0.30.2",
"source_id": "core0302",
"candidates": [
{
"source": 9,
"symbol": "StringContains",
"lines": [
193,
218
]
}
]
},
{
"node_id": "25",
"class_type": "ComfyMathExpression",
"source_version": "0.30.2",
"source_id": "core0302",
"candidates": [
{
"source": 10,
"symbol": "MathExpressionNode",
"lines": [
59,
116
]
}
]
},
{
"node_id": "23",
"class_type": "easy promptLine",
"source_version": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
"source_id": "easy",
"candidates": [
{
"source": 25,
"symbol": "promptLine",
"lines": [
292,
328
]
}
]
},
{
"node_id": "53",
"class_type": "ImageResizeKJv2",
"source_version": "eb356e6cd5dedac54bb84bc54b8da8f185fa8472",
"source_id": "kjresize",
"candidates": [
{
"source": 47,
"symbol": "ImageResizeKJv2",
"lines": [
2913,
3200
]
}
]
},
{
"node_id": "93",
"class_type": "PrimitiveBoolean",
"source_version": "0.30.2",
"source_id": "core0302",
"candidates": [
{
"source": 11,
"symbol": "Boolean",
"lines": [
78,
93
]
}
]
},
{
"node_id": "99",
"class_type": "SetNode",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "41",
"class_type": "easy multiTrackEditor",
"source_version": "fcfa42394d6347b4f04295041afdd7d92ba78c12",
"source_id": "mediaeditor",
"candidates": [
{
"source": 67,
"symbol": "MultiTrackEditor",
"lines": [
1678,
1742
]
}
]
},
{
"node_id": "105",
"class_type": "Label (rgthree)",
"source_version": "未知",
"source_id": "unknown",
"candidates": []
},
{
"node_id": "69",
"class_type": "UNETLoader",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "UNETLoader",
"lines": [
966,
989
]
}
]
},
{
"node_id": "54",
"class_type": "CLIPLoader",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "CLIPLoader",
"lines": [
991,
1016
]
}
]
},
{
"node_id": "76",
"class_type": "LoraLoaderModelOnly",
"source_version": "0.30.2",
"source_id": "core0302",
"candidates": [
{
"source": 7,
"symbol": "LoraLoaderModelOnly",
"lines": [
740,
752
]
}
]
},
{
"node_id": "56",
"class_type": "VAELoader",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "VAELoader",
"lines": [
754,
847
]
}
]
},
{
"node_id": "58",
"class_type": "VAELoader",
"source_version": "0.29.0",
"source_id": "core0290",
"candidates": [
{
"source": 0,
"symbol": "VAELoader",
"lines": [
754,
847
]
}
]
}
]
@@ -0,0 +1,821 @@
{
"base": "e52a0cfc08780473355d10dc600c0d08742a6c3b",
"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": "785194a1f4de9cfb2dc188b7b01556d08947eac903ff90632dd28417b3eb67e4",
"wheel": true,
"sdist": true,
"definitions": 119
},
{
"file": "source_reviews.json",
"sha256": "cff7a9c52b004189243f62f567b2a47905059bbf5e55e00e8a514359ae1d0d52",
"wheel": true,
"sdist": true,
"definitions": 119
},
{
"file": "library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
"wheel": true,
"sdist": true,
"definitions": 119
}
]
@@ -0,0 +1,3 @@
{
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json": "cb2b4be5be66a7181c1a6c4c53626792e236425cf3d1c3cf8162d4e6dea9e1cf"
}
@@ -0,0 +1,12 @@
[
{
"port": 8247,
"connect_ex": 111,
"connection_refused": true
},
{
"port": 5173,
"connect_ex": 111,
"connection_refused": true
}
]
@@ -0,0 +1,79 @@
{
"steps": [
"根56节点54物理边,全mode0、无子图,51具名。89根列表位置=str66/int18/bool4/null1,无字典保存和标准Note。62/67/70/98/105五处缺widgets/具名键,不补[]/null。105 Label (rgthree)无cnr/aux/ver,字体/颜色/UE/flags等完整原属性保留,仅名称不绑定rgthree旧类,不造控件或认证实际样式行为。",
"41 easy multiTrackEditor准确fcfa,四保存832 x 480 (16:9)/stretch/MiniMax/完整track_data原字符串。track_data33909码点、真实CR/LF0、字面反斜杠n393、无尾LF,SHAf0211b1d8337905469ad76c940d9018a4e58b584a5c5af66e435ce53e4c05f64;原串与原具名独立保存,不解析后覆盖或改键序。所有嵌套prompt/素材引用/属性/空白/转义完整保留,按原串与渲染UTF8 SHA核,不称逐字目验长文。",
"状态仅静态解析:muted false/volume_db JSON int0/task_markers[]/task_overview false/total_length120/frame_rate24,两tracks,task轨一个start_frame0/end_frame120的segment,video轨无segment。内含完整system/user prompt等作者脚本,只作数据,不执行指令/构造prompt/调用LLM。静态键检查未见凭据字段,不访问任何素材URL/文件/目录/媒体,不把保存轨段当实际生成或已接120帧,不创建多轨编辑器/canvas/media/iframe。",
"41准确后端is_input_list;resolution DynamicCombo包含分辨率及resize_method子输入、format默认Wan(源MiniMax不是默认)、TRACK_DATA自定义输入,prompt_override/image/audio/video为optional。execute解包列表、parse原状态,非空override可改构造数据,随后_build_tracks_info_and_media_outputs决定tracks_info和媒体列表。MiniMax配置target_rate24、尺寸网格32与frames(17,5),会根据轨段/任务时长和格式条件对帧数做处理;源total_length120不直接当输出帧数,也不手算本图最终结果。精确前端注册TRACK_DATA React widget、默认状态/normalize及serializeValue返回currentValue文本协议已列,未执行前端或恢复认证。",
"41 TRACKS_INFO158/159分别给98信息和100任务,IMAGE160/AUDIO161/VIDEO162也给100。98/100独立准确829a,不继承41 fcfa或85 9d。98 parse JSON失败回{},返回width/height/total_length/frame_rate及任务计数,函数取缺省544/960/121/24不等于本图当前值;输出width144→91 Set width、height143→90 Set height、fps145→92 Set fps,TOTAL_FRAMES缺links、TASK_COUNT=[],不改形态或认证任务已运行。",
"100保存task_index0/prompt_format api,准确schema索引默认0/min0,格式含default及api/llm等,api只是格式字符串,不是本次访问API。实现解包tracks_info、task按start_frame排序/marker区间选取、索引限制到存在任务,长度含端点等条件独立,图片media_index/音视频输出索引与裁剪/重叠/音量条件、build_prompt_request与api/llm格式返回仅静态。SYSTEM_PROMPT=[]未消费,USER_PROMPT142→89 Set提示词、TYPE163→103 Set type、LENGTH140→87 Set length、IMAGES141→88、AUDIO139→86、VIDEO147→95;IMAGE_INDEXES缺links。不执行索引/裁音/视频/提示重写,不认证当前素材列表非空或自动任务执行。",
"大量Set/Get只有aux KJ无版本,保存同名只名称意图,没有Set→Get物理边;准确schema/默认/范围/映射/宿主恢复与副作用未知,不继承84或53不同KJ提交。Get104 type170覆盖21.substring空串;21保存源string=r2v,rv2v与case_sensitive true。准确core0.30.2 StringContains按substring in string,非敏感时两串lower;这里只显示原字符串和条件,不运行判断或认证当前模式。BOOLEAN37→25表达式原串a,25 INT38覆盖23.start_index缓存0,FLOAT/BOOL出口缺links;表达式只文本不求值/算索引。",
"23准确Easy595e promptLine保存两行multi_frames真实LF reference,22码点/LF1/字面反斜杠n0,SHAa5654902d033099782a64ae90cfbc3a7961fe4cbff9b2cf5249920f875c60a9c。start_index0/max_rows1000/remove_empty_lines空串/额外get values from COMBO link空串均原样。准确schema Boolean remove_empty_lines默认True,与源JSON str空串差异不修;额外COMBO辅助后端无schema,不补字段。execute split LF、条件去空、限制起止索引并返回相同rows两路输出列表;源STRING=[]未接,COMBO165覆盖85.mode缓存reference。未运行行选择/布尔强转,不保证自动模式或把空串冒充false布尔。",
"MODEL69 fl2va UNET129→84原拼PathchSageAttentionKJ准确35e595→113→60 UniBlockSwap4172→114→61.on_true,同时84未swap输出115→61.on_false。Get79开启swap116覆盖61.boolean缓存false。93原件PrimitiveBoolean真实保存false(预读true已纠正)→150→99 Set开启swap,仅别名意图,不补99→79边/认证实际分支;源两处false与图名不当关闭后无副作用证明。",
"84准确KJ35e595 sage_attention auto/allow_compile false;schema sage_attention默认False但枚举是disabled/auto/多个sage实现,接口默认与源字符串分列。disabled直接返回原model,其它clone并设置optimized_attention_override;auto导入sageattention,allow_compile条件只源码参考,不安装库/编译/执行attention/GPU,不以文件名认证兼容/显存。53 resize独立KJ eb356,不传播版本或套b8b/2bf/60cd。",
"60准确UniBlockSwap4172 aux smthemex,派生registry端点404只本次线索,不否定aux准确Git仓/commit。num_blocks INT默认-1/min-1/max10000/step1;0原样返回,-1在发现容器时覆盖所有块,正值有裁界条件。实现clone、备份处理、其它模型移CPU/cache清理、install_block_swap和ON_LOAD/ON_CLEANUP/GGUF回调。容器按blocks/transformer_blocks/double_blocks/single_blocks/input_blocks/output_blocks/middle_block/layers/double_stream_layers/single_stream_layers/block及ModuleList/forward条件发现,不由MiniMax文件名保证架构支持。无容器分支install返回3项,而调用解包4项,保留准确静态接口差异,不执行验证或承诺可运行/节省显存,不执行迁移/卸载/清理。",
"61准确Easy595e IfElse与130c分开核,Boolean schema无显式default,on_true/on_false lazy;check_lazy_status按布尔请求所选缺支,函数签名boolean=True不是schema默认,execute直接按bool返回对应支。源false受116覆盖,不做选择。61输出122→76普通LoraLoaderModelOnly(不是Bypass)→123→77 Set model;78 Get model124才给82。76准确core0.30.2普通LoRA强度FLOAT默认1.0/-100..100/step0.01,源JSON int1与8step文件名原样;父类路径缓存/安全加载/模型补丁只静态,不证明安装/兼容/8步效果。",
"54 CLIP→110→55 Set clip,56/58视频/音频VAE→111/112→57/59 Set vae_video/vae_audio,与Get75/74/73的130/131/132进85分列,Get65/63给解码仅名称意图,不认证恢复。69/54/56/58准确core0.29各动态文件枚举/dtype、CLIP枚举和加载条件逐本版核:准确0.29 CLIPLoader的type枚举不含源minimax,comfy.sd.CLIPType也无MINIMAX,load_clip使用getattr(type.upper(), STABLE_DIFFUSION)回退,保存值与接口冲突不修/不认证支持;源模型名/目录只是引用,不遍历目录/取权重或当机器安装、许可/兼容证据。",
"85准确EasyMedia9d0282 EasyMiniMaxH3ToVideo:源空prompt/reference/960/544/22/match;Get81提示词135覆盖prompt、23 COMBO165覆盖mode、Get80/64/66外线136/137/138覆盖宽高长度、Get72images133/Get71audio134给图音,videos=null未接。95保存任务VIDEO并不等于85接视频。准确schema mode reference/multi_frames,width/height默认1344/768步32、length默认124/5..3600/step17和match/max参考策略与原缓存分列,不手算像素/帧数/时长。",
"85准确实现enable_expand/is_input_list,展开IMAGE批次/媒体列表;multi_frames不允许videos/audios,multi_frames或所有参考为空时构造MiniMaxH3ImageToVideo子图,图像首/末帧取首尾;reference分支限制9图/3视频/3音频、有独立音频需audio_vae、视频GetVideoComponents及Reference桥接。返回positive/latent两路并expand graph.finalize,不执行GraphBuilder或构造本图prompt/子图,不借名字认证当前分支/参考素材/模型支持。positive121→70 ConditioningZeroOut作negative126,同时positive125直给82;LATENT127才是82起点。",
"82准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1;准确枚举/范围/默认与源类型独立,Get83 seed128覆盖缓存。96准确Easy595e easySeed类(不是globalSeed)原387782047472665/randomize/末尾null→146→94 Set seed;后端仅seed INT及隐藏元数据、doit返回传入seed,不自行随机。control_after_generate/手动随机辅助null独立前端保存,v1 seed脚本条件与当前web默认版本分开,不借后端补第三字段/执行随机或保证复现。",
"同一82 LATENT117/119分别进入62视频VAE/67音频VAE解码,VAE Get65/63各118/120仅名字意图。准确core0.29 ConditioningZeroOut零条件仅静态。VAEDecode遇latent.is_nested取unbind()[0]后decode并合并5D批次;VAEDecodeAudio的helper直接decode(samples[samples]),没有对应nested音频拆分,按std归一化并返回waveform/sample_rate。视频/音频分支准确实现差异保留,不把同一潜变量双解码的物理线当两者兼容保证,不运行清零/采样/双解码或认证音轨/同步。62 IMAGE109→53 resize,不是两个采样出口或两段采样。",
"53准确KJ eb356 ImageResizeKJv2八保存[int1920,int1920,nvidia_rtx_vsr,resize,完整字符串0, 0, 0,center,int32,cpu],pad_color含逗号空格为一项,不能拆三参数。mask=null,width/height/mask额外输出缺links未消费;对齐/resize/pad/crop等条件和keep_proportion schema枚举却默认False的差异另核。nvidia_rtx_vsr分支尝试import nvvfx,缺库会ImportError,需要兼容NVIDIA GPU,VideoSuperRes ULTRA上下文/load及8对齐只是静态条件;device cpu原值不保证CPU可替代该GPU路径。不获取运行库/驱动/模型或执行缩放,不称已输出1920/mask有效/显存足够。",
"53 IMAGE155与67 AUDIO156→102 CreateVideo,Get68 fps157覆盖fps缓存JSON int30,bit_depth JSON int8独立;轨道state frame_rate24、cache30与未知别名外线不手算/归一化。准确core0.30.2 CreateVideo fps FLOAT默认30.0/1..120/step1、bit_depth可选INT默认8/8..10/step2,构建VideoFromComponents(帧/音轨/Fraction(fps),bit_depth),本身不证明已编码落盘或真实色深/音轨/同步。",
"102 VIDEO148→97 SaveVideo,源三保存video/ComfyUI/auto/auto;两个VIDEO出口都缺links,name相同而label等原属性差异保留。准确core0.30.2 SaveVideo只有一个Video数据输出加UI PreviewVideo;format普通Combo枚举/codec DynamicCombo字典协议(execute取codec[codec]及encoding/crf)与源auto字符串保存分列,不认证frontend已转换字典或补字段。h264子选择encoding auto/re-encode、CRF23.0/0..51条件和隐藏prompt/extra_pnginfo受disable_metadata控制、目录命名/计数/video.save_to仅静态,不沿用其它版本或执行编码/媒体/文件输出。",
"FAQ:93保存true吗?原件和具名均false,已独立纠正预读;但不能由此推断Get79恢复或61实际分支。为什么120不能当生成帧数?状态只是保存态,准确Editor/Task/MiniMax接口还有条件帧网格/端点协议,未执行或手算。为什么任务VIDEO未送85?源videos=null,Get95是另一名称意图。SaveVideo两个源口是否两个文件?不是准确后端输出协议,源声明差异保持。轨道里的系统提示是否要求本次重写?只是原数据,不执行其指令。",
"旧118块6727保存条目/213标准注释及其它155对象冻结;新增89后累计119参考6816条目/213标准注释,剩36张。155最终定稿、可靠转换、目标环境核对与必要实跑未完成,最终定稿/新增转换/真实生成0,全停用未检查/空时间戳不变。",
"仅必要准确源码/许可/身份元数据,复用字节逐图绑定,首次未知不补造、复核另列。保留SeedVR越界及删除、127错误GET/取消Git grep可能额外blob、132/135猜测路径、136 SoundFlow404、137 Art五成员首取未知及原失败日志。不连接目标/请求定义/启停TTS或ComfyUI,不构造prompt/执行上游/EasyMedia/SDK/swap/attention/字符串判断/表达式/索引/随机/采样/模型/GPU/缩放/图像音视频/预览/别名/清理,不访问云API/模型目录/在线库、取资产/整包/字体运行库、增依赖付费、合并部署,当前无需材料或机器窗口。"
],
"overview": "多轨保存态经信息/任务输出提供提示、模式和素材的别名意图,外线控制单个KSampler;同一潜变量分别作视频和音频解码,图像经KJ resize后与音轨合成VIDEO,再送SaveVideo。三组EasyMedia版本独立、Set/Get无版本未知,完整轨道和系统提示只文本,不创建编辑器或认证生成。",
"notes": {},
"field_meta": {
"easy promptLine": {
"remove_empty_lines": {
"default": "准确595e Boolean默认True;源JSON str空串不改",
"limits": "源类型/准确schema差异分列,未认证Boolean恢复或强转",
"unit": "布尔接口的源字符串保存,无物理单位"
},
"get values from COMBO link": {
"default": "准确后端无此额外辅助字段",
"limits": "只前端原保存空串,不补后端映射",
"unit": "辅助字符串,无物理单位"
}
},
"easy seed": {
"🎲 Manual Random Seed": {
"default": "准确后端只有seed与隐藏元数据,无此辅助schema",
"limits": "末位null完整保留,不执行手动随机或补默认",
"unit": "辅助null,无物理单位"
}
},
"SaveVideo": {
"codec": {
"default": "源前端auto字符串;准确后端期待DynamicCombo字典协议",
"limits": "execute取codec[codec]和encoding/crf;未认证源auto串到字典恢复",
"unit": "编码选择,无物理单位"
}
},
"easy multiTrackEditor": {
"resolution.resize_method": {
"default": "准确fcfa共享resize_method_input默认stretch",
"limits": "动态resolution子输入,原resolution和子字符串独立保存,不执行缩放",
"unit": "尺寸处理枚举"
},
"track_data": {
"default": "准确后端自定义TRACK_DATA无独立default;前端默认生成状态不当本图保存",
"limits": "33909原串不改键序/空白,仅静态解析核原嵌套值,不创建编辑器",
"unit": "完整JSON状态字符串,不是执行结果"
}
},
"easy minimaxH3ToVideo": {
"length": {
"unit": "准确9d接口帧数/17k+5条件,源22缓存受138外线覆盖,不手算输出"
}
},
"CreateVideo": {
"fps": {
"unit": "帧每秒接口,源JSON int30被157覆盖;不由state24推断外线实际值"
}
}
}
}
@@ -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 = "e52a0cfc08780473355d10dc600c0d08742a6c3b"
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 118 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) == 118
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())) == 6727
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": 118,
"old_saved": 6727,
"old_notes": 213,
"new_saved": 89,
"new_notes": 0,
"total_documents": 119,
"total_saved": 6816,
"total_notes": 213,
},
)
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": 89,
"new_notes": 0,
"old_saved": 6727,
"old_notes": 213,
"overviews": 119,
"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": 118,
"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": 119,
}
)
write("package-check.json", packages)
print(f"PASS actual {BASE} upgrade1/skip154, repeat155, rollback1, edits1/29cols")
print("fresh155, 1217/3660/294, 119 definitions, frozen boundaries, wheel/sdist")
if __name__ == "__main__":
main()
@@ -0,0 +1,3 @@
PASS89 positions/89 named/0Note/54edges;24 exact/32 unknown; 93 false corrected
PASS actual e52a0cfc08780473355d10dc600c0d08742a6c3b upgrade1/skip154, repeat155, rollback1, edits1/29cols
fresh155, 1217/3660/294, 119 definitions, frozen boundaries, wheel/sdist
@@ -0,0 +1,144 @@
"Offline batch evidence tooling; no upstream execution."
from __future__ import annotations
import hashlib
import json
from pathlib import Path
OUT = Path(__file__).resolve().parent
def main():
lines = [
"# 导演台文图首尾参考多合一单采样固定参考中文说明",
"",
(
"新增89根列表保存条目(88标量+1null),无标准Note,无子图;原有具名保存逐项核对。旧118块6727保存条目/213注释冻结。"
),
"总119图6816保存条目/213源注释仅参考,155定稿0/实跑0/新增转换0。",
"",
"local_file以docs/hel-892/director-one-document-evidence为基准。",
"提示、指南和历史URL仅源数据;不执行、读取图片或认证模型许可/目标环境。",
"",
]
index = []
for i in range(1):
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
lines += [
"## " + Path(b["source_path"]).stem,
"",
b["user_overview"],
"",
b["notice"],
"",
"源路径:`" + b["source_path"] + "`",
"",
"SHA1:" + b["source_sha1"],
"",
"原字节SHA256:" + b["source_sha256"],
"",
"规范全图SHA256:" + b["canonical_sha256"],
"",
*[v + "\n" for v in b["versions"]],
"### 具体连线与处理条件",
"",
"```json",
json.dumps(b["flow"], ensure_ascii=False, indent=2),
"```",
"",
"### 使用与核对",
"",
*[v + "\n" for v in b["steps"]],
"### 逐保存位置说明",
"",
]
for j, f in enumerate(b["fields"], 1):
lines += [
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
"",
f["effect"],
"",
"```json",
json.dumps(f["value"], ensure_ascii=False, indent=2),
"```",
"",
(f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。"),
"",
"源保存位置:`" + f["pointer"] + "`;源输入口:`" + f["input_pointer"] + "`",
"",
"具名保存位置:`"
+ f.get("named_pointer", "原件无具名保存,不造指针")
+ "`;作用域:"
+ f["scope"],
"",
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
"",
"范围/条件:" + f["limits"],
"",
f["execution_note"],
"",
"依据:",
]
for k in f["evidence"]:
e = b["sources"][k]
lines += [
(
f"- [{k}] {e['claim']};"
f"{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
f"commit {e['commit']};"
f"SHA256 {e['sha256']};"
f"{e['url']}"
)
]
if "named_value" in f and f.get("named_value", "missing:原具名键缺失") != f["value"]:
lines += [
"具名保存完整形态(与位置列表分开保留):",
"",
"```json",
json.dumps(
f.get("named_value", "missing:原具名键缺失"), ensure_ascii=False, indent=2
),
"```",
"",
]
lines += [""]
lines += ["### 零保存节点与源注释", ""]
for z in b["zero_saved_nodes"]:
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
for n in b["comments"]:
lines += [
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
"",
n["meaning"],
"",
"```json",
json.dumps(n["text"], ensure_ascii=False, indent=2),
"```",
"",
]
lines += ["### 固定原件索引", ""]
for k, e in enumerate(b["sources"]):
data = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
lines += [
(
f"{k}. {e['claim']};"
f"{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
f"提交{e['commit']};"
f"SHA256 {e['sha256']};"
f"{e['url']}"
),
"",
]
index.append(dict(document=b["source_path"], **e))
(OUT.parent / "导演台文图首尾参考多合一单采样固定参考中文说明.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 / "导演台文图首尾参考多合一单采样固定参考中文说明.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": 119,
"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": 119,
"repeated_build_equal": true,
"repeated_render_equal": true,
"resource_sha256": "b967266517c6e359fadcd07d5771c42b216f97e02f49dde4156b9eecd0083bdf",
"artifacts": {
"fixed-source-index.json": "73c13aa5c0d342ddcd2c13cb07315e6072f98f3308f5c478476c9df5407faf75",
"导演台文图首尾参考多合一单采样固定参考中文说明.md": "dff7943e7d084c217aa7a00fb6c43a95a4cf022ca850d83309d034619ec94cf4"
}
}
@@ -0,0 +1,15 @@
{
"base": "e52a0cfc08780473355d10dc600c0d08742a6c3b",
"changed_paths": [
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json"
],
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 118,
"old_saved": 6727,
"old_notes": 213,
"new_saved": 89,
"new_notes": 0,
"total_documents": 119,
"total_saved": 6816,
"total_notes": 213
}
@@ -0,0 +1 @@
All checks passed!
@@ -0,0 +1,15 @@
{
"command": [
"git",
"diff",
"--cached",
"--check",
"--",
".",
":(exclude)docs/hel-892/director-one-reference",
":(exclude)docs/hel-892/director-one-document-evidence/*.txt"
],
"exit_code": 0,
"scope": "原始参考文本及原日志*.txt排除空白检查,仍在用途SHA清单内;其余本批代码/JSON/中文说明检查",
"new_png_or_pyc": 0
}
@@ -0,0 +1,71 @@
{
"reviewed_at": "2026-11-01T01:18:59.151123+00:00",
"viewed": [
{
"filename": "1440-115-default.png",
"sha256": "cc4843417b386cdda6b8bde6f2de27fd2aa69bd9c587b9e8397ddc816497b27c"
},
{
"filename": "1440-115-41-track_data-value.png",
"sha256": "4c70d1231c47aeb3ba6c88da11eb1ffb0b8ef8189ad56e828885fea21aee1c9d"
},
{
"filename": "1440-115-54-type.png",
"sha256": "41ba5ec58e1a28697fdaf3367d78264db061e23e1334922fd5f8db6516c3d25f"
},
{
"filename": "1440-115-97-codec.png",
"sha256": "a3e04f557cf8d682f8217c5c9e2e08b0fef5afe8814b680d5527222547e5c7e5"
},
{
"filename": "1440-115-93-value.png",
"sha256": "cf63feff8151873bb0de0432e6089d91aa986c80eb9b7c831193857be38bdb75"
},
{
"filename": "1440-115-53-pad_color.png",
"sha256": "d8cf9d5a60f01c3457143cc214ed31b293a55a97c7057924e60b6640d77fa861"
},
{
"filename": "1440-115-source-chain.png",
"sha256": "5703f56bfbfc2e882a1de3444789cd5cd5619ff2a8b2740e90947d58d140908c"
},
{
"filename": "390-115-default.png",
"sha256": "977d227536e47d60f9dd0c59d6a515cada030886c27ebc39adb9d20df7a87f3a"
},
{
"filename": "390-115-41-track_data-value.png",
"sha256": "052a707aefed862f66e91032ca04a8f4d32c43f5b4f412c28d5ef28de8574714"
},
{
"filename": "390-115-23-prompt.png",
"sha256": "7ffc17a9f043c3f15cba0246ce3dcfb6056a8534fdea0b24acc66eb5f561f17a"
},
{
"filename": "390-115-23-remove_empty_lines.png",
"sha256": "9fbe761dc7703420f0a79dfbb1d4f69ee005d79e05d31cca266b79c747ff49ff"
},
{
"filename": "390-115-96-🎲 Manual Random Seed.png",
"sha256": "73572f75dcf4110a6cb4a1b738f3b77415fcf10d69bfbf01e40fc1976e1d20fe"
},
{
"filename": "390-115-60-num_blocks.png",
"sha256": "0a67ff8d133bfdcdec3983ec67acc9b33584e3512fb2181d842f395fad710e5e"
},
{
"filename": "390-115-53-upscale_method.png",
"sha256": "f49d4913a518cbe21b275944e9f924dacc33389f0210b63302f5cbeedc67bded"
}
],
"method": "实际view_image目验最终14代表图:默认/轨道原文/CLIP冲突/Save协议/false/pad_color/模式两行/null/swap/RTX条件。正文/原值与来源可展开,未见横向溢出,不称长文逐字目验。",
"limitations": "本机字体将原来源键中的骰子emoji显示为缺字方框;中文主标签可读,原UTF8字段/指针和SHA保持。未加字体运行库、改UI或改源名。",
"viewports": [
1440,
390
],
"pin": {
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json": "cb2b4be5be66a7181c1a6c4c53626792e236425cf3d1c3cf8162d4e6dea9e1cf"
},
"not_full_text_manual_transcription": true
}
@@ -0,0 +1,410 @@
INFO: Started server process [1676506]
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:33644 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/115 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/110 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/130 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/127 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/124 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/125 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/126 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/108 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/132 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/131 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/133 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/106 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/63 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/59 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/65 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/60 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/61 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/66 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/71 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/69 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/68 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/67 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/43 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/95 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/88 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/89 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/90 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/96 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/91 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/92 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/102 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/93 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/100 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/98 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/99 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/97 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/101 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/105 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/104 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/103 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/94 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/87 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/86 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/85 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/84 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/74 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33656 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33668 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33684 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:33678 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 127.0.0.1:33692 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:33694 - "GET /api/workflows/115 HTTP/1.1" 200 OK
INFO: 127.0.0.1:33700 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:42044 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:42048 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55310 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55316 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40100 - "GET /api/workflows/110 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40102 - "GET /api/workflows/130 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40106 - "GET /api/workflows/127 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40112 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40120 - "GET /api/workflows/124 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40124 - "GET /api/workflows/125 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40134 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40140 - "GET /api/workflows/126 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40148 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40154 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40160 - "GET /api/workflows/108 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40166 - "GET /api/workflows/132 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40182 - "GET /api/workflows/131 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40198 - "GET /api/workflows/133 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40200 - "GET /api/workflows/106 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40206 - "GET /api/workflows/63 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40212 - "GET /api/workflows/59 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34302 - "GET /api/workflows/65 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34304 - "GET /api/workflows/60 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34306 - "GET /api/workflows/61 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34312 - "GET /api/workflows/66 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34316 - "GET /api/workflows/71 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34322 - "GET /api/workflows/69 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34332 - "GET /api/workflows/68 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34336 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:34338 - "GET /api/workflows/67 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34346 - "GET /api/workflows/43 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34362 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:34370 - "GET /api/workflows/95 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34386 - "GET /api/workflows/88 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34396 - "GET /api/workflows/89 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34404 - "GET /api/workflows/90 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34406 - "GET /api/workflows/96 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34410 - "GET /api/workflows/91 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34416 - "GET /api/workflows/92 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34420 - "GET /api/workflows/102 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34428 - "GET /api/workflows/93 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34436 - "GET /api/workflows/100 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34444 - "GET /api/workflows/98 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34458 - "GET /api/workflows/99 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34468 - "GET /api/workflows/97 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34478 - "GET /api/workflows/101 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43508 - "GET /api/workflows/105 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43514 - "GET /api/workflows/104 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43530 - "GET /api/workflows/103 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43538 - "GET /api/workflows/94 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43552 - "GET /api/workflows/87 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43556 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:43558 - "GET /api/workflows/86 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43566 - "GET /api/workflows/85 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43568 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:43570 - "GET /api/workflows/84 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43578 - "GET /api/workflows/74 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43592 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43604 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43614 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43626 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43634 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43636 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43650 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43666 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43678 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43680 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43694 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43702 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43716 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43730 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55288 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55298 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55304 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55318 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55328 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55336 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55344 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55346 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55358 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55366 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55378 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55392 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55408 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55418 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55434 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55450 - "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:55472 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55478 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55482 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55496 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55498 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55510 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55512 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55524 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55536 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52766 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52778 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:52794 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52806 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52808 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52820 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:52828 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52834 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52836 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52842 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52844 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52856 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52868 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52884 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52894 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52906 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52920 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52934 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52936 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52946 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52952 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52954 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52970 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52980 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52990 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:52996 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:53010 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:53012 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43268 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43270 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:43278 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43294 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43298 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43310 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43324 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43336 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43344 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43354 - "GET /api/workflows/115 HTTP/1.1" 200 OK
INFO: 127.0.0.1:43366 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:43374 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:42854 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:42860 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:42408 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:42418 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:42422 - "GET /api/workflows/110 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42430 - "GET /api/workflows/130 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42436 - "GET /api/workflows/127 HTTP/1.1" 200 OK
INFO: 127.0.0.1:42450 - "GET /api/workflows/124 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36714 - "GET /api/workflows/125 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36722 - "GET /api/workflows/126 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36728 - "GET /api/workflows/109 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36736 - "GET /api/workflows/107 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36742 - "GET /api/workflows/108 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36744 - "GET /api/workflows/132 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36746 - "GET /api/workflows/131 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36762 - "GET /api/workflows/133 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36776 - "GET /api/workflows/106 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36786 - "GET /api/workflows/63 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36788 - "GET /api/workflows/59 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36804 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:36816 - "GET /api/workflows/65 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36818 - "GET /api/workflows/60 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36824 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:36840 - "GET /api/workflows/61 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36842 - "GET /api/workflows/66 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36844 - "GET /api/workflows/71 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36860 - "GET /api/workflows/69 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36874 - "GET /api/workflows/68 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36890 - "GET /api/workflows/67 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36894 - "GET /api/workflows/43 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59954 - "GET /api/workflows/95 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59966 - "GET /api/workflows/88 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59968 - "GET /api/workflows/89 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59980 - "GET /api/workflows/90 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59986 - "GET /api/workflows/96 HTTP/1.1" 200 OK
INFO: 127.0.0.1:59990 - "GET /api/workflows/91 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60006 - "GET /api/workflows/92 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60012 - "GET /api/workflows/102 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60022 - "GET /api/workflows/93 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60028 - "GET /api/workflows/100 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60032 - "GET /api/workflows/98 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60042 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:60054 - "GET /api/workflows/99 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60066 - "GET /api/workflows/97 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60080 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:60082 - "GET /api/workflows/101 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60096 - "GET /api/workflows/105 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60106 - "GET /api/workflows/104 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60120 - "GET /api/workflows/103 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60128 - "GET /api/workflows/94 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60142 - "GET /api/workflows/87 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60156 - "GET /api/workflows/86 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60164 - "GET /api/workflows/85 HTTP/1.1" 200 OK
INFO: 127.0.0.1:60172 - "GET /api/workflows/84 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36964 - "GET /api/workflows/74 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36972 - "GET /api/workflows/73 HTTP/1.1" 200 OK
INFO: 127.0.0.1:36988 - "GET /api/workflows/72 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37000 - "GET /api/workflows/83 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37014 - "GET /api/workflows/82 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37024 - "GET /api/workflows/81 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37026 - "GET /api/workflows/80 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37028 - "GET /api/workflows/79 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37038 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37040 - "GET /api/workflows/78 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37044 - "GET /api/workflows/77 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37056 - "GET /api/workflows/76 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37070 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:37072 - "GET /api/workflows/75 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37082 - "GET /api/workflows/54 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37086 - "GET /api/workflows/55 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37088 - "GET /api/workflows/56 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37098 - "GET /api/workflows/58 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37114 - "GET /api/workflows/57 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37120 - "GET /api/workflows/44 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37122 - "GET /api/workflows/53 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37132 - "GET /api/workflows/52 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37136 - "GET /api/workflows/51 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37150 - "GET /api/workflows/50 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37156 - "GET /api/workflows/49 HTTP/1.1" 200 OK
INFO: 127.0.0.1:37162 - "GET /api/workflows/47 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39930 - "GET /api/workflows/48 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39942 - "GET /api/workflows/46 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39952 - "GET /api/workflows/45 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39962 - "GET /api/workflows/42 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39972 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39974 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39982 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39988 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:39996 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40012 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40026 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:40030 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40038 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40042 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40044 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40046 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40050 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40064 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40072 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40088 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40100 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40116 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40118 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40126 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40134 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40136 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:40144 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47652 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47668 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47670 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47674 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47686 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47688 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47702 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47714 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:47718 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47724 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47726 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47736 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47752 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47764 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47778 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47780 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47784 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47796 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47800 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47808 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47822 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47830 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47836 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47846 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47862 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47876 - "GET /api/workflows/156 HTTP/1.1" 200 OK
INFO: 127.0.0.1:47884 - "GET /api/workflows/157 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34494 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:34504 - "GET /api/workflows/110 HTTP/1.1" 200 OK
INFO: 127.0.0.1:34510 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:34518 - "GET /api/workflows/115 HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [1676506]
@@ -0,0 +1,4 @@
VITE v6.4.3 ready in 285 ms
➜ Local: http://127.0.0.1:5173/
@@ -0,0 +1 @@
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
@@ -0,0 +1,20 @@
{
"note": "本轮准确Git必要文本工具存档,fetch片段另附,未执行上游代码/媒体。首次获取时刻保留原fetch启动记录,不替换旧历史未知。",
"tools": [
{
"name": "sources-director-one.py",
"sha256": "346fdab892ea4b9339ec3e8ecdcca21aac87c6327412209625c3c5110b8165db",
"text": "from pathlib import Path\nimport json,hashlib,os,datetime,subprocess,concurrent.futures,urllib.request,urllib.error\nR=Path.cwd();REF=R/'docs/hel-892/director-one-reference';REF.mkdir(exist_ok=True);now=datetime.datetime.now(datetime.timezone.utc).isoformat();rows=[]\nfragment=Path('.local-evidence/setup-anima.py').read_text();fragment=fragment[fragment.index('def fetch(spec):'):fragment.index('with concurrent.futures.ThreadPoolExecutor')].replace('anima-','director-one-').replace(\"['git','-C',str(cache),*args]\",\"['git','-c','core.quotepath=false','-C',str(cache),*args]\");exec(fragment)\nrepos={}\nfor key,reg in [('easy','comfyui-easy-use'),('media','comfyui-easy-media'),('swap','comfyui-uniblockswap'),('kj','comfyui-kjnodes'),('core','comfy-core')]:\n url='https://api.comfy.org/nodes/'+reg\n try:\n with urllib.request.urlopen(urllib.request.Request(url,headers={'User-Agent':'Multica-static-source-review'}),timeout=30)as z:raw=z.read(1000000);status=z.status\n except urllib.error.HTTPError as e:raw=e.read(1000000);status=e.code\n (REF/(key+'-registry-response.txt')).write_bytes(raw);(REF/(key+'-registry-request.json')).write_text(json.dumps(dict(url=url,status=status,time=datetime.datetime.now(datetime.timezone.utc).isoformat(),sha256=hashlib.sha256(raw).hexdigest()),indent=2)+'\\n')\n if status==200:repos[key]=json.loads(raw)['repository'].removeprefix('https://github.com/').removesuffix('.git')\n print('REGISTRY',key,status,repos.get(key),flush=True)\nrepos['swap']=repos.get('swap','smthemex/ComfyUI_UniBlockSwap')\nspecs=[('core0290','Comfy-Org/ComfyUI','v0.29.0',['nodes.py','comfy_extras/nodes_audio.py','comfy/samplers.py','comfy/sd.py','folder_paths.py','LICENSE','requirements.txt']),('core0302','Comfy-Org/ComfyUI','v0.30.2',['nodes.py','comfy_extras/nodes_video.py','comfy_extras/nodes_string.py','comfy_extras/nodes_math.py','comfy_extras/nodes_primitive.py','comfy_api/latest/_io.py','comfy_api/latest/_io_public.py','comfy_api/latest/_ui.py','comfy_api/latest/_ui_public.py','comfy_api/latest/_util/video_types.py','comfy_api/latest/_input_impl/video_types.py','comfy_api/latest/_input/video_types.py','comfy_api/latest/__init__.py','LICENSE','requirements.txt']),('easy',repos['easy'],'595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7',['__init__.py','py/nodes/logic.py','py/nodes/seed.py','py/nodes/prompt.py','LICENSE','requirements.txt','pyproject.toml']),('media85',repos['media'],'9d0282d4e19ef2718c084edf55864dfb4533032f',['__init__.py','LICENSE','requirements.txt','pyproject.toml']),('mediaout',repos['media'],'829a7a6030b151cb6ac091595570eb3a3d8c4512',['__init__.py','LICENSE','requirements.txt','pyproject.toml']),('mediaeditor',repos['media'],'fcfa42394d6347b4f04295041afdd7d92ba78c12',['__init__.py','LICENSE','requirements.txt','pyproject.toml']),('swap',repos['swap'],'4172da4e2edc03951ffead12ca1c20a0028d3cb0',['__init__.py','LICENSE','requirements.txt','pyproject.toml']),('kjpatch',repos['kj'],'35e5956193769d18a13136cdedb73a36a05c73e6',['__init__.py','nodes/nodes.py','LICENSE','requirements.txt','pyproject.toml']),('kjresize',repos['kj'],'eb356e6cd5dedac54bb84bc54b8da8f185fa8472',['__init__.py','nodes/image_nodes.py','LICENSE','requirements.txt','pyproject.toml']),('frontend','Comfy-Org/ComfyUI_frontend','v1.47.11',['package.json','pnpm-lock.yaml','LICENSE','src/lib/litegraph/LICENSE','src/lib/litegraph/src/LGraphNode.ts','src/extensions/core/widgetInputs.ts','src/scripts/widgets.ts'])]\nwith concurrent.futures.ThreadPoolExecutor(max_workers=3)as pool:\n for rr in pool.map(fetch,specs):rows+=rr\n(REF/'sources.json').write_text(json.dumps(dict(sources=rows),ensure_ascii=False,indent=2)+'\\n')\n"
},
{
"name": "extend-director-one.py",
"sha256": "1b85c3cef224d43c7d0747bcb34c093667e93805970babb2af5f21fe5b71d6e6",
"text": "from pathlib import Path\nimport json,hashlib,os,datetime,subprocess,concurrent.futures,urllib.request,urllib.error\nR=Path.cwd();REF=R/'docs/hel-892/director-one-reference';REF.mkdir(exist_ok=True);now=datetime.datetime.now(datetime.timezone.utc).isoformat();rows=[]\nfragment=Path('.local-evidence/setup-anima.py').read_text();fragment=fragment[fragment.index('def fetch(spec):'):fragment.index('with concurrent.futures.ThreadPoolExecutor')].replace('anima-','director-one-').replace(\"['git','-C',str(cache),*args]\",\"['git','-c','core.quotepath=false','-C',str(cache),*args]\");exec(fragment)\nrows=json.loads((REF/'sources.json').read_bytes())['sources']\nspecs=[('media85','yolain/ComfyUI-Easy-Media','9d0282d4e19ef2718c084edf55864dfb4533032f',['nodes/__init__.py','nodes/minimax.py','utils/minimax.py']),('mediaout','yolain/ComfyUI-Easy-Media','829a7a6030b151cb6ac091595570eb3a3d8c4512',['nodes/__init__.py','nodes/basic.py','utils/media.py','utils/prompt_builder.py','utils/prompt_override.py']),('mediaeditor','yolain/ComfyUI-Easy-Media','fcfa42394d6347b4f04295041afdd7d92ba78c12',['nodes/__init__.py','nodes/basic.py','frontend/src/index.ts','frontend/src/components/widgets/MultiTrackWidget.tsx','frontend/src/types/multitrack.ts','frontend/src/lib/multitrack-utils.ts','frontend/src/lib/create-react-widget.ts']),('swap','smthemex/ComfyUI_UniBlockSwap','4172da4e2edc03951ffead12ca1c20a0028d3cb0',['uniblockswap_node.py','block_swap.py']),('kjpatch','kijai/ComfyUI-KJNodes','35e5956193769d18a13136cdedb73a36a05c73e6',['nodes/model_optimization_nodes.py']),('easy','yolain/ComfyUI-Easy-Use','595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7',['py/libs/utils.py','py/libs/log.py'])]\nwith concurrent.futures.ThreadPoolExecutor(max_workers=3)as pool:\n for rr in pool.map(fetch,specs):\n for e in rr:\n if not any(x['id']==e['id']and x['file']==e['file']for x in rows):rows.append(e)\n(REF/'sources.json').write_text(json.dumps(dict(sources=rows),ensure_ascii=False,indent=2)+'\\n')\n"
},
{
"name": "extend2-director-one.py",
"sha256": "10589c699e4c3d2442d97ef53ed9859742a486157398e744a32956c6439f40e9",
"text": "from pathlib import Path\nimport json,hashlib,os,datetime,subprocess,concurrent.futures,urllib.request,urllib.error\nR=Path.cwd();REF=R/'docs/hel-892/director-one-reference';REF.mkdir(exist_ok=True);now=datetime.datetime.now(datetime.timezone.utc).isoformat();rows=[]\nfragment=Path('.local-evidence/setup-anima.py').read_text();fragment=fragment[fragment.index('def fetch(spec):'):fragment.index('with concurrent.futures.ThreadPoolExecutor')].replace('anima-','director-one-').replace(\"['git','-C',str(cache),*args]\",\"['git','-c','core.quotepath=false','-C',str(cache),*args]\");exec(fragment)\nrows=json.loads((REF/'sources.json').read_bytes())['sources']\nspecs=[]\nfor key,rev in [('mediaeditor','fcfa42394d6347b4f04295041afdd7d92ba78c12'),('mediaout','829a7a6030b151cb6ac091595570eb3a3d8c4512')]:\n specs.append((key,'yolain/ComfyUI-Easy-Media',rev,['utils/__init__.py','utils/audio.py','utils/audio_gain.py','utils/image.py','utils/media.py','utils/video.py','utils/prompt_builder.py','utils/prompt_override.py','frontend/package.json']))\nspecs += [('easy','yolain/ComfyUI-Easy-Use','595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7',['py/config.py','web_version/v1/js/seed.js']),('core0290','Comfy-Org/ComfyUI','v0.29.0',['comfy_api/latest/_io.py','comfy_api/latest/_io_public.py']),('core0302','Comfy-Org/ComfyUI','v0.30.2',['comfy_api/latest/_util/__init__.py','folder_paths.py','comfy_api/latest/_input_impl/__init__.py','comfy_api/latest/_input/__init__.py'])]\nwith concurrent.futures.ThreadPoolExecutor(max_workers=3)as pool:\n for rr in pool.map(fetch,specs):\n for e in rr:\n if not any(x['id']==e['id']and x['file']==e['file']for x in rows):rows.append(e)\n(REF/'sources.json').write_text(json.dumps(dict(sources=rows),ensure_ascii=False,indent=2)+'\\n')\n"
}
]
}
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,15 @@
def fetch(spec):
key,repo,rev,files=spec;cache=R/('.local-evidence/anima-'+key+'-git');subprocess.run(['git','init','--bare',str(cache)],check=True,capture_output=True)
def git(*args):return subprocess.check_output(['git','-C',str(cache),*args],timeout=80)
p=subprocess.run(['git','-C',str(cache),'fetch','--filter=blob:none','--depth=1','https://github.com/'+repo+'.git',rev],capture_output=True,timeout=100);(REF/(key+'-fetch.txt')).write_bytes(p.stdout+p.stderr);assert p.returncode==0,p.stderr
commit=git('rev-parse','FETCH_HEAD^{commit}').decode().strip();obj=git('rev-parse','FETCH_HEAD').decode().strip();tree=git('rev-parse',commit+'^{tree}').decode().strip();cb=git('cat-file','commit',commit);tb=git('cat-file','tag' if obj!=commit else 'commit',obj);(REF/(key+'-commit.txt')).write_bytes(cb);(REF/(key+'-tag.txt')).write_bytes(tb);(REF/(key+'-tag.json')).write_text(json.dumps(dict(object=obj,commit=commit,tag=rev),indent=2)+'\n')
entries=[]
for line in git('ls-tree','-r',commit).decode().splitlines():
meta,path=line.split('\t');mode,typ,sha=meta.split();entries.append(dict(path=path,mode=mode,type=typ,sha=sha))
(REF/(key+'-tree.json')).write_text(json.dumps(dict(sha=tree,truncated=False,tree=entries),indent=2)+'\n');result=[]
for f in files:
ent=next((x for x in entries if x['path']==f),None)
if not ent:print('MISSING',key,f,flush=True);continue
raw=git('show',commit+':'+f);assert len(raw)<3000000;name=key+'__'+f.replace('/','__');(REF/name).write_bytes(raw)
result.append(dict(id=key,repo=repo,file=f,local_file=name,commit=commit,tree=tree,tag=rev,url=f'https://raw.githubusercontent.com/{repo}/{commit}/{f}',sha256=hashlib.sha256(raw).hexdigest(),git_blob_sha1=ent['sha'],acquisition_time=now,reverified_at=now,license_file=key+'__LICENSE',identity_root='.',identity_key=key,transport='filtered Git necessary text only',applicability='本图独立准确版本静态核准,不执行或认证安装/恢复'))
print('FETCH',key,commit,len(result),flush=True);return result
@@ -0,0 +1,103 @@
"""List source texts and their identity/permission evidence, without self hashing."""
import hashlib
import json
from build_definition import OUT, REF, REPO
def main():
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
paths = {p.resolve() for p in REF.iterdir() if p.is_file()}
for e in rows:
paths.add((REF / e["local_file"]).resolve())
if not e["license_file"].startswith("未知"):
paths.add((REF / e["license_file"]).resolve())
if e["id"] in ["litegraph", "llama-unavailable"]:
continue
if "package_record" in e:
paths.add((REF / e["package_record"]).resolve())
paths.add((REF / e["registry_record"]).resolve())
continue
if "member_crc32" in e:
paths.update(p.resolve() for p in REF.glob("art-*"))
continue
base = REF / e["identity_root"]
paths.update(
(
(base / (e["identity_key"] + suffix)).resolve()
for suffix in ["-commit.txt", "-tag.txt", "-tag.json", "-tree.json"]
)
)
# Carry the approved closure and include identity/acquisition records referenced by rows.
inherited = json.loads(
(OUT.parent / "gh-multi-document-evidence/source-closure.json").read_bytes()
)
paths.update((REPO / row["path"]).resolve() for row in inherited["files"])
for e in rows:
if "canonical_identity_record" in e:
paths.add((REF / e["canonical_identity_record"]).resolve())
if "identity_root" in e and "identity_key" in e:
record = REF / e["identity_root"] / (e["identity_key"] + "-fetch.txt")
if record.is_file():
paths.add(record.resolve())
metadata = OUT.parent / "t8-av-reference"
for name in [
"t8-registry-request.json",
"t8-registry-response.txt",
"t8-repo-request.json",
"t8-repo-response.txt",
"kj-registry-request.json",
"kj-registry-response.txt",
"vhs-registry-request.json",
"vhs-registry-response.txt",
]:
paths.add((metadata / name).resolve())
paths.update((p.resolve() for p in REF.glob("*registry*.json")))
paths.update(
(REF / p).resolve()
for p in [
"../fasth3-t2v-reference/core-registry-response.txt",
"../fasth3-t2v-document-evidence/identity-gaps.json",
"../director-one-document-evidence/identity-gaps.json",
"../h3-avatar-document-evidence/identity-gaps.json",
"../t8-i2v-reference/core0311-fetch.txt",
"../t8-i2v-reference/frontend-fetch.txt",
]
)
result = []
for p in sorted(paths):
raw = p.read_bytes()
result.append(
dict(
path=str(p.relative_to(REPO)),
sha256=hashlib.sha256(raw).hexdigest(),
purpose="准确来源原文、许可或Git对象绑定;静态读取未执行",
)
)
(OUT / "source-closure.json").write_text(
json.dumps(
dict(
files=result,
count=len(result),
upstream_executed=False,
note=(
"commit/tag字节和选定blob已重算"
",完整tree列表非完整tree对象重哈希。"
"本批准确必要Git文本与已审同版字节复用;"
"无整包/资产获取或安装。历史发布成员SHA/CRC不"
"冒充整包SHA/Git绑定,旧SeedVR越"
"界及删除记录保留。"
),
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print("PASS source closure", len(result))
if __name__ == "__main__":
main()
@@ -0,0 +1,19 @@
REGISTRY easy 200 yolain/ComfyUI-Easy-Use
REGISTRY media 200 yolain/ComfyUI-Easy-Media
REGISTRY swap 404 None
REGISTRY kj 200 kijai/ComfyUI-KJNodes
REGISTRY core 404 None
FETCH easy 595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7 7
FETCH core0290 a8c44f9b2a0678ac4082e3529a3f43db7472acfe 7
MISSING media85 requirements.txt
FETCH media85 9d0282d4e19ef2718c084edf55864dfb4533032f 3
MISSING mediaout requirements.txt
FETCH mediaout 829a7a6030b151cb6ac091595570eb3a3d8c4512 3
MISSING mediaeditor requirements.txt
FETCH mediaeditor fcfa42394d6347b4f04295041afdd7d92ba78c12 3
FETCH core0302 dec5d9450a5290bcf63430409ea41018e67f41c3 15
MISSING swap requirements.txt
FETCH swap 4172da4e2edc03951ffead12ca1c20a0028d3cb0 3
FETCH kjpatch 35e5956193769d18a13136cdedb73a36a05c73e6 5
FETCH kjresize eb356e6cd5dedac54bb84bc54b8da8f185fa8472 5
FETCH frontend e724849f544c496984bfad09d077d8e8984c930e 7
@@ -0,0 +1,21 @@
# 第138批,仅导演台文图首尾参考多合一单采样固定参考;原PR25/main,基线e52a0cfc08780473355d10dc600c0d08742a6c3b。
# 静态必要源码/许可,不执行上游、预处理器、模型、媒体、种子、别名或清理。
# 既有依赖离线恢复,不增依赖。
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-one-document-evidence/inventory.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-one-document-evidence/verify_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-one-document-evidence/rebuild.py
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-one-document-evidence/repeat.py
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_director_one_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/director-one-document-evidence/*.py calliope-backend/tests/test_director_one_fixed_document.py e2e/run-director-one-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/director-one-document-evidence/*.py calliope-backend/tests/test_director_one_fixed_document.py e2e/run-director-one-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
node --check e2e/director-one-document.mjs
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/director-one-document-evidence/recompute.py
npm run build --prefix calliope-web
# 前端build完成后再浏览,不与vite并发写生成目录。
PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome calliope-backend/.venv/bin/python e2e/run-director-one-document.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-one-document-evidence/collect_browser.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-one-document-evidence/source_closure.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-one-document-evidence/freeze.py
# 89根列表条目/零标准Note/完整轨道状态字符串;旧118块冻结。119图6816保存条目/213注释仅参考,155定稿0/实跑0/新增转换0。
@@ -0,0 +1,31 @@
第138批,仅MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样)固定参考。基线e52a0cfc08780473355d10dc600c0d08742a6c3b,原分支agent/agent/a64a969a6a44,PR25 → main。最终内容由pins.json、用途SHA自排除清单与提交后final-head.json共同绑定。
产品只新增source_reviews.json本图固定块及fixed_document.py路径/pin;专项、浏览入口、完整可逆中文和证据另交。转换器/执行器/Drawer整文件/CSS/依赖不改,没有多轨编辑器或生成入口。492后台测试通过(1条既有AnyIO警告),三正式pytest/Ruff/format确选本图/显式配置,JS、前后端build、构建后wheel/sdist三资源、双次定义/报告零差异通过。不称全仓绿或累计轮次。
原件SHA256 526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638,56节点54边、全mode0/无子图、51具名。89根列表位置=str66/int18/bool4/null1,89原具名指针/值/类型逐项相等,无原dict保存或标准Note。62/67/70/98/105缺widgets/具名不补[]/null。105无身份的Label原字体/颜色/UE/flags等完整保留,不借rgthree旧类或造控件。
独立纠正预读:93 PrimitiveBoolean原件/具名均false(不是true),与61.boolean缓存false分别保留,不推断Get79恢复/选择。53八位置中的0, 0, 0是一个完整字符串,不拆三项;96手动随机辅助null和23 Boolean接口的原str空串各自保持。23两行模式文字22码点/真实LF1/字面反斜杠n0,SHAa5654902d033099782a64ae90cfbc3a7961fe4cbff9b2cf5249920f875c60a9c。
41四保存resolution/stretch/MiniMax/track_data,原33909码点/真实CR与LF0/字面反斜杠n393/无尾LF、SHAf0211b1d8337905469ad76c940d9018a4e58b584a5c5af66e435ce53e4c05f64不变。静态解析只核muted false/volume_db int0/task_markers[]/task_overview false/total_length120/frame_rate24、两tracks、一个0..120 task段与无segment video轨;全部嵌套system/user prompt/素材引用/属性/空白/转义完整保留。未见凭据键,原字符串与渲染UTF8 SHA分列、报告可逆JSON,不解析后覆盖或改键序,不把120当已生成/已接帧数,不执行系统提示或逐字目验长文。
24实例取得准确实现,31 Set/Get仅aux无版本与105 Label共32身份未知。core0.29八实例/core0.30.2六实例、UniBlockSwap4172、Easy595e三类、EasyMedia85的9d0282、98/100的829a、41的fcfa、84 KJ35e/53 KJeb356各自注册/schema/实现/许可/必要依赖核准,frontend1.47.11及同树LiteGraph/pnpm锁/独立许可绑定。101来源行/632文件闭包,Git commit/tag/选定blob重哈希,完整树列表不冒充完整tree对象重哈希。core/swap派生registry端点404只是线索,不否定准确Git声明;首次/复核时间保持,不改137 Art五首取未知及旧历史,不取整包/资产/运行库或执行源码,源码许可不等于模型素材许可。
准确差异明确保留:core0.29 CLIPLoader的type枚举没有源minimax,CLIPType也无MINIMAX,getattr有STABLE_DIFFUSION回退,不以文件名认证支持。视频VAEDecode取nested首项后decode,而同版音频helper直接decode samples[samples]、std归一化后给waveform/sample_rate,没有对应nested音频拆分;物理双解码线不当兼容保证。SaveVideo准确一个Video数据输出加UI PreviewVideo,源声明两个出口且均缺links,codec后端期待DynamicCombo字典而原存auto串,未认证恢复协议。promptLine Boolean默认True与源空字符串、额外COMBO前端辅助无后端schema分列;easySeed是easySeed类,不是globalSeed,后端只返回seed,不自行随机。
41准确后端会解包/parse/override和按MiniMax帧网格/轨段条件构建tracks_info与媒体列表,前端TRACK_DATA React序列化协议只静态参考,未恢复编辑器或加载素材。41的158/159供98/100、160/161/162也供100;98宽高fps给Set别名,其它缺links/[]原样。100 task_index0/prompt_format api只格式选择,SYSTEM_PROMPT=[],USER/TYPE/LENGTH/IMAGES/AUDIO/VIDEO供各Set别名;准确829a任务排序/marker/媒体索引/裁剪/提示格式与本图未执行分列,不认证实际素材或调用API。
Get type170覆盖21.substring,StringContains37→Math原表达式a→INT38覆盖promptLine.start_index,COMBO165覆盖85.mode,STRING=[]。所有字符串判断/表达式/行索引只描述条件不执行。MODEL69→84 Sage→60 swap→61真支,84未swap输出给假支;Get79覆盖61缓存,93false→99同名Set只有意图,不补99→79物理边。准确swap -1/0/容器架构/回调与清理条件静态说明,无容器helper返回3项而调用解包4项差异保留,不证明MiniMax架构支持、GPU迁移或显存效果。61→76普通LoRA→Set model,Get model才给KSampler,不套Bypass或由8step文件名推断效果。
85准确9d的输入列表、reference/multi_frames、空参考分支/首末图、媒体限制9/3/3、音频VAE与GraphBuilder扩展仅源码协议,不构造子图或执行。源空prompt/reference/960/544/22/match缓存受提示/COMBO/尺寸别名外线覆盖,图/音给85但videos=null,任务VIDEO已供Set并不等于85接视频。85 positive同时给ZeroOut作negative和82positive,LATENT127才是起点。82七值304583185482826/fixed/8/int1/euler/beta/int1保持,Get seed128覆盖;96独立387782047472665/randomize/null→Set seed不认证随机恢复或复现。
同一82 LATENT117/119给62视频/67音频解码,62 IMAGE109→53resize。KJ eb356八值1920/1920/nvidia_rtx_vsr/resize/完整pad_color/center/32/cpu、mask=null、额外输出缺links原样。准确RTX分支会import nvvfx/VideoSuperRes ULTRA/load并有兼容NVIDIA GPU条件,cpu保存不保证该分支可CPU运行;未取运行库/驱动/模型、执行缩放或认证已1920/mask/显存。53 IMAGE155和67 AUDIO156进102,Get fps157覆盖缓存int30,bit_depth int8与状态24分别保持不手算。准确CreateVideo用Fraction(fps)/VideoComponents,不等于已编码保存;VIDEO148→97,目录/auto格式/动态codec/隐藏元数据与UI/data返回条件仅静态,不执行文件I/O或保证音轨/时长/画质/同步。
真实e52a0cf旧代码隔离库升级1/跳过154,其余154整行不变;重复155、精确回退重升、前后用户修改各conflict1/29列保护。155导入/1排除、16/139、1217/3660/294及全停用/未检查/空时间戳保持。旧118块6727条目/213标准注释及其它155对象、12823基线文件/163原件/191资源、28profile/九候选/六差分/资格冻结。
最终1440/390浏览5260断言,分组{"aggregate": 6, "new_director_one": 2408, "old_one_hundred_eighteen": 2832, "shared_regressions": 14};实际GET doc_json与隔离导出全等。89位置/具名/类型/null/零标准Note、完整33909原串/所有嵌套值及渲染SHA、多版准确来源/未知别名与Label、各外线/双解码/Save协议冲突、旧118摘要/共享回退/迟到重试/焦点/无横溢通过。32最终截图,实际目验14张代表图,不冒充长文逐字目验。本机字体对来源键骰子emoji显示缺字方框,中文主标签可读,原UTF8/指针/SHA保持;未加字体或改UI/源名。
请求前Node fetch/Python readiness/导航/HTTP限http本机hostname8247/5173无凭据,四URL负例发送前拒绝;字体就地响应/HMR关闭。固定GET浏览370/后端365,扣六夹具加一次就绪逐路径全等;轮询浏览36/后端36,差额{"/api/jobs": 0, "/api/events": 0},仅容许确证快照后/api/jobs至多一条。finally停止自有服务、两端口独立拒绝,无PNG/pyc入Git。
首次AST将nodes.py注册KSampler与samplers内部同名helper同时匹配,现按注册文件限定,原错误保留;lint未用zlib导入已移除并正式复验,原条目日志保留。仅原记录修正,不倒改SeedVR/127/132/135/136/137历史、不累计通过轮次或把旧独立轮询强行同数。
累计119参考6816条目/213标准注释,剩36张;155全量最终定稿、可靠转换、目标核对和必要实跑仍未完成,最终定稿/新增转换/真实生成0。未连接目标、请求定义、启停TTS/ComfyUI、读Input Assets、构造prompt/执行上游/EasyMedia/SDK/swap/attention/字符串判断/表达式/索引/随机/采样/模型/GPU/缩放/图像音视频/预览/别名/清理,未访问云API/模型目录/在线库、取资产/整包/字体运行库、增依赖付费、合并部署,当前无需材料或机器窗口。交总管接回HEL-893做一次功能+界面审核后再推进。
@@ -0,0 +1,316 @@
"Verify exact text, Git/package provenance and source graph without upstream imports."
import hashlib
import json
from build_definition import OUT, REF, build, canonical
from inventory import inventory
def object_hash(kind, raw):
return hashlib.sha1(kind.encode() + b" " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
def main():
block, inv = build(), inventory()
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
checks = []
for e in rows:
raw = (REF / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
if e["id"] == "litegraph":
root = REF / e["identity_root"]
assert (
json.loads((root / "litegraph__package__package.json").read_bytes())["version"]
== "0.15.15"
)
front = next(
x for x in rows if x["id"] == "frontend" and x["file"] == "package-lock.json"
)
lock = json.loads((REF / front["local_file"]).read_bytes())
assert (
lock["packages"]["node_modules/@comfyorg/litegraph"]["integrity"]
== "sha512-" + e["artifact_sha512_base64"]
)
proof = (
"Pinned frontend1.23.0 lock, exact0.15."
"15 member SHA; whole artifact digest r"
"eused, Git unknown"
)
elif "package_record" in e:
package = json.loads((REF / e["package_record"]).read_bytes())
reg = json.loads((REF / e["registry_record"]).read_bytes())
member = next(x for x in package["members"] if x["path"] == e["file"])
assert member["saved"] and member["sha256"] == e["sha256"]
assert reg["version"] == e["tag"] == "1.0.0"
assert package["sha256"] == e["artifact_sha256"]
proof = (
"复用已审准确发布成员SHA/registry/历史整包摘要记录;本轮未获取整包,不证明Git绑定"
)
elif e["id"] == "llama-unavailable":
proof = "准确20571提交不可得的有界调查原记录,仅缺口,不作为schema实现"
else:
root = REF / e["identity_root"]
key = e["identity_key"]
commit = (root / (key + "-commit.txt")).read_bytes()
tree = json.loads((root / (key + "-tree.json")).read_bytes())
assert object_hash("commit", commit) == e["commit"]
assert commit.decode().splitlines()[0] == "tree " + e["tree"] == "tree " + tree["sha"]
assert not tree["truncated"]
assert (
next(t["sha"] for t in tree["tree"] if t["path"] == e["file"])
== e["git_blob_sha1"]
== object_hash("blob", raw)
)
tag = json.loads((root / (key + "-tag.json")).read_bytes())
tag_raw = (root / (key + "-tag.txt")).read_bytes()
assert tag["commit"] == e["commit"]
if tag["object"] == e["commit"]:
assert tag_raw == commit
else:
assert object_hash("tag", tag_raw) == tag["object"]
assert tag_raw.decode().startswith("object " + e["commit"] + "\n")
proof = (
"Rehashed commit/tag/selected blo"
"b; complete tree listing, not fu"
"ll tree-object rehash"
)
if not e["license_file"].startswith("未知"):
license_row = next(
x
for x in rows
if x["id"] == e["id"]
and ((REF / x["local_file"]).resolve() == (REF / e["license_file"]).resolve())
)
assert (
hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest()
== license_row["sha256"]
)
checks.append(dict(id=e["id"], file=e["file"], sha256=e["sha256"], proof=proof))
assert inv["sha256"] == "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
assert len(inv["fields"]) == 89 and not inv["notes"] and len(inv["scopes"]) == 1
scope = inv["scopes"][0]
assert (scope["nodes"], scope["edges"], scope["named_nodes"]) == (56, 54, 51)
assert scope["modes"] == [0] * 56
assert {e["node"] for e in inv["empty"]} == {62, 67, 70, 98, 105}
assert all(e["state"] == "missing" for e in inv["empty"])
for f, x in zip(block["fields"], inv["fields"], strict=True):
assert f["pointer"] == x["pointer"] and f["json_type"] == x["json_type"]
assert canonical(f["value"]) == canonical(x["value"]) == canonical(f["named_value"])
assert f["scope"] == "root" and f["named_pointer"]
from build_definition import PATHS, REPO
g = json.loads((REPO / PATHS[0]).read_bytes())
ns = {n["id"]: n for n in g["nodes"]}
assert g["extra"]["frontendVersion"] == "1.47.11"
for eid, src, si, dst, di, typ in g["links"]:
assert eid in ns[src]["outputs"][si]["links"] and ns[dst]["inputs"][di]["link"] == eid
assert {e[0]: e[1:5] for e in g["links"]} == {
37: [21, 0, 25, 0],
38: [25, 1, 23, 1],
109: [62, 0, 53, 0],
110: [54, 0, 55, 0],
111: [56, 0, 57, 0],
112: [58, 0, 59, 0],
113: [84, 0, 60, 0],
114: [60, 0, 61, 0],
115: [84, 0, 61, 1],
116: [79, 0, 61, 2],
117: [82, 0, 62, 0],
118: [65, 0, 62, 1],
119: [82, 0, 67, 0],
120: [63, 0, 67, 1],
121: [85, 0, 70, 0],
122: [61, 0, 76, 0],
123: [76, 0, 77, 0],
124: [78, 0, 82, 0],
125: [85, 0, 82, 1],
126: [70, 0, 82, 2],
127: [85, 1, 82, 3],
128: [83, 0, 82, 4],
129: [69, 0, 84, 0],
130: [75, 0, 85, 0],
131: [74, 0, 85, 1],
132: [73, 0, 85, 2],
133: [72, 0, 85, 3],
134: [71, 0, 85, 4],
135: [81, 0, 85, 6],
136: [80, 0, 85, 8],
137: [64, 0, 85, 9],
138: [66, 0, 85, 10],
139: [100, 5, 86, 0],
140: [100, 3, 87, 0],
141: [100, 4, 88, 0],
142: [100, 1, 89, 0],
143: [98, 1, 90, 0],
144: [98, 0, 91, 0],
145: [98, 3, 92, 0],
146: [96, 0, 94, 0],
147: [100, 6, 95, 0],
148: [102, 0, 97, 0],
150: [93, 0, 99, 0],
155: [53, 0, 102, 0],
156: [67, 0, 102, 1],
157: [68, 0, 102, 2],
158: [41, 0, 98, 0],
159: [41, 0, 100, 0],
160: [41, 1, 100, 1],
161: [41, 2, 100, 2],
162: [41, 3, 100, 3],
163: [100, 2, 103, 0],
165: [23, 1, 85, 7],
170: [104, 0, 21, 1],
}
import collections
types = collections.Counter(f["json_type"] for f in inv["fields"])
assert types == dict(str=66, int=18, bool=4, NoneType=1)
raw = ns[41]["widgets_values"][3]
assert (
len(raw),
raw.count("\r"),
raw.count("\n"),
raw.count("\\n"),
raw.endswith("\n"),
hashlib.sha256(raw.encode()).hexdigest(),
) == (
33909,
0,
0,
393,
False,
"f0211b1d8337905469ad76c940d9018a4e58b584a5c5af66e435ce53e4c05f64",
)
state = json.loads(raw)
assert raw == ns[41]["widgets_values_named"]["track_data"]
assert state["muted"] is False and state["volume_db"] == 0 and type(state["volume_db"]) is int
assert (
state["task_markers"] == []
and state["task_overview"] is False
and state["total_length"] == 120
and state["frame_rate"] == 24
)
tracks = state["tracks"]
assert len(tracks) == 2 and tracks[0]["type"] == "task" and tracks[1]["type"] == "video"
assert len(tracks[0]["segments"]) == 1 and tracks[1]["segments"] == []
seg = tracks[0]["segments"][0]
assert seg["start_frame"] == 0 and seg["end_frame"] == 120
keys = []
def scan(v):
if isinstance(v, dict):
for k, x in v.items():
if k.lower() in {
"api_key",
"api_keys",
"authorization",
"access_token",
"password",
"secret",
}:
keys.append(k)
scan(x)
elif isinstance(v, list):
for x in v:
scan(x)
scan(state)
assert not keys
prompt = ns[23]["widgets_values"][0]
assert len(prompt) == 22 and prompt.count("\n") == 1 and prompt.count("\\n") == 0
assert (
hashlib.sha256(prompt.encode()).hexdigest()
== "a5654902d033099782a64ae90cfbc3a7961fe4cbff9b2cf5249920f875c60a9c"
)
assert ns[93]["widgets_values"] == [False] and ns[93]["widgets_values_named"] == {
"value": False
}
assert ns[96]["widgets_values"] == [387782047472665, "randomize", None]
assert ns[23]["widgets_values"][3:] == ["", ""] and ns[23]["inputs"][3]["type"] == "BOOLEAN"
assert ns[53]["widgets_values"] == [
1920,
1920,
"nvidia_rtx_vsr",
"resize",
"0, 0, 0",
"center",
32,
"cpu",
]
assert ns[53]["inputs"][1]["link"] is None and all(
"links" not in x for x in ns[53]["outputs"][1:]
)
assert ns[85]["inputs"][5]["name"] == "videos" and ns[85]["inputs"][5]["link"] is None
assert ns[82]["outputs"][0]["links"] == [117, 119]
assert len(ns[97]["outputs"]) == 2 and all("links" not in x for x in ns[97]["outputs"])
assert (
ns[98]["outputs"][2].get("links", "missing") == "missing"
and ns[100]["outputs"][0]["links"] == []
)
bind = {b["node_id"]: b for b in block["node_bindings"]}
assert len(bind) == 56 and sum(bool(b["candidates"]) for b in bind.values()) == 24
assert sum(b["source_id"] == "unknown" for b in bind.values()) == 32
assert all(
b["source_id"] == "unknown"
for b in bind.values()
if b["class_type"] in ["SetNode", "GetNode", "Label (rgthree)"]
)
assert (
bind["41"]["source_id"] == "mediaeditor"
and bind["85"]["source_id"] == "media85"
and all(bind[str(n)]["source_id"] == "mediaout" for n in [98, 100])
)
def text(key, file):
e = next(e for e in rows if e["id"] == key and e["file"] == file)
return (REF / e["local_file"]).read_text()
clip = text("core0290", "nodes.py").split("class CLIPLoader:")[1].split("class ")[0]
assert (
'"minimax"' not in clip
and "getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION)" in clip
)
assert (
"MINIMAX"
not in text("core0290", "comfy/sd.py").split("class CLIPType(Enum):")[1].split("class ")[0]
)
audio = (
text("core0290", "comfy_extras/nodes_audio.py")
.split("def vae_decode_audio(")[1]
.split("class VAEDecodeAudio")[0]
)
assert "unbind" not in audio and 'vae.decode(samples["samples"])' in audio
assert 'codec_name = codec["codec"]' in text("core0302", "comfy_extras/nodes_video.py")
assert "class easySeed:" in text(
"easy", "py/nodes/seed.py"
) and '"easy seed": easySeed' in text("easy", "py/nodes/seed.py")
result = dict(
sources=checks,
positions=89,
paired_positions=89,
list_types=types,
notes=0,
edges=54,
accurate_nodes=24,
unknown_identity_nodes=[b for b in bind.values() if b["source_id"] == "unknown"],
track_raw_sha256=hashlib.sha256(raw.encode()).hexdigest(),
parsed_track_data=state,
credential_keys_found=keys,
preread_correction={"93": "false, not true"},
schema_conflicts=[
"core029 minimax CLIP enum absent",
"audio no nested extraction",
"SaveVideo one data port and dynamic codec vs source two/string",
"promptLine BOOLEAN vs saved string",
],
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("PASS89 positions/89 named/0Note/54edges;24 exact/32 unknown; 93 false corrected")
if __name__ == "__main__":
main()
@@ -0,0 +1,6 @@
{
"url": "https://api.comfy.org/nodes/comfy-core",
"status": 404,
"time": "2026-11-01T01:06:43.193538+00:00",
"sha256": "94fd27e893abbba909fe91abbe3143a4ff94afb8ce37685a735b5ce4dce55089"
}
@@ -0,0 +1 @@
{"error":"","message":"Node not found"}
@@ -0,0 +1,6 @@
tree ccd4281dc006d28a5765c77c8e9346563ae3b375
parent 99f221c7f5504f1fae012b09daa1060fc44c49ba
author comfyanonymous <comfyanonymous@protonmail.com> 1785272321 -0400
committer comfyanonymous <comfyanonymous@protonmail.com> 1785272321 -0400
ComfyUI v0.29.0
@@ -0,0 +1,2 @@
From https://github.com/Comfy-Org/ComfyUI
* tag v0.29.0 -> FETCH_HEAD
@@ -0,0 +1,5 @@
{
"object": "a8c44f9b2a0678ac4082e3529a3f43db7472acfe",
"commit": "a8c44f9b2a0678ac4082e3529a3f43db7472acfe",
"tag": "v0.29.0"
}
@@ -0,0 +1,6 @@
tree ccd4281dc006d28a5765c77c8e9346563ae3b375
parent 99f221c7f5504f1fae012b09daa1060fc44c49ba
author comfyanonymous <comfyanonymous@protonmail.com> 1785272321 -0400
committer comfyanonymous <comfyanonymous@protonmail.com> 1785272321 -0400
ComfyUI v0.29.0
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1 @@
from ._io import * # noqa: F403
@@ -0,0 +1,892 @@
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):
if tile is not None:
audio = vae.decode_tiled(samples["samples"], tile_x=tile, tile_y=tile, overlap=overlap).movedim(-1, 1)
else:
audio = vae.decode(samples["samples"]).movedim(-1, 1)
std = torch.std(audio, dim=[1, 2], keepdim=True) * 5.0
std[std < 1.0] = 1.0
audio /= std
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()
@@ -0,0 +1,571 @@
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["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 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 os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) != output_dir:
err = "**** ERROR: Saving image outside the output folder is not allowed." + \
"\n full_output_folder: " + os.path.abspath(full_output_folder) + \
"\n output_dir: " + output_dir + \
"\n commonpath: " + os.path.commonpath((output_dir, os.path.abspath(full_output_folder)))
logging.error(err)
raise Exception(err)
try:
counter = max(filter(lambda a: os.path.normcase(a[1][:-1]) == os.path.normcase(filename) and a[1][-1] == "_", map(map_filename, os.listdir(full_output_folder))))[0] + 1
except ValueError:
counter = 1
except FileNotFoundError:
os.makedirs(full_output_folder, exist_ok=True)
counter = 1
return full_output_folder, filename, counter, subfolder, filename_prefix
def get_input_subfolders() -> list[str]:
"""Returns a list of all subfolder paths in the input directory, recursively.
Returns:
List of folder paths relative to the input directory, excluding the root directory
"""
input_dir = get_input_directory()
folders = []
try:
if not os.path.exists(input_dir):
return []
for root, dirs, _ in os.walk(input_dir):
rel_path = os.path.relpath(root, input_dir)
if rel_path != ".": # Only include non-root directories
# Normalize path separators to forward slashes
folders.append(rel_path.replace(os.sep, '/'))
return sorted(folders)
except FileNotFoundError:
return []
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,37 @@
comfyui-frontend-package==1.47.10
comfyui-workflow-templates==0.11.19
comfyui-embedded-docs==0.5.9
torch
torchsde
torchvision
torchaudio
numpy>=1.25.0
einops
transformers>=4.50.3
tokenizers>=0.13.3
sentencepiece
safetensors>=0.4.2
aiohttp>=3.11.8
yarl>=1.18.0
pyyaml
Pillow
scipy
tqdm
psutil
alembic
SQLAlchemy>=2.0.0
filelock
av>=16.0.0
comfy-kitchen==0.2.22
comfy-aimdo==0.4.10
requests
simpleeval>=1.0.0
blake3
#non essential dependencies:
kornia>=0.7.1
spandrel
pydantic~=2.0
pydantic-settings~=2.0
PyOpenGL>=3.1.8
comfy-angle
@@ -0,0 +1,6 @@
tree fbac0c3bd55831c8264bd6fb62114c2c34027980
parent 4b99714ed70ab5973b5dc3f61b6fffbaa3668567
author fen-release[bot] <fen-release[bot]@users.noreply.github.com> 1785890853 +0000
committer fen-release[bot] <fen-release[bot]@users.noreply.github.com> 1785890853 +0000
ComfyUI v0.30.2
@@ -0,0 +1,2 @@
From https://github.com/Comfy-Org/ComfyUI
* tag v0.30.2 -> FETCH_HEAD
@@ -0,0 +1,5 @@
{
"object": "dec5d9450a5290bcf63430409ea41018e67f41c3",
"commit": "dec5d9450a5290bcf63430409ea41018e67f41c3",
"tag": "v0.30.2"
}
@@ -0,0 +1,6 @@
tree fbac0c3bd55831c8264bd6fb62114c2c34027980
parent 4b99714ed70ab5973b5dc3f61b6fffbaa3668567
author fen-release[bot] <fen-release[bot]@users.noreply.github.com> 1785890853 +0000
committer fen-release[bot] <fen-release[bot]@users.noreply.github.com> 1785890853 +0000
ComfyUI v0.30.2
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
@@ -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,17 @@
from .basic_types import ImageInput, AudioInput, MaskInput, LatentInput
from .curve_types import CurvePoint, CurveInput, MonotoneCubicCurve, LinearCurve
from .range_types import RangeInput
from .video_types import VideoInput
__all__ = [
"ImageInput",
"AudioInput",
"VideoInput",
"MaskInput",
"LatentInput",
"CurvePoint",
"CurveInput",
"MonotoneCubicCurve",
"LinearCurve",
"RangeInput",
]
@@ -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,7 @@
from .video_types import VideoFromFile, VideoFromComponents
__all__ = [
# Implementations
"VideoFromFile",
"VideoFromComponents",
]
@@ -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",
]

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