HEL-892: document fixed MiniMax H3 text-to-video reference
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -15,6 +15,9 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
|
||||
|
||||
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
|
||||
DEFINITIONS = {
|
||||
(
|
||||
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json"
|
||||
): "9c65a35d099bfaebb5ac5b43600a5a6644afb92752a05933384e031708b760be",
|
||||
(
|
||||
"example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json"
|
||||
): "6bb280ad019d3bb19ebd52f56d03c34bb4f523a5f7e752776e682239f43c4f7a",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,216 @@
|
||||
"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/minimax-h3-t2v-document-evidence")
|
||||
PATH = "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json"
|
||||
RAW = (REPO / PATH).read_bytes()
|
||||
SOURCE = json.loads(RAW)
|
||||
REVIEW = review_for(PATH, hashlib.sha1(RAW).hexdigest())
|
||||
BLOCK = REVIEW["fixed_version_document"]
|
||||
|
||||
|
||||
def pointer(obj, p):
|
||||
for x in p.strip("/").split("/"):
|
||||
obj = obj[int(x)] if isinstance(obj, list) else obj[x]
|
||||
return obj
|
||||
|
||||
|
||||
def doc(s=SOURCE, r=REVIEW):
|
||||
return build_document(PATH, s, None, None, [], r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
def test_each_saved_position_and_citation(f):
|
||||
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
||||
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
||||
assert canonical(pointer(SOURCE, f["named_pointer"])) == canonical(f["named_value"])
|
||||
if f["node_id"] != "505":
|
||||
assert canonical(f["value"]) == canonical(f["named_value"])
|
||||
assert all(
|
||||
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
||||
)
|
||||
if f["input_pointer"].startswith("/"):
|
||||
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
||||
for i in f["evidence"]:
|
||||
e = BLOCK["sources"][i]
|
||||
raw = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
if raw:
|
||||
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
|
||||
else:
|
||||
assert e["lines"] == [0, 0] and "零字节" in e["claim"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["source", "text", "named"])
|
||||
def test_caller_rehash_cannot_expand_trust(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
selected_pointer = f["named_pointer"] if variant == "named" else f["pointer"]
|
||||
p, _, key = selected_pointer.rpartition("/")
|
||||
parent = pointer(s, p)
|
||||
parent[int(key) if isinstance(parent, list) else key] = "forged"
|
||||
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
|
||||
assert not doc(s, r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("key", ["extra", "links", "id", "groups", "version", "definitions"])
|
||||
def test_whole_graph_mutations_fail_closed(key):
|
||||
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
source[key] = {"subgraphs": []} if key == "definitions" else "forged"
|
||||
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
|
||||
canonical(source)
|
||||
).hexdigest()
|
||||
assert not doc(source, review)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("key", ["mode", "properties", "inputs", "outputs"])
|
||||
@pytest.mark.parametrize("index", [0, 1, 5])
|
||||
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", [92, 115, 140])
|
||||
def test_control_identity_and_state_forgery_fail_closed(nid, key):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
next(n for n in s["nodes"] if n["id"] == nid)[key] = "forged"
|
||||
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
|
||||
assert not doc(s, r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
def test_exact_build_and_qualification():
|
||||
assert canonical(runpy.run_path(str(OUT / "build_definition.py"))["build"]()) == canonical(
|
||||
BLOCK
|
||||
)
|
||||
assert len(DEFINITIONS) == 107 and doc()["fixed_version"]["matched"]
|
||||
assert BLOCK["counts"]["saved_fields"] == 49 and len(BLOCK["comments"]) == 3
|
||||
assert len(BLOCK["boundaries"]) == 1 and len(BLOCK["zero_saved_nodes"]) == 4
|
||||
assert not doc()["status"]["doc_done"] and not doc()["status"]["exec_verified"]
|
||||
sys.path.insert(0, str(OUT))
|
||||
try:
|
||||
runpy.run_path(str(OUT / "verify_sources.py"))["main"]()
|
||||
finally:
|
||||
sys.path.remove(str(OUT))
|
||||
|
||||
|
||||
def test_raw_source_version_mismatch_is_fail_closed():
|
||||
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
source["nodes"][1]["properties"]["ver"] = "other-plugin-version"
|
||||
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
|
||||
canonical(source)
|
||||
).hexdigest()
|
||||
assert not doc(source, review)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("n", BLOCK["comments"], ids=lambda n: n["node_id"])
|
||||
def test_notes_full_text_and_all_mode_zero(n):
|
||||
assert pointer(SOURCE, n["pointer"]) == n["text"] == pointer(SOURCE, n["named_pointer"])
|
||||
source_note = next(x for x in doc()["source_notes"] if str(x["node_id"]) == n["node_id"])
|
||||
assert source_note["content"][0] == n["text"]
|
||||
raw = next(x for x in SOURCE["nodes"] if str(x["id"]) == n["node_id"])
|
||||
assert raw["mode"] == 0
|
||||
assert any(n["node_id"] + " 原注释节点 " in v for v in BLOCK["flow"])
|
||||
|
||||
|
||||
def test_current_av_chain_and_saved_boundary_caches():
|
||||
assert len(BLOCK["boundaries"]) == 1
|
||||
b = BLOCK["boundaries"][0]
|
||||
assert b["host_node_id"] == "140" and len(b["inputs"]) == 15 and len(b["links"]) == 42
|
||||
assert b["definition_widgets"] == [] and not b["proxy_widgets_present"]
|
||||
assert (
|
||||
BLOCK["counts"]["root_saved_fields"] == 19
|
||||
and BLOCK["counts"]["internal_saved_fields"] == 30
|
||||
)
|
||||
fields = {(f["node_id"], f["field"]): f for f in BLOCK["fields"]}
|
||||
assert fields["140", "value_1"]["value"] == 5 and fields["140", "value_1"]["json_type"] == "int"
|
||||
assert (
|
||||
fields["140:133", "value"]["value"] == 2
|
||||
and fields["140:133", "value"]["json_type"] == "int"
|
||||
)
|
||||
assert fields["140", "noise_seed"]["value"] == 757358688076805
|
||||
assert fields["140:131", "length"]["value"] == 73
|
||||
assert (
|
||||
len(fields["140", "prompt"]["value"]) == 1647
|
||||
and len(fields["140:131", "prompt"]["value"]) == 980
|
||||
)
|
||||
assert fields["140", "prompt"]["value"] != fields["140:131", "prompt"]["value"]
|
||||
assert (
|
||||
fields["140:132", "expression"]["value"]
|
||||
== "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
|
||||
)
|
||||
assert fields["140:138", "value"]["value"] == 6 and fields["140", "value_2"]["value"] == 8
|
||||
assert fields["140:137", "value"]["value"] == 20 and fields["140:124", "steps"]["value"] == 4
|
||||
assert fields["140:128", "type"]["value"] == "minimax"
|
||||
assert fields["92", "format"]["value"] == fields["92", "codec"]["value"] == "auto"
|
||||
assert all(n["state"] == n["named_state"] == "missing" for n in BLOCK["zero_saved_nodes"])
|
||||
assert any("LATENT188才是125" in s for s in BLOCK["steps"])
|
||||
assert any("首尾帧未接" in s for s in BLOCK["steps"])
|
||||
assert any("io.NodeOutput(video,ui.PreviewVideo" in s for s in BLOCK["steps"])
|
||||
assert any("不计算当前帧数" in s for s in BLOCK["steps"])
|
||||
|
||||
|
||||
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", "50efa59d5ef73d26535ea871e5bf79475696420d:" + 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) == 106 and sum(len(b["fields"]) for b in old) == 5846
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,29 @@
|
||||
Original foreground tool errors, copied from the returned tool output.
|
||||
|
||||
Command: PYTHONDONTWRITEBYTECODE=1 python3 .local-evidence/setup-minimax-h3-t2v-sources.py
|
||||
Exit: 1
|
||||
Traceback (most recent call last):
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/workdir/aigc-home/.local-evidence/setup-minimax-h3-t2v-sources.py", line 15, in <module>
|
||||
rows.append(dict(id='core0330',repo='Comfy-Org/ComfyUI',file=e['file'],local_file=local,commit=e['commit'],tree=tree['sha'],tag='v0.33.0',url=e['raw_url'],sha256=e['sha256'],git_blob_sha1=next(t['sha']for t in tree['tree']if t['path']==e['file']),acquisition_time=e['retrieved_at'],reverified_at=now,license_file=license_file,identity_root='.',identity_key='core0330',transport='reviewed fixed text reuse; Git commit/tag/tree/blob independently rebound',applicability='本图逐节点准确0.33.0静态参考,不执行或认证安装/模型/宿主恢复'))
|
||||
KeyError: 'retrieved_at'
|
||||
|
||||
Command: PYTHONDONTWRITEBYTECODE=1 python3 .local-evidence/extend-minimax-h3-t2v-sources.py
|
||||
Exit: 1 (manifest and all necessary Git files were already written before this metadata request)
|
||||
Traceback (most recent call last):
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-8d94b12fc336/workdir/aigc-home/.local-evidence/extend-minimax-h3-t2v-sources.py", line 20, in <module>
|
||||
with urllib.request.urlopen('https://api.comfy.org/nodes/comfy-core',timeout=30)as r:data=r.read(1000001)
|
||||
File "/usr/lib/python3.10/urllib/request.py", line 216, in urlopen
|
||||
return opener.open(url, data, timeout)
|
||||
File "/usr/lib/python3.10/urllib/request.py", line 525, in open
|
||||
response = meth(req, response)
|
||||
File "/usr/lib/python3.10/urllib/request.py", line 634, in http_response
|
||||
response = self.parent.error(
|
||||
File "/usr/lib/python3.10/urllib/request.py", line 563, in error
|
||||
return self._call_chain(*args)
|
||||
File "/usr/lib/python3.10/urllib/request.py", line 496, in _call_chain
|
||||
result = func(*args)
|
||||
File "/usr/lib/python3.10/urllib/request.py", line 643, in http_error_default
|
||||
raise HTTPError(req.full_url, code, msg, hdrs, fp)
|
||||
urllib.error.HTTPError: HTTP Error 404: Not Found
|
||||
|
||||
Resolution: legacy first-acquisition timestamp stays explicitly unknown. Initial frontend files were retained, using their actual write mtime as the stated acquisition-time basis; no reacquisition was hidden. Registry 404 is archived as a gap, not as proof of source absence. Accurate official Git tag/commit/tree/blob is verified independently. No upstream code executed.
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"total": 155,
|
||||
"audit_scope": "current_delivery",
|
||||
"source_files": 156,
|
||||
"target_files": 155,
|
||||
"user_excluded": 1,
|
||||
"source_structure_purpose_partially_reviewed": 155,
|
||||
"full_documents_completed": 0,
|
||||
"files_with_selected_named_fields_reviewed": 41,
|
||||
"selected_named_fields_reviewed": 1217,
|
||||
"real_executions": 0,
|
||||
"states": {
|
||||
"pending_check": 16,
|
||||
"needs_conversion": 139
|
||||
},
|
||||
"named_values_preserved": 1217,
|
||||
"unnamed_widget_nodes": 3660,
|
||||
"semantic_batch_files": 139,
|
||||
"semantic_batch_without_named_fields": 114,
|
||||
"semantic_batch_named_fields": 490,
|
||||
"named_values_without_manual_field_review": 0,
|
||||
"named_values_without_verified_units_ranges_effects": 1217,
|
||||
"scope_limit": "人工结论与机械原值清单分开;源语义局部审校非完整说明定稿"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
Building source distribution...
|
||||
Building wheel from source distribution...
|
||||
Successfully built calliope-backend/dist/calliope-1.5.8.tar.gz
|
||||
Successfully built calliope-backend/dist/calliope-1.5.8-py3-none-any.whl
|
||||
@@ -0,0 +1,128 @@
|
||||
{
|
||||
"fixed_count": 329,
|
||||
"fixed_paths": {
|
||||
"/api/workflows": 3,
|
||||
"/api/workflows/133": 4,
|
||||
"/api/workflows/106": 4,
|
||||
"/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": 28,
|
||||
"polling_paths": {
|
||||
"/api/jobs": 28
|
||||
},
|
||||
"readiness_gets": 1,
|
||||
"detail_fixture_intercepts": 6,
|
||||
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": true,
|
||||
"polling_snapshot_delta": {
|
||||
"/api/jobs": 0,
|
||||
"/api/events": 0
|
||||
},
|
||||
"polling_snapshot_tolerance": 1
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
........................................................................ [ 28%]
|
||||
........................................................................ [ 56%]
|
||||
........................................................................ [ 84%]
|
||||
....................................... [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
|
||||
255 passed, 1 warning in 6.72s
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,728 @@
|
||||
{
|
||||
"base": "50efa59d5ef73d26535ea871e5bf79475696420d",
|
||||
"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": 106,
|
||||
"drawer_css_unchanged": true,
|
||||
"drawer_whole_file_unchanged": true,
|
||||
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
|
||||
"conversion_rerun": false,
|
||||
"profiles_28_candidates_9_diffs_6": "unchanged"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"command": "PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome calliope-backend/.venv/bin/python e2e/run-minimax-h3-t2v-document.py",
|
||||
"exit_code": 0,
|
||||
"log": "browser-run-log.txt"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,540 @@
|
||||
"Pinned Qwen Image2.1 static reference; no upstream import, prompt construction or execution."
|
||||
|
||||
import ast
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
REF = OUT.parent / "minimax-h3-t2v-reference"
|
||||
PATHS = ["example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json"]
|
||||
HOST = "79dd8a95-ce9d-4c14-b264-2162e8bec5ce"
|
||||
LAYOUTS = {
|
||||
"SaveVideo": ["filename_prefix", "format", "codec"],
|
||||
"ResolutionSelector": ["aspect_ratio", "megapixels", "multiple"],
|
||||
"79dd8a95-ce9d-4c14-b264-2162e8bec5ce": [
|
||||
"prompt",
|
||||
"width",
|
||||
"height",
|
||||
"value_1",
|
||||
"noise_seed",
|
||||
"unet_name",
|
||||
"clip_name",
|
||||
"vae_name",
|
||||
"vae_name_1",
|
||||
"value",
|
||||
"lora_name",
|
||||
"strength_model_1",
|
||||
"value_2",
|
||||
],
|
||||
"VAELoader": ["vae_name"],
|
||||
"KSamplerSelect": ["sampler_name"],
|
||||
"BasicScheduler": ["scheduler", "steps", "denoise"],
|
||||
"UNETLoader": ["unet_name", "weight_dtype"],
|
||||
"CLIPLoader": ["clip_name", "type", "device"],
|
||||
"RandomNoise": ["noise_seed", "control_after_generate"],
|
||||
"CreateVideo": ["fps", "bit_depth"],
|
||||
"MiniMaxH3ImageToVideo": ["prompt", "width", "height", "length"],
|
||||
"ComfyMathExpression": ["expression"],
|
||||
"PrimitiveFloat": ["value"],
|
||||
"LoraLoaderModelOnly": ["lora_name", "strength_model"],
|
||||
"ComfySwitchNode": ["switch"],
|
||||
"PrimitiveInt": ["value", "fixed"],
|
||||
"PrimitiveBoolean": ["value"],
|
||||
}
|
||||
LABELS = {
|
||||
"filename_prefix": "完整视频保存前缀",
|
||||
"format": "保存容器选择",
|
||||
"codec": "保存编码选择",
|
||||
"aspect_ratio": "宽高比保存",
|
||||
"megapixels": "MP保存值",
|
||||
"multiple": "像素对齐倍数",
|
||||
"prompt": "完整提示词缓存",
|
||||
"width": "宽度缓存",
|
||||
"height": "高度缓存",
|
||||
"value_1": "宿主时长缓存",
|
||||
"noise_seed": "噪声种子缓存",
|
||||
"unet_name": "完整扩散模型引用",
|
||||
"clip_name": "完整文本模型引用",
|
||||
"vae_name": "独立VAE文件引用",
|
||||
"vae_name_1": "宿主音频VAE引用",
|
||||
"value": "数值/布尔保存缓存",
|
||||
"lora_name": "完整LoRA引用",
|
||||
"strength_model_1": "宿主LoRA强度",
|
||||
"value_2": "宿主步数缓存",
|
||||
"sampler_name": "采样器选择",
|
||||
"scheduler": "调度器选择",
|
||||
"steps": "步数缓存",
|
||||
"denoise": "降噪系数",
|
||||
"weight_dtype": "权重dtype选择",
|
||||
"type": "编码器类型选择",
|
||||
"device": "设备选择",
|
||||
"control_after_generate": "种子前端控制辅助",
|
||||
"fixed": "整数前端控制辅助",
|
||||
"fps": "视频帧率保存",
|
||||
"bit_depth": "视频位深保存",
|
||||
"length": "帧长缓存",
|
||||
"expression": "完整表达式(不求值)",
|
||||
"strength_model": "LoRA强度缓存",
|
||||
"switch": "布尔选支缓存",
|
||||
}
|
||||
|
||||
|
||||
def canonical(v):
|
||||
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
|
||||
|
||||
def build(index=0):
|
||||
raw = (REPO / PATHS[index]).read_bytes()
|
||||
g = json.loads(raw)
|
||||
editorial = json.loads((OUT / "editorial.json").read_bytes())
|
||||
scopes = [("", "", g), ("140", "/definitions/subgraphs/0", g["definitions"]["subgraphs"][0])]
|
||||
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="../minimax-h3-t2v-reference/" + e["local_file"],
|
||||
lines=[1, len(data.decode().splitlines())],
|
||||
claim="本图准确tag/commit原文与许可;静态读取未执行,源码许可不等于模型许可",
|
||||
)
|
||||
)
|
||||
if e["file"].endswith(".py"):
|
||||
trees[e["local_file"]] = ast.parse(data)
|
||||
bindings = []
|
||||
prose = json.loads((OUT / "prose.json").read_bytes())
|
||||
refs = {}
|
||||
schemas = {}
|
||||
for nid, ptr, scope, n in nodes:
|
||||
cls = n["type"]
|
||||
if cls in ["Note", "MarkdownNote"]:
|
||||
continue
|
||||
symbol = {
|
||||
"PrimitiveStringMultiline": "StringMultiline",
|
||||
"PrimitiveFloat": "Float",
|
||||
"PrimitiveInt": "Int",
|
||||
"PrimitiveBoolean": "Boolean",
|
||||
"ComfyMathExpression": "MathExpressionNode",
|
||||
"ShowText|pysssss": "ShowText",
|
||||
"Image Comparer (rgthree)": "RgthreeImageComparer",
|
||||
"ComfySwitchNode": "SwitchNode",
|
||||
"Images to RGB": "WAS_Images_To_RGB",
|
||||
"忽略多组孤海": "IgnoreGroupsGuHai",
|
||||
"GH_ImageVideoComparer": "GHImageVideoComparer",
|
||||
}.get(cls, cls)
|
||||
version = n.get("properties", {}).get("ver", "未知")
|
||||
core_id = {"0.33.0": "core0330"}.get(version, "unknown")
|
||||
if cls == HOST:
|
||||
core_id = "subgraph-definition"
|
||||
candidates = []
|
||||
rs = []
|
||||
for i, e in enumerate(manifest):
|
||||
if e["id"] != core_id or not e["file"].endswith(".py"):
|
||||
continue
|
||||
if (
|
||||
cls in ["PrimitiveInt", "PrimitiveFloat", "PrimitiveBoolean"]
|
||||
and e["file"] != "comfy_extras/nodes_primitive.py"
|
||||
):
|
||||
continue
|
||||
for c in trees[e["local_file"]].body:
|
||||
if not isinstance(c, ast.ClassDef) or c.name != symbol:
|
||||
continue
|
||||
sources.append(
|
||||
dict(
|
||||
sources[i],
|
||||
lines=[c.lineno, c.end_lineno],
|
||||
claim=f"本节点准确{core_id}声明类实现;不等于目标安装或宿主恢复认证",
|
||||
)
|
||||
)
|
||||
rs += [i, len(sources) - 1]
|
||||
candidates.append(dict(source=i, symbol=symbol, lines=[c.lineno, c.end_lineno]))
|
||||
if cls == "LoraLoaderModelOnly":
|
||||
parent = next(
|
||||
p
|
||||
for p in trees[e["local_file"]].body
|
||||
if isinstance(p, ast.ClassDef) and p.name == "LoraLoader"
|
||||
)
|
||||
sources.append(
|
||||
dict(
|
||||
sources[i],
|
||||
lines=[parent.lineno, parent.end_lineno],
|
||||
claim=f"本节点准确{core_id}父类及加载条件;只静态读取",
|
||||
)
|
||||
)
|
||||
rs.append(len(sources) - 1)
|
||||
for d in ast.walk(c):
|
||||
if isinstance(d, ast.Dict):
|
||||
for k, v in zip(d.keys, d.values, strict=True):
|
||||
if (
|
||||
isinstance(k, ast.Constant)
|
||||
and isinstance(k.value, str)
|
||||
and isinstance(v, ast.Tuple)
|
||||
):
|
||||
default = "无显式default;动态枚举/方法条件只作参考"
|
||||
for opts in v.elts[1:]:
|
||||
if isinstance(opts, ast.Dict):
|
||||
for dk, dv in zip(opts.keys, opts.values, strict=True):
|
||||
if (
|
||||
isinstance(dk, ast.Constant)
|
||||
and dk.value == "default"
|
||||
):
|
||||
default = ast.unparse(dv)
|
||||
schemas[nid, k.value] = (default, ast.unparse(v))
|
||||
if (
|
||||
isinstance(d, ast.Call)
|
||||
and isinstance(d.func, ast.Attribute)
|
||||
and (d.func.attr == "Input")
|
||||
):
|
||||
arg = (
|
||||
d.args[0]
|
||||
if d.args
|
||||
else next((k.value for k in d.keywords if k.arg == "id"), None)
|
||||
)
|
||||
if not isinstance(arg, ast.Constant) or not isinstance(arg.value, str):
|
||||
continue
|
||||
name = arg.value
|
||||
if cls == "TextGenerate" and name in [
|
||||
"temperature",
|
||||
"top_k",
|
||||
"top_p",
|
||||
"min_p",
|
||||
"repetition_penalty",
|
||||
"seed",
|
||||
"presence_penalty",
|
||||
]:
|
||||
name = "sampling_mode." + name
|
||||
default = next(
|
||||
(ast.unparse(k.value) for k in d.keywords if k.arg == "default"),
|
||||
"无显式default,不从execute函数缺省补值",
|
||||
)
|
||||
if cls == "SaveImageAdvanced" and name in [
|
||||
"bit_depth",
|
||||
"input_color_space",
|
||||
]:
|
||||
# Keep the first exact PNG DynamicCombo branch.
|
||||
schemas.setdefault((nid, "format." + name), (default, ast.unparse(d)))
|
||||
else:
|
||||
schemas[nid, name] = (default, ast.unparse(d))
|
||||
assert len(candidates) <= 1, (nid, candidates)
|
||||
if not candidates and core_id not in ["unknown", "subgraph-definition"]:
|
||||
core_id = "unresolved-" + core_id
|
||||
bindings.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
class_type=cls,
|
||||
source_version=version,
|
||||
source_id=core_id,
|
||||
candidates=candidates,
|
||||
)
|
||||
)
|
||||
if core_id.replace("unresolved-", "") in [
|
||||
"goohai",
|
||||
"rgthree",
|
||||
"showtext",
|
||||
"ghgroup",
|
||||
"ghcompare",
|
||||
"was",
|
||||
"vosr",
|
||||
]:
|
||||
rs += [
|
||||
i for i, e in enumerate(manifest) if e["id"] == core_id.replace("unresolved-", "")
|
||||
]
|
||||
if cls == "KSampler":
|
||||
rs += [
|
||||
i
|
||||
for i, e in enumerate(manifest)
|
||||
if e["id"] == core_id and e["file"] == "comfy/samplers.py"
|
||||
]
|
||||
if cls in [
|
||||
"KSampler",
|
||||
"LoadImage",
|
||||
"ShowText|pysssss",
|
||||
"Image Comparer (rgthree)",
|
||||
"忽略多组孤海",
|
||||
]:
|
||||
rs += [i for i, e in enumerate(manifest) if e["id"] in ["frontend", "litegraph"]]
|
||||
if cls == "QwenImage21Cache":
|
||||
rs += [
|
||||
i
|
||||
for i, e in enumerate(manifest)
|
||||
if e["id"] == core_id
|
||||
and e["file"].startswith(("comfy/ldm/qwen_image21/", "comfy_api/latest/"))
|
||||
]
|
||||
rs += [i for i, e in enumerate(manifest) if e["id"] == core_id.removeprefix("unresolved-")]
|
||||
rs += [i for i, e in enumerate(manifest) if e["id"] == "frontend"]
|
||||
refs[nid] = list(dict.fromkeys(rs))
|
||||
fields = []
|
||||
comments = []
|
||||
flow = []
|
||||
empty = []
|
||||
for nid, ptr, scope, n in nodes:
|
||||
cls = n["type"]
|
||||
if cls in ["Note", "MarkdownNote"]:
|
||||
comments.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
pointer=ptr + "/widgets_values/0",
|
||||
text=n["widgets_values"][0],
|
||||
meaning=prose["notes"][nid],
|
||||
named_pointer=ptr + "/widgets_values_named/text",
|
||||
named_value=n["widgets_values_named"]["text"],
|
||||
evidence=[],
|
||||
)
|
||||
)
|
||||
flow.append(nid + " 原注释节点 " + json.dumps(n, ensure_ascii=False))
|
||||
continue
|
||||
core_id = next(b["source_id"] for b in bindings if b["node_id"] == nid)
|
||||
effect = (
|
||||
editorial[nid]
|
||||
+ " 原mode="
|
||||
+ str(n["mode"])
|
||||
+ (
|
||||
"(旁路保存态,不模拟穿透或执行)。"
|
||||
if n["mode"] == 4
|
||||
else "(mode2禁用/忽略保存态,不模拟组控制或执行)。"
|
||||
if n["mode"] == 2
|
||||
else "(活动保存态,不认证执行)。"
|
||||
)
|
||||
)
|
||||
flow += [
|
||||
effect,
|
||||
nid + " 原属性 " + json.dumps(n.get("properties", {}), ensure_ascii=False),
|
||||
nid
|
||||
+ " 原输入/输出 "
|
||||
+ json.dumps({k: n[k] for k in ["inputs", "outputs"]}, ensure_ascii=False),
|
||||
nid
|
||||
+ " 原具名保存 "
|
||||
+ json.dumps(n.get("widgets_values_named", "missing"), ensure_ascii=False),
|
||||
nid
|
||||
+ " 原其它属性 "
|
||||
+ json.dumps(
|
||||
{
|
||||
k: v
|
||||
for k, v in n.items()
|
||||
if k
|
||||
not in [
|
||||
"inputs",
|
||||
"outputs",
|
||||
"properties",
|
||||
"widgets_values",
|
||||
"widgets_values_named",
|
||||
]
|
||||
},
|
||||
ensure_ascii=False,
|
||||
),
|
||||
]
|
||||
if not n.get("widgets_values"):
|
||||
empty.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
class_type=cls,
|
||||
pointer=ptr,
|
||||
scope=scope,
|
||||
state="missing" if "widgets_values" not in n else "empty_list",
|
||||
effect=effect,
|
||||
named_state="empty_object"
|
||||
if n.get("widgets_values_named") == {}
|
||||
else "missing",
|
||||
)
|
||||
)
|
||||
continue
|
||||
for j, (name, value) in enumerate(zip(LAYOUTS[cls], n["widgets_values"], strict=True)):
|
||||
found = [i for (i, x) in enumerate(n["inputs"]) if x["name"] == name]
|
||||
inp = found[0] if len(found) == 1 else None
|
||||
linked = inp is not None and n["inputs"][inp].get("link") is not None
|
||||
boundary = cls == HOST
|
||||
aux = name in [
|
||||
"control_after_generate",
|
||||
"fixed",
|
||||
"upload",
|
||||
"text_0",
|
||||
"rgthree_comparer",
|
||||
"guhai_ig",
|
||||
]
|
||||
(default, limits) = schemas.get(
|
||||
(nid, name),
|
||||
(
|
||||
"无准确独立宿主/前端widget默认",
|
||||
"宿主保存位置/声明边界,不认证promoted或后端执行映射",
|
||||
),
|
||||
)
|
||||
unit = "接口枚举/文本/布尔,无物理单位;实际目标未核"
|
||||
if name in ["width", "height", "multiple"]:
|
||||
unit = "像素标尺/对齐倍数;保存缓存与外线覆盖分别列,不试算输出尺寸"
|
||||
if name == "megapixels":
|
||||
unit = "MP接口,准确实现以1024×1024为基数;源float0.4原样,不计算像素"
|
||||
if name in ["steps", "length", "value_2"]:
|
||||
unit = "整数步数/帧长接口;缓存/边界覆盖分列,不计算实际采样或帧数"
|
||||
if name == "noise_seed":
|
||||
unit = "整数噪声种子接口,不执行随机或保证可复现"
|
||||
if name in ["strength_model", "strength_model_1", "denoise"]:
|
||||
unit = "无物理单位的接口系数;源JSON int与准确定义分列"
|
||||
if name == "fps":
|
||||
unit = "帧/秒;源JSON int24与FLOAT schema默认30.0分列,不证明实际时长"
|
||||
if name == "bit_depth":
|
||||
unit = "视频位深接口,准确8/10步长2;源int8不是实际编码效果证明"
|
||||
if name == "expression":
|
||||
unit = "纯表达式字符串;不调用eval/simpleeval或推导帧数/时长"
|
||||
if name in ["control_after_generate", "fixed"]:
|
||||
default = (
|
||||
"PrimitiveInt按准确schema控制缺省fixed"
|
||||
if cls == "PrimitiveInt"
|
||||
else "前端控制辅助,准确frontend1.49.6通用缺省randomize;源fixed另列"
|
||||
)
|
||||
limits = (
|
||||
"fixed/increment/decrement/randomize;非后端数值参数,"
|
||||
"不执行随机、控制时序或认证恢复"
|
||||
)
|
||||
unit = "前端辅助枚举,无物理单位"
|
||||
if cls == HOST:
|
||||
default = "无独立宿主schema默认,不把缓存/内部默认当最终输入"
|
||||
limits = (
|
||||
"本图13保存缓存与15输入/定义边界分列;first_frame/last_frame无根输入,"
|
||||
"不造图像控件或promoted恢复"
|
||||
)
|
||||
if name == "value_1":
|
||||
unit = (
|
||||
"秒的作者接口意图;源JSON int5与内部FLOAT schema/缓存int2分列,"
|
||||
"不证明真实时长"
|
||||
)
|
||||
if cls == "PrimitiveFloat":
|
||||
unit = "时长秒的边界意图;FLOAT schema而源JSON int2,未改保存类型或计算表达式"
|
||||
if cls == "PrimitiveInt" and name == "value":
|
||||
unit = "采样步数候选整数;20/6缓存与宿主8分列,不计算sigmas"
|
||||
if core_id == "unknown" or core_id.startswith("unresolved-"):
|
||||
default = "未知:未核准本声明准确类/schema,不由其它版本补实"
|
||||
limits = "仅源保存/输入候选,准确默认/范围/算法/副作用未知"
|
||||
unit = "未知:准确声明类/schema未核"
|
||||
named_key = name
|
||||
named = n["widgets_values_named"][named_key]
|
||||
display_effect = effect
|
||||
if canonical(value) != canonical(named):
|
||||
display_effect += "\n具名保存完整形态(与位置历史分列):" + json.dumps(
|
||||
named, ensure_ascii=False, indent=2
|
||||
)
|
||||
fields.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
definition_node_id=str(n["id"]),
|
||||
scope=scope,
|
||||
class_type=cls,
|
||||
field=name,
|
||||
label=LABELS.get(name, name + "完整保存值"),
|
||||
pointer=f"{ptr}/widgets_values/{j}",
|
||||
value=value,
|
||||
json_type=type(value).__name__,
|
||||
named_pointer=ptr
|
||||
+ "/widgets_values_named/"
|
||||
+ name.replace("~", "~0").replace("/", "~1"),
|
||||
named_value=n["widgets_values_named"][
|
||||
"control_after_generate" if name == "seed_control_candidate" else name
|
||||
],
|
||||
input_pointer=f"{ptr}/inputs/{inp}"
|
||||
if inp is not None
|
||||
else "无可靠独立输入映射:前端控制辅助",
|
||||
input_name=n["inputs"][inp]["name"] if inp is not None else None,
|
||||
type=n["inputs"][inp]["type"] if inp is not None else "保存参考",
|
||||
role="frontend_reference_only"
|
||||
if aux
|
||||
else "boundary_saved_cache"
|
||||
if boundary
|
||||
else "linked_saved_cache"
|
||||
if linked
|
||||
else "saved_reference",
|
||||
schema_default=default,
|
||||
limits=limits,
|
||||
unit=unit,
|
||||
effect=display_effect,
|
||||
evidence=refs[nid],
|
||||
execution_note=(
|
||||
"仅静态参考;所有中英文提示/指南均作数据,不"
|
||||
"执行指令、构造prompt、调用LLM/SD"
|
||||
"K/模型/GPU/媒体/随机/恢复/表达式/"
|
||||
"缓存清理。转换执行资格不变。"
|
||||
),
|
||||
)
|
||||
)
|
||||
for (nid, name), (default, limits) in schemas.items():
|
||||
flow.append(
|
||||
(
|
||||
f"节点{nid}准确schema {name}:default={default};"
|
||||
f"{limits}。仅接口参考,不认证运行恢复。"
|
||||
)
|
||||
)
|
||||
for pre, ptr, graph in scopes:
|
||||
flow.extend(
|
||||
(
|
||||
(pre or "root") + " 物理边 " + json.dumps(e, ensure_ascii=False)
|
||||
for e in graph["links"]
|
||||
)
|
||||
)
|
||||
definition = g["definitions"]["subgraphs"][0]
|
||||
boundaries = [
|
||||
dict(
|
||||
host_node_id="140",
|
||||
definition_id=HOST,
|
||||
definition_widgets=definition["widgets"],
|
||||
proxy_widgets_present="proxyWidgets" in next(n for n in g["nodes"] if n["id"] == 140),
|
||||
inputs=definition["inputs"],
|
||||
outputs=definition["outputs"],
|
||||
links=definition["links"],
|
||||
notice="13宿主缓存、15输入与42含边界记录分列,definition.widgets=[]/无proxyWidgets,不认证promoted/UE恢复",
|
||||
)
|
||||
]
|
||||
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) == 49 and len(comments) == 3
|
||||
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="仅固定参考:首尾帧未接,宿主与内部英文/尺寸/时长/步数缓存分列;表达式不求值,目标模型/安装/音视频效果与宿主恢复未核,资格不变。",
|
||||
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()
|
||||
]
|
||||
+ [
|
||||
"旧106块5846位置/184注释冻结;新增49位置/三标准Note,总107图5895位置/187注释仅参考。local_file以docs/hel-892/minimax-h3-t2v-document-evidence为基准。"
|
||||
],
|
||||
counts=dict(
|
||||
saved_fields=49,
|
||||
root_saved_fields=19,
|
||||
internal_saved_fields=30,
|
||||
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=27,
|
||||
root_nodes=6,
|
||||
internal_nodes=21,
|
||||
physical_edges=45,
|
||||
source_notes=3,
|
||||
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,75 @@
|
||||
"""Collect final completed browser evidence and independently verify port release."""
|
||||
|
||||
import collections
|
||||
import json
|
||||
import re
|
||||
import shutil
|
||||
import socket
|
||||
from pathlib import Path
|
||||
from urllib.parse import urlsplit
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
LOCAL = ROOT / ".local-evidence/minimax-h3-t2v-document/browser"
|
||||
|
||||
|
||||
def main():
|
||||
stopped = json.loads((LOCAL / "service-stop.json").read_bytes())
|
||||
assert stopped["ports_released"] == [8247, 5173]
|
||||
ports = []
|
||||
for port in [8247, 5173]:
|
||||
with socket.socket() as s:
|
||||
s.settimeout(1)
|
||||
result = s.connect_ex(("127.0.0.1", port))
|
||||
assert result != 0
|
||||
ports.append({"port": port, "connect_ex": result, "connection_refused": True})
|
||||
data = json.loads((LOCAL / "browser-results.json").read_bytes())
|
||||
assert not data["errors"] and data["viewports"] == [1440, 390]
|
||||
backend = collections.Counter(
|
||||
re.findall('"GET ([^ ]+) HTTP/1.1"', (LOCAL / "service-0.log").read_text())
|
||||
)
|
||||
polling = {p: n for (p, n) in backend.items() if p in ["/api/events", "/api/jobs"]}
|
||||
fixed = {p: n for (p, n) in backend.items() if p not in polling}
|
||||
browser = collections.Counter((urlsplit(r["url"]).path for r in data["requests"]))
|
||||
intercepted = collections.Counter((urlsplit(r["url"]).path for r in data["interceptions"]))
|
||||
expected = browser.copy()
|
||||
for p, n in intercepted.items():
|
||||
expected[p] -= n
|
||||
expected["/api/workflows"] += 1
|
||||
polling_delta = {p: backend[p] - expected[p] for p in ["/api/jobs", "/api/events"]}
|
||||
assert all((abs(n) <= 1 for n in polling_delta.values()))
|
||||
assert {p: n for (p, n) in expected.items() if p not in polling_delta} == fixed
|
||||
counts = {
|
||||
"fixed_count": sum(fixed.values()),
|
||||
"fixed_paths": fixed,
|
||||
"polling_count": sum(polling.values()),
|
||||
"polling_paths": polling,
|
||||
"readiness_gets": 1,
|
||||
"detail_fixture_intercepts": len(data["interceptions"]),
|
||||
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": True,
|
||||
"polling_snapshot_delta": polling_delta,
|
||||
"polling_snapshot_tolerance": 1,
|
||||
}
|
||||
(OUT / "backend-request-counts.json").write_text(
|
||||
json.dumps(counts, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
(OUT / "ports-independent.json").write_text(json.dumps(ports, indent=2) + "\n")
|
||||
for name in ["browser-results.json", "service-stop.json", "service-0.log", "service-1.log"]:
|
||||
shutil.copyfile(LOCAL / name, OUT / name.replace(".log", ".txt"))
|
||||
print(
|
||||
"PASS browser",
|
||||
data["assertion_count"],
|
||||
data["assertionGroups"],
|
||||
"fixed/polling/fixture",
|
||||
data["request_accounting"]["fixed_count"],
|
||||
data["request_accounting"]["polling_count"],
|
||||
len(data["interceptions"]),
|
||||
"backend",
|
||||
counts["fixed_count"],
|
||||
counts["polling_count"],
|
||||
"readiness1; independently refused8247/5173",
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"backend_tests": 255,
|
||||
"browser_assertions": 3936,
|
||||
"browser_groups": {
|
||||
"aggregate": 2,
|
||||
"new_minimax_h3_t2v": 1376,
|
||||
"old_one_hundred_six": 2544,
|
||||
"shared_regressions": 14
|
||||
},
|
||||
"screenshots": 37,
|
||||
"viewed": 14,
|
||||
"get_equals_export": true,
|
||||
"source_rows": 39,
|
||||
"source_closure": 53,
|
||||
"baseline_frozen": 11484,
|
||||
"originals": 163,
|
||||
"reference_documents": 107,
|
||||
"positions": 5895,
|
||||
"notes": 187,
|
||||
"final_documents": 0,
|
||||
"real_executions": 0,
|
||||
"new_conversions": 0
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"base": "50efa59d5ef73d26535ea871e5bf79475696420d",
|
||||
"architecture_read": "docs/hel-892/H3固定定义中文说明与详情接入.md",
|
||||
"production_changes": [
|
||||
"target source_reviews.json fixed_version_document only",
|
||||
"target fixed_document.py explicit path/code-owned pin only"
|
||||
],
|
||||
"source_rows": 39,
|
||||
"source_closure_files": 53,
|
||||
"accurate_implementation_nodes": 23,
|
||||
"root_saved_fields": 19,
|
||||
"internal_saved_fields": 30,
|
||||
"source_pairing": "all49 positional/named values exact; 23 named nodes;4 missing widgets+named keys",
|
||||
"source_findings": "native MiniMaxH3ImageToVideo/CLIP minimax enums/audio VAE/CreateVideo/SaveVideo exact0330 present. All nodes independently bound; host is definition, not a class/version propagation shortcut. Root first/last frame unconnected, old internal prompt/cache retained. No expression evaluation or current frame/time calculation.",
|
||||
"failures": {
|
||||
"acquisition-initial-errors.txt": "original foreground tool traces retained: missing retrieved_at in legacy records; core registry404. Fixed metadata assumptions without inventing historical time or treating404 as source absence.",
|
||||
"initial-ruff-entry.txt": "four long literal lines split equivalently; first backend255 pass preserved, only affected lint/format repeated"
|
||||
},
|
||||
"tests": "specific+library255 pass/1 preexisting AnyIO warning; three formal entries select current test; no unrelated full suite or all-repo green claim",
|
||||
"frozen_resources": 191,
|
||||
"originals": 163,
|
||||
"old_documents": 106,
|
||||
"old_saved": 5846,
|
||||
"old_notes": 184,
|
||||
"final_documents": 0,
|
||||
"new_conversions": 0,
|
||||
"real_executions": 0,
|
||||
"upstream_executed": false,
|
||||
"expression_evaluated": false,
|
||||
"prompt_constructed": false,
|
||||
"model_or_media_loaded": false,
|
||||
"target_access": false,
|
||||
"cloud_api_called": false,
|
||||
"dependency_added": false,
|
||||
"deployed": false,
|
||||
"historical_seedvr_overreach": "original whole-package overreach and deletion records unchanged; not repeated or recast",
|
||||
"recorded_at": "2026-10-31T21:41:25.947433+00:00"
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"92": "阅读17:92保存video/MiniMax_H3/auto/auto,准确SaveVideo格式VideoContainer auto/mp4、get_extension(auto或mp4)=mp4,codec DynamicCombo有auto/h264与编码子分支。准确execute按VIDEO尺寸与get_save_image_path决定output目录/文件名,disable_metadata及hidden prompt/extra_pnginfo条件控制metadata,video.save_to后返回io.NodeOutput(video,ui.PreviewVideo(SavedResult));源输出声明与实际VIDEO data/UI返回分开核准,不误称仅UI。当前未扫描目录、保存/播放/读取媒体、构造prompt、调用云API或验证真实输出。",
|
||||
"115": "阅读2:115 ResolutionSelector保存16:9 (Widescreen)、JSON float0.4 MP、int32。准确core0.33.0 schema与实现以1024×1024为MP基数、按比例取尺寸并round最近multiple;只静态说明,不计算当前像素。246/247覆盖140宿主width1344/height768,再200/201覆盖131内部1344/768,两套缓存独立保留,不能把MP表或缓存当真实输出尺寸。",
|
||||
"140": "阅读3:140宿主13位置=完整1647码点英文、1344、768、JSON int5、seed757358688076805、MiniMax目录UNET/CLIP/视频VAE/音频VAE四引用、true、完整8step LoRA目录引用、JSON int1、int8。15输入多出first_frame/last_frame两口,根未接,definition.widgets=[]且无proxyWidgets,不造图像控件、promoted或UE恢复映射。宿主完整英文与内部131的980码点旧英文独立全文/空白保存,不因覆盖删掉旧缓存。",
|
||||
"140:119": "阅读10:128 CLIPLoader保存qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors/minimax/default,189→131.clip。准确0.33.0 CLIPLoader枚举确含minimax,comfy.sd.CLIPType.MINIMAX及MiniMax H3 tokenizer/文本模型分支存在,不借0.38或main填实;动态text_encoders文件成员、nvfp4/AWQ权重与实际设备仍未核,不能因枚举/文件名证明安装或能加载。119视频VAE给131及122,120独立音频VAE只给121,两个文件引用/精度原样,不混用宿主四模型缓存。",
|
||||
"140:120": "阅读10:128 CLIPLoader保存qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors/minimax/default,189→131.clip。准确0.33.0 CLIPLoader枚举确含minimax,comfy.sd.CLIPType.MINIMAX及MiniMax H3 tokenizer/文本模型分支存在,不借0.38或main填实;动态text_encoders文件成员、nvfp4/AWQ权重与实际设备仍未核,不能因枚举/文件名证明安装或能加载。119视频VAE给131及122,120独立音频VAE只给121,两个文件引用/精度原样,不混用宿主四模型缓存。",
|
||||
"140:121": "阅读15:125同一LATENT输出225→122 VAEDecode、226→121 VAEDecodeAudio。准确VAEDecode遇nested取unbind()[0],VAE解码,5维输出按源码合批;准确vae_decode_audio遇nested取最后一项,独立audio VAE解码并movedim,按std*5与下限1归一化,采样率取samples覆盖或VAE属性/fallback44100。只列条件,不解码、不处理音视频或保证立体声音轨、时长/采样率对齐。",
|
||||
"140:122": "阅读15:125同一LATENT输出225→122 VAEDecode、226→121 VAEDecodeAudio。准确VAEDecode遇nested取unbind()[0],VAE解码,5维输出按源码合批;准确vae_decode_audio遇nested取最后一项,独立audio VAE解码并movedim,按std*5与下限1归一化,采样率取samples覆盖或VAE属性/fallback44100。只列条件,不解码、不处理音视频或保证立体声音轨、时长/采样率对齐。",
|
||||
"140:123": "阅读11:129 RandomNoise保存seed JSON int1/fixed,宿主757358688076805经207覆盖seed,NOISE40→125。准确schema默认0/min0/max0xffffffffffffffff/control_after_generate true,执行构造Noise_RandomNoise对象,实际噪声生成条件在该类源码;前端1.49.6通用控制辅助缺省randomize、源fixed分别列,不运行种子控制、随机或保证复现。123 KSamplerSelect保存res_multistep,准确动态SAMPLER_NAMES枚举与ksampler创建只静态,16→125,不执行采样。",
|
||||
"140:124": "阅读12:124 BasicScheduler保存simple/int4/int1,选定MODEL234及选定步数235覆盖相应缓存。准确steps默认20/1..10000、denoise默认1.0/0..1/step0.01;execute在denoise<1与<=0有条件分支,取model_sampling并calculate_sigmas后截取;只说明源码条件,不求sigmas或把JSON int1改成float。126 BasicGuider/conditioning/NOISE/sampler/sigmas/131 LATENT组合关系按物理线列,不构造执行图。",
|
||||
"140:125": "阅读6:准确模块_empty_av_latent返回samples为NestedTensor(video,audio);视频符号形状[B,24,T,H/16,W/16]、音频[B,32,2,T40],temporal_shape按源码17k+5网格与FPS24/AUDIO_LATENT_FPS40处理。只列协议和原常量,不计算当前帧数/时长/latent尺寸、不分配张量。131 positive187→126 BasicGuider,LATENT188才是125 SamplerCustomAdvanced真正入口,没有另造EmptyLatent。",
|
||||
"140:126": "阅读6:准确模块_empty_av_latent返回samples为NestedTensor(video,audio);视频符号形状[B,24,T,H/16,W/16]、音频[B,32,2,T40],temporal_shape按源码17k+5网格与FPS24/AUDIO_LATENT_FPS40处理。只列协议和原常量,不计算当前帧数/时长/latent尺寸、不分配张量。131 positive187→126 BasicGuider,LATENT188才是125 SamplerCustomAdvanced真正入口,没有另造EmptyLatent。",
|
||||
"140:127": "阅读7:127 UNETLoader保存minimax_h3_fl2va_pruned_int8_convrot.safetensors/default,宿主保留MiniMax\\目录原拼,模型221边界覆盖短名。127经229→134 LoraLoaderModelOnly,同时232→135.on_false;134经233→135.on_true。LoRA文件内部短名/宿主目录异名与强度JSON int1/准确默认1.0分别保存,不认证权重存在、许可、兼容、设备或真实效果。准确LoraLoaderModelOnly及父类加载条件只静态读取,不扫描模型目录或加载文件。",
|
||||
"140:128": "阅读10:128 CLIPLoader保存qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors/minimax/default,189→131.clip。准确0.33.0 CLIPLoader枚举确含minimax,comfy.sd.CLIPType.MINIMAX及MiniMax H3 tokenizer/文本模型分支存在,不借0.38或main填实;动态text_encoders文件成员、nvfp4/AWQ权重与实际设备仍未核,不能因枚举/文件名证明安装或能加载。119视频VAE给131及122,120独立音频VAE只给121,两个文件引用/精度原样,不混用宿主四模型缓存。",
|
||||
"140:129": "阅读11:129 RandomNoise保存seed JSON int1/fixed,宿主757358688076805经207覆盖seed,NOISE40→125。准确schema默认0/min0/max0xffffffffffffffff/control_after_generate true,执行构造Noise_RandomNoise对象,实际噪声生成条件在该类源码;前端1.49.6通用控制辅助缺省randomize、源fixed分别列,不运行种子控制、随机或保证复现。123 KSamplerSelect保存res_multistep,准确动态SAMPLER_NAMES枚举与ksampler创建只静态,16→125,不执行采样。",
|
||||
"140:130": "阅读16:122 IMAGE167与121 AUDIO166进入130 CreateVideo,保存fps JSON int24/bit_depth int8,VIDEO168出定义→140→248→92 SaveVideo。准确CreateVideo fps FLOAT默认30.0/1..120/step1,bit_depth INT默认8/min8/max10/step2且optional,返回InputImpl.VideoFromComponents(Types.VideoComponents(...,frame_rate=Fraction(fps)),bit_depth),只是VIDEO对象非自动落盘。准确VideoFromComponents编码条件、视频h264/YUV8或10、音频有值才AAC及按帧范围裁切等仅静态,不保证真实有声/色深/质量,不运行av/ffmpeg或下载运行库。",
|
||||
"140:131": "阅读5:准确131 schema prompt multiline/dynamic_prompts、width默认1344/height768/min32/step32/max nodes.MAX_RESOLUTION,length默认124/min5/max3600/step17;这些schema默认与源缓存73/外部时长链分列。execute先建AV latent,首帧有值才stretch到画布、末帧有值才center裁剪,tokenize(prompt,images)与encode_from_tokens_scheduled后返回positive和latent;关键帧存在才VAE编码并加minimax_keyframes条件。当前不传媒体、不调用tokenize/编码或认证恢复。",
|
||||
"140:132": "阅读14:132准确类名MathExpressionNode、注册ComfyMathExpression,Autogrow TemplateNames以字母口、min1、Float/Int/Boolean候选建立values;默认表达式a + b。准确execute拒绝空式,组装values上下文后调用simple_eval和允许的函数表,检查数值/finite,再返回float/int/bool;pow有指数上限。以上仅源码静态语法/条件,源表达式不执行、不改写,也不推导当前输出。",
|
||||
"140:133": "阅读13:宿主JSON int5时长经206覆盖133 PrimitiveFloat缓存JSON int2,FLOAT schema与源int类型保持差异,205→132.values.a;values.b未接。完整表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 原样作为纯字符串,INT199→131.length,FLOAT/BOOL输出links为null。没有调用eval、simpleeval、解释器或手算当前帧数/时长,不用73缓存替代外线。",
|
||||
"140:134": "阅读7:127 UNETLoader保存minimax_h3_fl2va_pruned_int8_convrot.safetensors/default,宿主保留MiniMax\\目录原拼,模型221边界覆盖短名。127经229→134 LoraLoaderModelOnly,同时232→135.on_false;134经233→135.on_true。LoRA文件内部短名/宿主目录异名与强度JSON int1/准确默认1.0分别保存,不认证权重存在、许可、兼容、设备或真实效果。准确LoraLoaderModelOnly及父类加载条件只静态读取,不扫描模型目录或加载文件。",
|
||||
"140:135": "阅读9:两个准确SwitchNode在LogicExtension注册,schema switch布尔、on_false/on_true均lazy;check_lazy_status只请求当前选支尚缺的口,execute按switch返回on_true或on_false。内部false和宿主true缓存分列,不模拟分支或据开关保证关闭必无加载/I/O。137/138准确PrimitiveInt只有value INT,控制缺省io.ControlAfterGenerate.fixed;值与前端fixed辅助分开,不把fixed当后端采样字段。",
|
||||
"140:136": "阅读9:两个准确SwitchNode在LogicExtension注册,schema switch布尔、on_false/on_true均lazy;check_lazy_status只请求当前选支尚缺的口,execute按switch返回on_true或on_false。内部false和宿主true缓存分列,不模拟分支或据开关保证关闭必无加载/I/O。137/138准确PrimitiveInt只有value INT,控制缺省io.ControlAfterGenerate.fixed;值与前端fixed辅助分开,不把fixed当后端采样字段。",
|
||||
"140:137": "阅读8:139 PrimitiveBoolean缓存false被宿主true经240覆盖,238/239同时给135/136.switch。135选定MODEL的234→124 BasicScheduler、241→126 BasicGuider;136.on_false来自137 int20/fixed经236,on_true来自138 int6/fixed经237,而宿主int8经245覆盖138缓存6,再235到124.steps。文件名8step、宿主8、内部6/20、Scheduler缓存4都不是同一保存项,不保证实际步数或恢复。",
|
||||
"140:138": "阅读8:139 PrimitiveBoolean缓存false被宿主true经240覆盖,238/239同时给135/136.switch。135选定MODEL的234→124 BasicScheduler、241→126 BasicGuider;136.on_false来自137 int20/fixed经236,on_true来自138 int6/fixed经237,而宿主int8经245覆盖138缓存6,再235到124.steps。文件名8step、宿主8、内部6/20、Scheduler缓存4都不是同一保存项,不保证实际步数或恢复。",
|
||||
"140:139": "阅读8:139 PrimitiveBoolean缓存false被宿主true经240覆盖,238/239同时给135/136.switch。135选定MODEL的234→124 BasicScheduler、241→126 BasicGuider;136.on_false来自137 int20/fixed经236,on_true来自138 int6/fixed经237,而宿主int8经245覆盖138缓存6,再235到124.steps。文件名8step、宿主8、内部6/20、Scheduler缓存4都不是同一保存项,不保证实际步数或恢复。"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_minimax_h3_t2v_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/minimax-h3-t2v-document-evidence/*.py calliope-backend/tests/test_minimax_h3_t2v_fixed_document.py e2e/run-minimax-h3-t2v-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/minimax-h3-t2v-document-evidence/*.py calliope-backend/tests/test_minimax_h3_t2v_fixed_document.py e2e/run-minimax-h3-t2v-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 0,
|
||||
"log": "format-entry.txt"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,2 @@
|
||||
FETCH core0330 2f35f4a08176d993cded35dac3332be4f7287f41 15
|
||||
ROWS 39
|
||||
@@ -0,0 +1,686 @@
|
||||
{
|
||||
"base": "50efa59d5ef73d26535ea871e5bf79475696420d",
|
||||
"self_excluded": true,
|
||||
"self_path": "docs/hel-892/minimax-h3-t2v-document-evidence/file-purpose-sha256.json",
|
||||
"reason": "清单不递归摘要自身;最终head/完整补丁另在提交后交付包中",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
|
||||
"bytes": 24033,
|
||||
"sha256": "6f05e560bf902794c2e59758abbf359dc15eb8d0f2ee812df21d3f5500ad8a41"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
|
||||
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
|
||||
"bytes": 28461088,
|
||||
"sha256": "ab750b26fda6ad0c59c349ff39d1f374cd1ce2a8ebd7ba963099c62fe9484e96"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_minimax_h3_t2v_fixed_document.py",
|
||||
"purpose": "本图逐保存位置/完整长字符串/全图和调用方重哈希失败关闭测试",
|
||||
"bytes": 9582,
|
||||
"sha256": "1cd5b6d45d2621be3925c181925cf03e3587c96d451a85e32c3dacc62a615d8e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/MiniMaxH3基础文生视频固定参考中文说明.md",
|
||||
"purpose": "49位置和三标准Note/自定义原属性完整中文固定参考说明",
|
||||
"bytes": 829115,
|
||||
"sha256": "951dc35966c511864c43602027c261700c202cb2a6859274d4dcc74eaee9d962"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/acquisition-initial-errors.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2549,
|
||||
"sha256": "fbcd4bbc1f723ec7db7d879a23a99dd92bbf3d9c4e1d456cb62f07a50e617bc4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/actual-get.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 398417,
|
||||
"sha256": "c38fa287457245f0954a8a982728badeb3a4eec742729fbe756c32e3860863de"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/actual-minimax_h3_t2v_文生视频.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 381872,
|
||||
"sha256": "9189a24a2363d887cdb2d94c2311e3b0f3588d8f538ea1501c99879bc81b68de"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/audit-summary.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 797,
|
||||
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/backend-build.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 211,
|
||||
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/backend-request-counts.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3464,
|
||||
"sha256": "c792a7c08f9259f3d806144656a18921398883411fa4edd223241a5dc82a466b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/backend-tests.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 960,
|
||||
"sha256": "c722ffb67e4a99ecfd7f789553af4e5748215d53e1eeef231604ab121c44972f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/baseline-frozen-files.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2761242,
|
||||
"sha256": "5b512c83d500e3f2a661739c8c6797a40ed17806953be26e7006cb9f9f83fc0a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/boundaries.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 38620,
|
||||
"sha256": "7ca5c40e2aabf93c03ca3367fa1330ad9de5853b0a282006618515aab01968e1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/browser-entry-executed.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 462,
|
||||
"sha256": "f847490090dfda042b40b0740cd9003169dacfbf6da869c7c43ec824bc9b8a84"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/browser-results.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 279680,
|
||||
"sha256": "e1c4741544beebf251018fffccfdcf416dac068a56f11716547268998698b1e6"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/browser-run-log.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 234737,
|
||||
"sha256": "1d4d4ece87b08e1ce1d083df5f4b53f27fe3f5c8bfffc8f8ca4d7f3906da51fe"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/build_definition.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 23729,
|
||||
"sha256": "a795db6151d2be51ff3fb3f4348a9d26c1e78e0d74f27b25cbad0783bf9487d0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/collect_browser.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3026,
|
||||
"sha256": "10cca2812796efc23f8137ab6b4ac5e0d99a3f72d66834433cf5a3e631106a05"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/definition-0.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 310924,
|
||||
"sha256": "7dac2d03dd5039713bfbe79c736434d4085b4dcb0af68d72f3db5165e68c994e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/delivery-summary.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 496,
|
||||
"sha256": "d995e4a07c7916985b23702c81b9b76330183375aa030f8cc8958e080fac811a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/development-record.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2051,
|
||||
"sha256": "24032f3dfd07a17de19dc79b1177c6b9109b4e66e983ad5ab141afcf3d29682e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/editorial.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 11659,
|
||||
"sha256": "6b224b8ea13620685f5758b41b072d19144ba7435064f7e17a44bbedc4c1bf8a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/entry-executed.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1029,
|
||||
"sha256": "e6201c3f1236dab37ed8730d2c04f0e75460aac933017b55451574377579b2f8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/extend-minimax-h3-t2v-sources.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 67,
|
||||
"sha256": "35be2a0accfa8d46fa98e3c68d55cf53dcf1f0bd4fa0c109e54d0c813cc12fa2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/fixed-source-index.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 83552,
|
||||
"sha256": "bd7600e9c3403be0b42112e36ed4f1120097a031e5c106a27f19210bd4b5f725"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/format-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 27,
|
||||
"sha256": "04eb0d6e6734823dcd2b2b704729e976f683df7a8f334da7216520ef1cb319bf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/freeze.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2452,
|
||||
"sha256": "2da492ffeaa22c26981c55b47455df88b5eb903f93c0c8ca1d139c29b9b6cb9b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/freeze.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 40,
|
||||
"sha256": "91b39a0bbb0e08ac9f09133e9b0b86da046787f73f7237705d0810fb88d1c843"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/frontend-build.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 24100,
|
||||
"sha256": "523746d782e4f4434764b2b8a71b364417ec55addbce1a838b2884bc67bd4760"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/frozen-resource-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 40348,
|
||||
"sha256": "db267c0a90d6bb96143f970794c1c5bff901c51b6330b7b4acd48d7ca62b96d6"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/get-binding.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 419,
|
||||
"sha256": "e32347dca863be3bbe573bfc14f5b637a87e28f346ae114adbf5f6222547b659"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/import-protection.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1272,
|
||||
"sha256": "0a2a2a09d669b617a60e6368d3602f725246fde3dff0422e1d5fc723c5f30558"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/independent-inventory.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 63648,
|
||||
"sha256": "17c8596ae4b4cc9ac0e4dd84b23a6ec8c397f8bce6100b68eed2e321e860f5e7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/initial-entry-executed.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1029,
|
||||
"sha256": "76a957ce054eb3f7372fa83315aa08b97be347d745bb6d3767d59aec0dc133ca"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/initial-ruff-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2522,
|
||||
"sha256": "3b24962d8945790a51d6f534d6bbed6c4633779eee26db4c1bd799b7294536f2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/initial-source-check.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 105,
|
||||
"sha256": "4e4de00aaabec3a3aeeb1e5d0e061319589e221259addc998fec15226f12c37c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/inventory.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3486,
|
||||
"sha256": "7d172e1acdb5ba4aafe9dd932fbaf721892eedc6f20e907026649adccd35fcad"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/js-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 82,
|
||||
"sha256": "67b8ecdbca90c510c044b83cc007dba2e8980518895c7ce6c41c8cc2117f2299"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/js-check.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/json-pointer-delta.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 450,
|
||||
"sha256": "90dc1ba2fbfceb0fdc59866d8440f4ad9b3e9b919736c95e86a7c68c5fa07dbb"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/long-text-sha256.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1429,
|
||||
"sha256": "d9dfdced5ac635e52017ca3b1715052c468d2b83d3c1258cc957971cf1ab0b76"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/node-version-bindings.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 6772,
|
||||
"sha256": "883dd30629476d5ab05ee3c09d114e8b1270d524eef3c07a01cb3800ed65edff"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/originals-163-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 46597,
|
||||
"sha256": "2ac7c24bec3e01d1aa6e9775681f42d87044abd93a8342f18ffff669e901677b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/package-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 553,
|
||||
"sha256": "e927b4100ce1876d9eb9bbeb60e6819620817e38998aa80a262dd81eda2404e4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/pins.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 161,
|
||||
"sha256": "a609a4a1371e75e4aad12cfdf44fa0c0e9459daf8fdfdfad15b51ed06d4da9bd"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/ports-independent.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 165,
|
||||
"sha256": "1e487821f761ab96db779fb3b6fb5e5411005f9027f12a880a779aefb23c50bc"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/preformat.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 44,
|
||||
"sha256": "e33406019bb1de50c824d3e685f9a7a8c19a9b6cd1f982f943c57cf76ea639e1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/prelint.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2522,
|
||||
"sha256": "3b24962d8945790a51d6f534d6bbed6c4633779eee26db4c1bd799b7294536f2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/prose.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 10722,
|
||||
"sha256": "c9068e71f1d5889b607025fbfa9fca803d47c223911104ff76ee8025ea9daa7c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/rebuild.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2372,
|
||||
"sha256": "0ae420880a6912b5a25ff9a2a82142daaf6f7802e1b6975f5e6b25853e77ebc7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/recompute.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 13535,
|
||||
"sha256": "7af187e0c346fa872535520f395018aa81d6de0b845a81b9c2e3ce0e7b430b34"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/recompute.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 285,
|
||||
"sha256": "51500587878b5a4a7ae2a2be626b9dc52d08d6bbd60019dc1f98c0333beff6dd"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/render_report.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 5051,
|
||||
"sha256": "468339d9d716af8160e7b2b5b1bf93f9c147248ae196f120f1a63ae14faa4748"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/repeat.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1336,
|
||||
"sha256": "3c7b408ea3229460d1a57427b613151c3396e72a881a9e9b2b77920f404cd192"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/repeatability.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 429,
|
||||
"sha256": "6b8a5314e05b7106650700f0f316443f661518d1d82683e4069d98bae5699649"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/review-delta.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 388,
|
||||
"sha256": "ea65fe3afc9836daece1a5cb68e85cc188c331696fc15b9fe15040a3826b0b50"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/ruff-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 19,
|
||||
"sha256": "82b3e6a6c090a57601d22943bd23fca9218d1031dbe5a7b754092f9a156b4f18"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/scoped-diff-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 400,
|
||||
"sha256": "26f6e96874441e174eb4b85452312446af54d8709fdaa7f008a8c1cc39ac7796"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/scoped-diff-check.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/screenshot-review.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2457,
|
||||
"sha256": "49c25cf29205186d14bb0f64c2f2983f9bd18613a04a4cc27109492f8de3aee2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/service-0.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 24710,
|
||||
"sha256": "9b3a68e1e56a47cf815e49034568afc2fc7b51a527665a1306cd0cb71f6edc87"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/service-1.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 72,
|
||||
"sha256": "44fa5a00620dd067fe03b0567f23b3691361d968f5f64ff183224375ea1cf9fd"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/service-stop.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 65,
|
||||
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/setup-minimax-h3-t2v-sources.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 117,
|
||||
"sha256": "610a6673dba201762c3f1721818ef896ee6ed03f2d9f47465a4246e72bff1bd7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/source-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 11295,
|
||||
"sha256": "10bef37f80a536d44ecdf4a88bf80c9a6d42c3e8acc21a3d050436b3d4d941d0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/source-closure.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 14875,
|
||||
"sha256": "b70bc8a615f509e7eaf3ef996ec13f55db15f52a5d4451df804a1b1a4c13a07e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/source-reproduction.md",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3806,
|
||||
"sha256": "dff3caee2b98db2da60aaa7984a82afbeb843f2bdb39246a5adbad4574791c55"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/source_closure.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2712,
|
||||
"sha256": "fd7125aa22b912ca3c98b161c4b7a36d212a4a35b8d7c9d4c58e9620f5839f19"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/validation-commands.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2756,
|
||||
"sha256": "04a4501741901dd78c94cceb8e9d5f8440af04c2336b7526329a89ace8272efa"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/verification-times.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 339,
|
||||
"sha256": "f116cf7b5ce26001b20e630acded25c333737afa40a9f8c6873a728765e67ccf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-document-evidence/verify_sources.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 10677,
|
||||
"sha256": "6b292cc0abb9fc9c6f6ee317b55468ffdb095eb1f514b80edc4c2ec8edb4b8d5"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core-registry.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 278,
|
||||
"sha256": "d79ccf351413ec2c48720fa59cde89f8412abbae70cc01987508f44607fc1277"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-commit.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 256,
|
||||
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-fetch.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 88,
|
||||
"sha256": "e381ed704d67ffacc2d56a1c6c5f942ea7c244cbf20b111568e319cb2a1604e7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-tag.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 135,
|
||||
"sha256": "dea1818eb073751e4fbf27b1e7359d2e54bea6bcafb7077b2b9021956a2dd483"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-tag.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 256,
|
||||
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-tree.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 171022,
|
||||
"sha256": "b672950210c6036f571713c78213ef9a6166a00e0a349e4b5890a4cc34c892b0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy__ldm__minimax__audio_vae.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 15950,
|
||||
"sha256": "470f7f07be8c38634b85e719bbf5d0f04ce12d2a2c9253791db61930d15e8121"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy__ldm__minimax__vae.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 28758,
|
||||
"sha256": "40c4bf2db63279e0d13eb8de2c8a4602207a90cf9350f94afbee7aeed8b757ea"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy__sd.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 137971,
|
||||
"sha256": "a780d85ff07431534d65ac676c8c9a27a5e7ff1dbef74495030e53d5834870c1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy__text_encoders__minimax.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 9514,
|
||||
"sha256": "751b2876c9f151f8c09576dadf4122aea84400d3147917202c70ce2c15b16e89"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest____init__.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 6307,
|
||||
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___input__video_types.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 4751,
|
||||
"sha256": "8d2eea0fd4c1b5f6f33263d17b0d282e1b2d338570946ff30090689ac1802932"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___input_impl__video_types.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 44175,
|
||||
"sha256": "f838d6d3e113c5f885e44fd056c32caa7d9549736663fe669f2b96c39422386b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___io_public.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 33,
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___ui.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 18366,
|
||||
"sha256": "14c48175a06d4c5ad7b7dfc2e3809185f88eb93af068fe5df84703257ca66353"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___ui_public.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 33,
|
||||
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___util____init__.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 314,
|
||||
"sha256": "d119ea71c1bb687ea1a198344d164fa8b6b10f98fb2925bc040132a32672062a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_extras__nodes_logic.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 12488,
|
||||
"sha256": "2cb1ce149ce616c0b12a67962ed7b799eb398fbcdeb20dcec4c5210eb6af6df1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_extras__nodes_minimax_h3.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 15728,
|
||||
"sha256": "f767df4074b908efb345f5a87c2fd263ba82c12e65bcca932846207cc213e064"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__folder_paths.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 23156,
|
||||
"sha256": "b748be5d1e068ad673f6c4de069fb6b7b723405c40ae3c3c44465d416f7df2db"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__requirements.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 531,
|
||||
"sha256": "162eb6c1d79d1f0dcf906498c425f01293199261553977791b16a96fceba7d07"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-commit.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 1370,
|
||||
"sha256": "f314b54fedee069e1b40fc4d59acc47ff7d228baf8c5edf474dc1a4c48ce9c6a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-fetch.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 97,
|
||||
"sha256": "5a165daf20f37f90d8de18356f706beae7247747bca14e0ba9bcd1de283e44c1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-tag.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 135,
|
||||
"sha256": "e9896519e66bf2929a5f614924ffa272e3dcab7c96afadd49f868ce170011073"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-tag.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 147,
|
||||
"sha256": "ed05e44f7ed7f6aa0571a1be6702d6b75a73420b767858a34ae62d5c1f8ab458"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-tree.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 982203,
|
||||
"sha256": "ff2e577270f3d192748a027a29d5ba97c1dab160a795b85f9c243190dde3299b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__LICENSE",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 35149,
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__package.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 9608,
|
||||
"sha256": "be762a441dec346f4d50d10d4da87b20465aaaedb31915a59f510eb3bea69dd1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__pnpm-lock.yaml",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 642855,
|
||||
"sha256": "5824740882a16c8c0023937513f4b8727426040dd4a40595ca6af2b3aa2ce114"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__extensions__core__widgetInputs.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 17867,
|
||||
"sha256": "8f60f9e5fe4a75f76d8d60c46bb2957485d6a46d331d0e7f522f6458b0ac93a5"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__LICENSE",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 1077,
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 132247,
|
||||
"sha256": "d6263d56f28a5e6c5a95a3a263fe0d6ffe4083a981c01a14ec4ebfca43487e50"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__subgraph__ExecutableNodeDTO.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 14852,
|
||||
"sha256": "64baa71b46bd67440b032e18e4d9aebb67a6cc135fe7c4509ae1b5bc25acc2a3"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__subgraph__Subgraph.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 224,
|
||||
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 30644,
|
||||
"sha256": "e204cd7be49ad0d48b16395dc26f6a086ca5be25a3bc0817831139255578219a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__widgets__BooleanWidget.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 1508,
|
||||
"sha256": "c19d7198f3074ebc305848fcd5f6abee354b5a2a990e65a27130e00550bf00ff"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__widgets__NumberWidget.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 2659,
|
||||
"sha256": "4f6519f4d5639eef1ac858940ec0a7b3a0a6dde405d663b8a862005c6c4dbd95"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__scripts__app.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 81039,
|
||||
"sha256": "77af06200563b25a38589023c08bcaf1220df46cd2cae70928f6cfbe0326b10e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__scripts__widgets.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 9562,
|
||||
"sha256": "5f3d26cd1626c72ec4d3f7cc806345d0c771afb86daf7127935ff26a7a1f3d54"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/sources.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 42022,
|
||||
"sha256": "e68a02e24186681a3f1ddbd60107e932865df160987442a0b557cf3050cc28d3"
|
||||
},
|
||||
{
|
||||
"path": "e2e/minimax-h3-t2v-document.mjs",
|
||||
"purpose": "本图及旧106摘要真实本地浏览/服务清理复现入口",
|
||||
"bytes": 22521,
|
||||
"sha256": "93adade7bccd85f9ce549ccbbd14cf6da3876d6324939e3843b0bd8b5b3b6e75"
|
||||
},
|
||||
{
|
||||
"path": "e2e/run-minimax-h3-t2v-document.py",
|
||||
"purpose": "本图及旧106摘要真实本地浏览/服务清理复现入口",
|
||||
"bytes": 3191,
|
||||
"sha256": "94240977c1388655bae7d3586df68b2051f05c03769455c6803c6d5db5799fbc"
|
||||
}
|
||||
]
|
||||
}
|
||||
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 @@
|
||||
PASS baseline blobs 11484 originals 163
|
||||
@@ -0,0 +1,267 @@
|
||||
|
||||
> calliope-web@1.5.8 build
|
||||
> vite build
|
||||
|
||||
vite v6.4.3 building SSR bundle for production...
|
||||
transforming...
|
||||
5:40:04 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>
|
||||
5:40:05 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...
|
||||
5:40:07 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>
|
||||
5:40:07 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.CRvwHh4e.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.BWlKnAQA.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/9.COj0Gtju.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/SJJOb_eT.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.D3wpx5fs.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.C7q8h6OJ.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.vPNx_eSc.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.DTryRFPR.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/B0tNu3Fq.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.B3PXHlVA.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/Cn2H5aWa.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.D_gxhADu.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.C0jFrOa5.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.DOxtCa1w.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.DCewHrJm.js 23.02 kB │ gzip: 7.51 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DugwNQBG.js 23.98 kB │ gzip: 9.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/11.B1idgKNr.js 24.95 kB │ gzip: 8.35 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/3.csAJkBIt.js 25.68 kB │ gzip: 8.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/4.BES6mkmE.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/B5A4StPk.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.Cc4fFo2w.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/BmnoEzSu.js 81.38 kB │ gzip: 27.49 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/8.vyoOTPU1.js 86.49 kB │ gzip: 28.96 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/7.8z_4l2tS.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.73s
|
||||
.svelte-kit/output/server/.vite/manifest.json 23.36 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.C62bpzl4.css 0.22 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.IyyrLGyK.css 0.22 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ConfirmDialog.C_pBcjz1.css 0.89 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DG2SembM.css 1.87 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ImageLightbox.Mjqtht7n.css 2.18 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.CxLkc7AF.css 3.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.-McisAlK.css 4.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/RefImageGrid.Cg0JH9u1.css 4.86 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.D3s-Wa9z.css 5.02 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AgentComposer.BeAeVWGq.css 6.34 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DH5AEk6F.css 9.35 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.Bra3CMMT.css 10.42 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.BUR6RoLt.css 10.46 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.0zMz792f.css 10.78 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AgentChat.C1veD2Ar.css 11.37 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AppShell.ymPBcNjP.css 12.64 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_layout.B1MJuaEd.css 19.33 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/StudioGenerate.pbw6ZUUi.css 20.96 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DdIn3xwb.css 22.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.Bs4Fx5Yn.css 28.74 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.BC6N9k4h.css 31.67 kB
|
||||
.svelte-kit/output/server/entries/pages/_layout.ts.js 0.06 kB
|
||||
.svelte-kit/output/server/entries/pages/agents/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/library/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/models/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/settings/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/_page.ts.js 0.12 kB
|
||||
.svelte-kit/output/server/entries/hooks.server.js 0.13 kB
|
||||
.svelte-kit/output/server/chunks/wideLayout.js 0.15 kB
|
||||
.svelte-kit/output/server/entries/pages/build-scene/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/playground/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/projects/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/image/_page.svelte.js 0.20 kB
|
||||
.svelte-kit/output/server/entries/pages/video/_page.svelte.js 0.20 kB
|
||||
.svelte-kit/output/server/entries/pages/project/_id_/_page.ts.js 0.20 kB
|
||||
.svelte-kit/output/server/chunks/index-server.js 0.22 kB
|
||||
.svelte-kit/output/server/env.js 0.23 kB
|
||||
.svelte-kit/output/server/chunks/client.js 0.31 kB
|
||||
.svelte-kit/output/server/chunks/index-server2.js 0.31 kB
|
||||
.svelte-kit/output/server/internal.js 0.35 kB
|
||||
.svelte-kit/output/server/entries/fallbacks/error.svelte.js 0.35 kB
|
||||
.svelte-kit/output/server/chunks/state.svelte.js 0.45 kB
|
||||
.svelte-kit/output/server/chunks/Skeleton.js 0.48 kB
|
||||
.svelte-kit/output/server/chunks/Spinner.js 0.52 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_layout.svelte.js 0.55 kB
|
||||
.svelte-kit/output/server/chunks/index2.js 0.57 kB
|
||||
.svelte-kit/output/server/chunks/server.js 0.62 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_page.svelte.js 0.66 kB
|
||||
.svelte-kit/output/server/entries/pages/playground/_page.svelte.js 0.67 kB
|
||||
.svelte-kit/output/server/chunks/utils2.js 0.72 kB
|
||||
.svelte-kit/output/server/chunks/ids.js 0.77 kB
|
||||
.svelte-kit/output/server/chunks/Icon.svelte_svelte_type_style_lang.js 0.86 kB
|
||||
.svelte-kit/output/server/chunks/endpointKind.js 0.95 kB
|
||||
.svelte-kit/output/server/chunks/createMutation.js 1.03 kB
|
||||
.svelte-kit/output/server/chunks/EmptyState.js 1.04 kB
|
||||
.svelte-kit/output/server/chunks/toast.js 1.14 kB
|
||||
.svelte-kit/output/server/chunks/context.js 1.20 kB
|
||||
.svelte-kit/output/server/chunks/LanguageSwitcher.js 1.36 kB
|
||||
.svelte-kit/output/server/chunks/AppShell.svelte_svelte_type_style_lang.js 1.46 kB
|
||||
.svelte-kit/output/server/chunks/SafeMedia.js 1.65 kB
|
||||
.svelte-kit/output/server/chunks/ProgressBar.js 1.88 kB
|
||||
.svelte-kit/output/server/chunks/useUpload.svelte.js 2.16 kB
|
||||
.svelte-kit/output/server/chunks/takeDelete.svelte.js 2.57 kB
|
||||
.svelte-kit/output/server/chunks/index3.js 2.77 kB
|
||||
.svelte-kit/output/server/entries/pages/_layout.svelte.js 3.08 kB
|
||||
.svelte-kit/output/server/chunks/ConfirmDialog.js 3.25 kB
|
||||
.svelte-kit/output/server/chunks/internal.js 3.79 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_page.svelte.js 4.93 kB
|
||||
.svelte-kit/output/server/chunks/exports.js 5.54 kB
|
||||
.svelte-kit/output/server/chunks/Icon.js 6.04 kB
|
||||
.svelte-kit/output/server/entries/pages/agents/_page.svelte.js 7.88 kB
|
||||
.svelte-kit/output/server/entries/pages/tasks/_page.svelte.js 13.44 kB
|
||||
.svelte-kit/output/server/entries/pages/settings/_page.svelte.js 15.12 kB
|
||||
.svelte-kit/output/server/chunks/LanguageSwitcher.svelte_svelte_type_style_lang.js 16.32 kB
|
||||
.svelte-kit/output/server/entries/pages/library/_page.svelte.js 19.77 kB
|
||||
.svelte-kit/output/server/entries/pages/_page.svelte.js 25.48 kB
|
||||
.svelte-kit/output/server/chunks/RefImageGrid.js 25.96 kB
|
||||
.svelte-kit/output/server/chunks/root.js 29.43 kB
|
||||
.svelte-kit/output/server/chunks/AgentComposer.js 34.01 kB
|
||||
.svelte-kit/output/server/chunks/utils.js 34.14 kB
|
||||
.svelte-kit/output/server/entries/pages/models/_page.svelte.js 36.24 kB
|
||||
.svelte-kit/output/server/remote-entry.js 36.81 kB
|
||||
.svelte-kit/output/server/chunks/AppShell.js 39.27 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.svelte.js 50.91 kB
|
||||
.svelte-kit/output/server/entries/pages/build-scene/_page.svelte.js 51.30 kB
|
||||
.svelte-kit/output/server/chunks/StudioGenerate.js 99.49 kB
|
||||
.svelte-kit/output/server/chunks/index.js 101.49 kB
|
||||
.svelte-kit/output/server/index.js 130.14 kB
|
||||
.svelte-kit/output/server/entries/pages/connections/_page.svelte.js 132.44 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.svelte.js 145.51 kB
|
||||
.svelte-kit/output/server/chunks/i18n.svelte.js 786.88 kB
|
||||
✓ built in 6.90s
|
||||
|
||||
Run npm run preview to preview your production build locally.
|
||||
|
||||
> Using @sveltejs/adapter-static
|
||||
Wrote site to "build"
|
||||
✔ done
|
||||
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"base": "50efa59d5ef73d26535ea871e5bf79475696420d",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/__init__.py",
|
||||
"sha256": "1d3488bcc2eadcd8a8f2e84ab4f6e9bdf52096b8af637c4da399db041d5a0543"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/client.py",
|
||||
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/companions.py",
|
||||
"sha256": "7dde205059bf489e3d39539a8b42333b3947c3989d890441f70a45cf67d9ab04"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.json",
|
||||
"sha256": "3a85718f877a63be54c843e2610b24dcc3013a6011f705d6348c91e2c7f78fd6"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.py",
|
||||
"sha256": "0b849256dbb06f709c1ba856c34b3df04d2fccf09984a6e1fe1284b792eaf867"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/dry_run.py",
|
||||
"sha256": "f8bf4d1b91d959044de1dbc4aeb11bf0bb521f51f1928d36a46c670381a08ed7"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/endpoints.py",
|
||||
"sha256": "fc99a623850b581ae38843bbc3baf1b71ca9fd633e6103a34cb809a345e5a647"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
|
||||
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
|
||||
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
|
||||
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/lint.py",
|
||||
"sha256": "9b79bf162e13fb68321727fb17f96d6fc0c217d60db85de38235c4270bf9b4e3"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
|
||||
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/parser.py",
|
||||
"sha256": "a02d583c6a1cf7f85e77341a20308823771c233fb95241118a264e202a5230a0"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/patcher.py",
|
||||
"sha256": "8ac1417f0f78d952cdb219b10811a6ed7d4ce3bb0d561708858c4a8f5d15b45d"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/preflight.py",
|
||||
"sha256": "6629961d33204cbe5b3fc3d8a5a0a4de0c86d235e73f542d191429cf7f4bd2ec"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/profiles.py",
|
||||
"sha256": "4ca33343fc3f20e0fb82558cb428548f6415af04fb90213a694fb759515732f2"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
|
||||
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
|
||||
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/registry.py",
|
||||
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/roles.py",
|
||||
"sha256": "cc0b45eac2d881a6f7cc5ea88ceadb03f71715240a45257fef3a76bfc53d56c4"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
|
||||
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/smart_fill.py",
|
||||
"sha256": "adc34e80cca7a2b38cc834a713c9e64001caac84413af288389e5554e304bab6"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.py",
|
||||
"sha256": "b85e26f1e4fce77f75429b7bc0653401065b2cd28151bdf5d9edc87c096e9419"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
|
||||
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
|
||||
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/validate.py",
|
||||
"sha256": "c27fca69a604705b06809fdd692975ca0e7a08d05d558172962f8910a6a0491d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/01.api.json",
|
||||
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/02.api.json",
|
||||
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/03.api.json",
|
||||
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/04.api.json",
|
||||
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/05.api.json",
|
||||
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/06.api.json",
|
||||
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/07.api.json",
|
||||
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/manifest.json",
|
||||
"sha256": "f1367b4fa7a8377fb57512d17c80bc697d4d3abd0adb77adc3c06c6dedab69ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
|
||||
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
|
||||
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
|
||||
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
|
||||
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
|
||||
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
|
||||
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
|
||||
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
|
||||
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
|
||||
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
|
||||
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
|
||||
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
|
||||
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
|
||||
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
|
||||
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
|
||||
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
|
||||
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
|
||||
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
|
||||
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
|
||||
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
|
||||
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
|
||||
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
|
||||
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
|
||||
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
|
||||
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
|
||||
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
|
||||
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
|
||||
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
|
||||
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
|
||||
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
|
||||
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
|
||||
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
|
||||
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
|
||||
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
|
||||
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
|
||||
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
|
||||
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
|
||||
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
|
||||
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
|
||||
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
|
||||
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
|
||||
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
|
||||
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
|
||||
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
|
||||
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
|
||||
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
|
||||
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
|
||||
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
|
||||
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
|
||||
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
|
||||
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
|
||||
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
|
||||
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
|
||||
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
|
||||
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
|
||||
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
|
||||
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
|
||||
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
|
||||
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
|
||||
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
|
||||
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
|
||||
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
|
||||
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
|
||||
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
|
||||
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
|
||||
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
|
||||
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
|
||||
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
|
||||
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
|
||||
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
|
||||
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
|
||||
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
|
||||
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
|
||||
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
|
||||
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
|
||||
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
|
||||
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
|
||||
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
|
||||
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
|
||||
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
|
||||
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
|
||||
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
|
||||
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
|
||||
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
|
||||
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
|
||||
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
|
||||
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
|
||||
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
|
||||
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
|
||||
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
|
||||
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
|
||||
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
|
||||
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
|
||||
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
|
||||
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
|
||||
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
|
||||
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
|
||||
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
|
||||
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
|
||||
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
|
||||
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
|
||||
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
|
||||
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
|
||||
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
|
||||
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
|
||||
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
|
||||
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
|
||||
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
|
||||
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
|
||||
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
|
||||
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
|
||||
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
|
||||
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
|
||||
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
|
||||
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
|
||||
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
|
||||
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
|
||||
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
|
||||
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
|
||||
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
|
||||
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
|
||||
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
|
||||
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
|
||||
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
|
||||
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
|
||||
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
|
||||
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
|
||||
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
|
||||
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
|
||||
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
|
||||
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
|
||||
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
|
||||
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
|
||||
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
|
||||
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
|
||||
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
|
||||
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
|
||||
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
|
||||
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
|
||||
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
|
||||
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
|
||||
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
|
||||
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
|
||||
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
|
||||
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
|
||||
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
|
||||
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
|
||||
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
|
||||
}
|
||||
],
|
||||
"original_files": 156,
|
||||
"all_unchanged": true
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"equal_to_isolated_export": true,
|
||||
"workflow_id": 133,
|
||||
"raw_get_sha256": "c38fa287457245f0954a8a982728badeb3a4eec742729fbe756c32e3860863de",
|
||||
"doc_canonical_sha256": "7ec5b83839bd2d20033703c96c33ed9101509d56d3ab281b77de51bdd374c346",
|
||||
"pins": {
|
||||
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json": "9c65a35d099bfaebb5ac5b43600a5a6644afb92752a05933384e031708b760be"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"base": "50efa59d5ef73d26535ea871e5bf79475696420d",
|
||||
"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": 49,
|
||||
"new_notes": 3,
|
||||
"old_saved": 5846,
|
||||
"old_notes": 184,
|
||||
"overviews": 107,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_minimax_h3_t2v_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/minimax-h3-t2v-document-evidence/*.py calliope-backend/tests/test_minimax_h3_t2v_fixed_document.py e2e/run-minimax-h3-t2v-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/minimax-h3-t2v-document-evidence/*.py calliope-backend/tests/test_minimax_h3_t2v_fixed_document.py e2e/run-minimax-h3-t2v-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 0,
|
||||
"log": "format-entry.txt"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,44 @@
|
||||
E501 Line too long (110 > 100)
|
||||
--> docs/hel-892/minimax-h3-t2v-document-evidence/build_definition.py:394:82
|
||||
|
|
||||
392 | else "前端控制辅助,准确frontend1.49.6通用缺省randomize;源fixed另列"
|
||||
393 | )
|
||||
394 | limits = "fixed/increment/decrement/randomize;非后端数值参数,不执行随机、控制时序或认证恢复"
|
||||
| ^^^^^^^^^
|
||||
395 | unit = "前端辅助枚举,无物理单位"
|
||||
396 | if cls == HOST:
|
||||
|
|
||||
|
||||
E501 Line too long (122 > 100)
|
||||
--> docs/hel-892/minimax-h3-t2v-document-evidence/build_definition.py:398:78
|
||||
|
|
||||
396 | if cls == HOST:
|
||||
397 | default = "无独立宿主schema默认,不把缓存/内部默认当最终输入"
|
||||
398 | limits = "本图13保存缓存与15输入/定义边界分列;first_frame/last_frame无根输入,不造图像控件或promoted恢复"
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
399 | if name == "value_1":
|
||||
400 | unit = "秒的作者接口意图;源JSON int5与内部FLOAT schema/缓存int2分列,不证明真实时长"
|
||||
|
|
||||
|
||||
E501 Line too long (105 > 100)
|
||||
--> docs/hel-892/minimax-h3-t2v-document-evidence/build_definition.py:400:78
|
||||
|
|
||||
398 | limits = "本图13保存缓存与15输入/定义边界分列;first_frame/last_frame无根输入,不造图像控件或promoted恢复"
|
||||
399 | if name == "value_1":
|
||||
400 | unit = "秒的作者接口意图;源JSON int5与内部FLOAT schema/缓存int2分列,不证明真实时长"
|
||||
| ^^^^^
|
||||
401 | if cls == "PrimitiveFloat":
|
||||
402 | unit = "时长秒的边界意图;FLOAT schema而源JSON int2,未改保存类型或计算表达式"
|
||||
|
|
||||
|
||||
E501 Line too long (114 > 100)
|
||||
--> docs/hel-892/minimax-h3-t2v-document-evidence/verify_sources.py:244:101
|
||||
|
|
||||
242 | )
|
||||
243 | print(
|
||||
244 | "PASS exact sources,49 positional/named fields,3 notes,45 edge/boundary records; no expression evaluation"
|
||||
| ^^^^^^^^^^^^^^
|
||||
245 | )
|
||||
|
|
||||
|
||||
Found 4 errors.
|
||||
@@ -0,0 +1 @@
|
||||
PASS exact sources,49 positional/named fields,3 notes,45 edge/boundary records; no expression evaluation
|
||||
@@ -0,0 +1,91 @@
|
||||
"Independent original bytes and every physical boundary; no layout mapping."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
PATH = "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json"
|
||||
|
||||
|
||||
def inventory():
|
||||
raw = (ROOT / PATH).read_bytes()
|
||||
g = json.loads(raw)
|
||||
(fields, empty, notes, scopes) = ([], [], [], [])
|
||||
graphs = [("", g)] + [
|
||||
(f"/definitions/subgraphs/{i}", s)
|
||||
for (i, s) in enumerate(g.get("definitions", {}).get("subgraphs", []))
|
||||
]
|
||||
for prefix, graph in graphs:
|
||||
scopes.append(
|
||||
dict(
|
||||
pointer=prefix or "/",
|
||||
nodes=len(graph["nodes"]),
|
||||
edges=len(graph["links"]),
|
||||
modes=[n["mode"] for n in graph["nodes"]],
|
||||
named_nodes=sum(("widgets_values_named" in n for n in graph["nodes"])),
|
||||
)
|
||||
)
|
||||
for i, n in enumerate(graph["nodes"]):
|
||||
p = f"{prefix}/nodes/{i}"
|
||||
if "widgets_values" not in n or n["widgets_values"] in [None, []]:
|
||||
empty.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=p,
|
||||
state="missing"
|
||||
if "widgets_values" not in n
|
||||
else "null"
|
||||
if n["widgets_values"] is None
|
||||
else "empty_list",
|
||||
)
|
||||
)
|
||||
if n["type"] in ["Note", "MarkdownNote"]:
|
||||
notes.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=p + "/widgets_values/0",
|
||||
text=n["widgets_values"][0],
|
||||
characters=len(n["widgets_values"][0]),
|
||||
lf_count=n["widgets_values"][0].count("\n"),
|
||||
literal_backslash_n=n["widgets_values"][0].count("\\n"),
|
||||
ends_with_lf=n["widgets_values"][0].endswith("\n"),
|
||||
named=n.get("widgets_values_named"),
|
||||
)
|
||||
)
|
||||
continue
|
||||
for j, v in enumerate(n.get("widgets_values") or []):
|
||||
fields.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=f"{p}/widgets_values/{j}",
|
||||
value=v,
|
||||
json_type=type(v).__name__,
|
||||
scope="root" if not prefix else prefix,
|
||||
named=n.get("widgets_values_named"),
|
||||
)
|
||||
)
|
||||
return dict(
|
||||
path=PATH,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\x00" + raw).hexdigest(),
|
||||
fields=fields,
|
||||
empty=empty,
|
||||
notes=notes,
|
||||
scopes=scopes,
|
||||
extra=g["extra"],
|
||||
hosts=[n for n in g["nodes"] if n["id"] in []],
|
||||
definition_boundary=[
|
||||
{k: s[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]}
|
||||
for s in g.get("definitions", {}).get("subgraphs", [])
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
x = inventory()
|
||||
(OUT / "independent-inventory.json").write_text(
|
||||
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print("Saved", len(x["fields"]), "notes", len(x["notes"]), "scopes", x["scopes"])
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"command": "node --check e2e/minimax-h3-t2v-document.mjs",
|
||||
"exit_code": 0
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"base": "50efa59d5ef73d26535ea871e5bf79475696420d",
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
|
||||
"only_added_key": "fixed_version_document",
|
||||
"other_review_objects_unchanged": 155,
|
||||
"other_baseline_blobs_unchanged": 11484,
|
||||
"allowed_product_resources": [
|
||||
"calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,56 @@
|
||||
[
|
||||
{
|
||||
"node_id": "140",
|
||||
"field": "prompt",
|
||||
"codepoints": 1647,
|
||||
"lf": 14,
|
||||
"literal_backslash_n": 0,
|
||||
"trailing_lf": false,
|
||||
"utf8_sha256": "c628dfa9b3e7b4e6e406cf609d4ae7537566b8b69cf84d63322886de48803dc4"
|
||||
},
|
||||
{
|
||||
"node_id": "140:131",
|
||||
"field": "prompt",
|
||||
"codepoints": 980,
|
||||
"lf": 12,
|
||||
"literal_backslash_n": 0,
|
||||
"trailing_lf": false,
|
||||
"utf8_sha256": "21953b89529474d17901875cb7f5d5120c406dfbd680c88065f9b672c2f326d9"
|
||||
},
|
||||
{
|
||||
"node_id": "140:132",
|
||||
"field": "expression",
|
||||
"codepoints": 63,
|
||||
"lf": 0,
|
||||
"literal_backslash_n": 0,
|
||||
"trailing_lf": false,
|
||||
"utf8_sha256": "3624220e274fac45b4d3e93c698d632d0aa4e9abd949450f18e6aec63904acd9"
|
||||
},
|
||||
{
|
||||
"node_id": "116",
|
||||
"field": "MarkdownNote",
|
||||
"codepoints": 1017,
|
||||
"lf": 15,
|
||||
"literal_backslash_n": 0,
|
||||
"trailing_lf": true,
|
||||
"utf8_sha256": "3402a056c32c3c3136515c5b268a33b09648e74869116e5b76b794d1b9ebf9e6"
|
||||
},
|
||||
{
|
||||
"node_id": "117",
|
||||
"field": "MarkdownNote",
|
||||
"codepoints": 2163,
|
||||
"lf": 45,
|
||||
"literal_backslash_n": 0,
|
||||
"trailing_lf": true,
|
||||
"utf8_sha256": "9fb4fb18439188f6c7d9275210ada9705f7ceb0501df9d052093fa2c63ec9d80"
|
||||
},
|
||||
{
|
||||
"node_id": "118",
|
||||
"field": "MarkdownNote",
|
||||
"codepoints": 281,
|
||||
"lf": 10,
|
||||
"literal_backslash_n": 0,
|
||||
"trailing_lf": true,
|
||||
"utf8_sha256": "a8b009828506c70e6c652338474be2748ad14ac4b710f24b6c2bdfc458f98340"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,377 @@
|
||||
[
|
||||
{
|
||||
"node_id": "92",
|
||||
"class_type": "SaveVideo",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 23,
|
||||
"symbol": "SaveVideo",
|
||||
"lines": [
|
||||
75,
|
||||
149
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "115",
|
||||
"class_type": "ResolutionSelector",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 19,
|
||||
"symbol": "ResolutionSelector",
|
||||
"lines": [
|
||||
30,
|
||||
82
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140",
|
||||
"class_type": "79dd8a95-ce9d-4c14-b264-2162e8bec5ce",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "subgraph-definition",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "140:119",
|
||||
"class_type": "VAELoader",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 20,
|
||||
"symbol": "VAELoader",
|
||||
"lines": [
|
||||
770,
|
||||
863
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:120",
|
||||
"class_type": "VAELoader",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 20,
|
||||
"symbol": "VAELoader",
|
||||
"lines": [
|
||||
770,
|
||||
863
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:121",
|
||||
"class_type": "VAEDecodeAudio",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 22,
|
||||
"symbol": "VAEDecodeAudio",
|
||||
"lines": [
|
||||
115,
|
||||
134
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:122",
|
||||
"class_type": "VAEDecode",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 20,
|
||||
"symbol": "VAEDecode",
|
||||
"lines": [
|
||||
316,
|
||||
341
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:123",
|
||||
"class_type": "KSamplerSelect",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 16,
|
||||
"symbol": "KSamplerSelect",
|
||||
"lines": [
|
||||
379,
|
||||
394
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:124",
|
||||
"class_type": "BasicScheduler",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 16,
|
||||
"symbol": "BasicScheduler",
|
||||
"lines": [
|
||||
17,
|
||||
44
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:125",
|
||||
"class_type": "SamplerCustomAdvanced",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 16,
|
||||
"symbol": "SamplerCustomAdvanced",
|
||||
"lines": [
|
||||
1020,
|
||||
1074
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:126",
|
||||
"class_type": "BasicGuider",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 16,
|
||||
"symbol": "BasicGuider",
|
||||
"lines": [
|
||||
801,
|
||||
821
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:127",
|
||||
"class_type": "UNETLoader",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 20,
|
||||
"symbol": "UNETLoader",
|
||||
"lines": [
|
||||
982,
|
||||
1005
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:128",
|
||||
"class_type": "CLIPLoader",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 20,
|
||||
"symbol": "CLIPLoader",
|
||||
"lines": [
|
||||
1007,
|
||||
1032
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:129",
|
||||
"class_type": "RandomNoise",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 16,
|
||||
"symbol": "RandomNoise",
|
||||
"lines": [
|
||||
1003,
|
||||
1017
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:130",
|
||||
"class_type": "CreateVideo",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 23,
|
||||
"symbol": "CreateVideo",
|
||||
"lines": [
|
||||
152,
|
||||
192
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:131",
|
||||
"class_type": "MiniMaxH3ImageToVideo",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 24,
|
||||
"symbol": "MiniMaxH3ImageToVideo",
|
||||
"lines": [
|
||||
101,
|
||||
151
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:132",
|
||||
"class_type": "ComfyMathExpression",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 17,
|
||||
"symbol": "MathExpressionNode",
|
||||
"lines": [
|
||||
59,
|
||||
116
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:133",
|
||||
"class_type": "PrimitiveFloat",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 18,
|
||||
"symbol": "Float",
|
||||
"lines": [
|
||||
60,
|
||||
75
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:134",
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 20,
|
||||
"symbol": "LoraLoaderModelOnly",
|
||||
"lines": [
|
||||
756,
|
||||
768
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:135",
|
||||
"class_type": "ComfySwitchNode",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 25,
|
||||
"symbol": "SwitchNode",
|
||||
"lines": [
|
||||
86,
|
||||
115
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:136",
|
||||
"class_type": "ComfySwitchNode",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 25,
|
||||
"symbol": "SwitchNode",
|
||||
"lines": [
|
||||
86,
|
||||
115
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:137",
|
||||
"class_type": "PrimitiveInt",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 18,
|
||||
"symbol": "Int",
|
||||
"lines": [
|
||||
42,
|
||||
57
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:138",
|
||||
"class_type": "PrimitiveInt",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 18,
|
||||
"symbol": "Int",
|
||||
"lines": [
|
||||
42,
|
||||
57
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "140:139",
|
||||
"class_type": "PrimitiveBoolean",
|
||||
"source_version": "0.33.0",
|
||||
"source_id": "core0330",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 18,
|
||||
"symbol": "Boolean",
|
||||
"lines": [
|
||||
78,
|
||||
93
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,821 @@
|
||||
{
|
||||
"base": "50efa59d5ef73d26535ea871e5bf79475696420d",
|
||||
"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": "6f05e560bf902794c2e59758abbf359dc15eb8d0f2ee812df21d3f5500ad8a41",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 107
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "ab750b26fda6ad0c59c349ff39d1f374cd1ce2a8ebd7ba963099c62fe9484e96",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 107
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 107
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json": "9c65a35d099bfaebb5ac5b43600a5a6644afb92752a05933384e031708b760be"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"port": 8247,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
},
|
||||
{
|
||||
"port": 5173,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
4 files reformatted, 9 files left unchanged
|
||||
@@ -0,0 +1,44 @@
|
||||
E501 Line too long (110 > 100)
|
||||
--> docs/hel-892/minimax-h3-t2v-document-evidence/build_definition.py:394:82
|
||||
|
|
||||
392 | else "前端控制辅助,准确frontend1.49.6通用缺省randomize;源fixed另列"
|
||||
393 | )
|
||||
394 | limits = "fixed/increment/decrement/randomize;非后端数值参数,不执行随机、控制时序或认证恢复"
|
||||
| ^^^^^^^^^
|
||||
395 | unit = "前端辅助枚举,无物理单位"
|
||||
396 | if cls == HOST:
|
||||
|
|
||||
|
||||
E501 Line too long (122 > 100)
|
||||
--> docs/hel-892/minimax-h3-t2v-document-evidence/build_definition.py:398:78
|
||||
|
|
||||
396 | if cls == HOST:
|
||||
397 | default = "无独立宿主schema默认,不把缓存/内部默认当最终输入"
|
||||
398 | limits = "本图13保存缓存与15输入/定义边界分列;first_frame/last_frame无根输入,不造图像控件或promoted恢复"
|
||||
| ^^^^^^^^^^^^^^^^^^^^^
|
||||
399 | if name == "value_1":
|
||||
400 | unit = "秒的作者接口意图;源JSON int5与内部FLOAT schema/缓存int2分列,不证明真实时长"
|
||||
|
|
||||
|
||||
E501 Line too long (105 > 100)
|
||||
--> docs/hel-892/minimax-h3-t2v-document-evidence/build_definition.py:400:78
|
||||
|
|
||||
398 | limits = "本图13保存缓存与15输入/定义边界分列;first_frame/last_frame无根输入,不造图像控件或promoted恢复"
|
||||
399 | if name == "value_1":
|
||||
400 | unit = "秒的作者接口意图;源JSON int5与内部FLOAT schema/缓存int2分列,不证明真实时长"
|
||||
| ^^^^^
|
||||
401 | if cls == "PrimitiveFloat":
|
||||
402 | unit = "时长秒的边界意图;FLOAT schema而源JSON int2,未改保存类型或计算表达式"
|
||||
|
|
||||
|
||||
E501 Line too long (114 > 100)
|
||||
--> docs/hel-892/minimax-h3-t2v-document-evidence/verify_sources.py:244:101
|
||||
|
|
||||
242 | )
|
||||
243 | print(
|
||||
244 | "PASS exact sources,49 positional/named fields,3 notes,45 edge/boundary records; no expression evaluation"
|
||||
| ^^^^^^^^^^^^^^
|
||||
245 | )
|
||||
|
|
||||
|
||||
Found 4 errors.
|
||||
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"overview": "本图保存MiniMax H3文本条件与联合视频/音频latent的本地节点链:比例/MP线覆盖尺寸,宿主提示词与时长线进入H3条件节点,LoRA和步数各经布尔开关,采样同一latent分别交视频与音频VAE解码,组成VIDEO后送保存节点。首尾帧口未接,宿主与内部提示/尺寸/步数/时长缓存独立保留;49位置和三条指南仅固定参考,表达式不求值。准确0.33.0源码不等于目标安装或真实有声音视频效果,尚未实跑。",
|
||||
"steps": [
|
||||
"阅读1:根6节点3物理边、唯一79dd8a95-ce9d-4c14-b264-2162e8bec5ce定义21节点42含边界记录,全27节点mode0。49标量保存位置按根19(SaveVideo3/ResolutionSelector3/宿主13)与内部30分列;23节点有具名值,四内部节点121/122/125/126缺widgets且缺具名键,不补[]或null。所有中英文提示/指南仅源数据,不构造prompt或执行。",
|
||||
"阅读2:115 ResolutionSelector保存16:9 (Widescreen)、JSON float0.4 MP、int32。准确core0.33.0 schema与实现以1024×1024为MP基数、按比例取尺寸并round最近multiple;只静态说明,不计算当前像素。246/247覆盖140宿主width1344/height768,再200/201覆盖131内部1344/768,两套缓存独立保留,不能把MP表或缓存当真实输出尺寸。",
|
||||
"阅读3:140宿主13位置=完整1647码点英文、1344、768、JSON int5、seed757358688076805、MiniMax目录UNET/CLIP/视频VAE/音频VAE四引用、true、完整8step LoRA目录引用、JSON int1、int8。15输入多出first_frame/last_frame两口,根未接,definition.widgets=[]且无proxyWidgets,不造图像控件、promoted或UE恢复映射。宿主完整英文与内部131的980码点旧英文独立全文/空白保存,不因覆盖删掉旧缓存。",
|
||||
"阅读4:根首尾帧未接;内部边界195/196仍到131.first_frame/last_frame,边界口存在不等于已有图片。197传宿主prompt,131缓存旧英文及其1344/768/73分别受prompt/尺寸/长度线覆盖。准确MiniMaxH3ImageToVideo在core0.33.0 comfy_extras/nodes_minimax_h3.py类与MiniMaxH3Extension注册均存在,支持t2va及可选首尾关键帧条件;这是准确本地原生节点静态接口,不是云API或实际模式/生成效果认证。",
|
||||
"阅读5:准确131 schema prompt multiline/dynamic_prompts、width默认1344/height768/min32/step32/max nodes.MAX_RESOLUTION,length默认124/min5/max3600/step17;这些schema默认与源缓存73/外部时长链分列。execute先建AV latent,首帧有值才stretch到画布、末帧有值才center裁剪,tokenize(prompt,images)与encode_from_tokens_scheduled后返回positive和latent;关键帧存在才VAE编码并加minimax_keyframes条件。当前不传媒体、不调用tokenize/编码或认证恢复。",
|
||||
"阅读6:准确模块_empty_av_latent返回samples为NestedTensor(video,audio);视频符号形状[B,24,T,H/16,W/16]、音频[B,32,2,T40],temporal_shape按源码17k+5网格与FPS24/AUDIO_LATENT_FPS40处理。只列协议和原常量,不计算当前帧数/时长/latent尺寸、不分配张量。131 positive187→126 BasicGuider,LATENT188才是125 SamplerCustomAdvanced真正入口,没有另造EmptyLatent。",
|
||||
"阅读7:127 UNETLoader保存minimax_h3_fl2va_pruned_int8_convrot.safetensors/default,宿主保留MiniMax\\目录原拼,模型221边界覆盖短名。127经229→134 LoraLoaderModelOnly,同时232→135.on_false;134经233→135.on_true。LoRA文件内部短名/宿主目录异名与强度JSON int1/准确默认1.0分别保存,不认证权重存在、许可、兼容、设备或真实效果。准确LoraLoaderModelOnly及父类加载条件只静态读取,不扫描模型目录或加载文件。",
|
||||
"阅读8:139 PrimitiveBoolean缓存false被宿主true经240覆盖,238/239同时给135/136.switch。135选定MODEL的234→124 BasicScheduler、241→126 BasicGuider;136.on_false来自137 int20/fixed经236,on_true来自138 int6/fixed经237,而宿主int8经245覆盖138缓存6,再235到124.steps。文件名8step、宿主8、内部6/20、Scheduler缓存4都不是同一保存项,不保证实际步数或恢复。",
|
||||
"阅读9:两个准确SwitchNode在LogicExtension注册,schema switch布尔、on_false/on_true均lazy;check_lazy_status只请求当前选支尚缺的口,execute按switch返回on_true或on_false。内部false和宿主true缓存分列,不模拟分支或据开关保证关闭必无加载/I/O。137/138准确PrimitiveInt只有value INT,控制缺省io.ControlAfterGenerate.fixed;值与前端fixed辅助分开,不把fixed当后端采样字段。",
|
||||
"阅读10:128 CLIPLoader保存qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors/minimax/default,189→131.clip。准确0.33.0 CLIPLoader枚举确含minimax,comfy.sd.CLIPType.MINIMAX及MiniMax H3 tokenizer/文本模型分支存在,不借0.38或main填实;动态text_encoders文件成员、nvfp4/AWQ权重与实际设备仍未核,不能因枚举/文件名证明安装或能加载。119视频VAE给131及122,120独立音频VAE只给121,两个文件引用/精度原样,不混用宿主四模型缓存。",
|
||||
"阅读11:129 RandomNoise保存seed JSON int1/fixed,宿主757358688076805经207覆盖seed,NOISE40→125。准确schema默认0/min0/max0xffffffffffffffff/control_after_generate true,执行构造Noise_RandomNoise对象,实际噪声生成条件在该类源码;前端1.49.6通用控制辅助缺省randomize、源fixed分别列,不运行种子控制、随机或保证复现。123 KSamplerSelect保存res_multistep,准确动态SAMPLER_NAMES枚举与ksampler创建只静态,16→125,不执行采样。",
|
||||
"阅读12:124 BasicScheduler保存simple/int4/int1,选定MODEL234及选定步数235覆盖相应缓存。准确steps默认20/1..10000、denoise默认1.0/0..1/step0.01;execute在denoise<1与<=0有条件分支,取model_sampling并calculate_sigmas后截取;只说明源码条件,不求sigmas或把JSON int1改成float。126 BasicGuider/conditioning/NOISE/sampler/sigmas/131 LATENT组合关系按物理线列,不构造执行图。",
|
||||
"阅读13:宿主JSON int5时长经206覆盖133 PrimitiveFloat缓存JSON int2,FLOAT schema与源int类型保持差异,205→132.values.a;values.b未接。完整表达式 max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17 原样作为纯字符串,INT199→131.length,FLOAT/BOOL输出links为null。没有调用eval、simpleeval、解释器或手算当前帧数/时长,不用73缓存替代外线。",
|
||||
"阅读14:132准确类名MathExpressionNode、注册ComfyMathExpression,Autogrow TemplateNames以字母口、min1、Float/Int/Boolean候选建立values;默认表达式a + b。准确execute拒绝空式,组装values上下文后调用simple_eval和允许的函数表,检查数值/finite,再返回float/int/bool;pow有指数上限。以上仅源码静态语法/条件,源表达式不执行、不改写,也不推导当前输出。",
|
||||
"阅读15:125同一LATENT输出225→122 VAEDecode、226→121 VAEDecodeAudio。准确VAEDecode遇nested取unbind()[0],VAE解码,5维输出按源码合批;准确vae_decode_audio遇nested取最后一项,独立audio VAE解码并movedim,按std*5与下限1归一化,采样率取samples覆盖或VAE属性/fallback44100。只列条件,不解码、不处理音视频或保证立体声音轨、时长/采样率对齐。",
|
||||
"阅读16:122 IMAGE167与121 AUDIO166进入130 CreateVideo,保存fps JSON int24/bit_depth int8,VIDEO168出定义→140→248→92 SaveVideo。准确CreateVideo fps FLOAT默认30.0/1..120/step1,bit_depth INT默认8/min8/max10/step2且optional,返回InputImpl.VideoFromComponents(Types.VideoComponents(...,frame_rate=Fraction(fps)),bit_depth),只是VIDEO对象非自动落盘。准确VideoFromComponents编码条件、视频h264/YUV8或10、音频有值才AAC及按帧范围裁切等仅静态,不保证真实有声/色深/质量,不运行av/ffmpeg或下载运行库。",
|
||||
"阅读17:92保存video/MiniMax_H3/auto/auto,准确SaveVideo格式VideoContainer auto/mp4、get_extension(auto或mp4)=mp4,codec DynamicCombo有auto/h264与编码子分支。准确execute按VIDEO尺寸与get_save_image_path决定output目录/文件名,disable_metadata及hidden prompt/extra_pnginfo条件控制metadata,video.save_to后返回io.NodeOutput(video,ui.PreviewVideo(SavedResult));源输出声明与实际VIDEO data/UI返回分开核准,不误称仅UI。当前未扫描目录、保存/播放/读取媒体、构造prompt、调用云API或验证真实输出。",
|
||||
"阅读18:三完整MarkdownNote116/117/118分别1017/2163/281码点,真实LF15/45/10、均有尾LF、字面反斜杠n均0,含模型链接/2K/时长/MP表仅作者保存意图。表中0.4等建议值不当实际像素/帧数/效果或安装/模型许可证明;不下载Input Assets、模型或跟随链接。完整1647宿主英文与980内部旧英文各自计算LF/尾空白/SHA,报告用可逆JSON保存围栏与尾LF。",
|
||||
"阅读19:全部实现节点各自声明comfy-core0.33.0,逐节点准确类/注册/schema/实现/许可和frontend1.49.6同树LiteGraph/pnpm锁静态绑定,不以宿主版本传播替代。registry comfy-core查询404仅身份线索缺口,官方准确tag2f35f4a08176d993cded35dac3332be4f7287f41/tree/blob另核;新前端完整commit fe51f984206178c7dcc37bf96f665f4ff5c8d3ca。复用原字节缺首次获取时间则明确未知,不补造;新获取与复核时间分列。无发布整包/权重/图片音视频/字体运行库获取,历史SeedVR越界与删除事实保留。",
|
||||
"阅读20:FAQ:旧106块5846位置/184注释及其它155审校对象冻结,累计107参考5895位置/187注释。路径/原SHA/全图/代码拥有pin失败关闭,调用方重算不扩信任。所有mode0仅保存态,准确公共实现不证明目标安装/设备/模型素材许可/目录history/UE或宿主promoted恢复/音视频效果。155最终定稿、可靠转换、环境核对和必要实跑仍未完成,最终定稿/新增转换/真实生成0;当前无需材料窗口,不连接目标、不启停TTS/ComfyUI、不执行上游/插件/SDK/LLM/表达式/随机/采样/模型/GPU/媒体/别名/旁路/组控/清理,不增依赖、不合并部署。"
|
||||
],
|
||||
"notes": {
|
||||
"116": "MiniMax H3与本地节点/时长等作者说明,仅原始指南,不证明安装、模型许可或实际音视频效果。",
|
||||
"117": "完整子图/模型链接指南原文及尾LF保留,不下载模型/Input Assets或认证目标目录。",
|
||||
"118": "完整MP/宽高表仅作者保存建议,不据此计算或承诺实际输出像素。"
|
||||
}
|
||||
}
|
||||
@@ -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 = "50efa59d5ef73d26535ea871e5bf79475696420d"
|
||||
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 106 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) == 106
|
||||
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())) == 5846
|
||||
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": 106,
|
||||
"old_saved": 5846,
|
||||
"old_notes": 184,
|
||||
"new_saved": 49,
|
||||
"new_notes": 3,
|
||||
"total_documents": 107,
|
||||
"total_saved": 5895,
|
||||
"total_notes": 187,
|
||||
},
|
||||
)
|
||||
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": 49,
|
||||
"new_notes": 3,
|
||||
"old_saved": 5846,
|
||||
"old_notes": 184,
|
||||
"overviews": 107,
|
||||
"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": 106,
|
||||
"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": 107,
|
||||
}
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(f"PASS actual {BASE} upgrade1/skip154, repeat155, rollback1, edits1/29cols")
|
||||
print("fresh155, 1217/3660/294, 107 definitions, frozen boundaries, wheel/sdist")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,3 @@
|
||||
PASS exact sources,49 positional/named fields,3 notes,45 edge/boundary records; no expression evaluation
|
||||
PASS actual 50efa59d5ef73d26535ea871e5bf79475696420d upgrade1/skip154, repeat155, rollback1, edits1/29cols
|
||||
fresh155, 1217/3660/294, 107 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,139 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def main():
|
||||
lines = [
|
||||
"# MiniMaxH3基础文生视频固定参考中文说明",
|
||||
"",
|
||||
(
|
||||
"新增49保存位置、三条完整源注释与唯一子图边界;原有具名保存逐项核对。旧106块5846位置/184注释冻结。"
|
||||
),
|
||||
"总107图5895位置/187源注释仅参考,155定稿0/实跑0/新增转换0。",
|
||||
"",
|
||||
"local_file以docs/hel-892/minimax-h3-t2v-document-evidence为基准。",
|
||||
"提示、指南和历史URL仅源数据;不执行、读取图片或认证模型许可/目标环境。",
|
||||
"",
|
||||
]
|
||||
index = []
|
||||
for i in range(1):
|
||||
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
|
||||
lines += [
|
||||
"## " + Path(b["source_path"]).stem,
|
||||
"",
|
||||
b["user_overview"],
|
||||
"",
|
||||
b["notice"],
|
||||
"",
|
||||
"源路径:`" + b["source_path"] + "`",
|
||||
"",
|
||||
"SHA1:" + b["source_sha1"],
|
||||
"",
|
||||
"原字节SHA256:" + b["source_sha256"],
|
||||
"",
|
||||
"规范全图SHA256:" + b["canonical_sha256"],
|
||||
"",
|
||||
*[v + "\n" for v in b["versions"]],
|
||||
"### 具体连线与处理条件",
|
||||
"",
|
||||
*[v + "\n" for v in b["flow"]],
|
||||
"### 使用与核对",
|
||||
"",
|
||||
*[v + "\n" for v in b["steps"]],
|
||||
"### 逐保存位置说明",
|
||||
"",
|
||||
]
|
||||
for j, f in enumerate(b["fields"], 1):
|
||||
lines += [
|
||||
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
|
||||
"",
|
||||
f["effect"],
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
(f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。"),
|
||||
"",
|
||||
"源保存位置:`" + f["pointer"] + "`;源输入口:`" + f["input_pointer"] + "`",
|
||||
"",
|
||||
"具名保存位置:`"
|
||||
+ f.get("named_pointer", "原件无具名保存,不造指针")
|
||||
+ "`;作用域:"
|
||||
+ f["scope"],
|
||||
"",
|
||||
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
|
||||
"",
|
||||
"范围/条件:" + f["limits"],
|
||||
"",
|
||||
f["execution_note"],
|
||||
"",
|
||||
"依据:",
|
||||
]
|
||||
for k in f["evidence"]:
|
||||
e = b["sources"][k]
|
||||
lines += [
|
||||
(
|
||||
f"- [{k}] {e['claim']};"
|
||||
f"{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"commit {e['commit']};"
|
||||
f"SHA256 {e['sha256']};"
|
||||
f"{e['url']}"
|
||||
)
|
||||
]
|
||||
if "named_value" in f and f["named_value"] != f["value"]:
|
||||
lines += [
|
||||
"具名保存完整形态(与位置列表分开保留):",
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["named_value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
lines += [""]
|
||||
lines += ["### 零保存节点与源注释", ""]
|
||||
for z in b["zero_saved_nodes"]:
|
||||
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
|
||||
for n in b["comments"]:
|
||||
lines += [
|
||||
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
|
||||
"",
|
||||
n["meaning"],
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(n["text"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
lines += ["### 固定原件索引", ""]
|
||||
for k, e in enumerate(b["sources"]):
|
||||
data = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
lines += [
|
||||
(
|
||||
f"{k}. {e['claim']};"
|
||||
f"{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"提交{e['commit']};"
|
||||
f"SHA256 {e['sha256']};"
|
||||
f"{e['url']}"
|
||||
),
|
||||
"",
|
||||
]
|
||||
index.append(dict(document=b["source_path"], **e))
|
||||
(OUT.parent / "MiniMaxH3基础文生视频固定参考中文说明.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 / "MiniMaxH3基础文生视频固定参考中文说明.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": 107,
|
||||
"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": 107,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_render_equal": true,
|
||||
"resource_sha256": "1f6bac4f63a611d7526fa8d085ce8e3348d27ead8346a04e31b447b8784a3bdc",
|
||||
"artifacts": {
|
||||
"fixed-source-index.json": "bd7600e9c3403be0b42112e36ed4f1120097a031e5c106a27f19210bd4b5f725",
|
||||
"MiniMaxH3基础文生视频固定参考中文说明.md": "951dc35966c511864c43602027c261700c202cb2a6859274d4dcc74eaee9d962"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"base": "50efa59d5ef73d26535ea871e5bf79475696420d",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json"
|
||||
],
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 106,
|
||||
"old_saved": 5846,
|
||||
"old_notes": 184,
|
||||
"new_saved": 49,
|
||||
"new_notes": 3,
|
||||
"total_documents": 107,
|
||||
"total_saved": 5895,
|
||||
"total_notes": 187
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
All checks passed!
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"command": [
|
||||
"git",
|
||||
"diff",
|
||||
"--cached",
|
||||
"--check",
|
||||
"--",
|
||||
".",
|
||||
":(exclude)docs/hel-892/minimax-h3-t2v-reference",
|
||||
":(exclude)docs/hel-892/minimax-h3-t2v-document-evidence/*.txt"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"scope": "原始参考文本及原日志*.txt排除空白检查,仍在用途SHA清单内;其余本批代码/JSON/中文说明检查",
|
||||
"new_png_or_pyc": 0
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"method": "通过view_image实际目验14张代表截图;完整长文本由浏览SHA核验,未声称逐字目验全部文本",
|
||||
"total_screenshots": 37,
|
||||
"viewed": [
|
||||
{
|
||||
"file": "1440-133-default.png",
|
||||
"sha256": "9a8c967ca773d21b77fde5721102295edf449c999094ca4affcfdf2d29eb0dfd"
|
||||
},
|
||||
{
|
||||
"file": "1440-133-140-prompt.png",
|
||||
"sha256": "abd223096e1d5f42478eab2d2315d667b1840dc4d7047bfd41f934d77af7d03d"
|
||||
},
|
||||
{
|
||||
"file": "1440-133-140:131-prompt.png",
|
||||
"sha256": "b122535814059cdea41a864d2356701fce4bb401435225b92436a43a46c7c848"
|
||||
},
|
||||
{
|
||||
"file": "1440-133-140:132-expression.png",
|
||||
"sha256": "23966db5f0c4e3faec291255aea7400e2c632034f0e70bbf3b546ddba6441975"
|
||||
},
|
||||
{
|
||||
"file": "1440-133-140-value_1.png",
|
||||
"sha256": "66887c8871a75a425140ccc0a557a68faa33c9b1e1aac7bcff10aee9b4ea2de8"
|
||||
},
|
||||
{
|
||||
"file": "1440-133-140:135-switch.png",
|
||||
"sha256": "9316e26d428f99c68650b5e2a62eaa265c31899c3e695ee696535cc0b50d7536"
|
||||
},
|
||||
{
|
||||
"file": "1440-133-92-format.png",
|
||||
"sha256": "7cbdc060024c108d543b99a781716ae814e94147b4dff17ea21b0b166628dbdd"
|
||||
},
|
||||
{
|
||||
"file": "390-133-default.png",
|
||||
"sha256": "06c20040e359f0619ef72bb6494ff94715123f58ecc44023b996a4c654cac6f9"
|
||||
},
|
||||
{
|
||||
"file": "390-133-115-megapixels.png",
|
||||
"sha256": "71da0769841d08482556c9714746418cd85a9031514480e15261ee689bf81ead"
|
||||
},
|
||||
{
|
||||
"file": "390-133-140:133-value.png",
|
||||
"sha256": "d1fdde40c6a89b34fbdb3db2e511703c65e5cc0ee8123a3e1f92961d95b73728"
|
||||
},
|
||||
{
|
||||
"file": "390-133-140:138-value.png",
|
||||
"sha256": "b6a885b0342c5be66d950f0333f1903631454a8e5c6dbff229402606686cb161"
|
||||
},
|
||||
{
|
||||
"file": "390-133-140:130-bit_depth.png",
|
||||
"sha256": "195d13f013f4ae2612b289307d0708eb3f110d7c48c5b94d720afea4154218cb"
|
||||
},
|
||||
{
|
||||
"file": "390-133-source-citations.png",
|
||||
"sha256": "7fe7365771dc56dac7d3a29327a3a87a2c19c3754a15bcfbaa2450aff441661a"
|
||||
},
|
||||
{
|
||||
"file": "390-133-118-note.png",
|
||||
"sha256": "c590f98a1adaa01d3a18e890abdd899445169c491046f3f3663d490946657747"
|
||||
}
|
||||
],
|
||||
"findings": [
|
||||
"1440/390抽屉内换行正常,无横向裁切",
|
||||
"两段独立英文可滚动,表达式显示原始纯文本",
|
||||
"整数保存值与FLOAT协议、6/8/20/4缓存分别呈现",
|
||||
"来源commit、许可与引文可读,标准Note与尾换行保留",
|
||||
"默认资格折叠,无新增执行入口"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,366 @@
|
||||
INFO: Started server process [1552998]
|
||||
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:37626 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/133 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/106 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/63 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/59 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/65 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/60 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/61 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/69 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/68 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/67 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/43 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/95 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/88 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/89 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/90 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/96 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/91 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/92 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/102 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/93 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/100 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/98 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/99 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41096 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41104 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41112 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:41108 - "GET /api/settings HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41120 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41122 - "GET /api/workflows/133 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41138 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:34766 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:34776 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:34784 - "GET /api/workflows/106 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34800 - "GET /api/workflows/63 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34806 - "GET /api/workflows/59 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34810 - "GET /api/workflows/65 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34822 - "GET /api/workflows/60 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34836 - "GET /api/workflows/61 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34844 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34852 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34862 - "GET /api/workflows/69 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43284 - "GET /api/workflows/68 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43296 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:43306 - "GET /api/workflows/67 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43316 - "GET /api/workflows/43 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43326 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:43334 - "GET /api/workflows/95 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43346 - "GET /api/workflows/88 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43356 - "GET /api/workflows/89 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43368 - "GET /api/workflows/90 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43380 - "GET /api/workflows/96 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43392 - "GET /api/workflows/91 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43396 - "GET /api/workflows/92 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43410 - "GET /api/workflows/102 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43424 - "GET /api/workflows/93 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43440 - "GET /api/workflows/100 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43448 - "GET /api/workflows/98 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43462 - "GET /api/workflows/99 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43478 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43486 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43488 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43500 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43510 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43514 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43524 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:43536 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:43540 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33538 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33550 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33566 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33574 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33588 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33590 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33604 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33612 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33626 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33634 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33640 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33650 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33652 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33662 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33670 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33678 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33694 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33702 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33708 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33714 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33726 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33734 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33740 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33748 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33756 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33758 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37612 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37620 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37634 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37646 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37650 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37658 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37662 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37674 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37676 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37686 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37696 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37710 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37720 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37724 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37740 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37754 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37768 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37778 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37786 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:37798 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37802 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37804 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37816 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:37832 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37842 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37854 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37862 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39186 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39196 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39206 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39222 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39236 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39242 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39258 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39266 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39276 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39290 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39306 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39310 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39322 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39328 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39342 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39356 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39362 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:39376 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39380 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39382 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:39394 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39396 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39406 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39420 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39422 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39428 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39436 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44900 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44908 - "GET /api/workflows/133 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44912 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44924 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:32768 - "GET /api/workflows/106 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32782 - "GET /api/workflows/63 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32798 - "GET /api/workflows/59 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32806 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:32810 - "GET /api/workflows/65 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32818 - "GET /api/workflows/60 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32820 - "GET /api/workflows/61 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32826 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:32832 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32838 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32840 - "GET /api/workflows/69 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32854 - "GET /api/workflows/68 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32856 - "GET /api/workflows/67 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32866 - "GET /api/workflows/43 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32878 - "GET /api/workflows/95 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32884 - "GET /api/workflows/88 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:32894 - "GET /api/workflows/89 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37872 - "GET /api/workflows/90 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37880 - "GET /api/workflows/96 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37892 - "GET /api/workflows/91 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37902 - "GET /api/workflows/92 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37914 - "GET /api/workflows/102 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37920 - "GET /api/workflows/93 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37934 - "GET /api/workflows/100 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37938 - "GET /api/workflows/98 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37950 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:37952 - "GET /api/workflows/99 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37964 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37976 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37990 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:37996 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37998 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38000 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38014 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38026 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38030 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38034 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38050 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38052 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38058 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38068 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44020 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44036 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44038 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44042 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44056 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44064 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44072 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44076 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44086 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44090 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44092 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44102 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44108 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44124 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44128 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44134 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44138 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44154 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44162 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44164 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44176 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44188 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44200 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44204 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44214 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44218 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33842 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33850 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33852 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33862 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33878 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33894 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33898 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33914 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33926 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33940 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33948 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33964 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33972 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33974 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33988 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33994 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33996 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34000 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34006 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34008 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34016 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34018 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34026 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34028 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34032 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34046 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34052 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:34068 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52538 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52542 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:52548 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52556 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52568 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52570 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:52586 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52590 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52604 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52610 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52626 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52628 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52644 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52656 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52658 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52670 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52674 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52676 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52680 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52684 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52694 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52710 - "GET /api/workflows/156 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52718 - "GET /api/workflows/157 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52730 - "GET /api/workflows/106 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:52738 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:39160 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:39176 - "GET /api/workflows/133 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [1552998]
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
VITE v6.4.3 ready in 298 ms
|
||||
|
||||
➜ Local: http://127.0.0.1:5173/
|
||||
@@ -0,0 +1 @@
|
||||
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
|
||||
@@ -0,0 +1,2 @@
|
||||
FETCH core0330 2f35f4a08176d993cded35dac3332be4f7287f41 0
|
||||
FETCH frontend fe51f984206178c7dcc37bf96f665f4ff5c8d3ca 13
|
||||
@@ -0,0 +1,289 @@
|
||||
{
|
||||
"files": [
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "package.json",
|
||||
"sha256": "be762a441dec346f4d50d10d4da87b20465aaaedb31915a59f510eb3bea69dd1",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "pnpm-lock.yaml",
|
||||
"sha256": "5824740882a16c8c0023937513f4b8727426040dd4a40595ca6af2b3aa2ce114",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/extensions/core/widgetInputs.ts",
|
||||
"sha256": "8f60f9e5fe4a75f76d8d60c46bb2957485d6a46d331d0e7f522f6458b0ac93a5",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/LICENSE",
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "d6263d56f28a5e6c5a95a3a263fe0d6ffe4083a981c01a14ec4ebfca43487e50",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/subgraph/ExecutableNodeDTO.ts",
|
||||
"sha256": "64baa71b46bd67440b032e18e4d9aebb67a6cc135fe7c4509ae1b5bc25acc2a3",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/subgraph/Subgraph.ts",
|
||||
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/subgraph/SubgraphNode.ts",
|
||||
"sha256": "e204cd7be49ad0d48b16395dc26f6a086ca5be25a3bc0817831139255578219a",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/widgets/BooleanWidget.ts",
|
||||
"sha256": "c19d7198f3074ebc305848fcd5f6abee354b5a2a990e65a27130e00550bf00ff",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/lib/litegraph/src/widgets/NumberWidget.ts",
|
||||
"sha256": "4f6519f4d5639eef1ac858940ec0a7b3a0a6dde405d663b8a862005c6c4dbd95",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/scripts/app.ts",
|
||||
"sha256": "77af06200563b25a38589023c08bcaf1220df46cd2cae70928f6cfbe0326b10e",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/scripts/widgets.ts",
|
||||
"sha256": "5f3d26cd1626c72ec4d3f7cc806345d0c771afb86daf7127935ff26a7a1f3d54",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy/samplers.py",
|
||||
"sha256": "69498999dd1198c05fa64fa2a7b7090d21090c470d2304191e483a0543fcefd2",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_api/latest/_io.py",
|
||||
"sha256": "495aefa059aad4eed4181aa7fbb415679d3f269651e9fc6f542bdac1b99dd40f",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_extras/nodes_custom_sampler.py",
|
||||
"sha256": "b0ba1521c72475e06fed15db004274ed7c8bb2bf73f1d58849faf6f9f9d264fe",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_extras/nodes_math.py",
|
||||
"sha256": "b117db3e5eadf7e1689a7a2edaad9436bb6282ab3d57865ec2cd78004de9fb88",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_extras/nodes_primitive.py",
|
||||
"sha256": "ee3882214ebdd0d20c8061691075cebb1642c303e162f6d22ae525d75aa59b2d",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_extras/nodes_resolution.py",
|
||||
"sha256": "2c6ca2d3d91a7f2945642729233ab015983a574d53a50a91caff60aa9b950090",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "nodes.py",
|
||||
"sha256": "38f918673c5300bc2d355e02f1131a7b1f97548337e7623754dafaea412008e8",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_api/latest/_util/video_types.py",
|
||||
"sha256": "5d2f7dd2b82aecec3c05f8f5bd9519530736825d33590207ea0aa32b8cc8627f",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_extras/nodes_audio.py",
|
||||
"sha256": "82bb9dcf191a84cb0695bc2533602f7956e29a81a1176965556350b02e1bd67e",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_extras/nodes_video.py",
|
||||
"sha256": "727653159de9a6e9d5b37b1101d3ece5df7dce8fc6a5a3a1f27e260afcfa6c14",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_extras/nodes_minimax_h3.py",
|
||||
"sha256": "f767df4074b908efb345f5a87c2fd263ba82c12e65bcca932846207cc213e064",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_extras/nodes_logic.py",
|
||||
"sha256": "2cb1ce149ce616c0b12a67962ed7b799eb398fbcdeb20dcec4c5210eb6af6df1",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_api/latest/_io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_api/latest/__init__.py",
|
||||
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_api/latest/_ui.py",
|
||||
"sha256": "14c48175a06d4c5ad7b7dfc2e3809185f88eb93af068fe5df84703257ca66353",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_api/latest/_ui_public.py",
|
||||
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_api/latest/_input_impl/video_types.py",
|
||||
"sha256": "f838d6d3e113c5f885e44fd056c32caa7d9549736663fe669f2b96c39422386b",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_api/latest/_input/video_types.py",
|
||||
"sha256": "8d2eea0fd4c1b5f6f33263d17b0d282e1b2d338570946ff30090689ac1802932",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy_api/latest/_util/__init__.py",
|
||||
"sha256": "d119ea71c1bb687ea1a198344d164fa8b6b10f98fb2925bc040132a32672062a",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy/text_encoders/minimax.py",
|
||||
"sha256": "751b2876c9f151f8c09576dadf4122aea84400d3147917202c70ce2c15b16e89",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy/ldm/minimax/audio_vae.py",
|
||||
"sha256": "470f7f07be8c38634b85e719bbf5d0f04ce12d2a2c9253791db61930d15e8121",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy/ldm/minimax/vae.py",
|
||||
"sha256": "40c4bf2db63279e0d13eb8de2c8a4602207a90cf9350f94afbee7aeed8b757ea",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "comfy/sd.py",
|
||||
"sha256": "a780d85ff07431534d65ac676c8c9a27a5e7ff1dbef74495030e53d5834870c1",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "folder_paths.py",
|
||||
"sha256": "b748be5d1e068ad673f6c4de069fb6b7b723405c40ae3c3c44465d416f7df2db",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
},
|
||||
{
|
||||
"id": "core0330",
|
||||
"file": "requirements.txt",
|
||||
"sha256": "162eb6c1d79d1f0dcf906498c425f01293199261553977791b16a96fceba7d07",
|
||||
"proof": "Rehashed commit/tag/selected blob; complete tree listing, not full tree-object rehash"
|
||||
}
|
||||
],
|
||||
"positions": 49,
|
||||
"standard_notes": 3,
|
||||
"scopes": [
|
||||
{
|
||||
"pointer": "/",
|
||||
"nodes": 6,
|
||||
"edges": 3,
|
||||
"modes": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"named_nodes": 6
|
||||
},
|
||||
{
|
||||
"pointer": "/definitions/subgraphs/0",
|
||||
"nodes": 21,
|
||||
"edges": 42,
|
||||
"modes": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"named_nodes": 17
|
||||
}
|
||||
],
|
||||
"edges_including_boundary": 45,
|
||||
"accurate_implementation_nodes": 23,
|
||||
"upstream_executed": false,
|
||||
"expression_evaluated": false
|
||||
}
|
||||
@@ -0,0 +1,272 @@
|
||||
{
|
||||
"files": [
|
||||
{
|
||||
"path": "docs/hel-892/h3-chain-reference/core__comfy_api__latest___util__video_types.py",
|
||||
"sha256": "5d2f7dd2b82aecec3c05f8f5bd9519530736825d33590207ea0aa32b8cc8627f",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-chain-reference/core__comfy_extras__nodes_audio.py",
|
||||
"sha256": "82bb9dcf191a84cb0695bc2533602f7956e29a81a1176965556350b02e1bd67e",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-chain-reference/core__comfy_extras__nodes_video.py",
|
||||
"sha256": "727653159de9a6e9d5b37b1101d3ece5df7dce8fc6a5a3a1f27e260afcfa6c14",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-core-reference/core__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-core-reference/core__comfy__samplers.py",
|
||||
"sha256": "69498999dd1198c05fa64fa2a7b7090d21090c470d2304191e483a0543fcefd2",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-core-reference/core__comfy_api__latest___io.py",
|
||||
"sha256": "495aefa059aad4eed4181aa7fbb415679d3f269651e9fc6f542bdac1b99dd40f",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-core-reference/core__comfy_extras__nodes_custom_sampler.py",
|
||||
"sha256": "b0ba1521c72475e06fed15db004274ed7c8bb2bf73f1d58849faf6f9f9d264fe",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-core-reference/core__comfy_extras__nodes_math.py",
|
||||
"sha256": "b117db3e5eadf7e1689a7a2edaad9436bb6282ab3d57865ec2cd78004de9fb88",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-core-reference/core__comfy_extras__nodes_primitive.py",
|
||||
"sha256": "ee3882214ebdd0d20c8061691075cebb1642c303e162f6d22ae525d75aa59b2d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-core-reference/core__comfy_extras__nodes_resolution.py",
|
||||
"sha256": "2c6ca2d3d91a7f2945642729233ab015983a574d53a50a91caff60aa9b950090",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/h3-core-reference/core__nodes.py",
|
||||
"sha256": "38f918673c5300bc2d355e02f1131a7b1f97548337e7623754dafaea412008e8",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core-registry.json",
|
||||
"sha256": "d79ccf351413ec2c48720fa59cde89f8412abbae70cc01987508f44607fc1277",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-commit.txt",
|
||||
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-fetch.txt",
|
||||
"sha256": "e381ed704d67ffacc2d56a1c6c5f942ea7c244cbf20b111568e319cb2a1604e7",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-tag.json",
|
||||
"sha256": "dea1818eb073751e4fbf27b1e7359d2e54bea6bcafb7077b2b9021956a2dd483",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-tag.txt",
|
||||
"sha256": "4893552db2b2f645d65271e99093939fcdadfb01fb0055c188d29b11e2480e0d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330-tree.json",
|
||||
"sha256": "b672950210c6036f571713c78213ef9a6166a00e0a349e4b5890a4cc34c892b0",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy__ldm__minimax__audio_vae.py",
|
||||
"sha256": "470f7f07be8c38634b85e719bbf5d0f04ce12d2a2c9253791db61930d15e8121",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy__ldm__minimax__vae.py",
|
||||
"sha256": "40c4bf2db63279e0d13eb8de2c8a4602207a90cf9350f94afbee7aeed8b757ea",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy__sd.py",
|
||||
"sha256": "a780d85ff07431534d65ac676c8c9a27a5e7ff1dbef74495030e53d5834870c1",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy__text_encoders__minimax.py",
|
||||
"sha256": "751b2876c9f151f8c09576dadf4122aea84400d3147917202c70ce2c15b16e89",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest____init__.py",
|
||||
"sha256": "5d2c1f3e37ecac36d9a4075a644d43ab211d0bbeab4c86698b6c987523ca072d",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___input__video_types.py",
|
||||
"sha256": "8d2eea0fd4c1b5f6f33263d17b0d282e1b2d338570946ff30090689ac1802932",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___input_impl__video_types.py",
|
||||
"sha256": "f838d6d3e113c5f885e44fd056c32caa7d9549736663fe669f2b96c39422386b",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___ui.py",
|
||||
"sha256": "14c48175a06d4c5ad7b7dfc2e3809185f88eb93af068fe5df84703257ca66353",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___ui_public.py",
|
||||
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_api__latest___util____init__.py",
|
||||
"sha256": "d119ea71c1bb687ea1a198344d164fa8b6b10f98fb2925bc040132a32672062a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_extras__nodes_logic.py",
|
||||
"sha256": "2cb1ce149ce616c0b12a67962ed7b799eb398fbcdeb20dcec4c5210eb6af6df1",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__comfy_extras__nodes_minimax_h3.py",
|
||||
"sha256": "f767df4074b908efb345f5a87c2fd263ba82c12e65bcca932846207cc213e064",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__folder_paths.py",
|
||||
"sha256": "b748be5d1e068ad673f6c4de069fb6b7b723405c40ae3c3c44465d416f7df2db",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/core0330__requirements.txt",
|
||||
"sha256": "162eb6c1d79d1f0dcf906498c425f01293199261553977791b16a96fceba7d07",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-commit.txt",
|
||||
"sha256": "f314b54fedee069e1b40fc4d59acc47ff7d228baf8c5edf474dc1a4c48ce9c6a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-fetch.txt",
|
||||
"sha256": "5a165daf20f37f90d8de18356f706beae7247747bca14e0ba9bcd1de283e44c1",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-tag.json",
|
||||
"sha256": "e9896519e66bf2929a5f614924ffa272e3dcab7c96afadd49f868ce170011073",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-tag.txt",
|
||||
"sha256": "ed05e44f7ed7f6aa0571a1be6702d6b75a73420b767858a34ae62d5c1f8ab458",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend-tree.json",
|
||||
"sha256": "ff2e577270f3d192748a027a29d5ba97c1dab160a795b85f9c243190dde3299b",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__package.json",
|
||||
"sha256": "be762a441dec346f4d50d10d4da87b20465aaaedb31915a59f510eb3bea69dd1",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__pnpm-lock.yaml",
|
||||
"sha256": "5824740882a16c8c0023937513f4b8727426040dd4a40595ca6af2b3aa2ce114",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__extensions__core__widgetInputs.ts",
|
||||
"sha256": "8f60f9e5fe4a75f76d8d60c46bb2957485d6a46d331d0e7f522f6458b0ac93a5",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__LICENSE",
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"sha256": "d6263d56f28a5e6c5a95a3a263fe0d6ffe4083a981c01a14ec4ebfca43487e50",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__subgraph__ExecutableNodeDTO.ts",
|
||||
"sha256": "64baa71b46bd67440b032e18e4d9aebb67a6cc135fe7c4509ae1b5bc25acc2a3",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__subgraph__Subgraph.ts",
|
||||
"sha256": "321403ca3ba2faa0b448dec6e8bf379e49ddea4bfbe8619547d29926e30d62d2",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__subgraph__SubgraphNode.ts",
|
||||
"sha256": "e204cd7be49ad0d48b16395dc26f6a086ca5be25a3bc0817831139255578219a",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__widgets__BooleanWidget.ts",
|
||||
"sha256": "c19d7198f3074ebc305848fcd5f6abee354b5a2a990e65a27130e00550bf00ff",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__lib__litegraph__src__widgets__NumberWidget.ts",
|
||||
"sha256": "4f6519f4d5639eef1ac858940ec0a7b3a0a6dde405d663b8a862005c6c4dbd95",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__scripts__app.ts",
|
||||
"sha256": "77af06200563b25a38589023c08bcaf1220df46cd2cae70928f6cfbe0326b10e",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/frontend__src__scripts__widgets.ts",
|
||||
"sha256": "5f3d26cd1626c72ec4d3f7cc806345d0c771afb86daf7127935ff26a7a1f3d54",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/minimax-h3-t2v-reference/sources.json",
|
||||
"sha256": "e68a02e24186681a3f1ddbd60107e932865df160987442a0b557cf3050cc28d3",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/goohai-registry-check.json",
|
||||
"sha256": "3c8601ef6ca2ee55dffd5e88a93340c48b7cab20d3065a6f08d35b00d7c930dc",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/qwen21-editviews-reference/goohai-registry-response.json",
|
||||
"sha256": "94fd27e893abbba909fe91abbe3143a4ff94afb8ce37685a735b5ce4dce55089",
|
||||
"purpose": "准确来源原文、许可或Git对象绑定;静态读取未执行"
|
||||
}
|
||||
],
|
||||
"count": 53,
|
||||
"upstream_executed": false,
|
||||
"note": "commit/tag字节和选定blob已重算,完整tree列表非完整tree对象重哈希。本批准确必要Git文本与已审同版字节复用;无整包/资产获取或安装。历史发布成员SHA/CRC不冒充整包SHA/Git绑定,旧SeedVR越界及删除记录保留。"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
本批为固定字节静态核准,不导入上游模块;build_definition.py 只读源码并用 AST 查类/schema,verify_sources.py 重算SHA、Git对象与原图/连线。表达式始终作为字符串,不交给eval/simpleeval/解释器,也不手算当前帧数、音视频时长、sigmas或张量尺寸。
|
||||
|
||||
准确core为官方 Comfy-Org/ComfyUI v0.33.0 / 2f35f4a08176d993cded35dac3332be4f7287f41。先用独立 bare 缓存 `git fetch --filter=blob:none --depth=1 https://github.com/Comfy-Org/ComfyUI.git v0.33.0` 取元数据,完整tree列表、commit/tag原字节分别保留;只对必要路径 `git show <完整commit>:<文件>` 取文本。选定blob、commit/tag重算,完整tree列表不等于对完整tree对象重哈希。
|
||||
|
||||
11份准确旧文本从 h3-chain/h3-core 已审目录逐字节复用:LICENSE、nodes.py、comfy/samplers.py、comfy_api/latest/_io.py、comfy_extras/nodes_custom_sampler.py、nodes_math.py、nodes_primitive.py、nodes_resolution.py、nodes_audio.py、nodes_video.py、comfy_api/latest/_util/video_types.py。每份SHA与准确Git blob绑定。旧清单未记录首次获取时间,acquisition_time 明确未知;不以当前复核时间、Git提交时间或文件时间伪造历史获取时间。
|
||||
|
||||
本轮新增15份必要准确core文本:comfy_extras/nodes_minimax_h3.py、nodes_logic.py;comfy_api/latest/{__init__,_io_public,_ui,_ui_public}.py;comfy_api/latest/{_input,_input_impl}/video_types.py;comfy_api/latest/_util/__init__.py;comfy/text_encoders/minimax.py;comfy/ldm/minimax/{audio_vae,vae}.py;comfy/sd.py、folder_paths.py、requirements.txt。用于原生H3类/注册、MINIMAX文本枚举与分支、音视频VAE协议、VIDEO组件与保存/UI返回的静态引用,不导入或执行模型/媒体库。未获取另一个 comfy_api_nodes 云API模块。
|
||||
|
||||
前端准确 Comfy-Org/ComfyUI_frontend v1.49.6 / fe51f984206178c7dcc37bf96f665f4ff5c8d3ca。仅13份必要文本:package.json、pnpm-lock.yaml、LICENSE、src/scripts/{widgets,app}.ts、src/extensions/core/widgetInputs.ts、src/lib/litegraph/LICENSE、src/lib/litegraph/src/LGraphNode.ts、src/lib/litegraph/src/subgraph/{SubgraphNode,Subgraph,ExecutableNodeDTO}.ts、src/lib/litegraph/src/widgets/{NumberWidget,BooleanWidget}.ts。LiteGraph为同Git树内源码和独立MIT许可,未借别版npm包;前端根GPL与vendored MIT分列。
|
||||
|
||||
首次获取脚本在成功写入core元数据与13份前端文本后,因旧清单缺retrieved_at而中止。没有重取前端字节;以每份首次写入的实际mtime作为明确标注的新文件获取时间依据,随后复核时间另列。第二阶段完成新core必要文本与清单后,registry https://api.comfy.org/nodes/comfy-core 返回404,原工具trace、URL/status与本轮解释均归档。404只表示registry线索缺口,不等于源码不存在或目标没有安装;准确官方Git身份独立核准。获取原日志和错误见 acquisition-initial-errors.txt 及 setup/extend 日志。
|
||||
|
||||
sources.json 共39条必要文本,source-closure.json 覆盖53个实际源字节/许可/身份文件;各节点自己的cnr/ver独立核对,宿主只绑定定义边界,不充当内部版本认证。目标模型目录/权重、动态文件成员、设备、素材许可、history、UE/promoted恢复和真实效果未验证。准确类/枚举存在不等于本机或目标环境可执行。
|
||||
|
||||
没有下载发布整包、模型权重、输入图像音视频、Input Assets、字体或运行库;没有读目标目录、调用MiniMax云API、导入插件/SDK、运行随机/表达式/采样/模型/GPU/音视频/清理。旧SeedVR整包越界获取及删除记录原样保留,不重取、不抹除或改称本批合规取得。所有指南/链接/MP表/模型和英文提示只是源保存数据。
|
||||
@@ -0,0 +1,77 @@
|
||||
"""List source texts and their identity/permission evidence, without self hashing."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REF, REPO
|
||||
|
||||
|
||||
def main():
|
||||
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
paths = {p.resolve() for p in REF.iterdir() if p.is_file()}
|
||||
for e in rows:
|
||||
paths.add((REF / e["local_file"]).resolve())
|
||||
if not e["license_file"].startswith("未知"):
|
||||
paths.add((REF / e["license_file"]).resolve())
|
||||
if e["id"] in ["litegraph", "llama-unavailable"]:
|
||||
continue
|
||||
if "package_record" in e:
|
||||
paths.add((REF / e["package_record"]).resolve())
|
||||
paths.add((REF / e["registry_record"]).resolve())
|
||||
continue
|
||||
if "member_crc32" in e:
|
||||
paths.update(
|
||||
(
|
||||
(REF / e["identity_root"] / (e["identity_key"] + suffix)).resolve()
|
||||
for suffix in ["-registry.json", "-members.json", "-range-proof.json"]
|
||||
)
|
||||
)
|
||||
continue
|
||||
base = REF / e["identity_root"]
|
||||
paths.update(
|
||||
(
|
||||
(base / (e["identity_key"] + suffix)).resolve()
|
||||
for suffix in ["-commit.txt", "-tag.txt", "-tag.json", "-tree.json"]
|
||||
)
|
||||
)
|
||||
paths.update((p.resolve() for p in REF.glob("*registry*.json")))
|
||||
|
||||
paths.update(
|
||||
(REF / "../qwen21-editviews-reference" / n).resolve()
|
||||
for n in ["goohai-registry-check.json", "goohai-registry-response.json"]
|
||||
)
|
||||
result = []
|
||||
for p in sorted(paths):
|
||||
raw = p.read_bytes()
|
||||
result.append(
|
||||
dict(
|
||||
path=str(p.relative_to(REPO)),
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
purpose="准确来源原文、许可或Git对象绑定;静态读取未执行",
|
||||
)
|
||||
)
|
||||
(OUT / "source-closure.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
files=result,
|
||||
count=len(result),
|
||||
upstream_executed=False,
|
||||
note=(
|
||||
"commit/tag字节和选定blob已重算"
|
||||
",完整tree列表非完整tree对象重哈希。"
|
||||
"本批准确必要Git文本与已审同版字节复用;"
|
||||
"无整包/资产获取或安装。历史发布成员SHA/CRC不"
|
||||
"冒充整包SHA/Git绑定,旧SeedVR越"
|
||||
"界及删除记录保留。"
|
||||
),
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("PASS source closure", len(result))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,21 @@
|
||||
# 第126批,仅MiniMaxH3基础文生视频参考;原PR25/main,基线50efa59d5ef73d26535ea871e5bf79475696420d。
|
||||
# 静态必要源码/许可,不执行上游、预处理器、模型、媒体、种子、别名或清理。
|
||||
# 既有依赖离线恢复,不增依赖。
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/minimax-h3-t2v-document-evidence/inventory.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/minimax-h3-t2v-document-evidence/verify_sources.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/minimax-h3-t2v-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/minimax-h3-t2v-document-evidence/repeat.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_minimax_h3_t2v_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/minimax-h3-t2v-document-evidence/*.py calliope-backend/tests/test_minimax_h3_t2v_fixed_document.py e2e/run-minimax-h3-t2v-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/minimax-h3-t2v-document-evidence/*.py calliope-backend/tests/test_minimax_h3_t2v_fixed_document.py e2e/run-minimax-h3-t2v-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
node --check e2e/minimax-h3-t2v-document.mjs
|
||||
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/minimax-h3-t2v-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-minimax-h3-t2v-document.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/minimax-h3-t2v-document-evidence/collect_browser.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/minimax-h3-t2v-document-evidence/source_closure.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/minimax-h3-t2v-document-evidence/freeze.py
|
||||
# 49新增位置/三标准Note;旧106块冻结。107图5895位置/187注释仅参考,155定稿0/实跑0/新增转换0。
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"recorded_at": "2026-10-31T21:41:25.947518+00:00",
|
||||
"source_times": "Per-row original acquisition/retrieved field when actually present; legacy absent first time explicitly unknown. Newly fetched frontend time based on actual initial write mtime and labelled as such; reverified_at separate. No source or runtime time fabrication."
|
||||
}
|
||||
@@ -0,0 +1,250 @@
|
||||
"Verify exact text, Git/package provenance and source graph without upstream imports."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import zlib
|
||||
|
||||
from build_definition import OUT, REF, build, canonical
|
||||
from inventory import inventory
|
||||
|
||||
|
||||
def object_hash(kind, raw):
|
||||
return hashlib.sha1(kind.encode() + b" " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
|
||||
|
||||
def main():
|
||||
block, inv = build(), inventory()
|
||||
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
checks = []
|
||||
for e in rows:
|
||||
raw = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
if e["id"] == "litegraph":
|
||||
root = REF / e["identity_root"]
|
||||
assert (
|
||||
json.loads((root / "litegraph__package__package.json").read_bytes())["version"]
|
||||
== "0.15.15"
|
||||
)
|
||||
front = next(
|
||||
x for x in rows if x["id"] == "frontend" and x["file"] == "package-lock.json"
|
||||
)
|
||||
lock = json.loads((REF / front["local_file"]).read_bytes())
|
||||
assert (
|
||||
lock["packages"]["node_modules/@comfyorg/litegraph"]["integrity"]
|
||||
== "sha512-" + e["artifact_sha512_base64"]
|
||||
)
|
||||
proof = (
|
||||
"Pinned frontend1.23.0 lock, exact0.15."
|
||||
"15 member SHA; whole artifact digest r"
|
||||
"eused, Git unknown"
|
||||
)
|
||||
elif "package_record" in e:
|
||||
package = json.loads((REF / e["package_record"]).read_bytes())
|
||||
reg = json.loads((REF / e["registry_record"]).read_bytes())
|
||||
member = next(x for x in package["members"] if x["path"] == e["file"])
|
||||
assert member["saved"] and member["sha256"] == e["sha256"]
|
||||
assert reg["version"] == e["tag"] == "1.0.0"
|
||||
assert package["sha256"] == e["artifact_sha256"]
|
||||
proof = (
|
||||
"复用已审准确发布成员SHA/registry/历史整包摘要记录;本轮未获取整包,不证明Git绑定"
|
||||
)
|
||||
elif e["id"] == "llama-unavailable":
|
||||
proof = "准确20571提交不可得的有界调查原记录,仅缺口,不作为schema实现"
|
||||
elif "member_crc32" in e:
|
||||
root = REF / e["identity_root"]
|
||||
m = json.loads((root / (e["id"] + "-registry.json")).read_bytes())
|
||||
members = json.loads((root / (e["id"] + "-members.json")).read_bytes())
|
||||
member = next(x for x in members if x["name"] == e["file"])
|
||||
assert m["version"] == e["tag"]
|
||||
assert member["crc"] == e["member_crc32"] == zlib.crc32(raw)
|
||||
assert e["package_sha256"].startswith("unknown")
|
||||
proof = "准确发布成员SHA/CRC;Range选定文本,完整包SHA与Git绑定未知"
|
||||
else:
|
||||
root = REF / e["identity_root"]
|
||||
key = e["identity_key"]
|
||||
commit = (root / (key + "-commit.txt")).read_bytes()
|
||||
tree = json.loads((root / (key + "-tree.json")).read_bytes())
|
||||
assert object_hash("commit", commit) == e["commit"]
|
||||
assert commit.decode().splitlines()[0] == "tree " + e["tree"] == "tree " + tree["sha"]
|
||||
assert not tree["truncated"]
|
||||
assert (
|
||||
next(t["sha"] for t in tree["tree"] if t["path"] == e["file"])
|
||||
== e["git_blob_sha1"]
|
||||
== object_hash("blob", raw)
|
||||
)
|
||||
tag = json.loads((root / (key + "-tag.json")).read_bytes())
|
||||
tag_raw = (root / (key + "-tag.txt")).read_bytes()
|
||||
assert tag["commit"] == e["commit"]
|
||||
if tag["object"] == e["commit"]:
|
||||
assert tag_raw == commit
|
||||
else:
|
||||
assert object_hash("tag", tag_raw) == tag["object"]
|
||||
assert tag_raw.decode().startswith("object " + e["commit"] + "\n")
|
||||
proof = (
|
||||
"Rehashed commit/tag/selected blo"
|
||||
"b; complete tree listing, not fu"
|
||||
"ll tree-object rehash"
|
||||
)
|
||||
if not e["license_file"].startswith("未知"):
|
||||
license_row = next(
|
||||
x
|
||||
for x in rows
|
||||
if x["id"] == e["id"]
|
||||
and ((REF / x["local_file"]).resolve() == (REF / e["license_file"]).resolve())
|
||||
)
|
||||
assert (
|
||||
hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest()
|
||||
== license_row["sha256"]
|
||||
)
|
||||
checks.append(dict(id=e["id"], file=e["file"], sha256=e["sha256"], proof=proof))
|
||||
assert inv["sha256"] == "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
|
||||
assert len(inv["fields"]) == 49 and len(inv["notes"]) == 3
|
||||
assert [(s["nodes"], s["edges"], s["named_nodes"]) for s in inv["scopes"]] == [
|
||||
(6, 3, 6),
|
||||
(21, 42, 17),
|
||||
]
|
||||
assert all(set(s["modes"]) == {0} for s in inv["scopes"])
|
||||
assert [(n["node"], n["state"]) for n in inv["empty"]] == [
|
||||
(121, "missing"),
|
||||
(122, "missing"),
|
||||
(125, "missing"),
|
||||
(126, "missing"),
|
||||
]
|
||||
from build_definition import PATHS, REPO
|
||||
|
||||
g = json.loads((REPO / PATHS[0]).read_bytes())
|
||||
d = g["definitions"]["subgraphs"][0]
|
||||
|
||||
def pointer(obj, p):
|
||||
for bit in p.strip("/").split("/"):
|
||||
bit = bit.replace("~1", "/").replace("~0", "~")
|
||||
obj = obj[int(bit)] if isinstance(obj, list) else obj[bit]
|
||||
return obj
|
||||
|
||||
for a, f in zip(inv["fields"], block["fields"], strict=True):
|
||||
assert (a["pointer"], a["json_type"], canonical(a["value"])) == (
|
||||
f["pointer"],
|
||||
f["json_type"],
|
||||
canonical(f["value"]),
|
||||
)
|
||||
assert (
|
||||
canonical(pointer(g, f["pointer"]))
|
||||
== canonical(pointer(g, f["named_pointer"]))
|
||||
== canonical(f["value"])
|
||||
== canonical(f["named_value"])
|
||||
)
|
||||
for graph in [g, d]:
|
||||
ns = {n["id"]: n for n in graph["nodes"]}
|
||||
for edge in graph["links"]:
|
||||
if isinstance(edge, list):
|
||||
eid, a, ao, z, zi, _ = edge
|
||||
else:
|
||||
eid, a, ao, z, zi = [
|
||||
edge[k] for k in ["id", "origin_id", "origin_slot", "target_id", "target_slot"]
|
||||
]
|
||||
assert eid in (
|
||||
ns[a]["outputs"][ao]["links"] if a >= 0 else graph["inputs"][ao]["linkIds"]
|
||||
)
|
||||
if z >= 0:
|
||||
assert ns[z]["inputs"][zi]["link"] == eid
|
||||
else:
|
||||
assert eid in graph["outputs"][zi]["linkIds"]
|
||||
ns = {n["id"]: n for n in g["nodes"]}
|
||||
ins = {n["id"]: n for n in d["nodes"]}
|
||||
assert len(ns[140]["widgets_values"]) == 13 and len(ns[140]["inputs"]) == len(d["inputs"]) == 15
|
||||
assert d["widgets"] == [] and "proxyWidgets" not in ns[140] and "proxyWidgets" not in d
|
||||
assert all(ns[140]["inputs"][i]["link"] is None for i in [0, 1])
|
||||
assert ns[115]["widgets_values"] == ["16:9 (Widescreen)", 0.4, 32]
|
||||
assert ns[92]["widgets_values"] == ["video/MiniMax_H3", "auto", "auto"]
|
||||
assert g["links"] == [
|
||||
[246, 115, 0, 140, 3, "INT"],
|
||||
[247, 115, 1, 140, 4, "INT"],
|
||||
[248, 140, 0, 92, 0, "VIDEO"],
|
||||
]
|
||||
assert [
|
||||
(e["id"], e["origin_id"], e["target_id"], e["target_slot"])
|
||||
for e in d["links"]
|
||||
if e["id"] in [188, 199, 225, 226, 238, 239]
|
||||
] == [
|
||||
(188, 131, 125, 4),
|
||||
(199, 132, 131, 7),
|
||||
(225, 125, 122, 0),
|
||||
(226, 125, 121, 0),
|
||||
(238, 139, 135, 2),
|
||||
(239, 139, 136, 2),
|
||||
]
|
||||
expression = "max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
|
||||
assert ins[132]["widgets_values"] == [expression]
|
||||
assert ins[132]["inputs"][1]["link"] is None
|
||||
assert ins[132]["outputs"][0]["links"] is None and ins[132]["outputs"][2]["links"] is None
|
||||
assert type(ins[133]["widgets_values"][0]) is int and ins[133]["widgets_values"] == [2]
|
||||
assert ns[140]["widgets_values"][3] == 5 and type(ns[140]["widgets_values"][3]) is int
|
||||
assert ins[137]["widgets_values"] == [20, "fixed"] and ins[138]["widgets_values"] == [
|
||||
6,
|
||||
"fixed",
|
||||
]
|
||||
assert (
|
||||
ins[135]["widgets_values"]
|
||||
== ins[136]["widgets_values"]
|
||||
== ins[139]["widgets_values"]
|
||||
== [False]
|
||||
)
|
||||
assert ns[140]["widgets_values"][9] is True and ns[140]["widgets_values"][-1] == 8
|
||||
for nid in [121, 122, 125, 126]:
|
||||
assert "widgets_values" not in ins[nid] and "widgets_values_named" not in ins[nid]
|
||||
assert [
|
||||
(n["characters"], n["lf_count"], n["literal_backslash_n"], n["ends_with_lf"])
|
||||
for n in inv["notes"]
|
||||
] == [(1017, 15, 0, True), (2163, 45, 0, True), (281, 10, 0, True)]
|
||||
assert [hashlib.sha256(n["text"].encode()).hexdigest() for n in inv["notes"]] == [
|
||||
"3402a056c32c3c3136515c5b268a33b09648e74869116e5b76b794d1b9ebf9e6",
|
||||
"9fb4fb18439188f6c7d9275210ada9705f7ceb0501df9d052093fa2c63ec9d80",
|
||||
"a8b009828506c70e6c652338474be2748ad14ac4b710f24b6c2bdfc458f98340",
|
||||
]
|
||||
texts = [ns[140]["widgets_values"][0], ins[131]["widgets_values"][0]]
|
||||
assert [(len(s), s.count("\n"), s.count("\\n"), s.endswith("\n")) for s in texts] == [
|
||||
(1647, 14, 0, False),
|
||||
(980, 12, 0, False),
|
||||
]
|
||||
assert [hashlib.sha256(s.encode()).hexdigest() for s in texts] == [
|
||||
"c628dfa9b3e7b4e6e406cf609d4ae7537566b8b69cf84d63322886de48803dc4",
|
||||
"21953b89529474d17901875cb7f5d5120c406dfbd680c88065f9b672c2f326d9",
|
||||
]
|
||||
assert all(
|
||||
b["source_id"] == "core0330" and len(b["candidates"]) == 1
|
||||
for b in block["node_bindings"]
|
||||
if b["node_id"] != "140"
|
||||
)
|
||||
assert all(b["source_version"] == "0.33.0" for b in block["node_bindings"])
|
||||
assert (
|
||||
block["counts"]["root_saved_fields"] == 19
|
||||
and block["counts"]["internal_saved_fields"] == 30
|
||||
)
|
||||
(OUT / "source-check.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
files=checks,
|
||||
positions=49,
|
||||
standard_notes=3,
|
||||
scopes=inv["scopes"],
|
||||
edges_including_boundary=45,
|
||||
accurate_implementation_nodes=23,
|
||||
upstream_executed=False,
|
||||
expression_evaluated=False,
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
(OUT / "node-version-bindings.json").write_text(
|
||||
json.dumps(block["node_bindings"], ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print(
|
||||
"PASS exact sources,49 positional/named fields,3 notes,45 edge/boundary records; "
|
||||
"no expression evaluation"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"url": "https://api.comfy.org/nodes/comfy-core",
|
||||
"status": 404,
|
||||
"recorded_at": "2026-10-31T21:35:34.793045+00:00",
|
||||
"meaning": "仅registry身份线索缺口,不是准确源码不存在或目标未安装证明;源码由官方准确Git tag/commit/tree/blob另核"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
tree 668784f3dcf05f5adb6d12ee551dc476e2f56e46
|
||||
parent ddbaa8752874c275290d054ee4fddd6e004f5fdf
|
||||
author comfyanonymous <comfyanonymous@protonmail.com> 1786641622 -0400
|
||||
committer comfyanonymous <comfyanonymous@protonmail.com> 1786641622 -0400
|
||||
|
||||
ComfyUI v0.33.0
|
||||
@@ -0,0 +1,2 @@
|
||||
From https://github.com/Comfy-Org/ComfyUI
|
||||
* tag v0.33.0 -> FETCH_HEAD
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"object": "2f35f4a08176d993cded35dac3332be4f7287f41",
|
||||
"commit": "2f35f4a08176d993cded35dac3332be4f7287f41",
|
||||
"tag": "v0.33.0"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
tree 668784f3dcf05f5adb6d12ee551dc476e2f56e46
|
||||
parent ddbaa8752874c275290d054ee4fddd6e004f5fdf
|
||||
author comfyanonymous <comfyanonymous@protonmail.com> 1786641622 -0400
|
||||
committer comfyanonymous <comfyanonymous@protonmail.com> 1786641622 -0400
|
||||
|
||||
ComfyUI v0.33.0
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,443 @@
|
||||
# MiniMax H3 audio VAE: DAC-lineage waveform encoder + BigVGAN decoder.
|
||||
# Weight-norm parametrizations are folded into plain conv weights, so this
|
||||
# module uses ordinary ops.Conv1d / ops.ConvTranspose1d and loads the converted
|
||||
# checkpoint (plain "*.weight" tensors) with strict=True.
|
||||
#
|
||||
# Lineage / licenses of the reference implementation:
|
||||
# DAC encoder: descript-audio-codec (MIT)
|
||||
# BigVGAN decoder: NVIDIA BigVGAN (MIT), adapted from hifi-gan (MIT)
|
||||
# Alias-free ops: junjun3518/alias-free-torch (Apache-2.0), julius (MIT)
|
||||
|
||||
import math
|
||||
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
|
||||
import comfy.ops
|
||||
|
||||
ops = comfy.ops.disable_weight_init
|
||||
|
||||
|
||||
# Snake activations
|
||||
|
||||
def snake(x, alpha, beta):
|
||||
# x + 1/beta * sin^2(alpha * x)
|
||||
t = torch.sin(alpha * x)
|
||||
return t.mul_(t).mul_((beta + 1e-9).reciprocal()).add_(x)
|
||||
|
||||
|
||||
class Snake1d(nn.Module):
|
||||
"""Snake activation with per-channel alpha (encoder side)."""
|
||||
|
||||
def __init__(self, channels):
|
||||
super().__init__()
|
||||
self.alpha = nn.Parameter(torch.empty(1, channels, 1))
|
||||
|
||||
def forward(self, x):
|
||||
alpha = comfy.ops.cast_to_input(self.alpha, x)
|
||||
return snake(x, alpha, alpha)
|
||||
|
||||
|
||||
class SnakeBeta(nn.Module):
|
||||
"""SnakeBeta := x + 1/beta * sin^2(alpha * x); alpha/beta stored in log scale."""
|
||||
|
||||
def __init__(self, in_features):
|
||||
super().__init__()
|
||||
self.alpha = nn.Parameter(torch.empty(in_features))
|
||||
self.beta = nn.Parameter(torch.empty(in_features))
|
||||
|
||||
def forward(self, x):
|
||||
alpha = torch.exp(comfy.ops.cast_to_input(self.alpha, x)).view(1, -1, 1)
|
||||
beta = torch.exp(comfy.ops.cast_to_input(self.beta, x)).view(1, -1, 1)
|
||||
return snake(x, alpha, beta)
|
||||
|
||||
|
||||
# Alias-free (anti-aliased) activation: kaiser-windowed sinc resampling
|
||||
|
||||
def kaiser_sinc_filter1d(cutoff, half_width, kernel_size):
|
||||
# returns filter [1, 1, kernel_size]
|
||||
even = kernel_size % 2 == 0
|
||||
half_size = kernel_size // 2
|
||||
|
||||
# kaiser window design
|
||||
delta_f = 4 * half_width
|
||||
A = 2.285 * (half_size - 1) * math.pi * delta_f + 7.95
|
||||
if A > 50.0:
|
||||
beta = 0.1102 * (A - 8.7)
|
||||
elif A >= 21.0:
|
||||
beta = 0.5842 * (A - 21) ** 0.4 + 0.07886 * (A - 21.0)
|
||||
else:
|
||||
beta = 0.0
|
||||
window = torch.kaiser_window(kernel_size, beta=beta, periodic=False)
|
||||
|
||||
if even:
|
||||
time = torch.arange(-half_size, half_size) + 0.5
|
||||
else:
|
||||
time = torch.arange(kernel_size) - half_size
|
||||
|
||||
filter_ = 2 * cutoff * window * torch.sinc(2 * cutoff * time)
|
||||
# Normalize filter to have sum = 1, otherwise there is a small leakage of
|
||||
# the constant component in the input signal.
|
||||
filter_ /= filter_.sum()
|
||||
return filter_.view(1, 1, kernel_size)
|
||||
|
||||
|
||||
class UpSample1d(nn.Module):
|
||||
def __init__(self, ratio=2, kernel_size=12):
|
||||
super().__init__()
|
||||
self.ratio = ratio
|
||||
self.stride = ratio
|
||||
self.pad = kernel_size // ratio - 1
|
||||
self.pad_left = self.pad * ratio + (kernel_size - ratio) // 2
|
||||
self.pad_right = self.pad * ratio + (kernel_size - ratio + 1) // 2
|
||||
self.register_buffer(
|
||||
"filter",
|
||||
kaiser_sinc_filter1d(cutoff=0.5 / ratio, half_width=0.6 / ratio, kernel_size=kernel_size),
|
||||
)
|
||||
|
||||
def forward(self, x):
|
||||
_, C, _ = x.shape
|
||||
x = F.pad(x, (self.pad, self.pad), mode="replicate")
|
||||
x = F.conv_transpose1d(x, comfy.ops.cast_to_input(self.filter.expand(C, -1, -1), x), stride=self.stride, groups=C).mul_(self.ratio)
|
||||
x = x[..., self.pad_left:-self.pad_right]
|
||||
return x
|
||||
|
||||
|
||||
class LowPassFilter1d(nn.Module):
|
||||
def __init__(self, cutoff=0.5, half_width=0.6, stride=1, kernel_size=12):
|
||||
super().__init__()
|
||||
self.pad_left = kernel_size // 2 - int(kernel_size % 2 == 0)
|
||||
self.pad_right = kernel_size // 2
|
||||
self.stride = stride
|
||||
self.register_buffer("filter", kaiser_sinc_filter1d(cutoff, half_width, kernel_size))
|
||||
|
||||
def forward(self, x):
|
||||
_, C, _ = x.shape
|
||||
x = F.pad(x, (self.pad_left, self.pad_right), mode="replicate")
|
||||
return F.conv1d(x, comfy.ops.cast_to_input(self.filter.expand(C, -1, -1), x), stride=self.stride, groups=C)
|
||||
|
||||
|
||||
class DownSample1d(nn.Module):
|
||||
def __init__(self, ratio=2, kernel_size=12):
|
||||
super().__init__()
|
||||
self.ratio = ratio
|
||||
self.kernel_size = kernel_size
|
||||
self.lowpass = LowPassFilter1d(
|
||||
cutoff=0.5 / ratio,
|
||||
half_width=0.6 / ratio,
|
||||
stride=ratio,
|
||||
kernel_size=self.kernel_size,
|
||||
)
|
||||
|
||||
def forward(self, x):
|
||||
return self.lowpass(x)
|
||||
|
||||
|
||||
class Activation1d(nn.Module):
|
||||
"""upsample x2 -> pointwise activation -> downsample x2 (anti-aliased)."""
|
||||
|
||||
def __init__(self, activation, up_ratio=2, down_ratio=2, up_kernel_size=12, down_kernel_size=12):
|
||||
super().__init__()
|
||||
self.act = activation
|
||||
self.upsample = UpSample1d(up_ratio, up_kernel_size)
|
||||
self.downsample = DownSample1d(down_ratio, down_kernel_size)
|
||||
|
||||
def forward(self, x):
|
||||
x = self.upsample(x)
|
||||
x = self.act(x)
|
||||
x = self.downsample(x)
|
||||
return x
|
||||
|
||||
|
||||
# DAC encoder
|
||||
|
||||
class ResidualUnit(nn.Module):
|
||||
def __init__(self, dim=16, dilation=1):
|
||||
super().__init__()
|
||||
pad = ((7 - 1) * dilation) // 2
|
||||
self.block = nn.Sequential(
|
||||
Snake1d(dim),
|
||||
ops.Conv1d(dim, dim, kernel_size=7, dilation=dilation, padding=pad),
|
||||
Snake1d(dim),
|
||||
ops.Conv1d(dim, dim, kernel_size=1),
|
||||
)
|
||||
|
||||
def forward(self, x):
|
||||
y = self.block(x)
|
||||
pad = (x.shape[-1] - y.shape[-1]) // 2
|
||||
if pad > 0:
|
||||
x = x[..., pad:-pad]
|
||||
return y.add_(x)
|
||||
|
||||
|
||||
class EncoderBlock(nn.Module):
|
||||
def __init__(self, dim=16, stride=1):
|
||||
super().__init__()
|
||||
self.block = nn.Sequential(
|
||||
ResidualUnit(dim // 2, dilation=1),
|
||||
ResidualUnit(dim // 2, dilation=3),
|
||||
ResidualUnit(dim // 2, dilation=9),
|
||||
Snake1d(dim // 2),
|
||||
ops.Conv1d(
|
||||
dim // 2,
|
||||
dim,
|
||||
kernel_size=2 * stride,
|
||||
stride=stride,
|
||||
padding=math.ceil(stride / 2),
|
||||
),
|
||||
)
|
||||
|
||||
def forward(self, x):
|
||||
return self.block(x)
|
||||
|
||||
|
||||
class Encoder(nn.Module):
|
||||
def __init__(self, d_model=64, strides=(2, 4, 4, 5, 5), d_latent=2048):
|
||||
super().__init__()
|
||||
block = [ops.Conv1d(1, d_model, kernel_size=7, padding=3)]
|
||||
for stride in strides:
|
||||
d_model *= 2
|
||||
block += [EncoderBlock(d_model, stride=stride)]
|
||||
block += [
|
||||
Snake1d(d_model),
|
||||
ops.Conv1d(d_model, d_latent, kernel_size=3, padding=1),
|
||||
]
|
||||
self.block = nn.Sequential(*block)
|
||||
|
||||
def forward(self, x):
|
||||
return self.block(x)
|
||||
|
||||
|
||||
# Attention projection (encoder posterior head)
|
||||
|
||||
class GeGluMlp(nn.Module):
|
||||
def __init__(self, in_features, hidden_features):
|
||||
super().__init__()
|
||||
self.norm = ops.LayerNorm(in_features)
|
||||
self.act = nn.GELU(approximate="tanh")
|
||||
self.w0 = ops.Linear(in_features, hidden_features)
|
||||
self.w1 = ops.Linear(in_features, hidden_features)
|
||||
self.w2 = ops.Linear(hidden_features, in_features)
|
||||
|
||||
def forward(self, x):
|
||||
x = self.norm(x)
|
||||
return self.w2(self.act(self.w0(x)).mul_(self.w1(x)))
|
||||
|
||||
|
||||
class CausalAttention(nn.Module):
|
||||
def __init__(self, in_dim, out_dim, num_heads):
|
||||
super().__init__()
|
||||
self.head_dim = in_dim // num_heads
|
||||
self.num_heads = num_heads
|
||||
self.out_dim = out_dim
|
||||
self.qkv = ops.Linear(in_dim, in_dim * 3, bias=False)
|
||||
self.q_bias = nn.Parameter(torch.empty(in_dim))
|
||||
self.v_bias = nn.Parameter(torch.empty(in_dim))
|
||||
self.register_buffer("zero_k_bias", torch.empty(in_dim))
|
||||
self.proj = ops.Linear(out_dim, out_dim)
|
||||
|
||||
def forward(self, x):
|
||||
B, N, C = x.shape
|
||||
weight, _, offload_stream = comfy.ops.cast_bias_weight(self.qkv, x, offloadable=True)
|
||||
qkv = F.linear(x, weight=weight, bias=comfy.ops.cast_to_input(torch.cat((self.q_bias, self.zero_k_bias, self.v_bias)), x))
|
||||
comfy.ops.uncast_bias_weight(self.qkv, weight, None, offload_stream)
|
||||
q, k, v = qkv.reshape(B, N, 3, self.num_heads, self.head_dim).permute(2, 0, 3, 1, 4).unbind(0)
|
||||
|
||||
# mean over heads then pool down to the latent width (in_dim >> out_dim)
|
||||
x = comfy.ops.scaled_dot_product_attention(q, k, v, is_causal=True)
|
||||
x = F.adaptive_avg_pool1d(torch.mean(x, dim=1), self.out_dim)
|
||||
return self.proj(x)
|
||||
|
||||
|
||||
class AttnProjection(nn.Module):
|
||||
def __init__(self, in_dim, out_dim, num_heads, mlp_ratio=2):
|
||||
super().__init__()
|
||||
self.norm1 = ops.LayerNorm(in_dim)
|
||||
self.attn = CausalAttention(in_dim, out_dim, num_heads)
|
||||
self.proj = ops.Linear(in_dim, out_dim)
|
||||
self.norm3 = ops.LayerNorm(in_dim)
|
||||
|
||||
self.norm2 = ops.LayerNorm(out_dim)
|
||||
hidden_dim = int(out_dim * mlp_ratio)
|
||||
self.mlp = GeGluMlp(in_features=out_dim, hidden_features=hidden_dim)
|
||||
|
||||
def forward(self, x):
|
||||
# x: [B, T, in_dim]
|
||||
x = self.proj(self.norm3(x)).add_(self.attn(self.norm1(x)))
|
||||
return x.add_(self.mlp(self.norm2(x)))
|
||||
|
||||
|
||||
# BigVGAN decoder
|
||||
|
||||
def get_padding(kernel_size, dilation=1):
|
||||
return int((kernel_size * dilation - dilation) / 2)
|
||||
|
||||
|
||||
class AMPBlock1(nn.Module):
|
||||
def __init__(self, channels, kernel_size=3, dilation=(1, 3, 5)):
|
||||
super().__init__()
|
||||
self.convs1 = nn.ModuleList(
|
||||
[
|
||||
ops.Conv1d(channels, channels, kernel_size, stride=1, dilation=d, padding=get_padding(kernel_size, d))
|
||||
for d in dilation
|
||||
]
|
||||
)
|
||||
self.convs2 = nn.ModuleList(
|
||||
[
|
||||
ops.Conv1d(channels, channels, kernel_size, stride=1, dilation=1, padding=get_padding(kernel_size, 1))
|
||||
for _ in range(len(dilation))
|
||||
]
|
||||
)
|
||||
self.num_layers = len(self.convs1) + len(self.convs2)
|
||||
self.activations = nn.ModuleList(
|
||||
[Activation1d(activation=SnakeBeta(channels)) for _ in range(self.num_layers)]
|
||||
)
|
||||
|
||||
def forward(self, x):
|
||||
acts1, acts2 = self.activations[::2], self.activations[1::2]
|
||||
for c1, c2, a1, a2 in zip(self.convs1, self.convs2, acts1, acts2):
|
||||
xt = a1(x)
|
||||
xt = c1(xt)
|
||||
xt = a2(xt)
|
||||
xt = c2(xt)
|
||||
x = xt.add_(x)
|
||||
return x
|
||||
|
||||
|
||||
class BigVGAN(nn.Module):
|
||||
"""BigVGAN vocoder (MiniMax H3 32 kHz configuration).
|
||||
|
||||
use_bias_at_final=False, use_tanh_at_final=False (output clamped to [-1, 1]).
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
num_mels=2048,
|
||||
upsample_initial_channel=1024,
|
||||
upsample_rates=(5, 5, 2, 2, 2, 2, 2),
|
||||
upsample_kernel_sizes=(9, 9, 4, 4, 4, 4, 4),
|
||||
resblock_kernel_sizes=(3, 7, 11),
|
||||
resblock_dilation_sizes=((1, 3, 5), (1, 3, 5), (1, 3, 5)),
|
||||
):
|
||||
super().__init__()
|
||||
self.num_kernels = len(resblock_kernel_sizes)
|
||||
self.num_upsamples = len(upsample_rates)
|
||||
|
||||
self.conv_pre = ops.Conv1d(num_mels, upsample_initial_channel, 7, 1, padding=3)
|
||||
|
||||
self.ups = nn.ModuleList()
|
||||
for i, (u, k) in enumerate(zip(upsample_rates, upsample_kernel_sizes)):
|
||||
self.ups.append(
|
||||
nn.ModuleList(
|
||||
[
|
||||
ops.ConvTranspose1d(
|
||||
upsample_initial_channel // (2 ** i),
|
||||
upsample_initial_channel // (2 ** (i + 1)),
|
||||
k,
|
||||
u,
|
||||
padding=(k - u) // 2,
|
||||
)
|
||||
]
|
||||
)
|
||||
)
|
||||
|
||||
self.resblocks = nn.ModuleList()
|
||||
for i in range(len(self.ups)):
|
||||
ch = upsample_initial_channel // (2 ** (i + 1))
|
||||
for k, d in zip(resblock_kernel_sizes, resblock_dilation_sizes):
|
||||
self.resblocks.append(AMPBlock1(ch, k, d))
|
||||
|
||||
self.activation_post = Activation1d(activation=SnakeBeta(ch))
|
||||
self.conv_post = ops.Conv1d(ch, 1, 7, 1, padding=3, bias=False)
|
||||
|
||||
def forward(self, x):
|
||||
x = self.conv_pre(x)
|
||||
|
||||
for i in range(self.num_upsamples):
|
||||
for i_up in range(len(self.ups[i])):
|
||||
x = self.ups[i][i_up](x)
|
||||
xs = None
|
||||
for j in range(self.num_kernels):
|
||||
if xs is None:
|
||||
xs = self.resblocks[i * self.num_kernels + j](x)
|
||||
else:
|
||||
xs += self.resblocks[i * self.num_kernels + j](x)
|
||||
x = xs.div_(self.num_kernels)
|
||||
|
||||
x = self.activation_post(x)
|
||||
return self.conv_post(x).clamp_(-1.0, 1.0)
|
||||
|
||||
|
||||
# Top-level VAE
|
||||
|
||||
class MiniMaxH3AudioVAE(nn.Module):
|
||||
"""MiniMax H3 stereo audio VAE at 32 kHz.
|
||||
|
||||
Latents are [B, 32, 2, T]: 32 channels, 2 stereo channels, T frames at
|
||||
40 latent frames per second (800 audio samples per latent frame). The
|
||||
stereo channels are processed independently by the mono encoder/decoder.
|
||||
Latents are normalized with the stored per-channel latents_mean/std.
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
encoder_dim=64,
|
||||
encoder_rates=(2, 4, 4, 5, 5),
|
||||
latent_dim=2048,
|
||||
decoder_dim=1024,
|
||||
vae_latent_channels=32,
|
||||
):
|
||||
super().__init__()
|
||||
self.sample_rate = 32000
|
||||
|
||||
self.hop_length = 1
|
||||
for r in encoder_rates:
|
||||
self.hop_length *= r
|
||||
self.samples_per_latent = self.hop_length # 800
|
||||
self.latents_per_second = self.sample_rate // self.hop_length # 40
|
||||
self.output_sample_rate = self.sample_rate # read by LTXVAudioVAEDecode
|
||||
|
||||
self.encoder = Encoder(encoder_dim, encoder_rates, latent_dim)
|
||||
|
||||
self.pre_block = AttnProjection(latent_dim, vae_latent_channels, num_heads=8)
|
||||
|
||||
self.mean_proj = ops.Conv1d(vae_latent_channels, vae_latent_channels, 1)
|
||||
# logs_proj exists in the checkpoint but is unused at inference
|
||||
# (encode returns the posterior mean, no sampling).
|
||||
self.logs_proj = ops.Conv1d(vae_latent_channels, vae_latent_channels, 1)
|
||||
|
||||
self.dec_in_proj = ops.Conv1d(vae_latent_channels, latent_dim, 1)
|
||||
self.decoder = BigVGAN(num_mels=latent_dim, upsample_initial_channel=decoder_dim)
|
||||
|
||||
self.register_buffer("latents_mean", torch.empty(vae_latent_channels))
|
||||
self.register_buffer("latents_std", torch.empty(vae_latent_channels))
|
||||
|
||||
def decode(self, z):
|
||||
"""Decode normalized latents [B, 32, 2, T] to stereo waveforms [B, 2, L] at 32 kHz."""
|
||||
b, c, s, t = z.shape
|
||||
z = z.permute(0, 2, 1, 3).reshape(b * s, c, t)
|
||||
mean = self.latents_mean.view(1, -1, 1).to(device=z.device, dtype=z.dtype)
|
||||
std = self.latents_std.view(1, -1, 1).to(device=z.device, dtype=z.dtype)
|
||||
z = z * std + mean
|
||||
x = self.dec_in_proj(z)
|
||||
x = self.decoder(x) # [b * s, 1, L], already clamped to [-1, 1]
|
||||
return x.reshape(b, s, -1)
|
||||
|
||||
def encode(self, waveform):
|
||||
"""Encode stereo waveforms [B, 2, L] at 32 kHz (in [-1, 1]) to normalized latents [B, 32, 2, T].
|
||||
|
||||
L is right-padded with zeros to a multiple of 800 samples; the returned
|
||||
posterior mean is used directly (no sampling).
|
||||
"""
|
||||
b, s, length = waveform.shape
|
||||
right_pad = math.ceil(length / self.hop_length) * self.hop_length - length
|
||||
waveform = F.pad(waveform, (0, right_pad))
|
||||
x = waveform.reshape(b * s, 1, -1)
|
||||
x = self.encoder(x) # [b * s, latent_dim, T]
|
||||
x = self.pre_block(x.transpose(1, 2)).transpose(1, 2) # [b * s, 32, T]
|
||||
z = self.mean_proj(x)
|
||||
mean = self.latents_mean.view(1, -1, 1).to(device=z.device, dtype=z.dtype)
|
||||
std = self.latents_std.view(1, -1, 1).to(device=z.device, dtype=z.dtype)
|
||||
z = (z - mean) / std
|
||||
return z.reshape(b, s, z.shape[1], z.shape[2]).permute(0, 2, 1, 3)
|
||||
@@ -0,0 +1,710 @@
|
||||
# MiniMax H3 video VAE: 3D causal CNN encoder + ViT3D decoder.
|
||||
|
||||
import math
|
||||
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
|
||||
import comfy.model_management
|
||||
import comfy.ops
|
||||
import comfy.quant_ops
|
||||
import comfy.rmsnorm
|
||||
from comfy.ldm.modules.attention import optimized_attention
|
||||
|
||||
ops = comfy.ops.disable_weight_init
|
||||
|
||||
IMAGENET_MEAN = (0.485, 0.456, 0.406)
|
||||
IMAGENET_STD = (0.229, 0.224, 0.225)
|
||||
|
||||
LATENTS_MEAN = [
|
||||
0.858090341091156, -0.9606591463088989, 1.0661640167236328, -0.5090325474739075,
|
||||
-0.2727581858634949, -1.3675414323806763, -0.2553254961967468, -0.26907554268836975,
|
||||
-0.5376840829849243, -0.0464097298681736, 0.6657370328903198, 0.19690127670764923,
|
||||
-0.5460608005523682, -0.4035342037677765, -0.23683024942874908, 0.25928452610969543,
|
||||
-0.30133944749832153, 0.211341992020607, -1.1206848621368408, 0.3581933379173279,
|
||||
-0.04225143790245056, 0.2604829967021942, 0.22864092886447906, 0.7056031823158264,
|
||||
]
|
||||
|
||||
LATENTS_STD = [
|
||||
1.2223774194717407, 1.2767263650894165, 1.68317747116088865, 1.7549455165863037,
|
||||
1.5636216402053833, 2.194143533706665, 0.96531379222869875, 1.05698859691619875,
|
||||
0.841948926448822, 0.7729952931404114, 1.8955937623977661, 0.946841835975647,
|
||||
0.7996809482574463, 0.44988900423049925, 0.7197399735450745, 0.69362932443618775,
|
||||
2.961095094680786, 2.7694199085235595, 3.0496184825897215, 2.1088054180145265,
|
||||
3.276226282119751, 3.1627357006073, 2.28168129920959475, 2.6127843856811525,
|
||||
]
|
||||
|
||||
|
||||
# 3D causal CNN encoder
|
||||
|
||||
class CausalConv3d(ops.Conv3d):
|
||||
# Reflect spatial padding, causal (zeros, front-only) temporal padding.
|
||||
def __init__(self, in_channels, out_channels, kernel_size, stride=1, padding=0):
|
||||
super().__init__(in_channels, out_channels, kernel_size=kernel_size, stride=stride)
|
||||
self.causal_padding = (padding,) * 3 if isinstance(padding, int) else tuple(padding)
|
||||
|
||||
def forward(self, x):
|
||||
if sum(self.causal_padding) == 0:
|
||||
return super().forward(x)
|
||||
|
||||
x = F.pad(x, (self.causal_padding[2], self.causal_padding[2], self.causal_padding[1], self.causal_padding[1], 0, 0), mode="reflect")
|
||||
if x.shape[2] == 1:
|
||||
# single frame: the causal front padding is all zeros truncate the temporal taps instead of convolving zero frames
|
||||
return super().forward(x, autopad="causal_zero")
|
||||
x = F.pad(x, (0, 0, 0, 0, self.causal_padding[0] * 2, 0), mode="constant")
|
||||
return super().forward(x)
|
||||
|
||||
|
||||
class TemporalIsolatedGroupNorm(ops.GroupNorm):
|
||||
# GroupNorm with statistics computed per frame (time merged into batch).
|
||||
def forward(self, x):
|
||||
if x.dim() == 5:
|
||||
b, c, t, h, w = x.shape
|
||||
x = x.permute(0, 2, 1, 3, 4).contiguous().view(b * t, c, 1, h, w)
|
||||
x = super().forward(x)
|
||||
return x.view(b, t, c, h, w).permute(0, 2, 1, 3, 4).contiguous()
|
||||
return super().forward(x)
|
||||
|
||||
|
||||
def group_norm_3d(num_channels):
|
||||
return TemporalIsolatedGroupNorm(num_groups=32, num_channels=num_channels, eps=1e-6, affine=True)
|
||||
|
||||
|
||||
class Downsample3D(nn.Module):
|
||||
def __init__(self, in_channels, out_channels, time_stride=1, space_stride=2):
|
||||
super().__init__()
|
||||
self.space_stride = space_stride
|
||||
self.conv = CausalConv3d(
|
||||
in_channels,
|
||||
out_channels,
|
||||
kernel_size=3,
|
||||
padding=(1, 0, 0),
|
||||
stride=(time_stride, space_stride, space_stride),
|
||||
)
|
||||
|
||||
def forward(self, x):
|
||||
if self.space_stride == 2:
|
||||
x = F.pad(x, (0, 1, 0, 1, 0, 0), mode="reflect")
|
||||
return self.conv(x)
|
||||
|
||||
|
||||
class ResnetBlock3D(nn.Module):
|
||||
def __init__(self, in_channels, out_channels=None):
|
||||
super().__init__()
|
||||
self.in_channels = in_channels
|
||||
out_channels = in_channels if out_channels is None else out_channels
|
||||
self.out_channels = out_channels
|
||||
|
||||
self.norm1 = group_norm_3d(in_channels)
|
||||
self.norm2 = group_norm_3d(out_channels)
|
||||
self.conv1 = CausalConv3d(in_channels, out_channels, kernel_size=3, padding=1)
|
||||
self.conv2 = CausalConv3d(out_channels, out_channels, kernel_size=3, padding=1)
|
||||
if in_channels != out_channels:
|
||||
self.nin_shortcut = CausalConv3d(in_channels, out_channels, kernel_size=1)
|
||||
|
||||
def forward(self, x):
|
||||
h = self.conv1(F.silu(self.norm1(x), inplace=True))
|
||||
h = self.conv2(F.silu(self.norm2(h), inplace=True))
|
||||
if self.in_channels != self.out_channels:
|
||||
x = self.nin_shortcut(x)
|
||||
return h.add_(x)
|
||||
|
||||
|
||||
class EncoderFCN3D(nn.Module):
|
||||
def __init__(self, ch, ch_mult, space_down, time_down, num_res_blocks, in_channels, z_channels, double_z=True):
|
||||
super().__init__()
|
||||
self.num_levels = len(ch_mult)
|
||||
if isinstance(num_res_blocks, int):
|
||||
num_res_blocks = [num_res_blocks] * self.num_levels
|
||||
self.num_res_blocks = num_res_blocks
|
||||
|
||||
block_mid = [ch * ch_mult[i] for i in range(self.num_levels)]
|
||||
block_in = [block_mid[0]] + block_mid[:-1]
|
||||
block_out = block_mid
|
||||
|
||||
self.conv_in = CausalConv3d(in_channels, block_in[0], kernel_size=3, padding=1)
|
||||
|
||||
self.down = nn.ModuleList()
|
||||
for i_level in range(self.num_levels):
|
||||
down = nn.Module()
|
||||
down.block = nn.ModuleList()
|
||||
for i in range(self.num_res_blocks[i_level]):
|
||||
down.block.append(
|
||||
ResnetBlock3D(
|
||||
in_channels=block_in[i_level] if i == 0 else block_mid[i_level],
|
||||
out_channels=block_mid[i_level],
|
||||
)
|
||||
)
|
||||
if space_down[i_level] * time_down[i_level] > 1:
|
||||
down.downsample = Downsample3D(
|
||||
block_mid[i_level],
|
||||
block_out[i_level],
|
||||
time_stride=time_down[i_level],
|
||||
space_stride=space_down[i_level],
|
||||
)
|
||||
self.down.append(down)
|
||||
|
||||
self.norm_out = group_norm_3d(block_out[-1])
|
||||
self.conv_out = CausalConv3d(
|
||||
block_out[-1],
|
||||
2 * z_channels if double_z else z_channels,
|
||||
kernel_size=3,
|
||||
padding=1,
|
||||
)
|
||||
|
||||
def forward(self, x):
|
||||
h = self.conv_in(x)
|
||||
for i_level in range(self.num_levels):
|
||||
for i_block in range(self.num_res_blocks[i_level]):
|
||||
h = self.down[i_level].block[i_block](h)
|
||||
if hasattr(self.down[i_level], "downsample"):
|
||||
h = self.down[i_level].downsample(h)
|
||||
h = F.silu(self.norm_out(h))
|
||||
return self.conv_out(h)
|
||||
|
||||
|
||||
# ViT3D decoder
|
||||
|
||||
def create_token_ids(patch_dims, device, dtype):
|
||||
coords_list = []
|
||||
for dim_size in patch_dims:
|
||||
coords = torch.arange(0.5, dim_size, dtype=dtype, device=device)
|
||||
coords = coords / dim_size
|
||||
coords = 2.0 * coords - 1.0
|
||||
coords_list.append(coords)
|
||||
coords = torch.stack(torch.meshgrid(*coords_list, indexing="ij"), dim=-1)
|
||||
return coords.flatten(0, len(patch_dims) - 1).unsqueeze(0)
|
||||
|
||||
|
||||
class RotaryEmbeddingND(nn.Module):
|
||||
def __init__(self, dim, rotary_base=100.0, n_dim=3):
|
||||
super().__init__()
|
||||
self.n_dim = n_dim
|
||||
self.angle_scale = 2.0 * math.pi
|
||||
inv_freq = 1 / rotary_base ** torch.arange(0, 1, 2 * n_dim / dim, dtype=torch.float32)
|
||||
self.register_buffer("inv_freq", inv_freq, persistent=False)
|
||||
|
||||
def forward(self, img_ids):
|
||||
# [B, S, n_dim] -> [B, S, 1, pairs, 2, 2] rotation table for the kitchen split-half rope
|
||||
angles = (
|
||||
self.angle_scale
|
||||
* img_ids[:, :, :, None].float()
|
||||
* self.inv_freq.to(img_ids.device)[None, None, None, :]
|
||||
)
|
||||
angles = angles.flatten(2, 3)
|
||||
c, s = torch.cos(angles), torch.sin(angles)
|
||||
table = torch.stack([c, -s, s, c], dim=-1).reshape(*angles.shape[:2], 1, angles.shape[-1], 2, 2)
|
||||
return table.to(img_ids.dtype)
|
||||
|
||||
|
||||
class FeedForward(nn.Module):
|
||||
# Gated SiLU FFN.
|
||||
def __init__(self, dim, mult=4, bias=True, operations=ops):
|
||||
super().__init__()
|
||||
inner_dim = dim * mult
|
||||
self.w1 = operations.Linear(dim, inner_dim * 2, bias=bias)
|
||||
self.w2 = operations.Linear(inner_dim, dim, bias=bias)
|
||||
|
||||
def forward(self, x):
|
||||
gate, x = self.w1(x).chunk(2, dim=-1)
|
||||
return self.w2(F.silu(gate).mul_(x))
|
||||
|
||||
|
||||
class Attention(nn.Module):
|
||||
def __init__(self, heads, dim_head, bias=True, eps=1e-5, operations=ops):
|
||||
super().__init__()
|
||||
self.dim_head = dim_head
|
||||
self.heads = heads
|
||||
inner_dim = dim_head * heads
|
||||
self.norm_q = ops.RMSNorm(dim_head, eps=eps, elementwise_affine=False)
|
||||
self.norm_k = ops.RMSNorm(dim_head, eps=eps, elementwise_affine=False)
|
||||
self.to_qkv = operations.Linear(inner_dim, inner_dim * 3, bias=bias)
|
||||
self.to_out = operations.Linear(inner_dim, inner_dim, bias=bias)
|
||||
|
||||
def forward(self, x, rotary_pos_emb=None):
|
||||
batch_size, seq_len, _ = x.shape
|
||||
|
||||
qkv = self.to_qkv(x)
|
||||
qkv = qkv.view(batch_size, seq_len, -1, 3 * self.dim_head)
|
||||
query, key, value = torch.chunk(qkv, 3, dim=-1)
|
||||
|
||||
query = comfy.rmsnorm.rms_norm(query, self.norm_q.weight, self.norm_q.eps)
|
||||
key = comfy.rmsnorm.rms_norm(key, self.norm_k.weight, self.norm_k.eps)
|
||||
|
||||
if rotary_pos_emb is not None:
|
||||
rot = rotary_pos_emb.shape[-3] * 2
|
||||
query[..., :rot], key[..., :rot] = comfy.quant_ops.ck.apply_rope_split_half(
|
||||
query[..., :rot], key[..., :rot], rotary_pos_emb)
|
||||
|
||||
out = optimized_attention(query.transpose(1, 2), key.transpose(1, 2), value.transpose(1, 2),
|
||||
self.heads, skip_reshape=True).nan_to_num_(0.0)
|
||||
return self.to_out(out)
|
||||
|
||||
|
||||
class TransformerBlock(nn.Module):
|
||||
def __init__(self, heads, dim_head, bias=True, eps=1e-5, operations=ops):
|
||||
super().__init__()
|
||||
dim = heads * dim_head
|
||||
self.norm1 = ops.RMSNorm(dim, elementwise_affine=True, eps=eps)
|
||||
self.attn = Attention(heads=heads, dim_head=dim_head, bias=bias, eps=eps, operations=operations)
|
||||
self.scale1 = nn.Parameter(torch.empty(dim))
|
||||
self.norm2 = ops.RMSNorm(dim, elementwise_affine=True, eps=eps)
|
||||
self.ff = FeedForward(dim=dim, bias=bias, operations=operations)
|
||||
self.scale2 = nn.Parameter(torch.empty(dim))
|
||||
|
||||
def forward(self, x, rotary_pos_emb=None):
|
||||
x = x.addcmul_(self.attn(comfy.rmsnorm.rms_norm(x, self.norm1.weight, self.norm1.eps), rotary_pos_emb), comfy.ops.cast_to_input(self.scale1, x))
|
||||
return x.addcmul_(self.ff(comfy.rmsnorm.rms_norm(x, self.norm2.weight, self.norm2.eps)), comfy.ops.cast_to_input(self.scale2, x))
|
||||
|
||||
|
||||
class ViT3DDecoder(nn.Module):
|
||||
def __init__(self, patch_size=16, patch_size_t=4, in_channels=24, out_channels=3, num_layers=36, heads=32, dim_head=64, rope_theta=100.0,
|
||||
rope_dim_ratio=0.75, bias=True, eps=1e-5, num_register_tokens=4, operations=ops):
|
||||
super().__init__()
|
||||
dim = heads * dim_head
|
||||
self.patch_size = patch_size
|
||||
self.patch_size_t = patch_size_t
|
||||
self.out_channels = out_channels
|
||||
self.num_register_tokens = num_register_tokens
|
||||
|
||||
self.pos_embed = RotaryEmbeddingND(int(dim_head * rope_dim_ratio), rope_theta, n_dim=3)
|
||||
self.x_embedder = ops.Linear(in_channels, dim)
|
||||
self.register_tokens = nn.Parameter(torch.empty(1, num_register_tokens, dim))
|
||||
# unused at inference; kept so the checkpoint loads without leftover keys
|
||||
self.register_buffer("mask_token", torch.empty(1, 1, dim))
|
||||
|
||||
self.transformer_blocks = nn.ModuleList(
|
||||
[TransformerBlock(heads=heads, dim_head=dim_head, bias=bias, eps=eps, operations=operations)
|
||||
for _ in range(num_layers)]
|
||||
)
|
||||
|
||||
self.norm_out = ops.LayerNorm(dim, elementwise_affine=True, eps=eps)
|
||||
self.proj_out = ops.Linear(dim, out_channels * patch_size_t * patch_size * patch_size)
|
||||
|
||||
def forward(self, x):
|
||||
B, C, latent_T, latent_H, latent_W = x.shape
|
||||
|
||||
h = self.x_embedder(x.flatten(2).transpose(1, 2)) # [B, T*H*W, C]
|
||||
|
||||
num_patches = h.shape[1]
|
||||
num_suffix = 1 + self.num_register_tokens
|
||||
|
||||
h = torch.cat([h, comfy.ops.cast_to_input(self.register_tokens, h).expand(B, -1, -1), torch.zeros_like(h[:, 0:1, :])], dim=1)
|
||||
|
||||
img_ids = create_token_ids((latent_T, latent_H, latent_W), x.device, x.dtype).expand(B, -1, -1)
|
||||
suffix_ids = torch.zeros((B, num_suffix, 3), device=x.device, dtype=img_ids.dtype)
|
||||
img_ids = torch.cat([img_ids, suffix_ids], dim=1)
|
||||
|
||||
rotary_pos_emb = self.pos_embed(img_ids)
|
||||
|
||||
for block in self.transformer_blocks:
|
||||
h = block(h, rotary_pos_emb)
|
||||
|
||||
output = self.proj_out(self.norm_out(h))
|
||||
|
||||
output = output[:, :num_patches, :]
|
||||
|
||||
output = output.view(
|
||||
B, latent_T, latent_H, latent_W,
|
||||
self.out_channels, self.patch_size_t, self.patch_size, self.patch_size,
|
||||
)
|
||||
output = output.permute(0, 4, 1, 5, 2, 6, 3, 7).contiguous()
|
||||
output = output.reshape(
|
||||
B, self.out_channels,
|
||||
latent_T * self.patch_size_t,
|
||||
latent_H * self.patch_size,
|
||||
latent_W * self.patch_size,
|
||||
)
|
||||
return output
|
||||
|
||||
|
||||
# Full VAE
|
||||
|
||||
class MiniMaxH3VideoVAE(nn.Module):
|
||||
comfy_has_chunked_io = True
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
in_channels=3,
|
||||
out_ch=3,
|
||||
ch=128,
|
||||
embed_dim=24,
|
||||
z_channels=24,
|
||||
ch_mult=(1, 2, 2, 4, 4, 8),
|
||||
num_res_blocks=2,
|
||||
space_down=(2, 2, 2, 2, 1, 1),
|
||||
time_down=(1, 2, 2, 1, 1, 1),
|
||||
clip_length=17,
|
||||
token_drop=3,
|
||||
tile_size=256,
|
||||
tile_overlap_min=64,
|
||||
tiling=True,
|
||||
operations=ops,
|
||||
):
|
||||
super().__init__()
|
||||
self.vae_ratio = int(math.prod(space_down))
|
||||
self.vae_ratio_t = int(math.prod(time_down))
|
||||
|
||||
# temporal chunking parameters
|
||||
self.clip_length = clip_length
|
||||
self.token_drop = token_drop
|
||||
self.frame_pre_padding = (-clip_length) % self.vae_ratio_t
|
||||
self.tokens_chunk_size = math.ceil(clip_length / self.vae_ratio_t)
|
||||
self.token_overlap = (-token_drop) % self.tokens_chunk_size
|
||||
self.frame_overlap = max(self.token_overlap * self.vae_ratio_t - self.frame_pre_padding, 0)
|
||||
|
||||
# spatial tiling parameters
|
||||
self.tiling = tiling
|
||||
self.tile_size = tile_size
|
||||
self.tile_overlap_min = tile_overlap_min
|
||||
|
||||
self.encoder = EncoderFCN3D(
|
||||
ch=ch,
|
||||
ch_mult=list(ch_mult),
|
||||
space_down=list(space_down),
|
||||
time_down=list(time_down),
|
||||
num_res_blocks=num_res_blocks,
|
||||
in_channels=in_channels,
|
||||
z_channels=z_channels,
|
||||
double_z=True,
|
||||
)
|
||||
self.quant_conv = ops.Conv3d(z_channels * 2, 2 * embed_dim, 1)
|
||||
self.post_quant_conv = ops.Conv3d(embed_dim, z_channels, 1)
|
||||
self.decoder = ViT3DDecoder(
|
||||
patch_size=self.vae_ratio,
|
||||
patch_size_t=self.vae_ratio_t,
|
||||
in_channels=z_channels,
|
||||
out_channels=out_ch,
|
||||
operations=operations,
|
||||
)
|
||||
|
||||
self.register_buffer("latents_mean", torch.tensor(LATENTS_MEAN))
|
||||
self.register_buffer("latents_std", torch.tensor(LATENTS_STD))
|
||||
self.register_buffer("pixel_mean", torch.tensor(IMAGENET_MEAN).view(1, 3, 1, 1, 1), persistent=False)
|
||||
self.register_buffer("pixel_std", torch.tensor(IMAGENET_STD).view(1, 3, 1, 1, 1), persistent=False)
|
||||
|
||||
# single-shot forward
|
||||
|
||||
def _encode_moments(self, x):
|
||||
return self.quant_conv(self.encoder(x))
|
||||
|
||||
def _decode_pixels(self, z):
|
||||
return self.decoder(self.post_quant_conv(z))
|
||||
|
||||
def _normalize_pixels(self, x):
|
||||
return x.add(1.0).mul_(0.5).sub_(self.pixel_mean.to(x)).div_(self.pixel_std.to(x))
|
||||
|
||||
def _finalize_pixels(self, part):
|
||||
# raw decoder output -> float32 pixels in [0, 1] (the VAE wrapper's process_output is identity)
|
||||
part = part * self.pixel_std.to(device=part.device, dtype=torch.float32)
|
||||
return part.add_(self.pixel_mean.to(device=part.device, dtype=torch.float32)).clamp_(0.0, 1.0)
|
||||
|
||||
def decode_output_shape(self, input_shape):
|
||||
b, c, t, h, w = input_shape
|
||||
if t == 1:
|
||||
frames = 1
|
||||
else:
|
||||
pad_tokens, num_chunks = self._decode_temporal_chunks(t)
|
||||
frames = self._decode_temporal_frame_plan(t + pad_tokens, num_chunks, pad_tokens)
|
||||
return (b, self.decoder.out_channels, frames, h * self.vae_ratio, w * self.vae_ratio)
|
||||
|
||||
def _adaptive_encode(self, x):
|
||||
if self.tiling:
|
||||
return self.tiled_encode(x)
|
||||
return self._encode_moments(x)
|
||||
|
||||
def _adaptive_decode(self, z):
|
||||
if self.tiling:
|
||||
return self.tiled_decode(z)
|
||||
return self._decode_pixels(z)
|
||||
|
||||
# spatial tiling
|
||||
|
||||
def split_tiles(self, input_len):
|
||||
tile_size = self.tile_size
|
||||
if tile_size >= input_len:
|
||||
return [0], [input_len], []
|
||||
|
||||
N = math.ceil(input_len / tile_size)
|
||||
while True:
|
||||
overlaps = [self.tile_overlap_min] * (N - 1)
|
||||
remaining = tile_size * N - sum(overlaps) - input_len
|
||||
if remaining < 0:
|
||||
N += 1
|
||||
else:
|
||||
break
|
||||
|
||||
remaining_units = remaining // self.vae_ratio
|
||||
for i in range(remaining_units):
|
||||
overlaps[i % (N - 1)] += self.vae_ratio
|
||||
|
||||
tile_start_idx = [0]
|
||||
for i in range(N - 1):
|
||||
tile_start_idx.append(tile_start_idx[-1] + tile_size - overlaps[i])
|
||||
|
||||
return tile_start_idx, [tile_size] * N, overlaps
|
||||
|
||||
def blend(self, a, b, blend_extent, dim):
|
||||
blend_extent = min(a.shape[dim], b.shape[dim], blend_extent)
|
||||
|
||||
positions = torch.arange(blend_extent, device=b.device, dtype=b.dtype)
|
||||
weight_a = 1 - positions / blend_extent
|
||||
weight_b = positions / blend_extent
|
||||
|
||||
shape = [1] * a.ndim
|
||||
shape[dim] = blend_extent
|
||||
weight_a = weight_a.view(shape)
|
||||
weight_b = weight_b.view(shape)
|
||||
|
||||
slice_a = [slice(None)] * a.ndim
|
||||
slice_a[dim] = slice(-blend_extent, None)
|
||||
slice_b = [slice(None)] * b.ndim
|
||||
slice_b[dim] = slice(0, blend_extent)
|
||||
|
||||
blended = a[tuple(slice_a)] * weight_a + b[tuple(slice_b)] * weight_b
|
||||
|
||||
if blend_extent < b.shape[dim]:
|
||||
slice_b_rest = [slice(None)] * b.ndim
|
||||
slice_b_rest[dim] = slice(blend_extent, None)
|
||||
return torch.cat([blended, b[tuple(slice_b_rest)]], dim=dim)
|
||||
return blended
|
||||
|
||||
def tiled_encode(self, x):
|
||||
height, width = x.shape[-2], x.shape[-1]
|
||||
y_idx, y_len, y_overlap = self.split_tiles(height)
|
||||
x_idx, x_len, x_overlap = self.split_tiles(width)
|
||||
|
||||
rows = []
|
||||
for i_pos, i_len in zip(y_idx, y_len):
|
||||
row = []
|
||||
for j_pos, j_len in zip(x_idx, x_len):
|
||||
tile = x[..., i_pos:i_pos + i_len, j_pos:j_pos + j_len]
|
||||
row.append(self._encode_moments(tile))
|
||||
rows.append(row)
|
||||
|
||||
latent_y_overlap = [o // self.vae_ratio for o in y_overlap]
|
||||
latent_x_overlap = [o // self.vae_ratio for o in x_overlap]
|
||||
|
||||
result_rows = []
|
||||
for i, row in enumerate(rows):
|
||||
result_row = []
|
||||
for j, tile in enumerate(row):
|
||||
if i > 0:
|
||||
tile = self.blend(rows[i - 1][j], tile, latent_y_overlap[i - 1], dim=-2)
|
||||
if j > 0:
|
||||
tile = self.blend(row[j - 1], tile, latent_x_overlap[j - 1], dim=-1)
|
||||
if i < len(rows) - 1:
|
||||
tile = tile[..., :-latent_y_overlap[i], :]
|
||||
if j < len(row) - 1:
|
||||
tile = tile[..., :, :-latent_x_overlap[j]]
|
||||
result_row.append(tile)
|
||||
result_rows.append(torch.cat(result_row, dim=-1))
|
||||
return torch.cat(result_rows, dim=-2)
|
||||
|
||||
def tiled_decode(self, z):
|
||||
height, width = z.shape[-2] * self.vae_ratio, z.shape[-1] * self.vae_ratio
|
||||
y_idx, y_len, y_overlap = self.split_tiles(height)
|
||||
x_idx, x_len, x_overlap = self.split_tiles(width)
|
||||
|
||||
# Blended tiles are written straight into a pre-allocated canvas.
|
||||
canvas = None
|
||||
row_tails = []
|
||||
out_y = 0
|
||||
for i, (i_pos, i_len) in enumerate(zip(y_idx, y_len)):
|
||||
zi, zl = i_pos // self.vae_ratio, i_len // self.vae_ratio
|
||||
new_tails = []
|
||||
left_tail = None
|
||||
out_x = 0
|
||||
for j, (j_pos, j_len) in enumerate(zip(x_idx, x_len)):
|
||||
zj, zw = j_pos // self.vae_ratio, j_len // self.vae_ratio
|
||||
tile = self._decode_pixels(z[..., zi:zi + zl, zj:zj + zw])
|
||||
if i < len(y_idx) - 1:
|
||||
new_tails.append(tile[..., -y_overlap[i]:, :].clone())
|
||||
next_left_tail = tile[..., :, -x_overlap[j]:].clone() if j < len(x_idx) - 1 else None
|
||||
if i > 0:
|
||||
tile = self.blend(row_tails[j], tile, y_overlap[i - 1], dim=-2)
|
||||
if j > 0:
|
||||
tile = self.blend(left_tail, tile, x_overlap[j - 1], dim=-1)
|
||||
left_tail = next_left_tail
|
||||
if i < len(y_idx) - 1:
|
||||
tile = tile[..., :-y_overlap[i], :]
|
||||
if j < len(x_idx) - 1:
|
||||
tile = tile[..., :, :-x_overlap[j]]
|
||||
if canvas is None:
|
||||
canvas = torch.empty(*tile.shape[:-2], height, width, dtype=tile.dtype, device=tile.device)
|
||||
canvas[..., out_y:out_y + tile.shape[-2], out_x:out_x + tile.shape[-1]].copy_(tile)
|
||||
out_x += tile.shape[-1]
|
||||
row_tails = new_tails
|
||||
out_y += tile.shape[-2]
|
||||
return canvas
|
||||
|
||||
# temporal chunking
|
||||
|
||||
def encode_temporal(self, x, device):
|
||||
# chunked input io: x may live on the CPU, clips move to the device as they encode
|
||||
z_list = []
|
||||
for i in range(math.ceil(x.shape[2] / self.clip_length)):
|
||||
clip_x = x[:, :, i * self.clip_length:(i + 1) * self.clip_length, :, :].to(device)
|
||||
if clip_x.shape[2] < self.clip_length:
|
||||
pad_frames = clip_x[:, :, -1:].repeat(1, 1, self.clip_length - clip_x.shape[2], 1, 1)
|
||||
clip_x = torch.cat([clip_x, pad_frames], dim=2)
|
||||
z_list.append(self._adaptive_encode(self._normalize_pixels(clip_x)))
|
||||
|
||||
z = torch.cat(z_list, dim=2)
|
||||
if self.token_drop > 0:
|
||||
z = z[:, :, :-self.token_drop]
|
||||
return z
|
||||
|
||||
def _decode_temporal_pad_frames(self, z_len, pad_tokens):
|
||||
if pad_tokens <= 0:
|
||||
return 0
|
||||
intra_tail = self.clip_length % self.vae_ratio_t
|
||||
if intra_tail == 0:
|
||||
return pad_tokens * self.vae_ratio_t
|
||||
|
||||
z_len_before_pad = z_len - pad_tokens
|
||||
return sum(
|
||||
(intra_tail if (z_len_before_pad + k) % self.tokens_chunk_size == 0
|
||||
else self.vae_ratio_t)
|
||||
for k in range(pad_tokens)
|
||||
)
|
||||
|
||||
def _decode_temporal_frame_plan(self, z_len, num_chunks, pad_tokens):
|
||||
chunk_dec = self.tokens_chunk_size * self.vae_ratio_t
|
||||
split_count = int(self.token_drop > 0) + 1
|
||||
total_frames = 0
|
||||
final_overlap_frames = 0
|
||||
|
||||
for i in range(num_chunks):
|
||||
t_start_idx = i * self.tokens_chunk_size
|
||||
t_end_idx = t_start_idx + self.tokens_chunk_size + self.token_overlap
|
||||
clip_token_len = max(0, min(t_end_idx, z_len) - min(t_start_idx, z_len))
|
||||
clip_frame_len = clip_token_len * self.vae_ratio_t
|
||||
|
||||
for j in range(split_count):
|
||||
f_start_idx = j * chunk_dec
|
||||
f_end_idx = min(f_start_idx + chunk_dec, clip_frame_len)
|
||||
chunk_frames = max(0, f_end_idx - f_start_idx - self.frame_pre_padding)
|
||||
if j == 0:
|
||||
total_frames += chunk_frames
|
||||
else:
|
||||
final_overlap_frames = chunk_frames
|
||||
|
||||
total_frames += final_overlap_frames
|
||||
return total_frames - self._decode_temporal_pad_frames(z_len, pad_tokens)
|
||||
|
||||
def _decode_temporal_chunks(self, z_len):
|
||||
pseudo_total_tokens = z_len + self.token_drop
|
||||
pad_tokens = (-pseudo_total_tokens) % self.tokens_chunk_size
|
||||
pseudo_total_tokens += pad_tokens
|
||||
|
||||
num_chunks = pseudo_total_tokens // self.tokens_chunk_size - int(self.token_drop > 0)
|
||||
if num_chunks < 1:
|
||||
# too few tokens for one chunk (e.g. T_lat == 2): pad one extra chunk
|
||||
pad_tokens += self.tokens_chunk_size
|
||||
num_chunks += 1
|
||||
return pad_tokens, num_chunks
|
||||
|
||||
def decode_temporal(self, z, output_buffer=None):
|
||||
chunk_dec = self.tokens_chunk_size * self.vae_ratio_t
|
||||
split_count = int(self.token_drop > 0) + 1
|
||||
|
||||
if output_buffer is None:
|
||||
# finalized chunks stream out of VRAM so the full video never sits on the GPU
|
||||
output_buffer = torch.empty(self.decode_output_shape(z.shape), dtype=torch.float32,
|
||||
device=comfy.model_management.intermediate_device())
|
||||
|
||||
pad_tokens, num_chunks = self._decode_temporal_chunks(z.shape[2])
|
||||
if pad_tokens > 0:
|
||||
pad_z = z[:, :, -1:, :, :].repeat(1, 1, pad_tokens, 1, 1)
|
||||
z = torch.cat([z, pad_z], dim=2)
|
||||
|
||||
dec = output_buffer
|
||||
dec_overlap = None
|
||||
write_pos = 0
|
||||
|
||||
def write_part(part):
|
||||
nonlocal write_pos
|
||||
part_frames = part.shape[2]
|
||||
if part_frames <= 0:
|
||||
return
|
||||
part = self._finalize_pixels(part)
|
||||
copy_frames = min(part_frames, max(0, dec.shape[2] - write_pos))
|
||||
if copy_frames > 0:
|
||||
dec[:, :, write_pos:write_pos + copy_frames, :, :].copy_(
|
||||
part[:, :, :copy_frames, :, :]
|
||||
)
|
||||
write_pos += copy_frames
|
||||
|
||||
for i in range(num_chunks):
|
||||
t_start_idx = i * self.tokens_chunk_size
|
||||
t_end_idx = t_start_idx + self.tokens_chunk_size + self.token_overlap
|
||||
clip_z = z[:, :, t_start_idx:t_end_idx, :, :]
|
||||
|
||||
clip_dec = self._adaptive_decode(clip_z)
|
||||
|
||||
for j in range(split_count):
|
||||
f_start_idx = j * chunk_dec
|
||||
f_end_idx = min(f_start_idx + chunk_dec, clip_dec.shape[2])
|
||||
clip_dec_chunk = clip_dec[:, :, f_start_idx:f_end_idx, :, :]
|
||||
clip_dec_chunk = clip_dec_chunk[:, :, self.frame_pre_padding:, :, :]
|
||||
|
||||
if j == 0:
|
||||
if dec_overlap is not None:
|
||||
clip_dec_chunk = self.blend(
|
||||
dec_overlap, clip_dec_chunk, self.frame_overlap, dim=-3
|
||||
)
|
||||
dec_overlap = None
|
||||
write_part(clip_dec_chunk)
|
||||
else:
|
||||
dec_overlap = clip_dec_chunk.contiguous()
|
||||
|
||||
if i == num_chunks - 1 and dec_overlap is not None:
|
||||
write_part(dec_overlap)
|
||||
dec_overlap = None
|
||||
|
||||
del clip_dec, clip_z
|
||||
|
||||
return dec
|
||||
|
||||
|
||||
def encode(self, x, device=None):
|
||||
# x: [B, 3, T, H, W] in [-1, 1] -> normalized latents [B, 24, T_lat, H/16, W/16]
|
||||
if x.ndim == 4:
|
||||
x = x.unsqueeze(2)
|
||||
if device is None:
|
||||
device = x.device
|
||||
|
||||
if x.shape[2] == 1:
|
||||
moments = self._adaptive_encode(self._normalize_pixels(x.to(device)))
|
||||
moments = moments[:, :, -1:, :, :]
|
||||
else:
|
||||
moments = self.encode_temporal(x, device)
|
||||
|
||||
mean = torch.chunk(moments.float(), 2, dim=1)[0]
|
||||
|
||||
latents_mean = self.latents_mean.view(1, -1, 1, 1, 1).to(mean)
|
||||
latents_std = self.latents_std.view(1, -1, 1, 1, 1).to(mean)
|
||||
return (mean - latents_mean) / latents_std
|
||||
|
||||
def encode_tiled(self, x, **kwargs):
|
||||
# tiling is always on internally with the reference's semantic tile sizes, ignore tiling fallbacks
|
||||
return self.encode(x)
|
||||
|
||||
def decode_tiled(self, z, **kwargs):
|
||||
return self.decode(z)
|
||||
|
||||
def decode(self, z, output_buffer=None):
|
||||
# z: [B, 24, T_lat, H_lat, W_lat] normalized latents -> float32 pixels [B, 3, T, H, W] in [0, 1]
|
||||
latents_mean = self.latents_mean.view(1, -1, 1, 1, 1).to(z)
|
||||
latents_std = self.latents_std.view(1, -1, 1, 1, 1).to(z)
|
||||
z = z * latents_std + latents_mean
|
||||
|
||||
if z.shape[2] == 1:
|
||||
dec = self._finalize_pixels(self._adaptive_decode(z)[:, :, -1:, :, :])
|
||||
if output_buffer is None:
|
||||
return dec
|
||||
output_buffer.copy_(dec)
|
||||
return output_buffer
|
||||
return self.decode_temporal(z, output_buffer)
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,201 @@
|
||||
"""MiniMax H3 text/vision conditioning: Qwen3-VL-32B (truncated to 50 layers).
|
||||
|
||||
The H3 presentation is NOT chat-templated: token ids are raw prompt/label text
|
||||
(no special tokens) with explicit vision blocks spliced in:
|
||||
|
||||
t2va: <prompt>
|
||||
fl2va: "<Picture 1>: " <vision block> ["<Picture 2>: " <vision block>] <prompt>
|
||||
ref2va: per condition in request order (1-based ordinals per type):
|
||||
image -> "<Picture i>: " <vision block>
|
||||
audio -> "<Audio j>: " (audio never enters Qwen)
|
||||
video -> "<Video k>: " then per 2-frame temporal block
|
||||
"<T.T seconds>" <vision block(2 frames)>
|
||||
then <prompt>
|
||||
|
||||
The conditioning is the unnormalized hidden state after LM layer 50 (the
|
||||
converted checkpoint is truncated there, so this is simply the last-layer
|
||||
output with no final norm). Vision-pad positions carry adaLN token tag 0
|
||||
(video modality) in the DiT; text positions carry tag 1 — the tags are
|
||||
returned alongside the embeddings as "minimax_token_tags".
|
||||
"""
|
||||
|
||||
import math
|
||||
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
import comfy.sd1_clip
|
||||
from .qwen3vl import Qwen3VL, Qwen3VLSDTokenizer
|
||||
|
||||
VISION_START = 151652
|
||||
VISION_END = 151653
|
||||
QWEN_IMAGE_MEAN = [0.5, 0.5, 0.5]
|
||||
QWEN_IMAGE_STD = [0.5, 0.5, 0.5]
|
||||
|
||||
|
||||
def process_video_block(frames, patch_size=16, temporal_patch_size=2, merge_size=2,
|
||||
min_pixels=3136, max_pixels=12845056):
|
||||
"""[2, H, W, C] frame pair -> (flatten_patches, grid_thw) with grid_t=1.
|
||||
|
||||
Same resize/normalize policy as process_qwen2vl_images, but the two frames
|
||||
fill the temporal patch instead of repeating a single frame.
|
||||
"""
|
||||
t, height, width, _ = frames.shape
|
||||
imgs = frames.permute(0, 3, 1, 2)
|
||||
factor = patch_size * merge_size
|
||||
h_bar = round(height / factor) * factor
|
||||
w_bar = round(width / factor) * factor
|
||||
if h_bar * w_bar > max_pixels:
|
||||
beta = math.sqrt((height * width) / max_pixels)
|
||||
h_bar = max(factor, math.floor(height / beta / factor) * factor)
|
||||
w_bar = max(factor, math.floor(width / beta / factor) * factor)
|
||||
elif h_bar * w_bar < min_pixels:
|
||||
beta = math.sqrt(min_pixels / (height * width))
|
||||
h_bar = math.ceil(height * beta / factor) * factor
|
||||
w_bar = math.ceil(width * beta / factor) * factor
|
||||
|
||||
imgs = F.interpolate(imgs, size=(h_bar, w_bar), mode="bilinear", align_corners=False)
|
||||
mean = torch.tensor(QWEN_IMAGE_MEAN, device=imgs.device).view(1, 3, 1, 1)
|
||||
std = torch.tensor(QWEN_IMAGE_STD, device=imgs.device).view(1, 3, 1, 1)
|
||||
imgs = (imgs - mean) / std
|
||||
|
||||
grid_h = h_bar // patch_size
|
||||
grid_w = w_bar // patch_size
|
||||
patches = imgs.reshape(1, temporal_patch_size, 3, grid_h // merge_size, merge_size,
|
||||
patch_size, grid_w // merge_size, merge_size, patch_size)
|
||||
patches = patches.permute(0, 3, 6, 4, 7, 2, 1, 5, 8)
|
||||
flatten = patches.reshape(grid_h * grid_w, 3 * temporal_patch_size * patch_size * patch_size)
|
||||
grid_thw = torch.stack([torch.tensor([1, grid_h, grid_w], device=frames.device, dtype=torch.long)])
|
||||
return flatten, grid_thw
|
||||
|
||||
|
||||
def token_tags_from_embeds_info(seq_len, embeds_info):
|
||||
# whole vision block VIDEO(0), including the flanking <|vision_start|>/<|vision_end|> tokens
|
||||
# embeds_info spans cover only the expanded embeddings, so widen by one on each side.
|
||||
tags = torch.ones(seq_len, dtype=torch.long)
|
||||
for e in embeds_info:
|
||||
if e.get("type") == "image":
|
||||
tags[max(0, e["index"] - 1):e["index"] + e["size"] + 1] = 0
|
||||
return tags
|
||||
|
||||
|
||||
class MiniMaxQwen3VL(Qwen3VL):
|
||||
model_type = "qwen3vl_32b"
|
||||
|
||||
def preprocess_embed(self, embed, device):
|
||||
if embed["type"] == "image" and embed.get("minimax_video_block", False):
|
||||
flatten, grid = process_video_block(embed["data"])
|
||||
merged, deepstack = self.visual(flatten.to(device, dtype=torch.float32), grid)
|
||||
return merged, {"grid": grid, "deepstack": deepstack}
|
||||
return super().preprocess_embed(embed, device)
|
||||
|
||||
def forward(self, input_ids, attention_mask=None, embeds=None, num_tokens=None,
|
||||
intermediate_output=None, final_layer_norm_intermediate=True,
|
||||
dtype=None, embeds_info=[], **kwargs):
|
||||
seq = embeds.shape[1] if embeds is not None else input_ids.shape[1]
|
||||
self.last_token_tags = token_tags_from_embeds_info(seq, embeds_info)
|
||||
return super().forward(input_ids, attention_mask=attention_mask, embeds=embeds,
|
||||
num_tokens=num_tokens, intermediate_output=intermediate_output,
|
||||
final_layer_norm_intermediate=final_layer_norm_intermediate,
|
||||
dtype=dtype, embeds_info=embeds_info, **kwargs)
|
||||
|
||||
|
||||
class MiniMaxH3ClipModel(comfy.sd1_clip.SDClipModel):
|
||||
def __init__(self, device="cpu", layer="last", layer_idx=None, dtype=None, model_options={}):
|
||||
super().__init__(device=device, layer="last", layer_idx=None, textmodel_json_config={},
|
||||
dtype=dtype, special_tokens={"pad": 151643}, layer_norm_hidden_state=False,
|
||||
model_class=MiniMaxQwen3VL, enable_attention_masks=False,
|
||||
return_attention_masks=False, model_options=model_options)
|
||||
|
||||
def encode_token_weights(self, token_weight_pairs):
|
||||
out = super().encode_token_weights(token_weight_pairs)
|
||||
tags = getattr(self.transformer, "last_token_tags", None)
|
||||
if tags is not None:
|
||||
extra = out[2] if len(out) > 2 and isinstance(out[2], dict) else {}
|
||||
extra["minimax_token_tags"] = tags
|
||||
out = (out[0], out[1], extra)
|
||||
return out
|
||||
|
||||
|
||||
class MiniMaxH3TEModel(comfy.sd1_clip.SD1ClipModel):
|
||||
def __init__(self, device="cpu", dtype=None, model_options={}):
|
||||
super().__init__(device=device, dtype=dtype, name="qwen3vl_32b",
|
||||
clip_model=MiniMaxH3ClipModel, model_options=model_options)
|
||||
|
||||
|
||||
class MiniMaxH3Tokenizer(comfy.sd1_clip.SD1Tokenizer):
|
||||
def __init__(self, embedding_directory=None, tokenizer_data={}):
|
||||
tokenizer = lambda *a, **kw: Qwen3VLSDTokenizer(*a, **kw, embedding_size=5120, embedding_key="qwen3vl_32b")
|
||||
super().__init__(embedding_directory=embedding_directory, tokenizer_data=tokenizer_data, name="qwen3vl_32b", tokenizer=tokenizer)
|
||||
|
||||
def _text_ids(self, text):
|
||||
tok = self.qwen3vl_32b.tokenizer
|
||||
return tok(text, add_special_tokens=False)["input_ids"]
|
||||
|
||||
@staticmethod
|
||||
def _vision_entry(data, video_block=False):
|
||||
emb = {"type": "image", "data": data, "original_type": "image"}
|
||||
if video_block:
|
||||
emb["minimax_video_block"] = True
|
||||
return emb
|
||||
|
||||
def tokenize_with_weights(self, text, return_word_ids=False, images=[],
|
||||
minimax_ref_items=None, **kwargs):
|
||||
entries = []
|
||||
|
||||
def add_text(s):
|
||||
entries.extend((tid, 1.0) for tid in self._text_ids(s))
|
||||
|
||||
def add_vision(data, video_block=False):
|
||||
entries.append((VISION_START, 1.0))
|
||||
entries.append((self._vision_entry(data, video_block), 1.0))
|
||||
entries.append((VISION_END, 1.0))
|
||||
|
||||
if minimax_ref_items:
|
||||
counters = {"image": 0, "audio": 0, "video": 0}
|
||||
for item in minimax_ref_items:
|
||||
kind = item["type"]
|
||||
counters[kind] += 1
|
||||
if kind == "image":
|
||||
add_text("<Picture %d>: " % counters["image"])
|
||||
add_vision(item["data"])
|
||||
elif kind == "audio":
|
||||
add_text("<Audio %d>: " % counters["audio"])
|
||||
elif kind == "video":
|
||||
frames = item["data"] # [T, H, W, C], sampled at 2 fps
|
||||
timestamps = item.get("timestamps")
|
||||
if timestamps is None:
|
||||
timestamps = [i / 2.0 for i in range(frames.shape[0])]
|
||||
if frames.shape[0] % 2 == 1: # repeat-pad to temporal patch of 2
|
||||
frames = torch.cat([frames, frames[-1:]], dim=0)
|
||||
timestamps = list(timestamps) + [timestamps[-1]]
|
||||
add_text("<Video %d>: " % counters["video"])
|
||||
for i in range(0, frames.shape[0], 2):
|
||||
block_ts = (timestamps[i] + timestamps[i + 1]) / 2.0
|
||||
add_text("<%.1f seconds>" % block_ts)
|
||||
add_vision(frames[i:i + 2], video_block=True)
|
||||
else:
|
||||
for i, img in enumerate(images):
|
||||
add_text("<Picture %d>: " % (i + 1))
|
||||
add_vision(img)
|
||||
|
||||
add_text(text)
|
||||
if len(entries) == 0:
|
||||
entries.append((151643, 1.0))
|
||||
if return_word_ids:
|
||||
entries = [t + (0,) for t in entries]
|
||||
return {"qwen3vl_32b": [entries]}
|
||||
|
||||
def untokenize(self, token_weight_pair):
|
||||
return self.qwen3vl_32b.untokenize(token_weight_pair)
|
||||
|
||||
|
||||
def te(dtype_llama=None, llama_quantization_metadata=None, **kwargs):
|
||||
class MiniMaxH3TEModel_(MiniMaxH3TEModel):
|
||||
def __init__(self, device="cpu", dtype=None, model_options={}):
|
||||
if dtype_llama is not None:
|
||||
dtype = dtype_llama
|
||||
if llama_quantization_metadata is not None:
|
||||
model_options = model_options.copy()
|
||||
model_options["quantization_metadata"] = llama_quantization_metadata
|
||||
super().__init__(device=device, dtype=dtype, model_options=model_options)
|
||||
return MiniMaxH3TEModel_
|
||||
@@ -0,0 +1,177 @@
|
||||
from abc import ABC, abstractmethod
|
||||
from typing import TYPE_CHECKING
|
||||
from comfy_api.internal import ComfyAPIBase
|
||||
from comfy_api.internal.singleton import ProxiedSingleton
|
||||
from comfy_api.internal.async_to_sync import create_sync_class
|
||||
from ._input import ImageInput, AudioInput, MaskInput, LatentInput, VideoInput
|
||||
from ._input_impl import VideoFromFile, VideoFromComponents
|
||||
from ._util import VideoCodec, VideoContainer, VideoComponents, MESH, VOXEL, SPLAT, File3D
|
||||
from . import _io_public as io
|
||||
from . import _ui_public as ui
|
||||
from comfy_execution.utils import get_executing_context
|
||||
from comfy_execution.progress import get_progress_state, PreviewImageTuple
|
||||
from PIL import Image
|
||||
from comfy.cli_args import args
|
||||
import numpy as np
|
||||
|
||||
|
||||
class ComfyAPI_latest(ComfyAPIBase):
|
||||
VERSION = "latest"
|
||||
STABLE = False
|
||||
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.node_replacement = self.NodeReplacement()
|
||||
self.execution = self.Execution()
|
||||
self.caching = self.Caching()
|
||||
|
||||
class NodeReplacement(ProxiedSingleton):
|
||||
async def register(self, node_replace: io.NodeReplace) -> None:
|
||||
"""Register a node replacement mapping."""
|
||||
from server import PromptServer
|
||||
PromptServer.instance.node_replace_manager.register(node_replace)
|
||||
|
||||
class Execution(ProxiedSingleton):
|
||||
async def set_progress(
|
||||
self,
|
||||
value: float,
|
||||
max_value: float,
|
||||
node_id: str | None = None,
|
||||
preview_image: Image.Image | ImageInput | None = None,
|
||||
ignore_size_limit: bool = False,
|
||||
) -> None:
|
||||
"""
|
||||
Update the progress bar displayed in the ComfyUI interface.
|
||||
|
||||
This function allows custom nodes and API calls to report their progress
|
||||
back to the user interface, providing visual feedback during long operations.
|
||||
|
||||
Migration from previous API: comfy.utils.PROGRESS_BAR_HOOK
|
||||
"""
|
||||
executing_context = get_executing_context()
|
||||
if node_id is None and executing_context is not None:
|
||||
node_id = executing_context.node_id
|
||||
if node_id is None:
|
||||
raise ValueError("node_id must be provided if not in executing context")
|
||||
|
||||
# Convert preview_image to PreviewImageTuple if needed
|
||||
to_display: PreviewImageTuple | Image.Image | ImageInput | None = preview_image
|
||||
if to_display is not None:
|
||||
# First convert to PIL Image if needed
|
||||
if isinstance(to_display, ImageInput):
|
||||
# Convert ImageInput (torch.Tensor) to PIL Image
|
||||
# Handle tensor shape [B, H, W, C] -> get first image if batch
|
||||
tensor = to_display
|
||||
if len(tensor.shape) == 4:
|
||||
tensor = tensor[0]
|
||||
|
||||
# Convert to numpy array and scale to 0-255
|
||||
image_np = (tensor.cpu().numpy() * 255).astype(np.uint8)
|
||||
to_display = Image.fromarray(image_np)
|
||||
|
||||
if isinstance(to_display, Image.Image):
|
||||
# Detect image format from PIL Image
|
||||
image_format = to_display.format if to_display.format else "JPEG"
|
||||
# Use None for preview_size if ignore_size_limit is True
|
||||
preview_size = None if ignore_size_limit else args.preview_size
|
||||
to_display = (image_format, to_display, preview_size)
|
||||
|
||||
get_progress_state().update_progress(
|
||||
node_id=node_id,
|
||||
value=value,
|
||||
max_value=max_value,
|
||||
image=to_display,
|
||||
)
|
||||
|
||||
class Caching(ProxiedSingleton):
|
||||
"""
|
||||
External cache provider API for sharing cached node outputs
|
||||
across ComfyUI instances.
|
||||
|
||||
Example::
|
||||
|
||||
from comfy_api.latest import Caching
|
||||
|
||||
class MyCacheProvider(Caching.CacheProvider):
|
||||
async def on_lookup(self, context):
|
||||
... # check external storage
|
||||
|
||||
async def on_store(self, context, value):
|
||||
... # store to external storage
|
||||
|
||||
Caching.register_provider(MyCacheProvider())
|
||||
"""
|
||||
from ._caching import CacheProvider, CacheContext, CacheValue
|
||||
|
||||
async def register_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
|
||||
"""Register an external cache provider. Providers are called in registration order."""
|
||||
from comfy_execution.cache_provider import register_cache_provider
|
||||
register_cache_provider(provider)
|
||||
|
||||
async def unregister_provider(self, provider: "ComfyAPI_latest.Caching.CacheProvider") -> None:
|
||||
"""Unregister a previously registered cache provider."""
|
||||
from comfy_execution.cache_provider import unregister_cache_provider
|
||||
unregister_cache_provider(provider)
|
||||
|
||||
class ComfyExtension(ABC):
|
||||
async def on_load(self) -> None:
|
||||
"""
|
||||
Called when an extension is loaded.
|
||||
This should be used to initialize any global resources needed by the extension.
|
||||
"""
|
||||
|
||||
@abstractmethod
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
"""
|
||||
Returns a list of nodes that this extension provides.
|
||||
"""
|
||||
|
||||
class Input:
|
||||
Image = ImageInput
|
||||
Audio = AudioInput
|
||||
Mask = MaskInput
|
||||
Latent = LatentInput
|
||||
Video = VideoInput
|
||||
|
||||
class InputImpl:
|
||||
VideoFromFile = VideoFromFile
|
||||
VideoFromComponents = VideoFromComponents
|
||||
|
||||
class Types:
|
||||
VideoCodec = VideoCodec
|
||||
VideoContainer = VideoContainer
|
||||
VideoComponents = VideoComponents
|
||||
MESH = MESH
|
||||
VOXEL = VOXEL
|
||||
SPLAT = SPLAT
|
||||
File3D = File3D
|
||||
|
||||
|
||||
Caching = ComfyAPI_latest.Caching
|
||||
|
||||
ComfyAPI = ComfyAPI_latest
|
||||
|
||||
# Create a synchronous version of the API
|
||||
if TYPE_CHECKING:
|
||||
import comfy_api.latest.generated.ComfyAPISyncStub # type: ignore
|
||||
|
||||
ComfyAPISync: type[comfy_api.latest.generated.ComfyAPISyncStub.ComfyAPISyncStub]
|
||||
ComfyAPISync = create_sync_class(ComfyAPI_latest)
|
||||
|
||||
# create new aliases for io and ui
|
||||
IO = io
|
||||
UI = ui
|
||||
|
||||
__all__ = [
|
||||
"ComfyAPI",
|
||||
"ComfyAPISync",
|
||||
"Input",
|
||||
"InputImpl",
|
||||
"Types",
|
||||
"Caching",
|
||||
"ComfyExtension",
|
||||
"io",
|
||||
"IO",
|
||||
"ui",
|
||||
"UI",
|
||||
]
|
||||
+147
@@ -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
|
||||
+909
@@ -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)
|
||||
@@ -0,0 +1 @@
|
||||
from ._io import * # noqa: F403
|
||||
@@ -0,0 +1,490 @@
|
||||
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]
|
||||
_FORMATS = {"flac", "mp3", "opus"}
|
||||
|
||||
@staticmethod
|
||||
def save_audio(
|
||||
audio: dict,
|
||||
filename_prefix: str,
|
||||
folder_type: FolderType,
|
||||
cls: type[ComfyNode] | None,
|
||||
format: str = "flac",
|
||||
quality: str = "128k",
|
||||
) -> list[SavedResult]:
|
||||
if format not in AudioSaveHelper._FORMATS:
|
||||
raise ValueError(f"Unsupported audio format: {format!r}")
|
||||
|
||||
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
|
||||
filename_prefix, _get_directory_by_folder_type(folder_type)
|
||||
)
|
||||
|
||||
metadata = {}
|
||||
if not args.disable_metadata and cls is not None:
|
||||
if cls.hidden.prompt is not None:
|
||||
metadata["prompt"] = json.dumps(cls.hidden.prompt)
|
||||
if cls.hidden.extra_pnginfo is not None:
|
||||
for x in cls.hidden.extra_pnginfo:
|
||||
metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x])
|
||||
|
||||
results = []
|
||||
for batch_number, waveform in enumerate(audio["waveform"].cpu()):
|
||||
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
|
||||
file = f"{filename_with_batch_num}_{counter:05}.{format}"
|
||||
output_path = os.path.join(full_output_folder, file)
|
||||
|
||||
# Use original sample rate initially
|
||||
sample_rate = audio["sample_rate"]
|
||||
|
||||
# Handle Opus sample rate requirements
|
||||
if format == "opus":
|
||||
if sample_rate > 48000:
|
||||
sample_rate = 48000
|
||||
elif sample_rate not in AudioSaveHelper._OPUS_RATES:
|
||||
# Find the next highest supported rate
|
||||
for rate in sorted(AudioSaveHelper._OPUS_RATES):
|
||||
if rate > sample_rate:
|
||||
sample_rate = rate
|
||||
break
|
||||
if sample_rate not in AudioSaveHelper._OPUS_RATES: # Fallback if still not supported
|
||||
sample_rate = 48000
|
||||
|
||||
# Resample if necessary
|
||||
if sample_rate != audio["sample_rate"]:
|
||||
if not TORCH_AUDIO_AVAILABLE:
|
||||
raise Exception("torchaudio is not available; cannot resample audio.")
|
||||
waveform = torchaudio.functional.resample(waveform, audio["sample_rate"], sample_rate)
|
||||
|
||||
# Create output with specified format
|
||||
output_buffer = BytesIO()
|
||||
output_container = av.open(output_buffer, mode="w", format=format)
|
||||
|
||||
# Set metadata on the container
|
||||
for key, value in metadata.items():
|
||||
output_container.metadata[key] = value
|
||||
|
||||
layout = "mono" if waveform.shape[0] == 1 else "stereo"
|
||||
# Set up the output stream with appropriate properties
|
||||
if format == "opus":
|
||||
out_stream = output_container.add_stream("libopus", rate=sample_rate, layout=layout)
|
||||
if quality == "64k":
|
||||
out_stream.bit_rate = 64000
|
||||
elif quality == "96k":
|
||||
out_stream.bit_rate = 96000
|
||||
elif quality == "128k":
|
||||
out_stream.bit_rate = 128000
|
||||
elif quality == "192k":
|
||||
out_stream.bit_rate = 192000
|
||||
elif quality == "320k":
|
||||
out_stream.bit_rate = 320000
|
||||
elif format == "mp3":
|
||||
out_stream = output_container.add_stream("libmp3lame", rate=sample_rate, layout=layout)
|
||||
if quality == "V0":
|
||||
# TODO i would really love to support V3 and V5 but there doesn't seem to be a way to set the qscale level, the property below is a bool
|
||||
out_stream.codec_context.qscale = 1
|
||||
elif quality == "128k":
|
||||
out_stream.bit_rate = 128000
|
||||
elif quality == "320k":
|
||||
out_stream.bit_rate = 320000
|
||||
else: # format == "flac":
|
||||
out_stream = output_container.add_stream("flac", rate=sample_rate, layout=layout)
|
||||
|
||||
frame = av.AudioFrame.from_ndarray(
|
||||
waveform.movedim(0, 1).reshape(1, -1).float().numpy(),
|
||||
format="flt",
|
||||
layout=layout,
|
||||
)
|
||||
frame.sample_rate = sample_rate
|
||||
frame.pts = 0
|
||||
output_container.mux(out_stream.encode(frame))
|
||||
|
||||
# Flush encoder
|
||||
output_container.mux(out_stream.encode(None))
|
||||
|
||||
# Close containers
|
||||
output_container.close()
|
||||
|
||||
# Write the output to file
|
||||
output_buffer.seek(0)
|
||||
with open(output_path, "wb") as f:
|
||||
f.write(output_buffer.getbuffer())
|
||||
|
||||
results.append(SavedResult(file, subfolder, folder_type))
|
||||
counter += 1
|
||||
|
||||
return results
|
||||
|
||||
@staticmethod
|
||||
def get_save_audio_ui(
|
||||
audio, filename_prefix: str, cls: type[ComfyNode] | None, format: str = "flac", quality: str = "128k",
|
||||
) -> SavedAudios:
|
||||
"""Save and instantly wrap for UI."""
|
||||
return SavedAudios(
|
||||
AudioSaveHelper.save_audio(
|
||||
audio,
|
||||
filename_prefix=filename_prefix,
|
||||
folder_type=FolderType.output,
|
||||
cls=cls,
|
||||
format=format,
|
||||
quality=quality,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
class PreviewImage(_UIOutput):
|
||||
def __init__(self, image: Image.Type, animated: bool = False, cls: type[ComfyNode] = None, **kwargs):
|
||||
self.values = ImageSaveHelper.save_images(
|
||||
image,
|
||||
filename_prefix="ComfyUI_temp_" + ''.join(random.choice("abcdefghijklmnopqrstupvxyz") for _ in range(5)),
|
||||
folder_type=FolderType.temp,
|
||||
cls=cls,
|
||||
compress_level=1,
|
||||
)
|
||||
self.animated = animated
|
||||
|
||||
def as_dict(self):
|
||||
return {
|
||||
"images": self.values,
|
||||
"animated": (self.animated,)
|
||||
}
|
||||
|
||||
|
||||
class PreviewMask(PreviewImage):
|
||||
def __init__(self, mask: PreviewMask.Type, animated: bool=False, cls: ComfyNode=None, **kwargs):
|
||||
preview = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])).movedim(1, -1).expand(-1, -1, -1, 3)
|
||||
super().__init__(preview, animated, cls, **kwargs)
|
||||
|
||||
|
||||
class PreviewAudio(_UIOutput):
|
||||
def __init__(self, audio: dict, cls: type[ComfyNode] = None, **kwargs):
|
||||
self.values = AudioSaveHelper.save_audio(
|
||||
audio,
|
||||
filename_prefix="ComfyUI_temp_" + "".join(random.choice("abcdefghijklmnopqrstuvwxyz") for _ in range(5)),
|
||||
folder_type=FolderType.temp,
|
||||
cls=cls,
|
||||
format="flac",
|
||||
quality="128k",
|
||||
)
|
||||
|
||||
def as_dict(self) -> dict:
|
||||
return {"audio": self.values}
|
||||
|
||||
|
||||
class PreviewVideo(_UIOutput):
|
||||
def __init__(self, values: list[SavedResult | dict], **kwargs):
|
||||
self.values = values
|
||||
|
||||
def as_dict(self):
|
||||
return {"images": self.values, "animated": (True,)}
|
||||
|
||||
|
||||
class PreviewUI3D(_UIOutput):
|
||||
def __init__(self, model_file, camera_info, **kwargs):
|
||||
self.model_file = model_file
|
||||
self.camera_info = camera_info
|
||||
self.bg_image_path = None
|
||||
bg_image = kwargs.get("bg_image", None)
|
||||
if bg_image is not None:
|
||||
img_array = (bg_image[0].cpu().numpy() * 255).astype(np.uint8)
|
||||
img = PILImage.fromarray(img_array)
|
||||
temp_dir = folder_paths.get_temp_directory()
|
||||
filename = f"bg_{uuid.uuid4().hex}.png"
|
||||
bg_image_path = os.path.join(temp_dir, filename)
|
||||
img.save(bg_image_path, compress_level=1)
|
||||
self.bg_image_path = f"temp/{filename}"
|
||||
|
||||
def as_dict(self):
|
||||
return {"result": [self.model_file, self.camera_info, self.bg_image_path]}
|
||||
|
||||
|
||||
class PreviewUI3DAdvanced(_UIOutput):
|
||||
def __init__(self, model_file, camera_info, model_3d_info):
|
||||
self.model_file = model_file
|
||||
self.camera_info = camera_info
|
||||
self.model_3d_info = model_3d_info
|
||||
|
||||
def as_dict(self):
|
||||
return {"result": [self.model_file, self.camera_info, self.model_3d_info]}
|
||||
|
||||
|
||||
class PreviewText(_UIOutput):
|
||||
def __init__(self, value: str, **kwargs):
|
||||
self.value = value
|
||||
|
||||
def as_dict(self):
|
||||
return {"text": (self.value,)}
|
||||
|
||||
|
||||
__all__ = [
|
||||
"SavedResult",
|
||||
"SavedImages",
|
||||
"SavedAudios",
|
||||
"ImageSaveHelper",
|
||||
"AudioSaveHelper",
|
||||
"PreviewImage",
|
||||
"PreviewMask",
|
||||
"PreviewAudio",
|
||||
"PreviewVideo",
|
||||
"PreviewUI3D",
|
||||
"PreviewUI3DAdvanced",
|
||||
"PreviewText",
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
from ._ui import * # noqa: F403
|
||||
@@ -0,0 +1,15 @@
|
||||
from .video_types import VideoContainer, VideoCodec, VideoComponents
|
||||
from .geometry_types import VOXEL, MESH, SPLAT, File3D
|
||||
from .image_types import SVG
|
||||
|
||||
__all__ = [
|
||||
# Utility Types
|
||||
"VideoContainer",
|
||||
"VideoCodec",
|
||||
"VideoComponents",
|
||||
"VOXEL",
|
||||
"MESH",
|
||||
"SPLAT",
|
||||
"File3D",
|
||||
"SVG",
|
||||
]
|
||||
@@ -0,0 +1,353 @@
|
||||
from typing import TypedDict
|
||||
from typing_extensions import override
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
from comfy_api.latest import _io
|
||||
|
||||
# sentinel for missing inputs
|
||||
MISSING = object()
|
||||
|
||||
|
||||
class NotNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ComfyNotNode",
|
||||
display_name="Not",
|
||||
category="utilities/logic",
|
||||
description="Logical NOT operation. Returns true if the value is falsy. Uses Python's rules for truthiness.",
|
||||
search_aliases=["invert", "toggle", "negate", "flip boolean"],
|
||||
inputs=[
|
||||
io.AnyType.Input("value"),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, value) -> io.NodeOutput:
|
||||
return io.NodeOutput(not value)
|
||||
|
||||
|
||||
class AndNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.Autogrow.TemplatePrefix(
|
||||
input=io.AnyType.Input("value"),
|
||||
prefix="value",
|
||||
min=1,
|
||||
)
|
||||
return io.Schema(
|
||||
node_id="ComfyAndNode",
|
||||
display_name="And",
|
||||
category="utilities/logic",
|
||||
description="Logical AND operation. Returns true if all of the values are truthy. Uses Python's rules for truthiness.",
|
||||
search_aliases=["all", "every"],
|
||||
inputs=[
|
||||
io.Autogrow.Input("values", template=template),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, values: io.Autogrow.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(all(values.values()))
|
||||
|
||||
|
||||
class OrNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.Autogrow.TemplatePrefix(
|
||||
input=io.AnyType.Input("value"),
|
||||
prefix="value",
|
||||
min=1,
|
||||
)
|
||||
return io.Schema(
|
||||
node_id="ComfyOrNode",
|
||||
display_name="Or",
|
||||
category="utilities/logic",
|
||||
description="Logical OR operation. Returns true if any of the values are truthy. Uses Python's rules for truthiness.",
|
||||
search_aliases=["any", "some"],
|
||||
inputs=[
|
||||
io.Autogrow.Input("values", template=template),
|
||||
],
|
||||
outputs=[
|
||||
io.Boolean.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, values: io.Autogrow.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(any(values.values()))
|
||||
|
||||
|
||||
class SwitchNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.MatchType.Template("switch")
|
||||
return io.Schema(
|
||||
node_id="ComfySwitchNode",
|
||||
search_aliases=["if", "then", "switch", "conditional", "branch"],
|
||||
display_name="If/Else Switch",
|
||||
category="utilities/logic",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Boolean.Input("switch"),
|
||||
io.MatchType.Input("on_false", template=template, lazy=True),
|
||||
io.MatchType.Input("on_true", template=template, lazy=True),
|
||||
],
|
||||
outputs=[
|
||||
io.MatchType.Output(template=template, display_name="output"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def check_lazy_status(cls, switch, on_false=None, on_true=None):
|
||||
if switch and on_true is None:
|
||||
return ["on_true"]
|
||||
if not switch and on_false is None:
|
||||
return ["on_false"]
|
||||
|
||||
@classmethod
|
||||
def execute(cls, switch, on_true, on_false) -> io.NodeOutput:
|
||||
return io.NodeOutput(on_true if switch else on_false)
|
||||
|
||||
|
||||
class SoftSwitchNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = io.MatchType.Template("switch")
|
||||
return io.Schema(
|
||||
node_id="ComfySoftSwitchNode",
|
||||
display_name="Soft Switch",
|
||||
category="utilities/logic",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Boolean.Input("switch"),
|
||||
io.MatchType.Input("on_false", template=template, lazy=True, optional=True),
|
||||
io.MatchType.Input("on_true", template=template, lazy=True, optional=True),
|
||||
],
|
||||
outputs=[
|
||||
io.MatchType.Output(template=template, display_name="output"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def check_lazy_status(cls, switch, on_false=MISSING, on_true=MISSING):
|
||||
# We use MISSING instead of None, as None is passed for connected-but-unevaluated inputs.
|
||||
# This trick allows us to ignore the value of the switch and still be able to run execute().
|
||||
|
||||
# One of the inputs may be missing, in which case we need to evaluate the other input
|
||||
if on_false is MISSING:
|
||||
return ["on_true"]
|
||||
if on_true is MISSING:
|
||||
return ["on_false"]
|
||||
# Normal lazy switch operation
|
||||
if switch and on_true is None:
|
||||
return ["on_true"]
|
||||
if not switch and on_false is None:
|
||||
return ["on_false"]
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(cls, switch, on_false=MISSING, on_true=MISSING):
|
||||
# This check happens before check_lazy_status(), so we can eliminate the case where
|
||||
# both inputs are missing.
|
||||
if on_false is MISSING and on_true is MISSING:
|
||||
return "At least one of on_false or on_true must be connected to Switch node"
|
||||
return True
|
||||
|
||||
@classmethod
|
||||
def execute(cls, switch, on_true=MISSING, on_false=MISSING) -> io.NodeOutput:
|
||||
if on_true is MISSING:
|
||||
return io.NodeOutput(on_false)
|
||||
if on_false is MISSING:
|
||||
return io.NodeOutput(on_true)
|
||||
return io.NodeOutput(on_true if switch else on_false)
|
||||
|
||||
|
||||
class CustomComboNode(io.ComfyNode):
|
||||
"""
|
||||
Frontend node that allows user to write their own options for a combo.
|
||||
This is here to make sure the node has a backend-representation to avoid some annoyances.
|
||||
"""
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="CustomCombo",
|
||||
display_name="Custom Combo",
|
||||
category="utilities",
|
||||
is_experimental=True,
|
||||
inputs=[io.Combo.Input("choice", options=[])],
|
||||
outputs=[
|
||||
io.String.Output(display_name="STRING"),
|
||||
io.Int.Output(display_name="INDEX"),
|
||||
],
|
||||
accept_all_inputs=True,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(cls, choice: io.Combo.Type, index: int = 0, **kwargs) -> bool:
|
||||
# NOTE: DO NOT DO THIS unless you want to skip validation entirely on the node's inputs.
|
||||
# I am doing that here because the widgets (besides the combo dropdown) on this node are fully frontend defined.
|
||||
# I need to skip checking that the chosen combo option is in the options list, since those are defined by the user.
|
||||
return True
|
||||
|
||||
@classmethod
|
||||
def execute(cls, choice: io.Combo.Type, index: int = 0, **kwargs) -> io.NodeOutput:
|
||||
return io.NodeOutput(choice, index)
|
||||
|
||||
|
||||
class DCTestNode(io.ComfyNode):
|
||||
class DCValues(TypedDict):
|
||||
combo: str
|
||||
string: str
|
||||
integer: int
|
||||
image: io.Image.Type
|
||||
subcombo: dict[str]
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="DCTestNode",
|
||||
display_name="DCTest",
|
||||
category="utilities/logic",
|
||||
is_output_node=True,
|
||||
inputs=[io.DynamicCombo.Input("combo", options=[
|
||||
io.DynamicCombo.Option("option1", [io.String.Input("string")]),
|
||||
io.DynamicCombo.Option("option2", [io.Int.Input("integer")]),
|
||||
io.DynamicCombo.Option("option3", [io.Image.Input("image")]),
|
||||
io.DynamicCombo.Option("option4", [
|
||||
io.DynamicCombo.Input("subcombo", options=[
|
||||
io.DynamicCombo.Option("opt1", [io.Float.Input("float_x"), io.Float.Input("float_y")]),
|
||||
io.DynamicCombo.Option("opt2", [io.Mask.Input("mask1", optional=True)]),
|
||||
])
|
||||
])]
|
||||
)],
|
||||
outputs=[io.AnyType.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, combo: DCValues) -> io.NodeOutput:
|
||||
combo_val = combo["combo"]
|
||||
if combo_val == "option1":
|
||||
return io.NodeOutput(combo["string"])
|
||||
elif combo_val == "option2":
|
||||
return io.NodeOutput(combo["integer"])
|
||||
elif combo_val == "option3":
|
||||
return io.NodeOutput(combo["image"])
|
||||
elif combo_val == "option4":
|
||||
return io.NodeOutput(f"{combo['subcombo']}")
|
||||
else:
|
||||
raise ValueError(f"Invalid combo: {combo_val}")
|
||||
|
||||
|
||||
class AutogrowNamesTestNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = _io.Autogrow.TemplateNames(input=io.Float.Input("float"), names=["a", "b", "c"])
|
||||
return io.Schema(
|
||||
node_id="AutogrowNamesTestNode",
|
||||
display_name="AutogrowNamesTest",
|
||||
category="utilities/logic",
|
||||
inputs=[
|
||||
_io.Autogrow.Input("autogrow", template=template)
|
||||
],
|
||||
outputs=[io.String.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, autogrow: _io.Autogrow.Type) -> io.NodeOutput:
|
||||
vals = list(autogrow.values())
|
||||
combined = ",".join([str(x) for x in vals])
|
||||
return io.NodeOutput(combined)
|
||||
|
||||
class AutogrowPrefixTestNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
template = _io.Autogrow.TemplatePrefix(input=io.Float.Input("float"), prefix="float", min=1, max=10)
|
||||
return io.Schema(
|
||||
node_id="AutogrowPrefixTestNode",
|
||||
display_name="AutogrowPrefixTest",
|
||||
category="utilities/logic",
|
||||
inputs=[
|
||||
_io.Autogrow.Input("autogrow", template=template)
|
||||
],
|
||||
outputs=[io.String.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, autogrow: _io.Autogrow.Type) -> io.NodeOutput:
|
||||
vals = list(autogrow.values())
|
||||
combined = ",".join([str(x) for x in vals])
|
||||
return io.NodeOutput(combined)
|
||||
|
||||
class ComboOutputTestNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ComboOptionTestNode",
|
||||
display_name="ComboOptionTest",
|
||||
category="utilities/logic",
|
||||
inputs=[io.Combo.Input("combo", options=["option1", "option2", "option3"]),
|
||||
io.Combo.Input("combo2", options=["option4", "option5", "option6"])],
|
||||
outputs=[io.Combo.Output(), io.Combo.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, combo: io.Combo.Type, combo2: io.Combo.Type) -> io.NodeOutput:
|
||||
return io.NodeOutput(combo, combo2)
|
||||
|
||||
class ConvertStringToComboNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="ConvertStringToComboNode",
|
||||
search_aliases=["string to dropdown", "text to combo"],
|
||||
display_name="Convert String to Combo",
|
||||
category="utilities/logic",
|
||||
inputs=[io.String.Input("string")],
|
||||
outputs=[io.Combo.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, string: str) -> io.NodeOutput:
|
||||
return io.NodeOutput(string)
|
||||
|
||||
class InvertBooleanNode(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="InvertBooleanNode",
|
||||
search_aliases=["not", "toggle", "negate", "flip boolean"],
|
||||
display_name="Invert Boolean",
|
||||
category="utilities/logic",
|
||||
inputs=[io.Boolean.Input("boolean")],
|
||||
outputs=[io.Boolean.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, boolean: bool) -> io.NodeOutput:
|
||||
return io.NodeOutput(not boolean)
|
||||
|
||||
class LogicExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
SwitchNode,
|
||||
CustomComboNode,
|
||||
NotNode,
|
||||
AndNode,
|
||||
OrNode,
|
||||
# SoftSwitchNode,
|
||||
# ConvertStringToComboNode,
|
||||
# DCTestNode,
|
||||
# AutogrowNamesTestNode,
|
||||
# AutogrowPrefixTestNode,
|
||||
# ComboOutputTestNode,
|
||||
# InvertBooleanNode,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> LogicExtension:
|
||||
return LogicExtension()
|
||||
@@ -0,0 +1,338 @@
|
||||
"""MiniMax H3 nodes: AV latent creation and task conditioning (t2va / fl2va / ref2va).
|
||||
|
||||
The H3 packed-DiT consumes, via conditioning:
|
||||
- Qwen3-VL-32B hidden states with per-token modality tags (from the minimax CLIP)
|
||||
- keyframe / reference condition latents, re-injected every step (never denoised)
|
||||
|
||||
Latents are NestedTensor pairs (video [B,24,T,H/16,W/16], audio [B,32,2,T40]);
|
||||
sampling runs on the flat pack with any stock sampler (the model handles the
|
||||
audio stream's shifted schedule internally).
|
||||
"""
|
||||
|
||||
import math
|
||||
|
||||
import torch
|
||||
import torchaudio
|
||||
|
||||
import nodes
|
||||
import comfy.model_management
|
||||
import comfy.model_sampling
|
||||
import comfy.nested_tensor
|
||||
import comfy.utils
|
||||
import node_helpers
|
||||
from comfy_api.latest import ComfyExtension, io
|
||||
|
||||
CANVAS_MULTIPLE = 32
|
||||
BASE_SHORT_EDGE = 768
|
||||
MAX_PIXELS = 768 * 1344
|
||||
REF_IMAGE_SHORT_EDGE = 2048
|
||||
FPS = 24
|
||||
AUDIO_LATENT_FPS = 40
|
||||
|
||||
|
||||
def align_frame_count(n):
|
||||
while n % 17 != 5:
|
||||
n += 1
|
||||
return n
|
||||
|
||||
|
||||
def video_latent_t(frame_count):
|
||||
return 2 if frame_count <= 5 else ((frame_count - 5) // 17) * 5 + 2
|
||||
|
||||
|
||||
def temporal_shape(length):
|
||||
frame_count = align_frame_count(max(5, length))
|
||||
duration = frame_count / FPS
|
||||
return frame_count, video_latent_t(frame_count), round(duration * AUDIO_LATENT_FPS)
|
||||
|
||||
|
||||
def adapt_canvas(width, height):
|
||||
"""768-short-edge canvas with 768*1344 area cap, per-axis round to 32."""
|
||||
ratio = width / height
|
||||
if ratio >= 1.0:
|
||||
nom_w, nom_h = BASE_SHORT_EDGE * ratio, BASE_SHORT_EDGE
|
||||
else:
|
||||
nom_w, nom_h = BASE_SHORT_EDGE, BASE_SHORT_EDGE / ratio
|
||||
if nom_w * nom_h > MAX_PIXELS:
|
||||
s = math.sqrt(MAX_PIXELS / (nom_w * nom_h))
|
||||
nom_w, nom_h = nom_w * s, nom_h * s
|
||||
return (max(CANVAS_MULTIPLE, round(nom_w / CANVAS_MULTIPLE) * CANVAS_MULTIPLE),
|
||||
max(CANVAS_MULTIPLE, round(nom_h / CANVAS_MULTIPLE) * CANVAS_MULTIPLE))
|
||||
|
||||
|
||||
def _resize(image, width, height, crop):
|
||||
# image [B, H, W, C] -> [B, height, width, 3]
|
||||
samples = image[..., :3].movedim(-1, 1)
|
||||
samples = comfy.utils.common_upscale(samples, width, height, "lanczos", crop)
|
||||
return samples.movedim(1, -1)
|
||||
|
||||
|
||||
def _empty_av_latent(width, height, length, batch_size=1):
|
||||
frame_count, latent_t, audio_t = temporal_shape(length)
|
||||
video = torch.zeros([batch_size, 24, latent_t, height // 16, width // 16],
|
||||
device=comfy.model_management.intermediate_device())
|
||||
audio = torch.zeros([batch_size, 32, 2, audio_t],
|
||||
device=comfy.model_management.intermediate_device())
|
||||
return {"samples": comfy.nested_tensor.NestedTensor((video, audio))}, frame_count
|
||||
|
||||
|
||||
class EmptyMiniMaxH3LatentAV(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="EmptyMiniMaxH3LatentAV",
|
||||
display_name="Empty MiniMax H3 AV Latent",
|
||||
category="model/latent/minimax",
|
||||
description="Joint video+audio latent for MiniMax H3. Duration snaps to the model's 17k+5 frame grid at 24 fps.",
|
||||
inputs=[
|
||||
io.Int.Input("width", default=1344, min=32, max=nodes.MAX_RESOLUTION, step=32),
|
||||
io.Int.Input("height", default=768, min=32, max=nodes.MAX_RESOLUTION, step=32),
|
||||
io.Int.Input("length", default=124, min=5, max=3600, step=17, tooltip="Frame count at 24 fps, snapped up to the model's 17k+5 grid (124 = ~5s; trained range is ~124-362, longer is untested)"),
|
||||
],
|
||||
outputs=[io.Latent.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, width, height, length) -> io.NodeOutput:
|
||||
latent, _ = _empty_av_latent(width, height, length)
|
||||
return io.NodeOutput(latent)
|
||||
|
||||
|
||||
class MiniMaxH3ImageToVideo(io.ComfyNode):
|
||||
"""t2va and fl2va: prompt (+ optional first/last keyframes) -> conditioning + AV latent."""
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="MiniMaxH3ImageToVideo",
|
||||
display_name="MiniMax H3 Image to Video",
|
||||
category="model/conditioning/minimax",
|
||||
inputs=[
|
||||
io.Clip.Input("clip"),
|
||||
io.Vae.Input("vae"),
|
||||
io.String.Input("prompt", multiline=True, dynamic_prompts=True),
|
||||
io.Int.Input("width", default=1344, min=32, max=nodes.MAX_RESOLUTION, step=32),
|
||||
io.Int.Input("height", default=768, min=32, max=nodes.MAX_RESOLUTION, step=32),
|
||||
io.Int.Input("length", default=124, min=5, max=3600, step=17, tooltip="Frame count at 24 fps, snapped up to the model's 17k+5 grid (124 = ~5s; trained range is ~124-362, longer is untested)"),
|
||||
io.Image.Input("first_frame", optional=True),
|
||||
io.Image.Input("last_frame", optional=True),
|
||||
],
|
||||
outputs=[io.Conditioning.Output(display_name="positive"), io.Latent.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, vae, prompt, width, height, length,
|
||||
first_frame=None, last_frame=None) -> io.NodeOutput:
|
||||
latent, frame_count = _empty_av_latent(width, height, length)
|
||||
|
||||
images = []
|
||||
keyframes = []
|
||||
if first_frame is not None:
|
||||
# geometry anchor: plain stretch to canvas
|
||||
img = _resize(first_frame[:1], width, height, "disabled")
|
||||
images.append(img)
|
||||
keyframes.append({"resolved_frame_index": 0, "image": img})
|
||||
if last_frame is not None:
|
||||
# follower: aspect-preserving cover-crop
|
||||
img = _resize(last_frame[:1], width, height, "center")
|
||||
images.append(img)
|
||||
keyframes.append({"resolved_frame_index": frame_count - 1, "image": img})
|
||||
|
||||
tokens = clip.tokenize(prompt, images=images)
|
||||
cond = clip.encode_from_tokens_scheduled(tokens)
|
||||
|
||||
if keyframes:
|
||||
for kf in keyframes:
|
||||
kf["latent"] = vae.encode(kf.pop("image"))
|
||||
cond = node_helpers.conditioning_set_values(cond, {
|
||||
"minimax_keyframes": keyframes,
|
||||
"minimax_frame_count": frame_count,
|
||||
})
|
||||
return io.NodeOutput(cond, latent)
|
||||
|
||||
|
||||
class MiniMaxH3ReferenceToVideo(io.ComfyNode):
|
||||
"""ref2va: prompt + reference images / videos / audio -> conditioning + AV latent.
|
||||
|
||||
References enter the presentation in fixed order: images, then videos (each
|
||||
soundtrack's <Audio j> label right before its <Video k>), then standalone
|
||||
audio. Ordinals are 1-based per type, so the prompt refers to them as
|
||||
<Picture i> / <Video k> / <Audio j>.
|
||||
"""
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="MiniMaxH3ReferenceToVideo",
|
||||
description="<Picture i> / <Video k> / <Audio j> reference conditioning for MiniMax H3. Use the same tags when prompting.",
|
||||
display_name="MiniMax H3 Reference to Video",
|
||||
category="model/conditioning/minimax",
|
||||
inputs=[
|
||||
io.Clip.Input("clip"),
|
||||
io.Vae.Input("vae"),
|
||||
io.Vae.Input("audio_vae"),
|
||||
io.String.Input("prompt", multiline=True, dynamic_prompts=True),
|
||||
io.Int.Input("width", default=1344, min=32, max=nodes.MAX_RESOLUTION, step=32),
|
||||
io.Int.Input("height", default=768, min=32, max=nodes.MAX_RESOLUTION, step=32),
|
||||
io.Int.Input("length", default=124, min=5, max=3600, step=17, tooltip="Frame count at 24 fps, (124 = ~5s, trained range is ~124-362)"),
|
||||
io.Combo.Input("ref_image_size", options=["match", "max"], default="match",
|
||||
tooltip="Reference image sizing. 'match' scales each ref (down only, keeping aspect) to the generation's pixel area; 'max' uses the reference pipeline's 2048px short edge for best identity fidelity. Reference tokens ride through every sampling step, so 'max' can be several times slower."),
|
||||
io.Autogrow.Input("ref_images", optional=True,
|
||||
template=io.Autogrow.TemplatePrefix(
|
||||
input=io.Image.Input("ref_image", tooltip="Reference image (downscaled to 2048 short edge if larger, never upscaled)"),
|
||||
prefix="ref_image_", min=0, max=9)),
|
||||
io.Autogrow.Input("ref_videos", optional=True,
|
||||
template=io.Autogrow.TemplatePrefix(
|
||||
input=io.Image.Input("ref_video", tooltip="Reference video frames at 24 fps (2-15s)"),
|
||||
prefix="ref_video_", min=0, max=3)),
|
||||
io.Autogrow.Input("ref_video_audios", optional=True,
|
||||
template=io.Autogrow.TemplatePrefix(
|
||||
input=io.Audio.Input("ref_video_audio", tooltip="Soundtrack of the same-numbered reference video"),
|
||||
prefix="ref_video_audio_", min=0, max=3)),
|
||||
io.Autogrow.Input("ref_audios", optional=True,
|
||||
template=io.Autogrow.TemplatePrefix(
|
||||
input=io.Audio.Input("ref_audio", tooltip="Standalone reference audio"),
|
||||
prefix="ref_audio_", min=0, max=3)),
|
||||
],
|
||||
outputs=[io.Conditioning.Output(display_name="positive"), io.Latent.Output()],
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
def _encode_ref_audio(audio_vae, audio):
|
||||
waveform = audio["waveform"] # [B, C, L]
|
||||
sr = audio["sample_rate"]
|
||||
vae_sr = getattr(audio_vae, "audio_sample_rate", 32000)
|
||||
if sr != vae_sr:
|
||||
waveform = torchaudio.functional.resample(waveform, sr, vae_sr)
|
||||
z = audio_vae.encode(waveform[:1].movedim(1, -1)) # [1, 32, 2, T]
|
||||
return z, z.shape[-1]
|
||||
|
||||
@classmethod
|
||||
def execute(cls, clip, vae, audio_vae, prompt, width, height, length, ref_image_size="match",
|
||||
ref_images=None, ref_videos=None, ref_video_audios=None, ref_audios=None) -> io.NodeOutput:
|
||||
latent, frame_count = _empty_av_latent(width, height, length)
|
||||
|
||||
ref_items = [] # for the tokenizer presentation, in request order
|
||||
ref_blocks = [] # for the DiT payload, same order
|
||||
|
||||
for img in (ref_images or {}).values():
|
||||
if img is None:
|
||||
continue
|
||||
h, w = img.shape[1], img.shape[2]
|
||||
if ref_image_size == "match":
|
||||
# aspect-preserving scale (down only) to the generation's pixel area
|
||||
scale = min(1.0, math.sqrt((width * height) / (w * h)))
|
||||
else:
|
||||
scale = min(1.0, REF_IMAGE_SHORT_EDGE / min(w, h))
|
||||
tw = max(CANVAS_MULTIPLE, round(w * scale / CANVAS_MULTIPLE) * CANVAS_MULTIPLE)
|
||||
th = max(CANVAS_MULTIPLE, round(h * scale / CANVAS_MULTIPLE) * CANVAS_MULTIPLE)
|
||||
resized = _resize(img[:1], tw, th, "disabled")
|
||||
z = vae.encode(resized)
|
||||
ref_items.append({"type": "image", "data": resized})
|
||||
ref_blocks.append({"kind": "image", "latent_h": th // 16, "latent_w": tw // 16, "latent": z})
|
||||
|
||||
ref_video_audios = ref_video_audios or {}
|
||||
for name, video_frames in (ref_videos or {}).items():
|
||||
if video_frames is None:
|
||||
continue
|
||||
# index-paired soundtrack: ref_video_audio_N belongs to ref_video_N
|
||||
soundtrack = ref_video_audios.get("ref_video_audio_" + name.rsplit("_", 1)[-1])
|
||||
vh, vw = video_frames.shape[1], video_frames.shape[2]
|
||||
cw, ch = adapt_canvas(vw, vh)
|
||||
if vw * vh < cw * ch:
|
||||
cw = max(CANVAS_MULTIPLE, round(vw / CANVAS_MULTIPLE) * CANVAS_MULTIPLE)
|
||||
ch = max(CANVAS_MULTIPLE, round(vh / CANVAS_MULTIPLE) * CANVAS_MULTIPLE)
|
||||
frames = _resize(video_frames, cw, ch, "disabled")
|
||||
if frames.shape[0] > frame_count:
|
||||
frames = frames[:frame_count]
|
||||
n = frames.shape[0]
|
||||
if n < 5:
|
||||
raise ValueError("MiniMax H3 reference videos need at least 5 frames (~0.2s at 24 fps)")
|
||||
while n % 17 != 5:
|
||||
n -= 1
|
||||
frames = frames[:n]
|
||||
z = vae.encode(frames)
|
||||
audio_latent, ref_audio_t = (None, 0)
|
||||
if soundtrack is not None:
|
||||
audio_latent, ref_audio_t = cls._encode_ref_audio(audio_vae, soundtrack)
|
||||
# the soundtrack gets its own <Audio j> label, emitted before <Video k>
|
||||
ref_items.append({"type": "audio"})
|
||||
# Qwen sees the video at 2 fps with timestamps
|
||||
sample_idx = list(range(0, frames.shape[0], FPS // 2))
|
||||
qwen_frames = frames[sample_idx]
|
||||
ref_items.append({"type": "video", "data": qwen_frames,
|
||||
"timestamps": [i / 2.0 for i in range(len(sample_idx))]})
|
||||
ref_blocks.append({"kind": "video_audio" if ref_audio_t else "video",
|
||||
"latent_t": z.shape[2], "latent_h": ch // 16, "latent_w": cw // 16,
|
||||
"ref_audio_t": ref_audio_t, "latent": z, "audio_latent": audio_latent})
|
||||
|
||||
for audio in (ref_audios or {}).values():
|
||||
if audio is None:
|
||||
continue
|
||||
audio_latent, ref_audio_t = cls._encode_ref_audio(audio_vae, audio)
|
||||
ref_items.append({"type": "audio"})
|
||||
ref_blocks.append({"kind": "audio", "ref_audio_t": ref_audio_t, "audio_latent": audio_latent})
|
||||
|
||||
tokens = clip.tokenize(prompt, minimax_ref_items=ref_items)
|
||||
cond = clip.encode_from_tokens_scheduled(tokens)
|
||||
if ref_blocks:
|
||||
cond = node_helpers.conditioning_set_values(cond, {"minimax_refs": ref_blocks})
|
||||
return io.NodeOutput(cond, latent)
|
||||
|
||||
|
||||
class MiniMaxH3SigmaShift(io.ComfyNode):
|
||||
"""Set the video/audio flow shifts coherently.
|
||||
|
||||
The video shift drives the sampler's sigma schedule (ModelSamplingAV); both
|
||||
values are also handed to the DiT, which inverts the video schedule to the
|
||||
shared base grid and derives the audio schedule from it.
|
||||
"""
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="MiniMaxH3SigmaShift",
|
||||
description="Set the video/audio flow shifts.",
|
||||
display_name="ModelSamplingMiniMaxH3",
|
||||
search_aliases=["sigma shift", "minimax shift"],
|
||||
category="model/patch/minimax",
|
||||
inputs=[
|
||||
io.Model.Input("model"),
|
||||
io.Float.Input("shift_video", default=12.0, min=0.01, max=100.0, step=0.01),
|
||||
io.Float.Input("shift_audio", default=3.0, min=0.01, max=100.0, step=0.01),
|
||||
],
|
||||
outputs=[io.Model.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, model, shift_video, shift_audio) -> io.NodeOutput:
|
||||
m = model.clone()
|
||||
|
||||
class ModelSamplingAdvanced(comfy.model_sampling.ModelSamplingAV, comfy.model_sampling.CONST):
|
||||
pass
|
||||
|
||||
original = m.get_model_object("model_sampling")
|
||||
model_sampling = ModelSamplingAdvanced(model.model.model_config)
|
||||
model_sampling.set_parameters(shift=shift_video, audio_shift=shift_audio)
|
||||
if hasattr(original, "noise_scale"):
|
||||
model_sampling.set_noise_scale(original.noise_scale)
|
||||
m.add_object_patch("model_sampling", model_sampling)
|
||||
|
||||
to = m.model_options["transformer_options"] = m.model_options.get("transformer_options", {}).copy()
|
||||
to["minimax_h3_sigma_shift_video"] = shift_video
|
||||
to["minimax_h3_sigma_shift_audio"] = shift_audio
|
||||
return io.NodeOutput(m)
|
||||
|
||||
|
||||
class MiniMaxH3Extension(ComfyExtension):
|
||||
async def get_node_list(self):
|
||||
return [
|
||||
EmptyMiniMaxH3LatentAV,
|
||||
MiniMaxH3ImageToVideo,
|
||||
MiniMaxH3ReferenceToVideo,
|
||||
MiniMaxH3SigmaShift,
|
||||
]
|
||||
|
||||
|
||||
async def comfy_entrypoint() -> MiniMaxH3Extension:
|
||||
return MiniMaxH3Extension()
|
||||
@@ -0,0 +1,589 @@
|
||||
import os
|
||||
import time
|
||||
import mimetypes
|
||||
import logging
|
||||
from typing import Literal, List
|
||||
from collections.abc import Collection
|
||||
|
||||
from comfy.cli_args import args
|
||||
|
||||
supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
|
||||
|
||||
folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {}
|
||||
|
||||
# --base-directory - Resets all default paths configured in folder_paths with a new base path
|
||||
if args.base_directory:
|
||||
base_path = os.path.abspath(args.base_directory)
|
||||
else:
|
||||
base_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
if args.models_directory:
|
||||
models_dir = os.path.abspath(args.models_directory)
|
||||
else:
|
||||
models_dir = os.path.join(base_path, "models")
|
||||
|
||||
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
|
||||
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
|
||||
|
||||
folder_names_and_paths["loras"] = ([os.path.join(models_dir, "loras")], supported_pt_extensions)
|
||||
folder_names_and_paths["vae"] = ([os.path.join(models_dir, "vae")], supported_pt_extensions)
|
||||
folder_names_and_paths["text_encoders"] = ([os.path.join(models_dir, "text_encoders"), os.path.join(models_dir, "clip")], supported_pt_extensions)
|
||||
folder_names_and_paths["diffusion_models"] = ([os.path.join(models_dir, "unet"), os.path.join(models_dir, "diffusion_models")], supported_pt_extensions)
|
||||
folder_names_and_paths["clip_vision"] = ([os.path.join(models_dir, "clip_vision")], supported_pt_extensions)
|
||||
folder_names_and_paths["style_models"] = ([os.path.join(models_dir, "style_models")], supported_pt_extensions)
|
||||
folder_names_and_paths["embeddings"] = ([os.path.join(models_dir, "embeddings")], supported_pt_extensions)
|
||||
folder_names_and_paths["diffusers"] = ([os.path.join(models_dir, "diffusers")], ["folder"])
|
||||
folder_names_and_paths["vae_approx"] = ([os.path.join(models_dir, "vae_approx")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["controlnet"] = ([os.path.join(models_dir, "controlnet"), os.path.join(models_dir, "t2i_adapter")], supported_pt_extensions)
|
||||
folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["latent_upscale_models"] = ([os.path.join(models_dir, "latent_upscale_models")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
|
||||
|
||||
folder_names_and_paths["datasets"] = ([os.path.join(base_path, "datasets")], set())
|
||||
|
||||
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
|
||||
|
||||
folder_names_and_paths["model_patches"] = ([os.path.join(models_dir, "model_patches")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["audio_encoders"] = ([os.path.join(models_dir, "audio_encoders")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["background_removal"] = ([os.path.join(models_dir, "background_removal")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["frame_interpolation"] = ([os.path.join(models_dir, "frame_interpolation")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["geometry_estimation"] = ([os.path.join(models_dir, "geometry_estimation")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["optical_flow"] = ([os.path.join(models_dir, "optical_flow")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["detection"] = ([os.path.join(models_dir, "detection")], supported_pt_extensions)
|
||||
|
||||
output_directory = os.path.join(base_path, "output")
|
||||
temp_directory = os.path.join(base_path, "temp")
|
||||
input_directory = os.path.join(base_path, "input")
|
||||
user_directory = os.path.join(base_path, "user")
|
||||
|
||||
filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
|
||||
class CacheHelper:
|
||||
"""
|
||||
Helper class for managing file list cache data.
|
||||
"""
|
||||
def __init__(self):
|
||||
self.cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
self.active = False
|
||||
|
||||
def get(self, key: str, default=None) -> tuple[list[str], dict[str, float], float]:
|
||||
if not self.active:
|
||||
return default
|
||||
return self.cache.get(key, default)
|
||||
|
||||
def set(self, key: str, value: tuple[list[str], dict[str, float], float]) -> None:
|
||||
if self.active:
|
||||
self.cache[key] = value
|
||||
|
||||
def clear(self):
|
||||
self.cache.clear()
|
||||
|
||||
def __enter__(self):
|
||||
self.active = True
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
self.active = False
|
||||
self.clear()
|
||||
|
||||
cache_helper = CacheHelper()
|
||||
|
||||
extension_mimetypes_cache = {
|
||||
"webp" : "image",
|
||||
"fbx" : "model",
|
||||
}
|
||||
|
||||
def map_legacy(folder_name: str) -> str:
|
||||
legacy = {"unet": "diffusion_models",
|
||||
"clip": "text_encoders"}
|
||||
return legacy.get(folder_name, folder_name)
|
||||
|
||||
if not os.path.exists(input_directory):
|
||||
try:
|
||||
os.makedirs(input_directory)
|
||||
except:
|
||||
logging.error("Failed to create input directory")
|
||||
|
||||
def set_output_directory(output_dir: str) -> None:
|
||||
global output_directory
|
||||
output_directory = output_dir
|
||||
|
||||
def set_temp_directory(temp_dir: str) -> None:
|
||||
global temp_directory
|
||||
temp_directory = temp_dir
|
||||
|
||||
def set_input_directory(input_dir: str) -> None:
|
||||
global input_directory
|
||||
input_directory = input_dir
|
||||
|
||||
def get_output_directory() -> str:
|
||||
global output_directory
|
||||
return output_directory
|
||||
|
||||
def get_temp_directory() -> str:
|
||||
global temp_directory
|
||||
return temp_directory
|
||||
|
||||
def get_input_directory() -> str:
|
||||
global input_directory
|
||||
return input_directory
|
||||
|
||||
def get_user_directory() -> str:
|
||||
return user_directory
|
||||
|
||||
def set_user_directory(user_dir: str) -> None:
|
||||
global user_directory
|
||||
user_directory = user_dir
|
||||
|
||||
|
||||
# System User Protection - Protects system directories from HTTP endpoint access
|
||||
# System Users are internal-only users that cannot be accessed via HTTP endpoints.
|
||||
# They use the '__' prefix convention (similar to Python's private member convention).
|
||||
SYSTEM_USER_PREFIX = "__"
|
||||
|
||||
|
||||
def get_system_user_directory(name: str = "system") -> str:
|
||||
"""
|
||||
Get the path to a System User directory.
|
||||
|
||||
System User directories (prefixed with '__') are only accessible via internal API,
|
||||
not through HTTP endpoints. Use this for storing system-internal data that
|
||||
should not be exposed to users.
|
||||
|
||||
Args:
|
||||
name: System user name (e.g., "system", "cache"). Must be alphanumeric
|
||||
with underscores allowed, but cannot start with underscore.
|
||||
|
||||
Returns:
|
||||
Absolute path to the system user directory.
|
||||
|
||||
Raises:
|
||||
ValueError: If name is empty, invalid, or starts with underscore.
|
||||
|
||||
Example:
|
||||
>>> get_system_user_directory("cache")
|
||||
'/path/to/user/__cache'
|
||||
"""
|
||||
if not name or not isinstance(name, str):
|
||||
raise ValueError("System user name cannot be empty")
|
||||
if not name.replace("_", "").isalnum():
|
||||
raise ValueError(f"Invalid system user name: '{name}'")
|
||||
if name.startswith("_"):
|
||||
raise ValueError("System user name should not start with underscore")
|
||||
return os.path.join(get_user_directory(), f"{SYSTEM_USER_PREFIX}{name}")
|
||||
|
||||
|
||||
def get_public_user_directory(user_id: str) -> str | None:
|
||||
"""
|
||||
Get the path to a Public User directory for HTTP endpoint access.
|
||||
|
||||
This function provides structural security by returning None for any
|
||||
System User (prefixed with '__'). All HTTP endpoints should use this
|
||||
function instead of directly constructing user paths.
|
||||
|
||||
Args:
|
||||
user_id: User identifier from HTTP request.
|
||||
|
||||
Returns:
|
||||
Absolute path to the user directory, or None if user_id is invalid
|
||||
or refers to a System User.
|
||||
|
||||
Example:
|
||||
>>> get_public_user_directory("default")
|
||||
'/path/to/user/default'
|
||||
>>> get_public_user_directory("__system")
|
||||
None
|
||||
"""
|
||||
if not user_id or not isinstance(user_id, str):
|
||||
return None
|
||||
if user_id.startswith(SYSTEM_USER_PREFIX):
|
||||
return None
|
||||
return os.path.join(get_user_directory(), user_id)
|
||||
|
||||
|
||||
#NOTE: used in http server so don't put folders that should not be accessed remotely
|
||||
def get_directory_by_type(type_name: str) -> str | None:
|
||||
if type_name == "output":
|
||||
return get_output_directory()
|
||||
if type_name == "temp":
|
||||
return get_temp_directory()
|
||||
if type_name == "input":
|
||||
return get_input_directory()
|
||||
return None
|
||||
|
||||
def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> list[str]:
|
||||
"""
|
||||
Example:
|
||||
files = os.listdir(folder_paths.get_input_directory())
|
||||
videos = filter_files_content_types(files, ["video"])
|
||||
|
||||
Note:
|
||||
- 'model' in MIME context refers to 3D models, not files containing trained weights and parameters
|
||||
"""
|
||||
global extension_mimetypes_cache
|
||||
result = []
|
||||
for file in files:
|
||||
extension = file.split('.')[-1]
|
||||
if extension not in extension_mimetypes_cache:
|
||||
mime_type, _ = mimetypes.guess_type(file, strict=False)
|
||||
if not mime_type:
|
||||
continue
|
||||
content_type = mime_type.split('/')[0]
|
||||
extension_mimetypes_cache[extension] = content_type
|
||||
else:
|
||||
content_type = extension_mimetypes_cache[extension]
|
||||
|
||||
if content_type in content_types:
|
||||
result.append(file)
|
||||
return result
|
||||
|
||||
# determine base_dir rely on annotation if name is 'filename.ext [annotation]' format
|
||||
# otherwise use default_path as base_dir
|
||||
def annotated_filepath(name: str) -> tuple[str, str | None]:
|
||||
if name.endswith("[output]"):
|
||||
base_dir = get_output_directory()
|
||||
name = name[:-9]
|
||||
elif name.endswith("[input]"):
|
||||
base_dir = get_input_directory()
|
||||
name = name[:-8]
|
||||
elif name.endswith("[temp]"):
|
||||
base_dir = get_temp_directory()
|
||||
name = name[:-7]
|
||||
else:
|
||||
return name, None
|
||||
|
||||
return name, base_dir
|
||||
|
||||
|
||||
# Content types a browser may execute or render inline. File endpoints that
|
||||
# serve user-controlled content must force these to download (and ideally set
|
||||
# Content-Disposition: attachment) to avoid stored XSS. Centralised here so the
|
||||
# /view and /userdata handlers can't drift apart. mimetypes.guess_type may
|
||||
# return either the text/* or application/* spelling depending on platform, so
|
||||
# both are listed.
|
||||
DANGEROUS_CONTENT_TYPES = {
|
||||
'text/html', 'text/html-sandboxed', 'application/xhtml+xml',
|
||||
'text/javascript', 'application/javascript', 'application/x-javascript',
|
||||
'application/ecmascript', 'text/css',
|
||||
'image/svg+xml', 'application/xml', 'text/xml',
|
||||
# message/rfc822 (.mht/.mhtml) can carry script in some browsers.
|
||||
'message/rfc822',
|
||||
}
|
||||
|
||||
|
||||
def is_dangerous_content_type(content_type: str | None) -> bool:
|
||||
"""Return True if a browser may execute or render `content_type` inline.
|
||||
|
||||
Normalises before matching so the check can't be slipped past with a
|
||||
charset/boundary parameter (``text/html; charset=utf-8``) or casing
|
||||
(``TEXT/HTML``). Any XML dialect (``*+xml`` or ``*/xml``) is treated as
|
||||
dangerous because XML can carry inline script via stylesheet/entity tricks,
|
||||
which also covers the ``application/{xslt,rss,atom,rdf}+xml`` family without
|
||||
enumerating each one. Endpoints serving user-controlled content should route
|
||||
a dangerous type to ``application/octet-stream`` + ``Content-Disposition:
|
||||
attachment`` + ``X-Content-Type-Options: nosniff``.
|
||||
"""
|
||||
if not content_type:
|
||||
return False
|
||||
normalized = content_type.split(';', 1)[0].strip().lower()
|
||||
if normalized in DANGEROUS_CONTENT_TYPES:
|
||||
return True
|
||||
return normalized.endswith('+xml') or normalized.endswith('/xml')
|
||||
|
||||
|
||||
def renders_safely_as_image(content_type: str | None, sec_fetch_dest: str | None) -> bool:
|
||||
"""Return True if a dangerous `content_type` is safe to serve inline anyway.
|
||||
|
||||
An SVG referenced by an ``<img>`` is loaded in secure static mode: scripts
|
||||
and external references are disabled, so the stored XSS that
|
||||
``is_dangerous_content_type`` guards against cannot fire. The attack needs
|
||||
the SVG to become a document, which is a separate ``Sec-Fetch-Dest``.
|
||||
Browsers set that header themselves and script cannot override it (the
|
||||
``Sec-`` prefix makes it a forbidden header name), so it is trustworthy for
|
||||
this decision. Anything else, including a missing header from a non-browser
|
||||
client or a proxy that strips it, fails closed.
|
||||
"""
|
||||
if sec_fetch_dest != 'image':
|
||||
return False
|
||||
return (content_type or '').split(';', 1)[0].strip().lower() == 'image/svg+xml'
|
||||
|
||||
|
||||
def is_within_directory(directory: str, target: str) -> bool:
|
||||
"""Return True if `target` resolves to a path inside `directory`.
|
||||
|
||||
Uses realpath on both operands so that a symlink placed inside `directory`
|
||||
that points elsewhere cannot escape the containment check at open time.
|
||||
"""
|
||||
try:
|
||||
directory = os.path.realpath(directory)
|
||||
target = os.path.realpath(target)
|
||||
return os.path.commonpath((directory, target)) == directory
|
||||
except ValueError:
|
||||
# ValueError is raised by realpath() on a path with an embedded null
|
||||
# byte, and by commonpath() on Windows when the paths are on different
|
||||
# drives. In either case the target is not safely within the directory.
|
||||
return False
|
||||
|
||||
|
||||
def get_annotated_filepath(name: str, default_dir: str | None=None) -> str:
|
||||
name, base_dir = annotated_filepath(name)
|
||||
|
||||
if base_dir is None:
|
||||
if default_dir is not None:
|
||||
base_dir = default_dir
|
||||
else:
|
||||
base_dir = get_input_directory() # fallback path
|
||||
|
||||
filepath = os.path.abspath(os.path.join(base_dir, name))
|
||||
# Prevent path traversal: the resolved path must stay within base_dir.
|
||||
# repr() the name in the message so a crafted value can't inject log lines.
|
||||
if not is_within_directory(base_dir, filepath):
|
||||
raise ValueError("Invalid file path: {!r}".format(name))
|
||||
return filepath
|
||||
|
||||
|
||||
def exists_annotated_filepath(name) -> bool:
|
||||
name, base_dir = annotated_filepath(name)
|
||||
|
||||
if base_dir is None:
|
||||
base_dir = get_input_directory() # fallback path
|
||||
|
||||
filepath = os.path.abspath(os.path.join(base_dir, name))
|
||||
# Treat traversal attempts as non-existent rather than probing the filesystem.
|
||||
if not is_within_directory(base_dir, filepath):
|
||||
return False
|
||||
return os.path.exists(filepath)
|
||||
|
||||
|
||||
def add_model_folder_path(folder_name: str, full_folder_path: str, is_default: bool = False) -> None:
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name in folder_names_and_paths:
|
||||
paths, _exts = folder_names_and_paths[folder_name]
|
||||
if full_folder_path in paths:
|
||||
if is_default and paths[0] != full_folder_path:
|
||||
# If the path to the folder is not the first in the list, move it to the beginning.
|
||||
paths.remove(full_folder_path)
|
||||
paths.insert(0, full_folder_path)
|
||||
else:
|
||||
if is_default:
|
||||
paths.insert(0, full_folder_path)
|
||||
else:
|
||||
paths.append(full_folder_path)
|
||||
else:
|
||||
folder_names_and_paths[folder_name] = ([full_folder_path], set())
|
||||
|
||||
def get_folder_paths(folder_name: str) -> list[str]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
return folder_names_and_paths[folder_name][0][:]
|
||||
|
||||
def recursive_search(directory: str, excluded_dir_names: list[str] | None=None) -> tuple[list[str], dict[str, float]]:
|
||||
if not os.path.isdir(directory):
|
||||
return [], {}
|
||||
|
||||
if excluded_dir_names is None:
|
||||
excluded_dir_names = []
|
||||
|
||||
result = []
|
||||
dirs = {}
|
||||
|
||||
# Attempt to add the initial directory to dirs with error handling
|
||||
try:
|
||||
dirs[directory] = os.path.getmtime(directory)
|
||||
except FileNotFoundError:
|
||||
logging.warning(f"Warning: Unable to access {directory}. Skipping this path.")
|
||||
|
||||
logging.debug("recursive file list on directory {}".format(directory))
|
||||
dirpath: str
|
||||
subdirs: list[str]
|
||||
filenames: list[str]
|
||||
|
||||
for dirpath, subdirs, filenames in os.walk(directory, followlinks=True, topdown=True):
|
||||
subdirs[:] = [d for d in subdirs if d not in excluded_dir_names]
|
||||
for file_name in filenames:
|
||||
try:
|
||||
relative_path = os.path.relpath(os.path.join(dirpath, file_name), directory)
|
||||
result.append(relative_path)
|
||||
except:
|
||||
logging.warning(f"Warning: Unable to access {file_name}. Skipping this file.")
|
||||
continue
|
||||
|
||||
for d in subdirs:
|
||||
path: str = os.path.join(dirpath, d)
|
||||
try:
|
||||
dirs[path] = os.path.getmtime(path)
|
||||
except FileNotFoundError:
|
||||
logging.warning(f"Warning: Unable to access {path}. Skipping this path.")
|
||||
continue
|
||||
logging.debug("found {} files".format(len(result)))
|
||||
return result, dirs
|
||||
|
||||
def filter_files_extensions(files: Collection[str], extensions: Collection[str]) -> list[str]:
|
||||
return sorted(list(filter(lambda a: os.path.splitext(a)[-1].lower() in extensions or len(extensions) == 0, files)))
|
||||
|
||||
|
||||
|
||||
def get_full_path(folder_name: str, filename: str) -> str | None:
|
||||
"""
|
||||
Get the full path of a file in a folder, has to be a file
|
||||
"""
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name not in folder_names_and_paths:
|
||||
return None
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
filename = os.path.relpath(os.path.join("/", filename), "/")
|
||||
for x in folders[0]:
|
||||
full_path = os.path.join(x, filename)
|
||||
if os.path.isfile(full_path):
|
||||
return full_path
|
||||
elif os.path.islink(full_path):
|
||||
logging.warning("WARNING path {} exists but doesn't link anywhere, skipping.".format(full_path))
|
||||
|
||||
return None
|
||||
|
||||
|
||||
def get_full_path_or_raise(folder_name: str, filename: str) -> str:
|
||||
"""
|
||||
Get the full path of a file in a folder, has to be a file
|
||||
"""
|
||||
full_path = get_full_path(folder_name, filename)
|
||||
if full_path is None:
|
||||
raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.")
|
||||
return full_path
|
||||
|
||||
|
||||
def get_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
global folder_names_and_paths
|
||||
output_list = set()
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
output_folders = {}
|
||||
for x in folders[0]:
|
||||
files, folders_all = recursive_search(x, excluded_dir_names=[".git"])
|
||||
output_list.update(filter_files_extensions(files, folders[1]))
|
||||
output_folders = {**output_folders, **folders_all}
|
||||
|
||||
return sorted(list(output_list)), output_folders, time.perf_counter()
|
||||
|
||||
def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float] | None:
|
||||
strong_cache = cache_helper.get(folder_name)
|
||||
if strong_cache is not None:
|
||||
return strong_cache
|
||||
|
||||
global filename_list_cache
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name not in filename_list_cache:
|
||||
return None
|
||||
out = filename_list_cache[folder_name]
|
||||
|
||||
for x in out[1]:
|
||||
time_modified = out[1][x]
|
||||
folder = x
|
||||
if os.path.getmtime(folder) != time_modified:
|
||||
return None
|
||||
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
for x in folders[0]:
|
||||
if os.path.isdir(x):
|
||||
if x not in out[1]:
|
||||
return None
|
||||
|
||||
return out
|
||||
|
||||
def get_filename_list(folder_name: str) -> list[str]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
out = cached_filename_list_(folder_name)
|
||||
if out is None:
|
||||
out = get_filename_list_(folder_name)
|
||||
global filename_list_cache
|
||||
filename_list_cache[folder_name] = out
|
||||
cache_helper.set(folder_name, out)
|
||||
return list(out[0])
|
||||
|
||||
def get_save_image_path(filename_prefix: str, output_dir: str, image_width=0, image_height=0) -> tuple[str, str, int, str, str]:
|
||||
def map_filename(filename: str) -> tuple[int, str]:
|
||||
prefix_len = len(os.path.basename(filename_prefix))
|
||||
prefix = filename[:prefix_len + 1]
|
||||
try:
|
||||
remainder = filename[prefix_len + 1:]
|
||||
base_remainder = remainder.split('.')[0]
|
||||
digits = int(base_remainder.split('_')[0])
|
||||
except:
|
||||
digits = 0
|
||||
return digits, prefix
|
||||
|
||||
def compute_vars(input: str, image_width: int, image_height: int) -> str:
|
||||
input = input.replace("%width%", str(image_width))
|
||||
input = input.replace("%height%", str(image_height))
|
||||
now = time.localtime()
|
||||
input = input.replace("%year%", str(now.tm_year))
|
||||
input = input.replace("%month%", str(now.tm_mon).zfill(2))
|
||||
input = input.replace("%day%", str(now.tm_mday).zfill(2))
|
||||
input = input.replace("%hour%", str(now.tm_hour).zfill(2))
|
||||
input = input.replace("%minute%", str(now.tm_min).zfill(2))
|
||||
input = input.replace("%second%", str(now.tm_sec).zfill(2))
|
||||
return input
|
||||
|
||||
if "%" in filename_prefix:
|
||||
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
|
||||
|
||||
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
|
||||
filename = os.path.basename(os.path.normpath(filename_prefix))
|
||||
|
||||
full_output_folder = os.path.join(output_dir, subfolder)
|
||||
|
||||
if not is_within_directory(output_dir, full_output_folder):
|
||||
err = "**** ERROR: Saving image outside the output folder is not allowed." + \
|
||||
"\n full_output_folder: " + os.path.abspath(full_output_folder) + \
|
||||
"\n output_dir: " + output_dir
|
||||
logging.error(err)
|
||||
raise Exception(err)
|
||||
|
||||
try:
|
||||
counter = max(filter(lambda a: os.path.normcase(a[1][:-1]) == os.path.normcase(filename) and a[1][-1] == "_", map(map_filename, os.listdir(full_output_folder))))[0] + 1
|
||||
except ValueError:
|
||||
counter = 1
|
||||
except FileNotFoundError:
|
||||
os.makedirs(full_output_folder, exist_ok=True)
|
||||
counter = 1
|
||||
return full_output_folder, filename, counter, subfolder, filename_prefix
|
||||
|
||||
def get_input_subfolders() -> list[str]:
|
||||
"""Returns a list of all subfolder paths in the input directory, recursively.
|
||||
|
||||
Returns:
|
||||
List of folder paths relative to the input directory, excluding the root directory
|
||||
"""
|
||||
input_dir = get_input_directory()
|
||||
folders = []
|
||||
|
||||
try:
|
||||
if not os.path.exists(input_dir):
|
||||
return []
|
||||
|
||||
for root, dirs, _ in os.walk(input_dir):
|
||||
rel_path = os.path.relpath(root, input_dir)
|
||||
if rel_path != ".": # Only include non-root directories
|
||||
# Normalize path separators to forward slashes
|
||||
folders.append(rel_path.replace(os.sep, '/'))
|
||||
|
||||
return sorted(folders)
|
||||
except FileNotFoundError:
|
||||
return []
|
||||
@@ -0,0 +1,37 @@
|
||||
comfyui-frontend-package==1.48.7
|
||||
comfyui-workflow-templates==0.11.41
|
||||
comfyui-embedded-docs==0.5.9
|
||||
torch
|
||||
torchsde
|
||||
torchvision
|
||||
torchaudio
|
||||
numpy>=1.25.0
|
||||
einops
|
||||
transformers>=4.50.3
|
||||
tokenizers>=0.13.3
|
||||
sentencepiece
|
||||
safetensors>=0.4.2
|
||||
aiohttp>=3.11.8
|
||||
yarl>=1.18.0
|
||||
pyyaml
|
||||
Pillow
|
||||
scipy
|
||||
tqdm
|
||||
psutil
|
||||
alembic
|
||||
SQLAlchemy>=2.0.0
|
||||
filelock
|
||||
av>=16.0.0
|
||||
comfy-kitchen==0.2.31
|
||||
comfy-aimdo==0.4.13
|
||||
requests
|
||||
simpleeval>=1.0.0
|
||||
blake3
|
||||
|
||||
#non essential dependencies:
|
||||
kornia>=0.7.1
|
||||
spandrel
|
||||
pydantic~=2.0
|
||||
pydantic-settings~=2.0
|
||||
PyOpenGL>=3.1.8
|
||||
comfy-angle
|
||||
@@ -0,0 +1,30 @@
|
||||
tree 9999ff522c26c0ff8ed7c6e7e94e5260f329766f
|
||||
parent da154db4996d69dd44b9189e3e715ba9a718dfdb
|
||||
author Christian Byrne <cbyrne@comfy.org> 1786516912 -0700
|
||||
committer GitHub <noreply@github.com> 1786516912 -0700
|
||||
gpgsig -----BEGIN PGP SIGNATURE-----
|
||||
|
||||
wsFcBAABCAAQBQJqfBWwCRC1aQ7uu5UhlAAAeFYQAFTPrPFYL9+RVbICEsTkV/Bw
|
||||
/GAIBSYmDeijOiGnbic0+Kl7zZzTpAcGTBzKUqgVHm3ULQZ03riDkqHQg3xwDT95
|
||||
+/RjJaB1Xy8/yg1U18h2xQnuVyHlbDp2eCQer6iqQbcdHG0AWok+4uSD1TeV4u7M
|
||||
EVYhqxaJRql0ZfI/KSbjx9B9RL3HO63ccCACL0zj1GhhNMSDIJWTKYtxo5c+DFbq
|
||||
rKJdAlM8SxBV02ASGDRVxOBIfBveAg3/yLd4derGxhqXDNJug1PAfo9hDkGGiwbz
|
||||
KQWnsEm9sCX5IwXeHgLL3youI01TElUMi/mJ3Aalf05FEwaM0nYJhrp2xAOYqLAD
|
||||
dmtMpUl2fExGqXmPQrW9Shob63Ihk2PhM/n0fzCf0vzxMMZRKb+etLYqnVRjTg5u
|
||||
hK8LAEdZ3YSWZROJ+t1AvXxAsD6+d/J6HsCk09ZPr0ZHyoRi6U5yvVGuznkBSq0M
|
||||
/5surMPVcdle6Hfd7qQbRkOZ26guP8EsPbAMRG4FKyBj0Kz9mk2vAXRNUkC1zScl
|
||||
9dS0uRT9AjPKBypakDYnhJvJ5XXlJowuPRRaiPvFimG7V33FIIzbAvHdvw0v9fGu
|
||||
l6EnwH9ejVBiud6eFux4S5PGZ+/ZNG9H0sxbDlzOcbjsVKAezoTwt/vvhGOCL/K+
|
||||
poTorSZcCKqZmRcM540W
|
||||
=E915
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
|
||||
fix(i18n): rename Seedance 2.0 → 2.5 in core/1.49 node locale (#15129)
|
||||
|
||||
Mirrors #15112 (cloud/1.49). Patches the same three entries in
|
||||
`src/locales/en/nodeDefs.json` to match the backend rename in core
|
||||
(#15395, shipped in v0.31.0).
|
||||
|
||||
Nodes updated: `ByteDance2TextToVideoNode`,
|
||||
`ByteDance2FirstLastFrameNode`, `ByteDance2ReferenceNode`
|
||||
@@ -0,0 +1,2 @@
|
||||
From https://github.com/Comfy-Org/ComfyUI_frontend
|
||||
* tag v1.49.6 -> FETCH_HEAD
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"object": "2a1452fdf4cfaf9205f862fea598c4497cf511ba",
|
||||
"commit": "fe51f984206178c7dcc37bf96f665f4ff5c8d3ca",
|
||||
"tag": "v1.49.6"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
object fe51f984206178c7dcc37bf96f665f4ff5c8d3ca
|
||||
type commit
|
||||
tag v1.49.6
|
||||
tagger Christian Byrne <abolkonsky.rem@gmail.com> 1786516931 +0000
|
||||
|
||||
v1.49.6
|
||||
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,226 @@
|
||||
{
|
||||
"name": "@comfyorg/comfyui-frontend",
|
||||
"version": "1.49.6",
|
||||
"private": true,
|
||||
"description": "Official front-end implementation of ComfyUI",
|
||||
"homepage": "https://comfy.org",
|
||||
"license": "GPL-3.0-only",
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"build:cloud": "cross-env DISTRIBUTION=cloud vite build --config vite.config.mts",
|
||||
"build:desktop": "pnpm --filter @comfyorg/desktop-ui run build",
|
||||
"build-storybook": "storybook build",
|
||||
"build:types": "vite build --config vite.types.config.mts && node scripts/prepare-types.js",
|
||||
"build:analyze": "cross-env ANALYZE_BUNDLE=true pnpm build",
|
||||
"build": "pnpm typecheck && vite build --config vite.config.mts",
|
||||
"clean": "pnpm dlx rimraf dist dist-ssr coverage playwright-report blob-report test-results node_modules/.vite apps/desktop-ui/dist apps/website/dist",
|
||||
"clean:all": "pnpm clean && pnpm dlx rimraf node_modules",
|
||||
"size:collect": "node scripts/size-collect.js",
|
||||
"size:report": "node scripts/size-report.js",
|
||||
"collect-i18n": "pnpm exec playwright test --config=playwright.i18n.config.ts",
|
||||
"dev:cloud": "pnpm dev:cloud:test",
|
||||
"dev:cloud:test": "cross-env DEV_SERVER_COMFYUI_URL=https://testcloud.comfy.org/ vite --config vite.config.mts",
|
||||
"dev:cloud:staging": "cross-env DEV_SERVER_COMFYUI_URL=https://stagingcloud.comfy.org/ vite --config vite.config.mts",
|
||||
"dev:cloud:prod": "cross-env DEV_SERVER_COMFYUI_URL=https://cloud.comfy.org/ vite --config vite.config.mts",
|
||||
"dev:desktop": "pnpm --filter @comfyorg/desktop-ui run dev",
|
||||
"dev:electron": "cross-env DISTRIBUTION=desktop vite --config vite.electron.config.mts",
|
||||
"dev:no-vue": "cross-env DISABLE_VUE_PLUGINS=true vite --config vite.config.mts",
|
||||
"dev:test": "cross-env VITE_USE_LEGACY_DEFAULT_GRAPH=true vite --config vite.config.mts",
|
||||
"dev": "vite --config vite.config.mts",
|
||||
"devtools:pycheck": "python3 -m compileall -q tools/devtools",
|
||||
"fallow": "fallow",
|
||||
"fallow:audit": "fallow audit",
|
||||
"format:check": "oxfmt --check",
|
||||
"format": "oxfmt --write",
|
||||
"json-schema": "tsx scripts/generate-json-schema.ts",
|
||||
"knip:no-cache": "knip",
|
||||
"knip": "knip --cache",
|
||||
"lint:fix:no-cache": "oxlint src browser_tests --type-aware --fix && eslint src --fix",
|
||||
"lint:fix": "oxlint src browser_tests --type-aware --fix && eslint src --cache --fix",
|
||||
"lint:no-cache": "pnpm exec stylelint '{apps,packages,src}/**/*.{css,vue}' && oxlint src browser_tests --type-aware && eslint src",
|
||||
"lint:unstaged:fix": "git diff --name-only HEAD | grep -E '\\.(js|ts|vue|mts)$' | xargs -r eslint --cache --fix",
|
||||
"lint:unstaged": "git diff --name-only HEAD | grep -E '\\.(js|ts|vue|mts)$' | xargs -r eslint --cache",
|
||||
"lint": "pnpm stylelint && oxlint src browser_tests --type-aware && eslint src --cache",
|
||||
"lint:desktop": "pnpm --filter @comfyorg/desktop-ui run lint",
|
||||
"locale": "lobe-i18n locale",
|
||||
"oxlint": "oxlint src browser_tests --type-aware",
|
||||
"prepare": "pnpm exec husky || true && git config blame.ignoreRevsFile .git-blame-ignore-revs || true",
|
||||
"preview": "vite preview --config vite.config.mts",
|
||||
"storybook": "storybook dev -p 6006",
|
||||
"storybook:desktop": "pnpm --filter @comfyorg/desktop-ui run storybook",
|
||||
"stylelint:fix": "stylelint --cache --fix '{apps,packages,src}/**/*.{css,vue}'",
|
||||
"stylelint": "stylelint --cache '{apps,packages,src}/**/*.{css,vue}'",
|
||||
"test:browser": "pnpm exec playwright test",
|
||||
"test:browser:coverage": "cross-env COLLECT_COVERAGE=true pnpm test:browser",
|
||||
"test:browser:local": "cross-env PLAYWRIGHT_LOCAL=1 PLAYWRIGHT_TEST_URL=http://localhost:5173 pnpm test:browser",
|
||||
"test:coverage": "vitest run --coverage",
|
||||
"test:unit": "vitest run",
|
||||
"typecheck": "vue-tsc --noEmit",
|
||||
"typecheck:browser": "vue-tsc --project browser_tests/tsconfig.json",
|
||||
"typecheck:desktop": "pnpm --filter @comfyorg/desktop-ui run typecheck",
|
||||
"typecheck:website": "pnpm --filter @comfyorg/website run typecheck",
|
||||
"zipdist": "node scripts/zipdist.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alloc/quick-lru": "catalog:",
|
||||
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
||||
"@comfyorg/comfyui-desktop-bridge-types": "workspace:*",
|
||||
"@comfyorg/comfyui-electron-types": "catalog:",
|
||||
"@comfyorg/design-system": "workspace:*",
|
||||
"@comfyorg/fbx-exporter-three": "^1.0.1",
|
||||
"@comfyorg/object-info-parser": "workspace:*",
|
||||
"@comfyorg/registry-types": "workspace:*",
|
||||
"@comfyorg/shared-frontend-utils": "workspace:*",
|
||||
"@comfyorg/tailwind-utils": "workspace:*",
|
||||
"@customerio/cdp-analytics-browser": "catalog:",
|
||||
"@datadog/browser-rum": "catalog:",
|
||||
"@floating-ui/vue": "catalog:",
|
||||
"@formkit/auto-animate": "catalog:",
|
||||
"@iconify/json": "catalog:",
|
||||
"@primeuix/forms": "catalog:",
|
||||
"@primeuix/styled": "catalog:",
|
||||
"@primeuix/utils": "catalog:",
|
||||
"@primevue/core": "catalog:",
|
||||
"@primevue/forms": "catalog:",
|
||||
"@primevue/icons": "catalog:",
|
||||
"@primevue/themes": "catalog:",
|
||||
"@sentry/vue": "catalog:",
|
||||
"@sparkjsdev/spark": "catalog:",
|
||||
"@tanstack/vue-virtual": "catalog:",
|
||||
"@tiptap/core": "catalog:",
|
||||
"@tiptap/extension-link": "catalog:",
|
||||
"@tiptap/extension-table": "catalog:",
|
||||
"@tiptap/extension-table-cell": "catalog:",
|
||||
"@tiptap/extension-table-header": "catalog:",
|
||||
"@tiptap/extension-table-row": "catalog:",
|
||||
"@tiptap/pm": "catalog:",
|
||||
"@tiptap/starter-kit": "catalog:",
|
||||
"@vee-validate/zod": "catalog:",
|
||||
"@vueuse/core": "catalog:",
|
||||
"@vueuse/integrations": "catalog:",
|
||||
"@vueuse/router": "^14.3.0",
|
||||
"@xterm/addon-fit": "^0.10.0",
|
||||
"@xterm/addon-serialize": "^0.13.0",
|
||||
"@xterm/xterm": "^5.5.0",
|
||||
"ag-psd": "catalog:",
|
||||
"algoliasearch": "catalog:",
|
||||
"axios": "catalog:",
|
||||
"chart.js": "^4.5.0",
|
||||
"cva": "catalog:",
|
||||
"dompurify": "catalog:",
|
||||
"dotenv": "catalog:",
|
||||
"es-toolkit": "^1.39.9",
|
||||
"extendable-media-recorder": "^9.2.27",
|
||||
"extendable-media-recorder-wav-encoder": "^7.0.129",
|
||||
"firebase": "catalog:",
|
||||
"fuse.js": "7.0.0",
|
||||
"glob": "catalog:",
|
||||
"jsonata": "catalog:",
|
||||
"loglevel": "^1.9.2",
|
||||
"marked": "^15.0.11",
|
||||
"minisearch": "catalog:",
|
||||
"pinia": "catalog:",
|
||||
"posthog-js": "catalog:",
|
||||
"primeicons": "catalog:",
|
||||
"primevue": "catalog:",
|
||||
"reka-ui": "catalog:",
|
||||
"semver": "^7.7.2",
|
||||
"three": "catalog:",
|
||||
"tiptap-markdown": "^0.8.10",
|
||||
"typegpu": "catalog:",
|
||||
"vee-validate": "catalog:",
|
||||
"vue": "catalog:",
|
||||
"vue-i18n": "catalog:",
|
||||
"vue-router": "catalog:",
|
||||
"vuefire": "catalog:",
|
||||
"wwobjloader2": "catalog:",
|
||||
"yjs": "catalog:",
|
||||
"zod": "catalog:",
|
||||
"zod-validation-error": "catalog:"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@comfyorg/ingest-types": "workspace:*",
|
||||
"@eslint/js": "catalog:",
|
||||
"@intlify/eslint-plugin-vue-i18n": "catalog:",
|
||||
"@lobehub/i18n-cli": "catalog:",
|
||||
"@pinia/testing": "catalog:",
|
||||
"@playwright/test": "catalog:",
|
||||
"@sentry/vite-plugin": "catalog:",
|
||||
"@storybook/addon-docs": "catalog:",
|
||||
"@storybook/addon-mcp": "catalog:",
|
||||
"@storybook/vue3": "catalog:",
|
||||
"@storybook/vue3-vite": "catalog:",
|
||||
"@tailwindcss/vite": "catalog:",
|
||||
"@testing-library/jest-dom": "catalog:",
|
||||
"@testing-library/user-event": "catalog:",
|
||||
"@testing-library/vue": "catalog:",
|
||||
"@total-typescript/shoehorn": "catalog:",
|
||||
"@types/fs-extra": "catalog:",
|
||||
"@types/jsdom": "catalog:",
|
||||
"@types/node": "catalog:",
|
||||
"@types/semver": "catalog:",
|
||||
"@types/three": "catalog:",
|
||||
"@vitejs/plugin-vue": "catalog:",
|
||||
"@vitest/coverage-v8": "catalog:",
|
||||
"@vitest/ui": "catalog:",
|
||||
"@webgpu/types": "catalog:",
|
||||
"cross-env": "catalog:",
|
||||
"eslint": "catalog:",
|
||||
"eslint-config-prettier": "catalog:",
|
||||
"eslint-import-resolver-typescript": "catalog:",
|
||||
"eslint-plugin-better-tailwindcss": "catalog:",
|
||||
"eslint-plugin-import-x": "catalog:",
|
||||
"eslint-plugin-oxlint": "catalog:",
|
||||
"eslint-plugin-playwright": "catalog:",
|
||||
"eslint-plugin-storybook": "catalog:",
|
||||
"eslint-plugin-testing-library": "catalog:",
|
||||
"eslint-plugin-unused-imports": "catalog:",
|
||||
"eslint-plugin-vue": "catalog:",
|
||||
"fallow": "catalog:",
|
||||
"fast-check": "catalog:",
|
||||
"fs-extra": "^11.2.0",
|
||||
"globals": "catalog:",
|
||||
"happy-dom": "catalog:",
|
||||
"husky": "catalog:",
|
||||
"jiti": "catalog:",
|
||||
"jsdom": "catalog:",
|
||||
"knip": "catalog:",
|
||||
"lint-staged": "catalog:",
|
||||
"markdown-table": "catalog:",
|
||||
"mixpanel-browser": "catalog:",
|
||||
"monocart-coverage-reports": "catalog:",
|
||||
"oxfmt": "catalog:",
|
||||
"oxlint": "catalog:",
|
||||
"oxlint-tsgolint": "catalog:",
|
||||
"picocolors": "catalog:",
|
||||
"postcss-html": "catalog:",
|
||||
"pretty-bytes": "catalog:",
|
||||
"rollup-plugin-visualizer": "catalog:",
|
||||
"storybook": "catalog:",
|
||||
"stylelint": "catalog:",
|
||||
"tailwindcss": "catalog:",
|
||||
"tsx": "catalog:",
|
||||
"typescript": "catalog:",
|
||||
"typescript-eslint": "catalog:",
|
||||
"unplugin-icons": "catalog:",
|
||||
"unplugin-typegpu": "catalog:",
|
||||
"unplugin-vue-components": "catalog:",
|
||||
"uuid": "catalog:",
|
||||
"vite": "catalog:",
|
||||
"vite-plugin-dts": "catalog:",
|
||||
"vite-plugin-html": "catalog:",
|
||||
"vite-plugin-vue-devtools": "catalog:",
|
||||
"vitest": "catalog:",
|
||||
"vue-component-type-helpers": "catalog:",
|
||||
"vue-eslint-parser": "catalog:",
|
||||
"vue-tsc": "catalog:",
|
||||
"zip-dir": "^2.0.0",
|
||||
"zod-to-json-schema": "catalog:"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=25 <26",
|
||||
"pnpm": ">=11.3"
|
||||
},
|
||||
"packageManager": "pnpm@11.13.1"
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user