HEL-892: add batch140 director video-reference documentation
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_导演台_视频参考+多参图.json"
|
||||
): "5d9000e1cb2b23236cb9f12bfdefa0035ce5ae4fe41db1e8d9d9327e4d1ba0c5",
|
||||
(
|
||||
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json"
|
||||
): "e53f97d52173be5b2f455895d25f8561dd67fb68d2759a25ccfd88f91abe0e73",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,257 @@
|
||||
"Exact graph binding, all saved positions, dual scopes and closed eligibility."
|
||||
|
||||
import copy
|
||||
import hashlib
|
||||
import json
|
||||
import runpy
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
from calliope.comfyui.fixed_document import DEFINITIONS, canonical
|
||||
from calliope.comfyui.library import build_document
|
||||
from calliope.comfyui.source_reviews import review_for
|
||||
|
||||
REPO = Path(__file__).resolve().parents[2]
|
||||
OUT = REPO / ("docs/hel-892/director-video-document-evidence")
|
||||
PATH = "example_ComfyUI_workflows/4-视频生成/Minimax-h3/" + "MiniMax_H3_导演台_视频参考+多参图.json"
|
||||
RAW = (REPO / PATH).read_bytes()
|
||||
SOURCE = json.loads(RAW)
|
||||
REVIEW = review_for(PATH, hashlib.sha1(RAW).hexdigest())
|
||||
BLOCK = REVIEW["fixed_version_document"]
|
||||
|
||||
|
||||
def pointer(obj, p):
|
||||
for x in p.strip("/").split("/"):
|
||||
obj = obj[int(x)] if isinstance(obj, list) else obj[x]
|
||||
return obj
|
||||
|
||||
|
||||
def doc(s=SOURCE, r=REVIEW):
|
||||
return build_document(PATH, s, None, None, [], r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
def test_each_saved_position_and_citation(f):
|
||||
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
||||
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
||||
assert (
|
||||
canonical(pointer(SOURCE, f["named_pointer"]))
|
||||
== canonical(f["named_value"])
|
||||
== canonical(f["value"])
|
||||
)
|
||||
assert all(
|
||||
f[k] for k in ["label", "unit", "limits", "schema_default", "effect", "execution_note"]
|
||||
)
|
||||
if f["input_pointer"].startswith("/"):
|
||||
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
||||
for i in f["evidence"]:
|
||||
e = BLOCK["sources"][i]
|
||||
raw = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
if raw:
|
||||
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
|
||||
else:
|
||||
assert e["lines"] == [0, 0] and "零字节" in e["claim"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["source", "text", "named"])
|
||||
def test_caller_rehash_cannot_expand_trust(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
selected_pointer = f["named_pointer"] if variant == "named" else f["pointer"]
|
||||
p, _, key = selected_pointer.rpartition("/")
|
||||
parent = pointer(s, p)
|
||||
parent[int(key) if isinstance(parent, list) else key] = "forged"
|
||||
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
|
||||
assert not doc(s, r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("key", ["extra", "links", "id", "groups", "version", "definitions"])
|
||||
def test_whole_graph_mutations_fail_closed(key):
|
||||
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
source[key] = {"subgraphs": []} if key == "definitions" else "forged"
|
||||
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
|
||||
canonical(source)
|
||||
).hexdigest()
|
||||
assert not doc(source, review)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("key", ["mode", "properties", "inputs", "outputs"])
|
||||
@pytest.mark.parametrize("index", [0, 1, 4])
|
||||
def test_node_identity_and_state_fail_closed(key, index):
|
||||
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
source["nodes"][index][key] = "forged"
|
||||
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
|
||||
canonical(source)
|
||||
).hexdigest()
|
||||
assert not doc(source, review)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
def test_path_and_source_binding_cannot_be_extended():
|
||||
from calliope.comfyui.fixed_document import fixed_document_for
|
||||
|
||||
assert fixed_document_for(PATH + "forged", SOURCE, REVIEW) is None
|
||||
review = copy.deepcopy(REVIEW)
|
||||
review["source_sha"] = "forged"
|
||||
assert not doc(SOURCE, review)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("suffix", [b"\n", b" ", b"\t"])
|
||||
def test_original_byte_identity_rejects_equivalent_json(suffix):
|
||||
altered = RAW + suffix
|
||||
assert json.loads(altered) == SOURCE
|
||||
assert review_for(PATH, hashlib.sha1(altered).hexdigest()) is None
|
||||
|
||||
|
||||
@pytest.mark.parametrize("key", ["user_overview", "source_sha256", "sources", "flow", "counts"])
|
||||
def test_editorial_or_citation_rehash_cannot_replace_code_owned_pin(key):
|
||||
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
review["fixed_version_document"][key] = "forged"
|
||||
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
|
||||
canonical(source)
|
||||
).hexdigest()
|
||||
assert not doc(source, review)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("key", ["properties", "inputs", "outputs", "mode"])
|
||||
@pytest.mark.parametrize(
|
||||
"nid",
|
||||
[
|
||||
213,
|
||||
263,
|
||||
270,
|
||||
221,
|
||||
222,
|
||||
223,
|
||||
224,
|
||||
225,
|
||||
226,
|
||||
229,
|
||||
236,
|
||||
237,
|
||||
238,
|
||||
243,
|
||||
258,
|
||||
260,
|
||||
261,
|
||||
272,
|
||||
276,
|
||||
262,
|
||||
227,
|
||||
281,
|
||||
282,
|
||||
],
|
||||
)
|
||||
def test_control_identity_and_state_forgery_fail_closed(nid, key):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
next(n for n in s["nodes"] if n["id"] == nid)[key] = "forged"
|
||||
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
|
||||
assert not doc(s, r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
def test_exact_build_and_qualification():
|
||||
assert canonical(runpy.run_path(str(OUT / "build_definition.py"))["build"]()) == canonical(
|
||||
BLOCK
|
||||
)
|
||||
assert PATH in DEFINITIONS and len(DEFINITIONS) >= 121 and doc()["fixed_version"]["matched"]
|
||||
assert BLOCK["counts"]["saved_fields"] == 97 and len(BLOCK["comments"]) == 0
|
||||
assert len(BLOCK["boundaries"]) == 0 and len(BLOCK["zero_saved_nodes"]) == 8
|
||||
assert not doc()["status"]["doc_done"] and not doc()["status"]["exec_verified"]
|
||||
sys.path.insert(0, str(OUT))
|
||||
try:
|
||||
runpy.run_path(str(OUT / "verify_sources.py"))["main"]()
|
||||
finally:
|
||||
sys.path.remove(str(OUT))
|
||||
|
||||
|
||||
def test_raw_source_version_mismatch_is_fail_closed():
|
||||
source, review = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
source["nodes"][1]["properties"]["ver"] = "other-plugin-version"
|
||||
review["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(
|
||||
canonical(source)
|
||||
).hexdigest()
|
||||
assert not doc(source, review)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
def test_old_reviews_and_qualification_are_unchanged():
|
||||
import subprocess
|
||||
|
||||
name = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
previous = json.loads(
|
||||
subprocess.check_output(
|
||||
["git", "show", "48b5771022bd2cbdfa17c876894ca6134fcefe10:" + 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) == 120 and sum(len(b["fields"]) for b in old) == 6967
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"nid",
|
||||
[
|
||||
231,
|
||||
233,
|
||||
235,
|
||||
239,
|
||||
240,
|
||||
241,
|
||||
242,
|
||||
244,
|
||||
249,
|
||||
250,
|
||||
251,
|
||||
253,
|
||||
254,
|
||||
255,
|
||||
256,
|
||||
259,
|
||||
264,
|
||||
265,
|
||||
266,
|
||||
267,
|
||||
268,
|
||||
269,
|
||||
271,
|
||||
273,
|
||||
274,
|
||||
275,
|
||||
280,
|
||||
257,
|
||||
247,
|
||||
248,
|
||||
279,
|
||||
278,
|
||||
281,
|
||||
282,
|
||||
],
|
||||
)
|
||||
def test_unversioned_identity_is_unknown(nid):
|
||||
b = next(e for e in BLOCK["node_bindings"] if e["node_id"] == str(nid))
|
||||
assert b["source_id"] == "unknown" and not b["candidates"]
|
||||
|
||||
|
||||
def test_full_state_and_interface_conflicts():
|
||||
ns = {n["id"]: n for n in SOURCE["nodes"]}
|
||||
raw = ns[213]["widgets_values"][3]
|
||||
assert (
|
||||
len(raw) == 35148
|
||||
and hashlib.sha256(raw.encode()).hexdigest()
|
||||
== "8caa7d545534a1af3656e71608699eada1e78c076f8d545512afc8ebd88030db"
|
||||
)
|
||||
assert ns[272]["widgets_values"] == [False] and ns[229]["mode"] == 4
|
||||
assert ns[276]["widgets_values"] == [0, "randomize", None] and doc()["source_notes"] == []
|
||||
assert all(
|
||||
e["candidates"] for e in BLOCK["node_bindings"] if e["node_id"] in ["221", "222", "223"]
|
||||
)
|
||||
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,16 @@
|
||||
{
|
||||
"batch": 140,
|
||||
"corrections": [
|
||||
{
|
||||
"finding": "生成脚本字段meta多一个括号导致SyntaxError,后续因editorial文件尚不存在重建失败",
|
||||
"evidence_kind": "工具输出事实摘录,不冒充保存的原始日志",
|
||||
"action": "仅修本轮生成辅助脚本,首次正式来源检查与三正式检查均通过"
|
||||
},
|
||||
{
|
||||
"finding": "resolution同时用于轨道枚举与DA3像素分辨率",
|
||||
"action": "浏览前改中性准确标签,按最终pin重跑正式检查/包/确定性/旧库保护"
|
||||
}
|
||||
],
|
||||
"prior_history": "139 audit-corrections及原失败日志与历史闭包保持",
|
||||
"upstream_executed": false
|
||||
}
|
||||
@@ -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,143 @@
|
||||
{
|
||||
"fixed_count": 371,
|
||||
"fixed_paths": {
|
||||
"/api/workflows": 3,
|
||||
"/api/workflows/120": 4,
|
||||
"/api/workflows/113": 4,
|
||||
"/api/workflows/115": 3,
|
||||
"/api/workflows/110": 3,
|
||||
"/api/workflows/130": 3,
|
||||
"/api/workflows/127": 3,
|
||||
"/api/workflows/124": 3,
|
||||
"/api/workflows/125": 3,
|
||||
"/api/workflows/126": 3,
|
||||
"/api/workflows/109": 3,
|
||||
"/api/workflows/107": 3,
|
||||
"/api/workflows/108": 3,
|
||||
"/api/workflows/132": 3,
|
||||
"/api/workflows/131": 3,
|
||||
"/api/workflows/133": 3,
|
||||
"/api/workflows/106": 3,
|
||||
"/api/workflows/63": 3,
|
||||
"/api/workflows/59": 3,
|
||||
"/api/workflows/65": 3,
|
||||
"/api/workflows/60": 3,
|
||||
"/api/workflows/61": 3,
|
||||
"/api/workflows/66": 3,
|
||||
"/api/workflows/71": 3,
|
||||
"/api/workflows/69": 3,
|
||||
"/api/workflows/68": 3,
|
||||
"/api/workflows/67": 3,
|
||||
"/api/workflows/43": 3,
|
||||
"/api/workflows/95": 3,
|
||||
"/api/workflows/88": 3,
|
||||
"/api/workflows/89": 3,
|
||||
"/api/workflows/90": 3,
|
||||
"/api/workflows/96": 3,
|
||||
"/api/workflows/91": 3,
|
||||
"/api/workflows/92": 3,
|
||||
"/api/workflows/102": 3,
|
||||
"/api/workflows/93": 3,
|
||||
"/api/workflows/100": 3,
|
||||
"/api/workflows/98": 3,
|
||||
"/api/workflows/99": 3,
|
||||
"/api/workflows/97": 3,
|
||||
"/api/workflows/101": 3,
|
||||
"/api/workflows/105": 3,
|
||||
"/api/workflows/104": 3,
|
||||
"/api/workflows/103": 3,
|
||||
"/api/workflows/94": 3,
|
||||
"/api/workflows/87": 3,
|
||||
"/api/workflows/86": 3,
|
||||
"/api/workflows/85": 3,
|
||||
"/api/workflows/84": 3,
|
||||
"/api/workflows/74": 3,
|
||||
"/api/workflows/73": 3,
|
||||
"/api/workflows/72": 3,
|
||||
"/api/workflows/83": 3,
|
||||
"/api/workflows/82": 3,
|
||||
"/api/workflows/81": 3,
|
||||
"/api/workflows/80": 3,
|
||||
"/api/workflows/79": 3,
|
||||
"/api/workflows/78": 3,
|
||||
"/api/workflows/77": 3,
|
||||
"/api/workflows/76": 3,
|
||||
"/api/workflows/75": 3,
|
||||
"/api/workflows/54": 3,
|
||||
"/api/workflows/55": 3,
|
||||
"/api/workflows/56": 3,
|
||||
"/api/workflows/58": 3,
|
||||
"/api/workflows/57": 3,
|
||||
"/api/workflows/44": 3,
|
||||
"/api/workflows/53": 3,
|
||||
"/api/workflows/52": 3,
|
||||
"/api/workflows/51": 3,
|
||||
"/api/workflows/50": 3,
|
||||
"/api/workflows/49": 3,
|
||||
"/api/workflows/47": 3,
|
||||
"/api/workflows/48": 3,
|
||||
"/api/workflows/46": 3,
|
||||
"/api/workflows/45": 3,
|
||||
"/api/workflows/42": 3,
|
||||
"/api/workflows/41": 3,
|
||||
"/api/workflows/40": 3,
|
||||
"/api/workflows/39": 3,
|
||||
"/api/workflows/38": 3,
|
||||
"/api/workflows/37": 3,
|
||||
"/api/workflows/18": 3,
|
||||
"/api/workflows/20": 3,
|
||||
"/api/workflows/30": 3,
|
||||
"/api/workflows/32": 3,
|
||||
"/api/workflows/34": 3,
|
||||
"/api/workflows/33": 3,
|
||||
"/api/workflows/31": 3,
|
||||
"/api/workflows/29": 3,
|
||||
"/api/workflows/28": 3,
|
||||
"/api/workflows/27": 3,
|
||||
"/api/workflows/26": 3,
|
||||
"/api/workflows/17": 3,
|
||||
"/api/workflows/4": 3,
|
||||
"/api/workflows/15": 3,
|
||||
"/api/workflows/11": 3,
|
||||
"/api/workflows/3": 3,
|
||||
"/api/workflows/9": 3,
|
||||
"/api/workflows/16": 3,
|
||||
"/api/workflows/10": 3,
|
||||
"/api/workflows/23": 3,
|
||||
"/api/workflows/8": 3,
|
||||
"/api/workflows/22": 3,
|
||||
"/api/workflows/5": 3,
|
||||
"/api/workflows/6": 3,
|
||||
"/api/workflows/7": 3,
|
||||
"/api/workflows/19": 3,
|
||||
"/api/workflows/13": 3,
|
||||
"/api/workflows/12": 3,
|
||||
"/api/workflows/64": 3,
|
||||
"/api/workflows/62": 3,
|
||||
"/api/workflows/70": 3,
|
||||
"/api/workflows/1": 3,
|
||||
"/api/workflows/36": 3,
|
||||
"/api/workflows/35": 3,
|
||||
"/api/workflows/2": 3,
|
||||
"/api/workflows/25": 3,
|
||||
"/api/workflows/24": 3,
|
||||
"/api/workflows/21": 3,
|
||||
"/api/workflows/14": 3,
|
||||
"/api/settings": 1,
|
||||
"/api/workflows/156": 1,
|
||||
"/api/workflows/157": 1
|
||||
},
|
||||
"polling_count": 38,
|
||||
"polling_paths": {
|
||||
"/api/jobs": 38
|
||||
},
|
||||
"readiness_gets": 1,
|
||||
"detail_fixture_intercepts": 6,
|
||||
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": true,
|
||||
"polling_snapshot_delta": {
|
||||
"/api/jobs": 0,
|
||||
"/api/events": 0
|
||||
},
|
||||
"polling_snapshot_tolerance": 1,
|
||||
"polling_acceptance": "仅允许后端比浏览末次快照多0或1次/api/jobs;/api/events与所有固定路径零差额"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
........................................................................ [ 12%]
|
||||
........................................................................ [ 25%]
|
||||
........................................................................ [ 38%]
|
||||
........................................................................ [ 51%]
|
||||
........................................................................ [ 64%]
|
||||
........................................................................ [ 77%]
|
||||
........................................................................ [ 90%]
|
||||
...................................................... [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
|
||||
558 passed, 1 warning in 9.83s
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,728 @@
|
||||
{
|
||||
"base": "48b5771022bd2cbdfa17c876894ca6134fcefe10",
|
||||
"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": 120,
|
||||
"drawer_css_unchanged": true,
|
||||
"drawer_whole_file_unchanged": true,
|
||||
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
|
||||
"conversion_rerun": false,
|
||||
"profiles_28_candidates_9_diffs_6": "unchanged"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,585 @@
|
||||
"Static MiniMax H3 GH multi-stage reference; no upstream execution."
|
||||
|
||||
import ast
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
REF = OUT.parent / "director-video-reference"
|
||||
PATHS = ["example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json"]
|
||||
HOST = "no-subgraph"
|
||||
LAYOUTS = {
|
||||
"LoadDA3Model": ["model_name", "weight_dtype"],
|
||||
"ImageResizeKJv2": [
|
||||
"width",
|
||||
"height",
|
||||
"upscale_method",
|
||||
"keep_proportion",
|
||||
"pad_color",
|
||||
"crop_position",
|
||||
"divisible_by",
|
||||
"device",
|
||||
],
|
||||
"SetNode": ["Constant"],
|
||||
"UniBlockSwap": ["num_blocks"],
|
||||
"easy ifElse": ["boolean"],
|
||||
"GetNode": ["Constant"],
|
||||
"KSampler": [
|
||||
"seed",
|
||||
"control_after_generate",
|
||||
"steps",
|
||||
"cfg",
|
||||
"sampler_name",
|
||||
"scheduler",
|
||||
"denoise",
|
||||
],
|
||||
"PathchSageAttentionKJ": ["sage_attention", "allow_compile"],
|
||||
"easy minimaxH3ToVideo": ["prompt", "mode", "width", "height", "length", "ref_image_size"],
|
||||
"PrimitiveBoolean": ["value"],
|
||||
"easy seed": ["seed", "control_after_generate", "🎲 Manual Random Seed"],
|
||||
"easy multiTrackEditor": ["resolution", "resolution.resize_method", "format", "track_data"],
|
||||
"easy multiTrackTaskOutput": ["task_index", "prompt_format"],
|
||||
"easy saveVideo": [
|
||||
"input_mode",
|
||||
"input_mode.fps",
|
||||
"output_mode",
|
||||
"output_mode.save_metadata",
|
||||
"filename_prefix",
|
||||
],
|
||||
"DA3Inference": ["resolution", "resize_method", "mode"],
|
||||
"DA3Render": ["output", "output.normalization", "output.apply_sky_clip"],
|
||||
"CreateVideo": ["fps", "bit_depth", "color_space", "codec"],
|
||||
"SaveVideo": ["filename_prefix", "format", "format.codec", "codec"],
|
||||
"UNETLoader": ["unet_name", "weight_dtype"],
|
||||
"CLIPLoader": ["clip_name", "type", "device"],
|
||||
"VAELoader": ["vae_name"],
|
||||
"LoraLoaderModelOnly": ["lora_name", "strength_model"],
|
||||
}
|
||||
LABELS = {
|
||||
"num_blocks": "模型块迁移数量(-1条件另核)",
|
||||
"boolean": "分支选择缓存(受外线覆盖)",
|
||||
"Constant": "别名名称保存(版本未知)",
|
||||
"seed": "独立种子缓存",
|
||||
"control_after_generate": "种子前端控制保存",
|
||||
"steps": "采样步数保存",
|
||||
"cfg": "CFG保存",
|
||||
"sampler_name": "采样算法保存",
|
||||
"scheduler": "调度器保存",
|
||||
"denoise": "降噪保存",
|
||||
"sage_attention": "Sage实现选择保存",
|
||||
"allow_compile": "编译允许保存",
|
||||
"prompt": "完整提示文本缓存",
|
||||
"mode": "模式选择保存(外线覆盖按实例核对)",
|
||||
"width": "宽度保存缓存",
|
||||
"height": "高度保存缓存",
|
||||
"length": "帧长保存缓存",
|
||||
"ref_image_size": "参考尺寸策略",
|
||||
"🎲 Manual Random Seed": "手动随机种子辅助null",
|
||||
"filename_prefix": "完整保存前缀",
|
||||
"format": "容器/轨道格式保存",
|
||||
"codec": "编码器选择保存",
|
||||
"fps": "fps保存缓存(受外线覆盖)",
|
||||
"bit_depth": "图像位深保存",
|
||||
"task_index": "任务索引保存",
|
||||
"prompt_format": "提示格式保存(非本次API请求)",
|
||||
"string": "查找源字符串",
|
||||
"substring": "待查子串缓存(受外线覆盖)",
|
||||
"case_sensitive": "大小写匹配保存",
|
||||
"expression": "完整数学表达式(不求值)",
|
||||
"start_index": "起始行索引缓存(受外线覆盖)",
|
||||
"max_rows": "最大行数保存",
|
||||
"remove_empty_lines": "空行开关源字符串/BOOLEAN差异",
|
||||
"get values from COMBO link": "额外COMBO前端辅助空串",
|
||||
"upscale_method": "缩放算法选择",
|
||||
"keep_proportion": "比例策略保存",
|
||||
"pad_color": "完整填充颜色字符串",
|
||||
"crop_position": "裁剪位置保存",
|
||||
"divisible_by": "尺寸对齐倍数",
|
||||
"device": "设备选择保存",
|
||||
"value": "布尔开关原保存值",
|
||||
"resolution": "分辨率保存(含义按节点接口核对)",
|
||||
"resolution.resize_method": "轨道尺寸处理保存",
|
||||
"track_data": "完整轨道状态原字符串(仅文本)",
|
||||
"unet_name": "完整扩散模型文件引用",
|
||||
"weight_dtype": "权重dtype选择",
|
||||
"clip_name": "完整文本模型文件引用",
|
||||
"type": "文本模型类型保存",
|
||||
"vae_name": "完整VAE文件引用",
|
||||
"lora_name": "完整普通LoRA文件引用",
|
||||
"strength_model": "模型LoRA强度保存",
|
||||
}
|
||||
|
||||
|
||||
def canonical(v):
|
||||
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
|
||||
|
||||
def build(index=0):
|
||||
raw = (REPO / PATHS[index]).read_bytes()
|
||||
g = json.loads(raw)
|
||||
editorial = json.loads((OUT / "editorial.json").read_bytes())
|
||||
scopes = [("", "", g)]
|
||||
nodes = [
|
||||
((pre + ":" if pre else "") + str(n["id"]), ptr + f"/nodes/{i}", pre or "root", n)
|
||||
for (pre, ptr, graph) in scopes
|
||||
for (i, n) in enumerate(graph["nodes"])
|
||||
]
|
||||
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
sources = []
|
||||
trees = {}
|
||||
for e in manifest:
|
||||
data = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
sources.append(
|
||||
dict(
|
||||
e,
|
||||
local_file="../director-video-reference/" + e["local_file"],
|
||||
lines=[1, len(data.decode().splitlines())],
|
||||
claim="本图准确声明来源文本/元数据;Git与许可取得状态按各记录分列,未执行,代码许可不等于模型许可",
|
||||
)
|
||||
)
|
||||
if e["file"].endswith(".py"):
|
||||
trees[e["local_file"]] = ast.parse(data)
|
||||
bindings = []
|
||||
prose = json.loads((OUT / "prose.json").read_bytes())
|
||||
refs = {}
|
||||
schemas = {}
|
||||
for nid, ptr, scope, n in nodes:
|
||||
cls = n["type"]
|
||||
if cls in ["Note", "MarkdownNote"]:
|
||||
continue
|
||||
symbol = {
|
||||
"easy ifElse": "IfElse",
|
||||
"easy saveVideo": "EasySaveVideo",
|
||||
"easy cleanGpuUsed": "cleanGPUUsed",
|
||||
"easy matchLine": "MatchLine",
|
||||
"SimpleMathDual+": "SimpleMathDual",
|
||||
"easy seed": "easySeed",
|
||||
"easy promptLine": "promptLine",
|
||||
"easy minimaxH3ToVideo": "EasyMiniMaxH3ToVideo",
|
||||
"easy multiTrackInfoOutput": "MultiTrackInfoOutput",
|
||||
"easy multiTrackTaskOutput": "MultiTrackTaskOutput",
|
||||
"easy multiTrackEditor": "MultiTrackEditor",
|
||||
"easy anythingIndexSwitch": "anythingIndexSwitch",
|
||||
"PrimitiveStringMultiline": "StringMultiline",
|
||||
"CR Prompt Text": "CR_PromptText",
|
||||
"VHS_VideoCombine": "VideoCombine",
|
||||
"LayerUtility: ImageScaleByAspectRatio V2": "ImageScaleByAspectRatioV2",
|
||||
"PrimitiveFloat": "Float",
|
||||
"PrimitiveInt": "Int",
|
||||
"PrimitiveBoolean": "Boolean",
|
||||
"ComfyMathExpression": "MathExpressionNode",
|
||||
"ShowText|pysssss": "ShowText",
|
||||
"Image Comparer (rgthree)": "RgthreeImageComparer",
|
||||
"ComfySwitchNode": "SwitchNode",
|
||||
"Images to RGB": "WAS_Images_To_RGB",
|
||||
"忽略多组孤海": "IgnoreGroupsGuHai",
|
||||
"GH_ImageVideoComparer": "GHImageVideoComparer",
|
||||
}.get(cls, cls)
|
||||
version = n.get("properties", {}).get("ver", "未知")
|
||||
core_id = {
|
||||
"0.29.0": "core0290",
|
||||
"0.30.2": "core0302",
|
||||
"fcfa42394d6347b4f04295041afdd7d92ba78c12": "mediaeditor",
|
||||
"829a7a6030b151cb6ac091595570eb3a3d8c4512": "mediaout",
|
||||
"9d0282d4e19ef2718c084edf55864dfb4533032f": "media85",
|
||||
"595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7": "easy",
|
||||
"4172da4e2edc03951ffead12ca1c20a0028d3cb0": "swap",
|
||||
"35e5956193769d18a13136cdedb73a36a05c73e6": "kjpatch",
|
||||
"eb356e6cd5dedac54bb84bc54b8da8f185fa8472": "kjresize",
|
||||
}.get(version, "unknown")
|
||||
if cls == HOST:
|
||||
core_id = "subgraph-definition"
|
||||
candidates = []
|
||||
rs = []
|
||||
for i, e in enumerate(manifest):
|
||||
if e["id"] != core_id or not e["file"].endswith(".py"):
|
||||
continue
|
||||
if (
|
||||
cls in ["PrimitiveInt", "PrimitiveFloat", "PrimitiveBoolean"]
|
||||
and e["file"] != "comfy_extras/nodes_primitive.py"
|
||||
):
|
||||
continue
|
||||
if cls == "KSampler" and e["file"] != "nodes.py":
|
||||
continue
|
||||
if cls == "PreviewAudio" and e["file"] != "comfy_extras/nodes_audio.py":
|
||||
continue
|
||||
for c in trees[e["local_file"]].body:
|
||||
if not isinstance(c, ast.ClassDef) or c.name != symbol:
|
||||
continue
|
||||
sources.append(
|
||||
dict(
|
||||
sources[i],
|
||||
lines=[c.lineno, c.end_lineno],
|
||||
claim=f"本节点准确{core_id}声明类实现;不等于目标安装或宿主恢复认证",
|
||||
)
|
||||
)
|
||||
rs += [i, len(sources) - 1]
|
||||
candidates.append(dict(source=i, symbol=symbol, lines=[c.lineno, c.end_lineno]))
|
||||
if cls in ["LoraLoaderModelOnly", "LoraLoaderBypassModelOnly"]:
|
||||
parent = next(
|
||||
p
|
||||
for p in trees[e["local_file"]].body
|
||||
if isinstance(p, ast.ClassDef)
|
||||
and p.name
|
||||
== (
|
||||
"LoraLoaderBypass"
|
||||
if cls == "LoraLoaderBypassModelOnly"
|
||||
else "LoraLoader"
|
||||
)
|
||||
)
|
||||
sources.append(
|
||||
dict(
|
||||
sources[i],
|
||||
lines=[parent.lineno, parent.end_lineno],
|
||||
claim=f"本节点准确{core_id}父类及加载条件;只静态读取",
|
||||
)
|
||||
)
|
||||
rs.append(len(sources) - 1)
|
||||
for d in ast.walk(c):
|
||||
if isinstance(d, ast.Dict):
|
||||
for k, v in zip(d.keys, d.values, strict=True):
|
||||
if (
|
||||
isinstance(k, ast.Constant)
|
||||
and isinstance(k.value, str)
|
||||
and isinstance(v, ast.Tuple)
|
||||
):
|
||||
default = "无显式default;动态枚举/方法条件只作参考"
|
||||
for opts in v.elts[1:]:
|
||||
if isinstance(opts, ast.Dict):
|
||||
for dk, dv in zip(opts.keys, opts.values, strict=True):
|
||||
if (
|
||||
isinstance(dk, ast.Constant)
|
||||
and dk.value == "default"
|
||||
):
|
||||
default = ast.unparse(dv)
|
||||
schemas[nid, k.value] = (default, ast.unparse(v))
|
||||
if (
|
||||
isinstance(d, ast.Call)
|
||||
and isinstance(d.func, ast.Attribute)
|
||||
and (d.func.attr == "Input")
|
||||
):
|
||||
arg = (
|
||||
d.args[0]
|
||||
if d.args
|
||||
else next((k.value for k in d.keywords if k.arg == "id"), None)
|
||||
)
|
||||
if not isinstance(arg, ast.Constant) or not isinstance(arg.value, str):
|
||||
continue
|
||||
name = arg.value
|
||||
if cls == "TextGenerate" and name in [
|
||||
"temperature",
|
||||
"top_k",
|
||||
"top_p",
|
||||
"min_p",
|
||||
"repetition_penalty",
|
||||
"seed",
|
||||
"presence_penalty",
|
||||
]:
|
||||
name = "sampling_mode." + name
|
||||
default = next(
|
||||
(ast.unparse(k.value) for k in d.keywords if k.arg == "default"),
|
||||
"无显式default,不从execute函数缺省补值",
|
||||
)
|
||||
if cls == "SaveImageAdvanced" and name in [
|
||||
"bit_depth",
|
||||
"input_color_space",
|
||||
]:
|
||||
# Keep the first exact PNG DynamicCombo branch.
|
||||
schemas.setdefault((nid, "format." + name), (default, ast.unparse(d)))
|
||||
else:
|
||||
schemas[nid, name] = (default, ast.unparse(d))
|
||||
assert len(candidates) <= 1, (nid, candidates)
|
||||
if not candidates and core_id not in ["unknown", "subgraph-definition"]:
|
||||
core_id = "unresolved-" + core_id
|
||||
bindings.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
class_type=cls,
|
||||
source_version=version,
|
||||
source_id=core_id,
|
||||
candidates=candidates,
|
||||
)
|
||||
)
|
||||
if core_id.replace("unresolved-", "") in [
|
||||
"goohai",
|
||||
"rgthree",
|
||||
"showtext",
|
||||
"ghgroup",
|
||||
"ghcompare",
|
||||
"was",
|
||||
"vosr",
|
||||
]:
|
||||
rs += [
|
||||
i for i, e in enumerate(manifest) if e["id"] == core_id.replace("unresolved-", "")
|
||||
]
|
||||
if cls == "KSampler":
|
||||
rs += [
|
||||
i
|
||||
for i, e in enumerate(manifest)
|
||||
if e["id"] == core_id and e["file"] == "comfy/samplers.py"
|
||||
]
|
||||
if cls in [
|
||||
"KSampler",
|
||||
"LoadImage",
|
||||
"ShowText|pysssss",
|
||||
"Image Comparer (rgthree)",
|
||||
"忽略多组孤海",
|
||||
]:
|
||||
rs += [i for i, e in enumerate(manifest) if e["id"] in ["frontend", "litegraph"]]
|
||||
if cls == "QwenImage21Cache":
|
||||
rs += [
|
||||
i
|
||||
for i, e in enumerate(manifest)
|
||||
if e["id"] == core_id
|
||||
and e["file"].startswith(("comfy/ldm/qwen_image21/", "comfy_api/latest/"))
|
||||
]
|
||||
rs += [i for i, e in enumerate(manifest) if e["id"] == core_id.removeprefix("unresolved-")]
|
||||
rs += [i for i, e in enumerate(manifest) if e["id"] == "frontend"]
|
||||
refs[nid] = list(dict.fromkeys(rs))
|
||||
fields = []
|
||||
comments = []
|
||||
flow = []
|
||||
empty = []
|
||||
for nid, ptr, scope, n in nodes:
|
||||
cls = n["type"]
|
||||
if cls in ["Note", "MarkdownNote"]:
|
||||
comments.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
pointer=ptr + "/widgets_values/0",
|
||||
text=n["widgets_values"][0],
|
||||
meaning=prose["notes"][nid],
|
||||
named_pointer=ptr + "/widgets_values_named/text",
|
||||
named_value=n["widgets_values_named"]["text"],
|
||||
evidence=[],
|
||||
)
|
||||
)
|
||||
flow.append(nid + " 原注释节点 " + json.dumps(n, ensure_ascii=False))
|
||||
continue
|
||||
core_id = next(b["source_id"] for b in bindings if b["node_id"] == nid)
|
||||
effect = (
|
||||
editorial[nid]
|
||||
+ " 原mode="
|
||||
+ str(n["mode"])
|
||||
+ (
|
||||
"(旁路保存态,不模拟穿透或执行)。"
|
||||
if n["mode"] == 4
|
||||
else "(mode2禁用/忽略保存态,不模拟组控制或执行)。"
|
||||
if n["mode"] == 2
|
||||
else "(活动保存态,不认证执行)。"
|
||||
)
|
||||
)
|
||||
flow += [
|
||||
effect,
|
||||
nid + " 原属性 " + json.dumps(n.get("properties", {}), ensure_ascii=False),
|
||||
nid
|
||||
+ " 原输入/输出 "
|
||||
+ json.dumps({k: n[k] for k in ["inputs", "outputs"]}, ensure_ascii=False),
|
||||
nid
|
||||
+ " 原具名保存 "
|
||||
+ json.dumps(n.get("widgets_values_named", "missing"), ensure_ascii=False),
|
||||
nid
|
||||
+ " 原其它属性 "
|
||||
+ json.dumps(
|
||||
{
|
||||
k: v
|
||||
for k, v in n.items()
|
||||
if k
|
||||
not in [
|
||||
"inputs",
|
||||
"outputs",
|
||||
"properties",
|
||||
"widgets_values",
|
||||
"widgets_values_named",
|
||||
]
|
||||
},
|
||||
ensure_ascii=False,
|
||||
),
|
||||
]
|
||||
if not n.get("widgets_values"):
|
||||
empty.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
class_type=cls,
|
||||
pointer=ptr,
|
||||
scope=scope,
|
||||
state="missing" if "widgets_values" not in n else "empty_list",
|
||||
effect=effect,
|
||||
named_state="empty_object"
|
||||
if n.get("widgets_values_named") == {}
|
||||
else "missing",
|
||||
)
|
||||
)
|
||||
continue
|
||||
for j, (name, value) in enumerate(
|
||||
n["widgets_values"].items()
|
||||
if isinstance(n["widgets_values"], dict)
|
||||
else zip(LAYOUTS[cls], n["widgets_values"], strict=True)
|
||||
):
|
||||
saved_key = (
|
||||
name.replace("~", "~0").replace("/", "~1")
|
||||
if isinstance(n["widgets_values"], dict)
|
||||
else str(j)
|
||||
)
|
||||
found = [i for (i, x) in enumerate(n["inputs"]) if x["name"] == name]
|
||||
inp = found[0] if len(found) == 1 else None
|
||||
linked = inp is not None and n["inputs"][inp].get("link") is not None
|
||||
boundary = cls == HOST
|
||||
aux = name in [
|
||||
"control_after_generate",
|
||||
"audioUI",
|
||||
"preview",
|
||||
"🎲 Manual Random Seed",
|
||||
"get values from COMBO link",
|
||||
"fixed",
|
||||
"upload",
|
||||
"text_0",
|
||||
"rgthree_comparer",
|
||||
"guhai_ig",
|
||||
"videopreview",
|
||||
]
|
||||
(default, limits) = schemas.get(
|
||||
(nid, name),
|
||||
(
|
||||
"未知:本准确类未给出该保存字段的独立schema默认",
|
||||
"源保存位置与准确schema字段缺口分列,不认证后端执行映射",
|
||||
),
|
||||
)
|
||||
unit = "无准确物理单位时只按原接口文本;源JSON类型与schema分列,不计算实际结果"
|
||||
meta = prose.get("field_meta", {}).get(cls, {}).get(name, {})
|
||||
default = meta.get("default", default)
|
||||
limits = meta.get("limits", limits)
|
||||
unit = meta.get("unit", unit)
|
||||
if name in ["control_after_generate", "upload"]:
|
||||
default = "前端辅助原值;准确frontend1.45.20条件参考,不当后端schema默认"
|
||||
limits = "前端保存/恢复条件与本节点后端输入分开,不执行随机或上传"
|
||||
unit = "前端辅助原JSON保存值,无物理单位"
|
||||
if core_id == "unknown" or core_id.startswith("unresolved-"):
|
||||
default = "未知:未核准本声明准确类/schema,不由其它版本补实"
|
||||
limits = "仅源保存/输入候选,准确默认/范围/算法/副作用未知"
|
||||
unit = "未知:准确声明类/schema未核"
|
||||
named_key = name
|
||||
named_present = named_key in n["widgets_values_named"]
|
||||
named = n["widgets_values_named"].get(named_key)
|
||||
display_effect = effect
|
||||
if named_present and canonical(value) != canonical(named):
|
||||
display_effect += "\n具名保存完整形态(与位置历史分列):" + json.dumps(
|
||||
named, ensure_ascii=False, indent=2
|
||||
)
|
||||
fields.append(
|
||||
dict(
|
||||
node_id=nid,
|
||||
definition_node_id=str(n["id"]),
|
||||
scope=scope,
|
||||
class_type=cls,
|
||||
field=name,
|
||||
label=(
|
||||
"完整多行文本保存"
|
||||
if cls == "PrimitiveStringMultiline" and name == "value"
|
||||
else LABELS.get(name, name + "完整保存值")
|
||||
),
|
||||
pointer=f"{ptr}/widgets_values/{saved_key}",
|
||||
value=value,
|
||||
json_type=type(value).__name__,
|
||||
named_pointer=ptr
|
||||
+ "/widgets_values_named/"
|
||||
+ name.replace("~", "~0").replace("/", "~1"),
|
||||
named_value=named,
|
||||
input_pointer=f"{ptr}/inputs/{inp}"
|
||||
if inp is not None
|
||||
else "无可靠独立输入映射:前端控制辅助",
|
||||
input_name=n["inputs"][inp]["name"] if inp is not None else None,
|
||||
type=n["inputs"][inp]["type"] if inp is not None else "保存参考",
|
||||
role="frontend_reference_only"
|
||||
if aux
|
||||
else "boundary_saved_cache"
|
||||
if boundary
|
||||
else "linked_saved_cache"
|
||||
if linked
|
||||
else "saved_reference",
|
||||
schema_default=default,
|
||||
limits=limits,
|
||||
unit=unit,
|
||||
effect=display_effect,
|
||||
evidence=refs[nid],
|
||||
execution_note=(
|
||||
"仅静态参考;所有中英文提示/指南均作数据,不"
|
||||
"执行指令、构造prompt、调用LLM/SD"
|
||||
"K/模型/GPU/媒体/随机/恢复/表达式/"
|
||||
"缓存清理。转换执行资格不变。"
|
||||
),
|
||||
)
|
||||
)
|
||||
if not named_present:
|
||||
fields[-1].pop("named_pointer")
|
||||
fields[-1].pop("named_value")
|
||||
fields[-1]["named_state"] = "missing"
|
||||
fields[-1]["effect"] += (
|
||||
" 原位置独立保留;原具名字典没有audioUI键,不补具名值/双指针,"
|
||||
"不因两个null相同合并。"
|
||||
)
|
||||
for (nid, name), (default, limits) in schemas.items():
|
||||
flow.append(
|
||||
(
|
||||
f"节点{nid}准确schema {name}:default={default};"
|
||||
f"{limits}。仅接口参考,不认证运行恢复。"
|
||||
)
|
||||
)
|
||||
for pre, ptr, graph in scopes:
|
||||
flow.extend(
|
||||
(
|
||||
(pre or "root") + " 物理边 " + json.dumps(e, ensure_ascii=False)
|
||||
for e in graph["links"]
|
||||
)
|
||||
)
|
||||
boundaries = []
|
||||
flow += ["根附加保存属性 " + json.dumps(g["extra"], ensure_ascii=False)]
|
||||
flow += prose["steps"]
|
||||
flow += ["注释" + n["node_id"] + " 中文核对:" + n["meaning"] for n in comments]
|
||||
overview = json.loads((OUT / "prose.json").read_bytes())["overview"]
|
||||
assert len(fields) == 97 and len(comments) == 0
|
||||
assert all("widgets_values_named" in n for _, _, _, n in nodes if n.get("widgets_values"))
|
||||
return dict(
|
||||
source_path=PATHS[index],
|
||||
source_sha1=hashlib.sha1(raw).hexdigest(),
|
||||
source_sha256=hashlib.sha256(raw).hexdigest(),
|
||||
canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),
|
||||
notice="仅固定参考:DA3准确0.29入口/算法静态核对,原视频分解与深度视频单独保存意图不认证执行;三组EasyMedia独立,previous/LOCKED_AUDIO及Create/Save协议差异分列。轨道35148原串仅文本,无版本别名/Label未知。",
|
||||
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()
|
||||
]
|
||||
+ [
|
||||
"旧120块6967保存条目/214注释冻结;新增97根列表条目含1null/零标准Note,总121图7064条目/214注释仅参考。local_file以docs/hel-892/director-video-document-evidence为基准。"
|
||||
],
|
||||
counts=dict(
|
||||
saved_fields=97,
|
||||
root_saved_fields=97,
|
||||
internal_saved_fields=0,
|
||||
linked_saved_fields=sum(f["role"] == "linked_saved_cache" for f in fields),
|
||||
boundary_saved_fields=sum(f["role"] == "boundary_saved_cache" for f in fields),
|
||||
frontend_only=sum(f["role"] == "frontend_reference_only" for f in fields),
|
||||
source_nodes=61,
|
||||
root_nodes=61,
|
||||
internal_nodes=0,
|
||||
physical_edges=59,
|
||||
source_notes=0,
|
||||
saved_objects=0,
|
||||
history_objects=0,
|
||||
final_scalars=0,
|
||||
final_prompt_constructed=False,
|
||||
),
|
||||
node_bindings=bindings,
|
||||
fields=fields,
|
||||
sources=sources,
|
||||
comments=comments,
|
||||
flow=flow,
|
||||
flow_evidence=list(range(len(sources))),
|
||||
zero_saved_nodes=empty,
|
||||
boundaries=boundaries,
|
||||
steps=[overview] + json.loads((OUT / "prose.json").read_bytes())["steps"],
|
||||
)
|
||||
@@ -0,0 +1,79 @@
|
||||
"""Collect final completed browser evidence and independently verify port release."""
|
||||
|
||||
import collections
|
||||
import json
|
||||
import re
|
||||
import shutil
|
||||
import socket
|
||||
from pathlib import Path
|
||||
from urllib.parse import urlsplit
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
LOCAL = ROOT / ".local-evidence/director-video-document/browser"
|
||||
|
||||
|
||||
def main():
|
||||
stopped = json.loads((LOCAL / "service-stop.json").read_bytes())
|
||||
assert stopped["ports_released"] == [8247, 5173]
|
||||
ports = []
|
||||
for port in [8247, 5173]:
|
||||
with socket.socket() as s:
|
||||
s.settimeout(1)
|
||||
result = s.connect_ex(("127.0.0.1", port))
|
||||
assert result != 0
|
||||
ports.append({"port": port, "connect_ex": result, "connection_refused": True})
|
||||
data = json.loads((LOCAL / "browser-results.json").read_bytes())
|
||||
assert not data["errors"] and data["viewports"] == [1440, 390]
|
||||
backend = collections.Counter(
|
||||
re.findall('"GET ([^ ]+) HTTP/1.1"', (LOCAL / "service-0.log").read_text())
|
||||
)
|
||||
polling = {p: n for (p, n) in backend.items() if p in ["/api/events", "/api/jobs"]}
|
||||
fixed = {p: n for (p, n) in backend.items() if p not in polling}
|
||||
browser = collections.Counter((urlsplit(r["url"]).path for r in data["requests"]))
|
||||
intercepted = collections.Counter((urlsplit(r["url"]).path for r in data["interceptions"]))
|
||||
expected = browser.copy()
|
||||
for p, n in intercepted.items():
|
||||
expected[p] -= n
|
||||
expected["/api/workflows"] += 1
|
||||
polling_delta = {p: backend[p] - expected[p] for p in ["/api/jobs", "/api/events"]}
|
||||
assert polling_delta["/api/events"] == 0
|
||||
assert polling_delta["/api/jobs"] in [0, 1]
|
||||
assert {p: n for (p, n) in expected.items() if p not in polling_delta} == fixed
|
||||
counts = {
|
||||
"fixed_count": sum(fixed.values()),
|
||||
"fixed_paths": fixed,
|
||||
"polling_count": sum(polling.values()),
|
||||
"polling_paths": polling,
|
||||
"readiness_gets": 1,
|
||||
"detail_fixture_intercepts": len(data["interceptions"]),
|
||||
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": True,
|
||||
"polling_snapshot_delta": polling_delta,
|
||||
"polling_snapshot_tolerance": 1,
|
||||
"polling_acceptance": (
|
||||
"仅允许后端比浏览末次快照多0或1次/api/jobs;" + "/api/events与所有固定路径零差额"
|
||||
),
|
||||
}
|
||||
(OUT / "backend-request-counts.json").write_text(
|
||||
json.dumps(counts, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
(OUT / "ports-independent.json").write_text(json.dumps(ports, indent=2) + "\n")
|
||||
for name in ["browser-results.json", "service-stop.json", "service-0.log", "service-1.log"]:
|
||||
shutil.copyfile(LOCAL / name, OUT / name.replace(".log", ".txt"))
|
||||
print(
|
||||
"PASS browser",
|
||||
data["assertion_count"],
|
||||
data["assertionGroups"],
|
||||
"fixed/polling/fixture",
|
||||
data["request_accounting"]["fixed_count"],
|
||||
data["request_accounting"]["polling_count"],
|
||||
len(data["interceptions"]),
|
||||
"backend",
|
||||
counts["fixed_count"],
|
||||
counts["polling_count"],
|
||||
"readiness1; independently refused8247/5173",
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,21 @@
|
||||
第140批,仅MiniMax_H3_导演台_视频参考+多参图固定参考。基线48b5771022bd2cbdfa17c876894ca6134fcefe10,原分支agent/agent/a64a969a6a44,PR25 → main。原文件大小写/加号不改,产品只本图固定块及代码拥有路径/pin;转换器/执行器/Drawer整文件/CSS/依赖冻结,不做编辑器或视频生成入口。pins.json与用途SHA清单/提交后final-head/完整补丁共同绑定最终内容。
|
||||
|
||||
原件SHA40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079,61节点59边、无子图,60mode0/229 mode4;53具名。97根列表位置str73/int18/bool5/null1,全部位置/具名/原值/源类型/双指针核对,无标准Note。八处缺widgets/具名、32无版本Set/Get和两Label完整属性保持,unknown不借aux/UE7.8/rgthree同名实现、别名边或恢复。标签281/282的8步/1080P标题不是效果证明。
|
||||
|
||||
213四保存544 x 960 (9:16)/stretch/MiniMax/35148原轨道串保持。CR/LF0、字面反斜杠n417、无尾LF,SHA8caa7d545534a1af3656e71608699eada1e78c076f8d545512afc8ebd88030db。全部嵌套prompt/素材引用/属性/空白/转义可逆JSON,原具名独立,递归非空敏感键扫描为空;muted false/volume_db int0/task_markers[]/task_overview false/total_length163/frame_rate24、task与video各一段0..163原样。原串及渲染UTF8 SHA/嵌套值全等,不执行作者指令/改键序/读素材URL或目录,也不把163当已生成帧数。长文不称逐字目验,无编辑器/canvas/media/iframe。
|
||||
|
||||
123来源行/865文件闭包,27实例取得准确类,34无版本身份未知。三DA3在准确core0.29的nodes.py模块列表、DA3Extension/comfy_entrypoint、类/schema/必要算法均核准,不借独立插件/main/后版,亦不声称全仓无类。LoadDA3Model几何模型路径/dtype,Inference预处理/14patch/mono与multiview条件,Render三通道深度/sky/分位算法及模型检测/DINOv2/DPT/依赖/许可仅静态文本。v2_style实际helper是1%/99%分位、条件最多100000随机样本/反相近白,schema tooltip写mean/std的差异保留,不执行。DA3 mode/output期待字典与原mono/depth扁平保存分列,不能据此认证宿主恢复或姿态保持。代码许可不等于权重/素材许可。
|
||||
|
||||
三组EasyMedia fcfa/829a/9d、Easy595e、swap4172、KJ35e/eb356、core0.29/.30.2、frontend1.45.20同树LiteGraph/pnpm与独立许可逐实例绑定。Git commit/tag/选定blob重哈希,完整树列表不冒充完整tree对象重哈希;首次取得未知继续未知,复核另列。准确829a TaskOutput没有原previous输入/LOCKED_AUDIO第九出口,source null/[]/缺键独立保留,不搬后版、虚构锁音/循环/LLM接口。GetVideoComponents准确四输出末INT,源COMBO位深/额外色域不归一化。
|
||||
|
||||
原视频Get278→224拆分→222 DA3/221模型→223 depth→226清理→225 EasySaveVideo图像口,224音轨/fps给225;225VIDEO→279 Setdepth_video,Get280才给261视频,只名称意图不补边。准确225为EasySaveVideo,dynamic input/output字典与源images+audio/int24/save/false/ComfyUI扁平值分列;尺寸偶数裁剪/VideoFromComponents/目录、temp/output、metadata/自动编码/PreviewUI与relative_path条件只静态,不套core/VHS或执行清理/编码/保存。返回路径实现相对temp/output,描述full written path不当绝对路径证明。
|
||||
|
||||
261 reference缓存本图无mode外线,不沿用promptLine/matchLine;图音/深度视频/提示/宽高长与模型VAE各外线独立,positive588/ZeroOut584→589/真latent590正确。245 ref2va→260Sage→236swap→237选择与未swap假支/外线579分列,272真实false只别名意图;252普通LoRA int1/4step文件名与258 steps8不互改。276 int0/randomize/null、258 seed缓存/外线不随机。准确swap无容器3返回对4解包差异、CLIP0.29无minimax枚举及视频nested首项/音频直接decode差异保留。229 mode4及原602边/八保存/RTX与cpu冲突只参考,不认证旁路或1920。Create262的源COMBO位深/额外色域codec对准确INT/缺字段,Save227两源口缺links对准确单Video+UI、typed codec字典对auto字符串全部保留,不认证色深/时长/动作模仿/1080P。
|
||||
|
||||
558后台专项+工作流库回归通过,1条既有AnyIO弃用警告。三正式pytest/Ruff/format确选本图且显式配置,JS/前后端build、先构建后wheel/sdist三资源相等、双次定义/报告零差异通过,不累计轮次或称全仓绿。真实48b5771旧代码隔离库升级1/跳过154且154整行不变;幂等155/精确回退重升/用户修改前后各conflict1/29列保护,155导入/1排除、16/139、1217/3660/294、停用未检查/空时间戳不变。旧120块6967条目/214标准注释及其它155对象、13258基线文件/163原件/191资源/28profile/九候选/六差分/资格冻结。
|
||||
|
||||
最终1440×1000/390×844浏览5524断言,分组{"aggregate": 6, "new_director_video": 2624, "old_one_hundred_twenty": 2880, "shared_regressions": 14}。实际GET doc_json与隔离导出全等;97字段/具名/类型/null、完整35148原串SHA/全部嵌套值、DA3/EasySave/Task额外口/深度保存/Label/别名及解码保存差异、旧120摘要/共享回退迟到重试/焦点/无横溢通过。32最终截图,实际目验14张代表区域,不称长文逐字目验。生成辅助脚本括号问题与浏览前resolution通用标签纠正记录分列,正式检查结果不混入之前轮次。
|
||||
|
||||
Node初始fetch/Python readiness/导航HTTP发送前只http本机hostname8247/5173无凭据,四错误URL拒绝;字体就地响应/HMR关闭。固定浏览376/后端371扣六夹具加一次就绪逐路径一致,轮询浏览38/后端38快照差{"/api/jobs": 0, "/api/events": 0},仅容许日志证实快照后/api/jobs最多一条;finally停自有服务并独立拒绝端口,无PNG/pyc入Git。
|
||||
|
||||
SeedVR越界删除、127错误GET/取消grep可能额外blob、132/135猜测路径、136SoundFlow404、137Art五首取未知、138同名helper与139失败/标签纠正及原日志保持在历史闭包。仅逐必要准确路径获取文本/许可/身份,无整包/权重/资产/字体运行库或依赖安装。累计121参考7064条目/214注释,剩34张;155全量未完成,最终定稿/新增可靠转换/真实生成0。未连接目标/请求定义/启停TTS或ComfyUI/读Input Assets/构造prompt/执行上游/DA3/EasyMedia/LLM/SDK/swap/attention/表达式/随机/采样/模型/GPU/缩放/图音视频/预览/别名/清理/云API/模型目录/在线库/付费/合并部署,当前无需材料/机器窗口。交总管接回HEL-893一次功能+界面审核后再推进。
|
||||
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"221": "Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 221/222/223准确core0.29三DA3均已取得:nodes.py模块入口列表nodes_depth_anything_3.py、comfy_entrypoint/DA3Extension.get_node_list明确注册LoadDA3Model/DA3Inference/DA3Render,按准确a8c44提交独立绑定,不借独立插件/main/后版,不由cnr声明单独认证。Comfy源码LICENSE与requirements/实际导入依赖单列,代码许可不等于DA3权重/素材许可,不取模型或执行DA3/GPU。 221模型名depth_anything_3_mono_large.safetensors与dtype fp16完整保存。LoadDA3Model动态geometry_estimation文件枚举、dtype default/fp16/bf16/fp32,default是准确schema默认,execute按选择设torch dtype、get_full_path_or_raise再load_diffusion_model;模型检测/DA3支持类/架构、DINOv2/DPT/摄像分支/文件路径仅静态依赖,名称不证明安装或支持、实际精度/显存/许可。不查模型目录或读权重。 DA3 multiview是另一字典分支:需要Small/Base等能力,检查cam_dec/dualdpt并按pose_method/ref_view_strategy条件处理全部views与相机参数;不能由本图mono或文件名宣称已相机估计/三维一致性。所有模型/预处理/插值/抽样/反投影/推理仅源码条件,不执行;源mono模式即使声明准确类也不认证宿主动态字典恢复或目标环境。",
|
||||
"229": "根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。 260准确KJ35e Sage保存auto/allow_compile false,disabled返回原model,其它clone并set optimized_attention_override,auto依赖sageattention,编译允许只是条件;229独立KJ eb356,不跨版本套用。236准确swap num_blocks默认-1/-1..10000,0返回原model,发现容器时-1全块、正值裁界;clone/CPU迁移/其它模型卸载/回调/GGUF/ON_LOAD/ON_CLEANUP和缓存条件仅静态。不由ref2va文件名证明容器支持/显存效果;无容器install返回3项而调用解包4项差异保留,不执行swap/patch/attention/清理。 238IMAGE572→229resize,229mode4仍保留602边,不模拟旁路或认已1920。229八保存int1920/int1920/nvidia_rtx_vsr/resize/完整0, 0, 0字符串/center/int32/cpu,pad_color是一个带空格字符串不拆三项;mask输入null,额外宽高/mask输出缺links。准确eb356 resize/比例/pad/crop/对齐条件与keep_proportion枚举默认False差异分列;RTX分支import nvvfx/兼容NVIDIA GPU/VideoSuperRes ULTRA/load与8对齐只是条件,cpu保存不保证GPU路径可CPU替代,不取运行库/驱动/权重或执行缩放。 229IMAGE602+243AUDIO603+Get244fps604→262 CreateVideo→628→227 SaveVideo。262四保存int30/int8/sRGB/none,准确core0.30.2只有images/fps/audio/可选INT bit_depth,fps默认30.0/1..120/step1、bit_depth8/8..10/step2;源bit_depth COMBO与额外color_space/codec差异保留。VideoFromComponents/Fraction(fps)/bit_depth只是构造协议,state24/cache30/未知Get外线分别保存,不算时长或保证色域/色深/同步。",
|
||||
"231": "245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"233": "245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"235": "245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"236": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 260准确KJ35e Sage保存auto/allow_compile false,disabled返回原model,其它clone并set optimized_attention_override,auto依赖sageattention,编译允许只是条件;229独立KJ eb356,不跨版本套用。236准确swap num_blocks默认-1/-1..10000,0返回原model,发现容器时-1全块、正值裁界;clone/CPU迁移/其它模型卸载/回调/GGUF/ON_LOAD/ON_CLEANUP和缓存条件仅静态。不由ref2va文件名证明容器支持/显存效果;无容器install返回3项而调用解包4项差异保留,不执行swap/patch/attention/清理。",
|
||||
"237": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 237准确595e IfElse:Boolean schema无显式default,lazy true/false按check_lazy_status只请求所选缺支;函数boolean=True不当schema默认,execute按输入返回对应支。源false受579覆盖,不选择/恢复别名。252准确core0.30.2普通LoraLoaderModelOnly及父类,strength FLOAT默认1.0/-100..100/step0.01,源int1与ref2v_turbo_4step_v0.1完整文件名保持;父类缓存/路径/安全加载/补丁只静态,图258 steps8与LoRA文件名4step不互改,不保证4步/8步/效果兼容。",
|
||||
"238": "根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。 258同一LATENT580/582给238视频/243音频双解码,Get241/239各VAE;准确core0.29视频nested取unbind()[0]再decode,音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码线不当支持证明,不执行清零/采样/音视频解码/同步或恢复。 238IMAGE572→229resize,229mode4仍保留602边,不模拟旁路或认已1920。229八保存int1920/int1920/nvidia_rtx_vsr/resize/完整0, 0, 0字符串/center/int32/cpu,pad_color是一个带空格字符串不拆三项;mask输入null,额外宽高/mask输出缺links。准确eb356 resize/比例/pad/crop/对齐条件与keep_proportion枚举默认False差异分列;RTX分支import nvvfx/兼容NVIDIA GPU/VideoSuperRes ULTRA/load与8对齐只是条件,cpu保存不保证GPU路径可CPU替代,不取运行库/驱动/权重或执行缩放。",
|
||||
"239": "258同一LATENT580/582给238视频/243音频双解码,Get241/239各VAE;准确core0.29视频nested取unbind()[0]再decode,音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码线不当支持证明,不执行清零/采样/音视频解码/同步或恢复。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"240": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"241": "258同一LATENT580/582给238视频/243音频双解码,Get241/239各VAE;准确core0.29视频nested取unbind()[0]再decode,音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码线不当支持证明,不执行清零/采样/音视频解码/同步或恢复。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"242": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"243": "根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。 258同一LATENT580/582给238视频/243音频双解码,Get241/239各VAE;准确core0.29视频nested取unbind()[0]再decode,音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码线不当支持证明,不执行清零/采样/音视频解码/同步或恢复。 229IMAGE602+243AUDIO603+Get244fps604→262 CreateVideo→628→227 SaveVideo。262四保存int30/int8/sRGB/none,准确core0.30.2只有images/fps/audio/可选INT bit_depth,fps默认30.0/1..120/step1、bit_depth8/8..10/step2;源bit_depth COMBO与额外color_space/codec差异保留。VideoFromComponents/Fraction(fps)/bit_depth只是构造协议,state24/cache30/未知Get外线分别保存,不算时长或保证色域/色深/同步。",
|
||||
"244": "229IMAGE602+243AUDIO603+Get244fps604→262 CreateVideo→628→227 SaveVideo。262四保存int30/int8/sRGB/none,准确core0.30.2只有images/fps/audio/可选INT bit_depth,fps默认30.0/1..120/step1、bit_depth8/8..10/step2;源bit_depth COMBO与额外color_space/codec差异保留。VideoFromComponents/Fraction(fps)/bit_depth只是构造协议,state24/cache30/未知Get外线分别保存,不算时长或保证色域/色深/同步。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"246": "根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。 261准确enable_expand/is_input_list,multi_frames不允许videos/audios;multi_frames或参考全空可扩展MiniMaxH3ImageToVideo首末图子图,reference有9图/3视频/3音与音频VAE/视频GetVideoComponents/Reference桥接条件,仅源码静态不构造本图prompt/GraphBuilder或执行。positive588直接给258positive,584另给246 ConditioningZeroOut→589negative,LATENT590才是258起点;不把深度视频名称或9/3/3接口条件当动作保持/已生成证明。 258同一LATENT580/582给238视频/243音频双解码,Get241/239各VAE;准确core0.29视频nested取unbind()[0]再decode,音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码线不当支持证明,不执行清零/采样/音视频解码/同步或恢复。",
|
||||
"249": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"250": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"251": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"253": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"254": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"255": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"256": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"258": "261准确enable_expand/is_input_list,multi_frames不允许videos/audios;multi_frames或参考全空可扩展MiniMaxH3ImageToVideo首末图子图,reference有9图/3视频/3音与音频VAE/视频GetVideoComponents/Reference桥接条件,仅源码静态不构造本图prompt/GraphBuilder或执行。positive588直接给258positive,584另给246 ConditioningZeroOut→589negative,LATENT590才是258起点;不把深度视频名称或9/3/3接口条件当动作保持/已生成证明。 245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 237准确595e IfElse:Boolean schema无显式default,lazy true/false按check_lazy_status只请求所选缺支;函数boolean=True不当schema默认,execute按输入返回对应支。源false受579覆盖,不选择/恢复别名。252准确core0.30.2普通LoraLoaderModelOnly及父类,strength FLOAT默认1.0/-100..100/step0.01,源int1与ref2v_turbo_4step_v0.1完整文件名保持;父类缓存/路径/安全加载/补丁只静态,图258 steps8与LoRA文件名4step不互改,不保证4步/8步/效果兼容。 258准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1,Get259 seed591覆盖缓存。276独立Easy595e easySeed原int0/randomize/末null→617→273 Set seed;后端只有seed与隐藏元数据、doit返回seed,不自己随机,额外骰子辅助null无后端schema,不合并第二seed。control_after_generate/frontend1.45.20与Easy v1脚本适用条件分列,不执行随机/调度/sigmas/采样或承诺复现。 258同一LATENT580/582给238视频/243音频双解码,Get241/239各VAE;准确core0.29视频nested取unbind()[0]再decode,音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码线不当支持证明,不执行清零/采样/音视频解码/同步或恢复。",
|
||||
"259": "258准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1,Get259 seed591覆盖缓存。276独立Easy595e easySeed原int0/randomize/末null→617→273 Set seed;后端只有seed与隐藏元数据、doit返回seed,不自己随机,额外骰子辅助null无后端schema,不合并第二seed。control_after_generate/frontend1.45.20与Easy v1脚本适用条件分列,不执行随机/调度/sigmas/采样或承诺复现。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"260": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 260准确KJ35e Sage保存auto/allow_compile false,disabled返回原model,其它clone并set optimized_attention_override,auto依赖sageattention,编译允许只是条件;229独立KJ eb356,不跨版本套用。236准确swap num_blocks默认-1/-1..10000,0返回原model,发现容器时-1全块、正值裁界;clone/CPU迁移/其它模型卸载/回调/GGUF/ON_LOAD/ON_CLEANUP和缓存条件仅静态。不由ref2va文件名证明容器支持/显存效果;无容器install返回3项而调用解包4项差异保留,不执行swap/patch/attention/清理。",
|
||||
"261": "Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 261准确enable_expand/is_input_list,multi_frames不允许videos/audios;multi_frames或参考全空可扩展MiniMaxH3ImageToVideo首末图子图,reference有9图/3视频/3音与音频VAE/视频GetVideoComponents/Reference桥接条件,仅源码静态不构造本图prompt/GraphBuilder或执行。positive588直接给258positive,584另给246 ConditioningZeroOut→589negative,LATENT590才是258起点;不把深度视频名称或9/3/3接口条件当动作保持/已生成证明。",
|
||||
"264": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"265": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"266": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"267": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"268": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"269": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"270": "根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。 213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。",
|
||||
"271": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"272": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。",
|
||||
"273": "258准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1,Get259 seed591覆盖缓存。276独立Easy595e easySeed原int0/randomize/末null→617→273 Set seed;后端只有seed与隐藏元数据、doit返回seed,不自己随机,额外骰子辅助null无后端schema,不合并第二seed。control_after_generate/frontend1.45.20与Easy v1脚本适用条件分列,不执行随机/调度/sigmas/采样或承诺复现。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"274": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"275": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"276": "258准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1,Get259 seed591覆盖缓存。276独立Easy595e easySeed原int0/randomize/末null→617→273 Set seed;后端只有seed与隐藏元数据、doit返回seed,不自己随机,额外骰子辅助null无后端schema,不合并第二seed。control_after_generate/frontend1.45.20与Easy v1脚本适用条件分列,不执行随机/调度/sigmas/采样或承诺复现。",
|
||||
"213": "213 Editor准确EasyMedia fcfa四保存544 x 960 (9:16)/stretch/MiniMax/完整track_data原字符串。35148码点,真实CR/LF0、字面反斜杠n417、无尾LF,SHA8caa7d545534a1af3656e71608699eada1e78c076f8d545512afc8ebd88030db。原位置/原具名独立,全部嵌套prompt/素材引用/属性/转义/空白可逆JSON保留,不解析后回写或改键序。递归凭据键子串检查未见非空值;原数据中的作者系统提示只文本,不执行指令/构造prompt/请求素材URL或目录/文件,不创建编辑器/canvas/media/iframe。 轨道顶层muted false/volume_db JSON int0/task_markers[]/task_overview false/total_length163/frame_rate24,两轨task与video各一段0..163。保存的163不是当前实际生成帧数/时长、媒体存在/访问许可或恢复证明。准确fcfa后端is_input_list、resolution DynamicCombo及resize_method共享默认stretch、format默认Wan与源MiniMax分列,自定义TRACK_DATA无独立后端default。execute解包/parse/非空prompt_override及_build_tracks_info_and_media_outputs按格式/任务/媒体条件构造输出;MiniMax帧网格17k+5/尺寸网格32等条件只静态,不手算输出。准确插件前端TRACK_DATA React widget/normalize/serializeValue参照与宿主frontend1.45.20声明分列,不认证编辑器恢复。 213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。",
|
||||
"263": "213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。 263 task_index0/prompt_format api只是提示格式,不是本次网络请求/LLM;准确829a schema只有tracks_info/images/audio/video/task_index/prompt_format及八输出,没有源previous输入或第九LOCKED_AUDIO。源previous link=null、LOCKED_AUDIO links=null原样,不搬新版支持、不虚构锁音频、自动循环或LLM接口。execute任务排序、marker区间、task索引/端点、媒体index/音视频裁剪/音量/build_prompt_request和api/llm格式条件仅静态,不索引/裁剪/重写提示或认证素材非空。",
|
||||
"280": "Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"257": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"247": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"248": "261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"225": "Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 225准确829a入口导出EasySaveVideo类,不是core SaveVideo/VHS。源五保存images+audio/int24/save/false/ComfyUI,input_mode.fps被567覆盖。准确input_mode/output_mode均字典协议,.get读取input_mode/images/audio/fps及output_mode/save_metadata;源字符串与扁平子字段独立保留,未认证宿主组装。共享fps FLOAT默认24.0/1..120/step1,metadata Boolean默认false,filename_prefix默认ComfyUI,不能把源JSON int24改float。 225准确images+audio分支要求非空images,normalize_video_images条件裁到偶数后VideoFromComponents/Fraction(fps);video分支要求VIDEO且可替换音轨,FFmpeg快速替换失败可回tensor路径。preview_only/hide写temp,save/hide&save写output,hide/hide&save不返回PreviewUI;source_video.save_to AUTO容器与AUTO codec、目录计数命名均是实际写入条件,不执行。save_metadata条件收hidden extra_pnginfo/prompt并可空为None;返回VIDEO及relative_path(实现是temp/output相对路径,描述full written file path不等同实际绝对路径),UI SavedResult只非隐藏时附加。源save/false不代表编码、预览、元数据或音轨效果已核准。",
|
||||
"279": "Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"226": "根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。 Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 226准确Easy595e cleanGPUUsed(不是139的4de)是output节点,execute无条件cleanGPUUsedForce后返回anything。helper remove_cache(\"*\")、gc.collect,torch导入/同步异常捕获且CUDA可用才synchronize,随后unload_all_models/soft_empty_cache。它不是无副作用普通透传;本轮不执行清理/卸载/同步或任何分支。",
|
||||
"224": "根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。 Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 224准确core0.29 GetVideoComponents只video输入,execute video.get_components返回images/audio/float(frame_rate)/video.get_bit_depth四输出,末口准确INT。原件四口bit_depth却COMBO且缺links、另有color_space COMBO links=null,与准确实现分列,不借后版/补色域、认证色深或执行媒体拆分。",
|
||||
"278": "Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"222": "Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 221/222/223准确core0.29三DA3均已取得:nodes.py模块入口列表nodes_depth_anything_3.py、comfy_entrypoint/DA3Extension.get_node_list明确注册LoadDA3Model/DA3Inference/DA3Render,按准确a8c44提交独立绑定,不借独立插件/main/后版,不由cnr声明单独认证。Comfy源码LICENSE与requirements/实际导入依赖单列,代码许可不等于DA3权重/素材许可,不取模型或执行DA3/GPU。 222准确DA3Inference resolution504为最长边处理分辨率接口,默认504/140..2520/step14;resize_method upper_bound_resize为最长边,lower_bound_resize为最短边条件,最终按14patch网格舍入,不计算本图尺寸。源mode保存字符串mono,而准确DynamicCombo execute取mode[\"mode\"]字典,独立记录未认证恢复。mono要求(B,H,W,3)图像,逐帧load_model_gpu、preprocess_image转BCHW/条件Lanczos缩放/clamp/Imagenet归一化、no_grad模型、深度/可选confidence/sky双线性回原图尺寸/CPU,输出geometry depth/image/mode及可选键;并非已完成运动追踪或多人姿态保持。 DA3 multiview是另一字典分支:需要Small/Base等能力,检查cam_dec/dualdpt并按pose_method/ref_view_strategy条件处理全部views与相机参数;不能由本图mono或文件名宣称已相机估计/三维一致性。所有模型/预处理/插值/抽样/反投影/推理仅源码条件,不执行;源mono模式即使声明准确类也不认证宿主动态字典恢复或目标环境。",
|
||||
"223": "Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。 221/222/223准确core0.29三DA3均已取得:nodes.py模块入口列表nodes_depth_anything_3.py、comfy_entrypoint/DA3Extension.get_node_list明确注册LoadDA3Model/DA3Inference/DA3Render,按准确a8c44提交独立绑定,不借独立插件/main/后版,不由cnr声明单独认证。Comfy源码LICENSE与requirements/实际导入依赖单列,代码许可不等于DA3权重/素材许可,不取模型或执行DA3/GPU。 223准确DA3Render output为DynamicCombo字典,execute取output[\"output\"]及normalization/apply_sky_clip,源depth和output.normalization=v2_style/output.apply_sky_clip=false扁平保存分列,不补字典。v2_style的实际helper按非天空像素(有sky时阈值0.3)1%/99%分位、最多100000随机样本、clamp后反相近白处理;schema tooltip写mean/std,与准确helper算法差异明确以实现为准,不执行随机或归一化。min_max/raw、天空裁剪及colored Turbo都是条件;false天空裁剪缓存不当无其它运算证明。输出greyscale重复三通道/非raw clamp/float,仅参考,不认证有深度视频或相对深度为公制米。",
|
||||
"262": "229IMAGE602+243AUDIO603+Get244fps604→262 CreateVideo→628→227 SaveVideo。262四保存int30/int8/sRGB/none,准确core0.30.2只有images/fps/audio/可选INT bit_depth,fps默认30.0/1..120/step1、bit_depth8/8..10/step2;源bit_depth COMBO与额外color_space/codec差异保留。VideoFromComponents/Fraction(fps)/bit_depth只是构造协议,state24/cache30/未知Get外线分别保存,不算时长或保证色域/色深/同步。 227源四保存video/ComfyUI/auto/auto/auto,format/format.codec/codec独立;源两个VIDEO出口都缺links,不套139 null。准确core0.30.2只有一个Video数据输出加UI PreviewVideo,codec DynamicCombo typed字典与execute codec[\"codec\"]/encoding/crf条件对原auto字符串分列,不补format.codec后端字段或认证宿主恢复。hidden prompt/extra_pnginfo受disable_metadata控制、目录/命名/video.save_to只静态,不执行编码/文件输出或保证音轨/时长/动作模仿/1080P。",
|
||||
"227": "229IMAGE602+243AUDIO603+Get244fps604→262 CreateVideo→628→227 SaveVideo。262四保存int30/int8/sRGB/none,准确core0.30.2只有images/fps/audio/可选INT bit_depth,fps默认30.0/1..120/step1、bit_depth8/8..10/step2;源bit_depth COMBO与额外color_space/codec差异保留。VideoFromComponents/Fraction(fps)/bit_depth只是构造协议,state24/cache30/未知Get外线分别保存,不算时长或保证色域/色深/同步。 227源四保存video/ComfyUI/auto/auto/auto,format/format.codec/codec独立;源两个VIDEO出口都缺links,不套139 null。准确core0.30.2只有一个Video数据输出加UI PreviewVideo,codec DynamicCombo typed字典与execute codec[\"codec\"]/encoding/crf条件对原auto字符串分列,不补format.codec后端字段或认证宿主恢复。hidden prompt/extra_pnginfo受disable_metadata控制、目录/命名/video.save_to只静态,不执行编码/文件输出或保证音轨/时长/动作模仿/1080P。",
|
||||
"281": "根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。 281无版本Label标题视频动作参考+多参图-8步极速生成,282标题MiniMax_H3_导演台_动作模仿_1080P;fontSize200/Arial/#ffffff/transparent/padding0/borderRadius0/angle0、pinned/allow_interaction及UE7.8等完整原属性仅展开证据,不造控件、不借rgthree旧类或当8步/1080P效果证明。",
|
||||
"282": "根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。 281无版本Label标题视频动作参考+多参图-8步极速生成,282标题MiniMax_H3_导演台_动作模仿_1080P;fontSize200/Arial/#ffffff/transparent/padding0/borderRadius0/angle0、pinned/allow_interaction及UE7.8等完整原属性仅展开证据,不造控件、不借rgthree旧类或当8步/1080P效果证明。",
|
||||
"245": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
|
||||
"230": "245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
|
||||
"232": "245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
|
||||
"234": "245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
|
||||
"252": "245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。 237准确595e IfElse:Boolean schema无显式default,lazy true/false按check_lazy_status只请求所选缺支;函数boolean=True不当schema默认,execute按输入返回对应支。源false受579覆盖,不选择/恢复别名。252准确core0.30.2普通LoraLoaderModelOnly及父类,strength FLOAT默认1.0/-100..100/step0.01,源int1与ref2v_turbo_4step_v0.1完整文件名保持;父类缓存/路径/安全加载/补丁只静态,图258 steps8与LoRA文件名4step不互改,不保证4步/8步/效果兼容。"
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"command": "PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_director_video_fixed_document.py calliope-backend/tests/test_workflow_library.py -q",
|
||||
"exit_code": 0,
|
||||
"log": "backend-tests.txt"
|
||||
},
|
||||
{
|
||||
"command": "uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/director-video-document-evidence/*.py calliope-backend/tests/test_director_video_fixed_document.py e2e/run-director-video-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 0,
|
||||
"log": "ruff-entry.txt"
|
||||
},
|
||||
{
|
||||
"command": "uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/director-video-document-evidence/*.py calliope-backend/tests/test_director_video_fixed_document.py e2e/run-director-video-document.py calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"exit_code": 0,
|
||||
"log": "format-entry.txt"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,686 @@
|
||||
{
|
||||
"base": "48b5771022bd2cbdfa17c876894ca6134fcefe10",
|
||||
"self_excluded": true,
|
||||
"self_path": "docs/hel-892/director-video-document-evidence/file-purpose-sha256.json",
|
||||
"reason": "清单不递归摘要自身;最终head/完整补丁另在提交后交付包中",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
|
||||
"bytes": 26856,
|
||||
"sha256": "d570851032e5ad02a843a31c5d08395d264e83e3fe9c5ee7b3c1a47a7212ca82"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
|
||||
"purpose": "目标唯一固定参考块及代码拥有pin;保持转换执行资格",
|
||||
"bytes": 36960378,
|
||||
"sha256": "a4834b1a0675695812590b7dea2098da7a6001d8a6380aee252d04dd2f679270"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_director_video_fixed_document.py",
|
||||
"purpose": "本图逐保存位置/完整长字符串/全图和调用方重哈希失败关闭测试",
|
||||
"bytes": 8700,
|
||||
"sha256": "05442d79540288cac76501a478221810d131930384c4ab631d4a7a2b15192cef"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/actual-MiniMax_H3_导演台_视频参考+多参图.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 896708,
|
||||
"sha256": "8905e717f9b3d49f2cbcaf245e97be1dc9dfbdfa49691518f8696cab37767a9d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/actual-get.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 931194,
|
||||
"sha256": "2ebd59daa38cc85438012a3cca562fa72ee0262da42b5e533934412eb3e25e57"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/audit-corrections.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 679,
|
||||
"sha256": "34977805a49e1168542a12bf7ca445d057e2c3731bd80eb490c15111d59e9462"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/audit-summary.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 797,
|
||||
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/backend-build.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 211,
|
||||
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/backend-request-counts.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3998,
|
||||
"sha256": "229b4689731ec797ceb29481605f6515d6c83fcacda95f818832809dc92dd21d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/backend-tests.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1280,
|
||||
"sha256": "880d4719fe1b51f8a0e821d4b1c94baf5a104ab7cd2824b5903d5c17a2657a73"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/baseline-frozen-files.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3188880,
|
||||
"sha256": "1169da0b32d1822780920c2643156ac4d1047fec07c6ffcd225cd3648efe1f33"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/boundaries.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 38620,
|
||||
"sha256": "218f3a908d7ad4352079cc9635e8fb0e537f9d29a59f36e3d98d1213afc76995"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/browser-final-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 337283,
|
||||
"sha256": "4eb15868fcf6cda35a0600314f3b79c3df689ed9f7e130cc2a138a9609673594"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/browser-results.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 390481,
|
||||
"sha256": "9fbf404c9928f23002b9ba58a1f6393da7b750b6acfaae347930528523381964"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/build_definition.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 25626,
|
||||
"sha256": "6d707ad5432a5a23bd61f2a336a25981dbdbc6fb9ea956a80b3a4754627aff5e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/collect_browser.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3220,
|
||||
"sha256": "8d92a6963f022c67a4045a8012e8467a09261945710607df94a870554ebd82c2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/definition-0.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 763918,
|
||||
"sha256": "1b5d5a8b3665964327b6790f114e00e459436020988b969c1cfe2a2b3b8f8e59"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/delivery-summary.md",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 6637,
|
||||
"sha256": "7361d92a9bf626a4e319d696dc43dd80d82824e2a545b2f3d423cfa896d1661d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/editorial.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 53765,
|
||||
"sha256": "19adc47337bdedc3c3ce7699c619433886b513dee5a4e179a66773167a81d475"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/entry-executed.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1029,
|
||||
"sha256": "aec64f84422e6d3ea56e0156bb76f8af771daf84d41914525207a016570bdad4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/fixed-source-index.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 205354,
|
||||
"sha256": "1d53bd99df50d9182511fef5d201eff4836c8460b16a4674b22786b80db35e75"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/format-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 27,
|
||||
"sha256": "04eb0d6e6734823dcd2b2b704729e976f683df7a8f334da7216520ef1cb319bf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/freeze.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2452,
|
||||
"sha256": "2da492ffeaa22c26981c55b47455df88b5eb903f93c0c8ca1d139c29b9b6cb9b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/frontend-build.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 24104,
|
||||
"sha256": "26e74a450f2f40d40ef7ce33e526d517a82e510693a908b5c37e391bbfb12ca0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/frozen-resource-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 40348,
|
||||
"sha256": "9762092c66df8f92c2615cea9a435d85c6adfcade020ab6cee56ec7701b622c7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/get-binding.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 525,
|
||||
"sha256": "6298cf9e22c7f243abd43c039d7e17ecc3bcb1cd868bec2ee6eef30d1dda0279"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/identity-gaps.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1022,
|
||||
"sha256": "0bb946afe19b1c70c17caad1dcbf3a31cfd0155c9cf7e7330d8e1c4a8adecfa1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/import-protection.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1272,
|
||||
"sha256": "c13a7aa22a17ee1c35d1b97eae55e367867d8ea91b9a2d566c45cb70f1db9c40"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/independent-inventory.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 304927,
|
||||
"sha256": "b88cd7076f14a332894a52b3a7654463370bc45b4d557475895ceaa4f3c1de7d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/inventory.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 3622,
|
||||
"sha256": "156924367d1bb71b2d1598c81a5d727ea5cb82d1ab147a1798b92df97e394939"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/js-check.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/json-pointer-delta.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 466,
|
||||
"sha256": "47018ae06e4d5a6772fdd7ddce3d5a264613e5d02b7fe631346cbd283deb547f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/node-version-bindings.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 12867,
|
||||
"sha256": "6e5b6a942c16355be9f360ce6d69a38c4379e5382104c33c1f27d9dbbc9ed78a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/originals-163-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 46597,
|
||||
"sha256": "3ce608b051479c775021f3cc8d5ebfd81da81940bfe1f4b4608fdc385f49c0f6"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/package-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 553,
|
||||
"sha256": "78a1bcd527097245cbe1949cbc7143098ca203ffe48e183ddf1099e6072719fd"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/pins.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 177,
|
||||
"sha256": "157531e414e2dd7598cc39ed25c28aadc0662d0c0b0ddfdc225abf37dd62f58d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/ports-independent.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 165,
|
||||
"sha256": "1e487821f761ab96db779fb3b6fb5e5411005f9027f12a880a779aefb23c50bc"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/prose.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 18047,
|
||||
"sha256": "c55d727d3a4f52776f0717ff4ace79d93c0a5be31728976af6b799e96f267da7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/rebuild.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2372,
|
||||
"sha256": "d0fc2df8a6b29414199b34a27e758dace99fcdd97c61de8825e0097b656f351f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/recompute.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 13535,
|
||||
"sha256": "bc3ffb89172ee79be00d0940e56933eb300a8747eb2eea3c22f575e4214f1ee8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/recompute.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 251,
|
||||
"sha256": "87fc5a96b93ef73e9838c0db0f42a2dd3c979e0be52c6559fc4dc4ee999a3acc"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/render_report.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 5286,
|
||||
"sha256": "ea159809ddc876d4a194718abc47c1d0832114f3f97429dd3cafab5b82747264"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/repeat.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 1342,
|
||||
"sha256": "db850a7568fb9cebcf1f3aad9a5366e5fa9d0ac0b1744d454a602cffda515e89"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/repeatability.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 435,
|
||||
"sha256": "ce28886db92338bd888249e7e619e0f3340ccf0763e1dd918a6a32c87095c4fc"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/review-delta.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 404,
|
||||
"sha256": "563f722afb55866e74cee4b7ccbc2f395cef79568277dad2f16a1117e4e7a05a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/ruff-entry.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 19,
|
||||
"sha256": "82b3e6a6c090a57601d22943bd23fca9218d1031dbe5a7b754092f9a156b4f18"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/scoped-diff-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 400,
|
||||
"sha256": "f899bd69c14f6f9fe6903ee0a98222e2385730174e7df1837024f9fdfa3d743e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/scoped-diff-check.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/screenshot-review.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 5662,
|
||||
"sha256": "00875ec6616be3a7f77ad059abc65c79bb68b51f506f51c091c423cc9e27c49b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/service-0.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 28278,
|
||||
"sha256": "86ea1b968fe183311fd88afa2529ce9b64502357d9dd3f68059e75a864283378"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/service-1.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 72,
|
||||
"sha256": "c09a1eba64cc2ba8a35d06aea7282f8fbf9e1ce56300de25e0c4f2fd8cf854fa"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/service-stop.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 65,
|
||||
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/source-check.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 77629,
|
||||
"sha256": "08bf6c33456b93b7b7afb969c6e59f983ee5e0ead99e70545b5a3a41f57ab51e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/source-check.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 71,
|
||||
"sha256": "49da7c2e3bbb5a08edf934b6f44b1b43f583e3116506e04452b230aa4a83936f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/source-closure.json",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 228587,
|
||||
"sha256": "8684982dfad69ed5086415555db7700669a6c5cbbfaafbb2c937d3d55fa09032"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/source_closure.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 4124,
|
||||
"sha256": "8005db08d65e87fa793568df4b6bdc70eb599f86d2a627b464b7bde688749f35"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/validation-commands.txt",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 2805,
|
||||
"sha256": "304308bdd9c3f1e916ea23c02e2bf91b0acf9c246401c0301569b0d686a517a5"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/validation-summary.md",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 6637,
|
||||
"sha256": "7361d92a9bf626a4e319d696dc43dd80d82824e2a545b2f3d423cfa896d1661d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-document-evidence/verify_sources.py",
|
||||
"purpose": "隔离库/包/来源/确定性/浏览/请求/冻结的实际证据或复现工具",
|
||||
"bytes": 14752,
|
||||
"sha256": "fb4586aec7b2d4ba3be7dc82b7778ab8b312234c801d4cb092e93c8b736b5adf"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290-commit.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 256,
|
||||
"sha256": "cae8ecf4f7783a1424c81bb53b31f1e2a970c4d26ba0f20c3052d335b4fc6a3c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290-fetch.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 88,
|
||||
"sha256": "05f3c3c0277019f30a6a696efdacb3e578ecbbd74ac5ab66fbbd0dfbdb79e511"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290-tag.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 135,
|
||||
"sha256": "31f597eac29d94d3da83c88b2918810f5651cfec6195b7d04cdfa0b0d0603293"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290-tag.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 256,
|
||||
"sha256": "cae8ecf4f7783a1424c81bb53b31f1e2a970c4d26ba0f20c3052d335b4fc6a3c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290-tree.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 165866,
|
||||
"sha256": "33144bf50402f1f763be4b4a5e78666bb1669826e9bb61f69fc74f03cf6e6b05"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__image_encoders__dino2.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 23172,
|
||||
"sha256": "1dec8c1d6104c268e593cea20302d925f637266edce2a6e4dfa142af8a00d579"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__ldm__colormap.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 848,
|
||||
"sha256": "502137c8cc6280c6641fac7199f4c6a25e16162bb2038452a2b470e3f7b60394"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__ldm__depth_anything_3__camera.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 7458,
|
||||
"sha256": "b9c1bc79862c8f2b59a6058da1bf47c1aaef84ca75ec5131805fbdf2f81dca9a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__ldm__depth_anything_3__dpt.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 22891,
|
||||
"sha256": "756fa18408e161cb2ddf8adde82902d9fe3aa555be8252b60d045cbc76513ee5"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__ldm__depth_anything_3__model.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 9254,
|
||||
"sha256": "6f05ba0c22a34304f6bd6cde7e6dd26ceef474a99ad51d6632940f8d2decf6b0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__ldm__depth_anything_3__preprocess.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 5100,
|
||||
"sha256": "6bf00e9929451c39763a0661aa1430dbc78917bc028517a4c8dc290897601845"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__ldm__depth_anything_3__ray_pose.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 11705,
|
||||
"sha256": "a5ed28c0acc2daaeea57754dec4020fe91af60fd2af6548dfa68134713b36694"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__ldm__depth_anything_3__reference_view_selector.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 3557,
|
||||
"sha256": "24e9428a820b5287d622bc865d4fd6520486294c4337a28de71fca6ec62e0c29"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__ldm__depth_anything_3__transform.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 6010,
|
||||
"sha256": "30291a7f8d3d83cc6a911daf603342444ed30e7141abb3ba8ccc7f41273ac763"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__model_detection.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 84184,
|
||||
"sha256": "0232ef6d8ed62920354e0d28c0642035807f1405a0f2de6c9a7a4afcdaae86c9"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy__supported_models.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 81622,
|
||||
"sha256": "02143864b93c1b93fbff7d2d5f0af8c5670a68d7a2585460a95026a3873a856c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_api__latest___input____init__.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 429,
|
||||
"sha256": "0fdc5ca2370a4357a640215eb35a6a865579e3b00efd9b798fa4a28a44fc0523"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_api__latest___input__video_types.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 4634,
|
||||
"sha256": "6cba96f1f254094436de6c3e64c0a7b469e7cbaf3578c234c18eea88cf93926d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_api__latest___input_impl____init__.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 145,
|
||||
"sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_api__latest___input_impl__video_types.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 43418,
|
||||
"sha256": "b92ce73a66d3515fa80712f4bda8e286607dda9f21b80c9489465422ac43fbf4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_api__latest___io_public.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 33,
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_api__latest___util____init__.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 314,
|
||||
"sha256": "d119ea71c1bb687ea1a198344d164fa8b6b10f98fb2925bc040132a32672062a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_api__latest___util__geometry_types.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 4897,
|
||||
"sha256": "e40ac0a0e0918867e4462b5b500c59fb41ed31609420233f26f7d704c3e3b118"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_api__latest___util__video_types.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 1286,
|
||||
"sha256": "5d2f7dd2b82aecec3c05f8f5bd9519530736825d33590207ea0aa32b8cc8627f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_extras__nodes_depth_anything_3.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 31421,
|
||||
"sha256": "adfce28637b6904a08596aa23e22502d20089bc28fff6bcdaabe0b3c35fb7f02"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/core0290__comfy_extras__nodes_video.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 12074,
|
||||
"sha256": "421dcb63c0159c14c68d4cfbfd7403f43871e2e84d6336803467bd806f8a2aa1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/easy-commit.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 1447,
|
||||
"sha256": "90edd8d70d10d2a4318fd6db3f681f401676ed809154931191a50eb4922c35a4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/easy-fetch.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 124,
|
||||
"sha256": "3b0fe72b5b8f028d26bdac874e9e2f880fe29cdb436d4fc0f53607b822dbfabd"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/easy-tag.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 168,
|
||||
"sha256": "755585c0f5b05859cefcf62716a5006753b2ce33158aa70e5eaad7904c931a07"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/easy-tag.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 1447,
|
||||
"sha256": "90edd8d70d10d2a4318fd6db3f681f401676ed809154931191a50eb4922c35a4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/easy-tree.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 31387,
|
||||
"sha256": "6ff061d0be8387abdae33aebf5d57eefe007d12f1dbb51b09561051f378d6ea6"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/easy__py__libs__cache.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 2527,
|
||||
"sha256": "cd765967c7888bfe12993dabf497e097dddde6782598d11853b322dcc468ee6b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend-commit.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 1196,
|
||||
"sha256": "be8ee7aa3dc87f2086905c563df9798f59d61e5ad54c66e6a98e9a85ab25432c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend-fetch.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 97,
|
||||
"sha256": "415fd32ab7bfc7fa1c9f55861157d39df291a0f2bdffa1773be58d5c222d5bcb"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend-tag.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 136,
|
||||
"sha256": "02a8309975ab7600ac73a436f338c6d5eba40f90d5ccdfd1634be750ee04ed83"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend-tag.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 1196,
|
||||
"sha256": "be8ee7aa3dc87f2086905c563df9798f59d61e5ad54c66e6a98e9a85ab25432c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend-tree.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 779655,
|
||||
"sha256": "7913c71f8459e5391307d58f77b6b64495c4ee21b9debeba5a69a000ed877e51"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend__LICENSE",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 35149,
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend__package.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 9193,
|
||||
"sha256": "e25f7423302961b996e2f42201aa9259dcb8463fc638f39204cbc5870b007ba9"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend__pnpm-lock.yaml",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 606403,
|
||||
"sha256": "46bdafbd992ad8c0bca4dd7668a0456d320710f744bf64d0e022abc1e4bb00e0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend__src__extensions__core__widgetInputs.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 18316,
|
||||
"sha256": "a1157830281cfa246bbc95b0c1024852140ce65889477662375531f762dc4b11"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend__src__lib__litegraph__LICENSE",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 1077,
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 127849,
|
||||
"sha256": "d7c22582f6a0a5c05521d8b848a04a21e0d6df3339401be746b252b8d0ac5588"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/frontend__src__scripts__widgets.ts",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 12262,
|
||||
"sha256": "2afe2e069a0e163d36b892a7d46e3074d087f48faeef240610b6e4d55c6fba5c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/mediaout-commit.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 233,
|
||||
"sha256": "b53914601f5c16ff6c6ffdc240072d07e640f6c576c265f9efd359ca6139d909"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/mediaout-fetch.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 126,
|
||||
"sha256": "c626f456ed7ad026a6d089cb5dab2e8ccbd2bcc261f6b4e7eed9f1191054784b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/mediaout-tag.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 168,
|
||||
"sha256": "8d3c351f8729c2d7c06dacba88487747952ca29623098971486e592013f49223"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/mediaout-tag.txt",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 233,
|
||||
"sha256": "b53914601f5c16ff6c6ffdc240072d07e640f6c576c265f9efd359ca6139d909"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/mediaout-tree.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 46963,
|
||||
"sha256": "b7d456878ab98d91fd6445a0a4c5a6cd900e423000f5fce6a761e886751622c6"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/mediaout__nodes__video.py",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 46968,
|
||||
"sha256": "90164be4c6d1a5e993421643b6211b75a31b9114fdde73dc1947ecf08379498c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/director-video-reference/sources.json",
|
||||
"purpose": "准确版本必要文本/词表/许可/commit与已审发布成员复用,静态未执行",
|
||||
"bytes": 131755,
|
||||
"sha256": "30f21aaeab524a88b6517d1cac093bfb72e3e654f18c7fa9009f2511b39f2d63"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/导演台视频参考与多参图固定参考中文说明.md",
|
||||
"purpose": "97条目和零标准Note/完整轨道原字符串/自定义原属性完整中文固定参考说明",
|
||||
"bytes": 1338505,
|
||||
"sha256": "ec009f9f1d1b29c4c6d436e5859e797fadd7e3d974c4d910cf3a2141939a4e97"
|
||||
},
|
||||
{
|
||||
"path": "e2e/director-video-document.mjs",
|
||||
"purpose": "本图及旧120摘要真实本地浏览/服务清理复现入口",
|
||||
"bytes": 23033,
|
||||
"sha256": "d340a8ed11b9f8cfadac5dc70f9c14ea188609183a21fa746642c12c54904476"
|
||||
},
|
||||
{
|
||||
"path": "e2e/run-director-video-document.py",
|
||||
"purpose": "本图及旧120摘要真实本地浏览/服务清理复现入口",
|
||||
"bytes": 3599,
|
||||
"sha256": "a0907b702f7b7ac76d48985487fe63e1396617cb49ccaba0011d9d320774864a"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
13 files already formatted
|
||||
@@ -0,0 +1,65 @@
|
||||
"""Rehash every baseline blob except the two authorized product resources."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
from build_definition import OUT, REPO
|
||||
from rebuild import BASE, RESOURCE
|
||||
|
||||
|
||||
def main():
|
||||
allowed = {RESOURCE, "calliope-backend/src/calliope/comfyui/fixed_document.py"}
|
||||
entries = subprocess.check_output(["git", "ls-tree", "-rz", BASE], cwd=REPO)
|
||||
frozen = []
|
||||
originals = []
|
||||
for entry in entries.rstrip(b"\0").split(b"\0"):
|
||||
meta, path = entry.split(b"\t", 1)
|
||||
name = path.decode()
|
||||
if name in allowed:
|
||||
continue
|
||||
mode, kind, digest = meta.decode().split()
|
||||
assert kind == "blob"
|
||||
raw = (REPO / name).read_bytes()
|
||||
actual = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
assert actual == digest, name
|
||||
item = dict(path=name, git_blob_sha1=digest, sha256=hashlib.sha256(raw).hexdigest())
|
||||
frozen.append(item)
|
||||
if name.startswith("example_ComfyUI_workflows/") or (
|
||||
name.startswith("docs/hel-892/supplied-api/") and name.endswith(".api.json")
|
||||
):
|
||||
originals.append(item)
|
||||
assert len(originals) == 163
|
||||
for filename, data in [
|
||||
("baseline-frozen-files.json", dict(base=BASE, count=len(frozen), files=frozen)),
|
||||
("originals-163-check.json", dict(base=BASE, count=163, files=originals)),
|
||||
]:
|
||||
(OUT / filename).write_text(json.dumps(data, ensure_ascii=False, indent=2) + "\n")
|
||||
previous = json.loads(subprocess.check_output(["git", "show", BASE + ":" + RESOURCE]))
|
||||
current = json.loads((REPO / RESOURCE).read_bytes())
|
||||
changed = [p for p in previous if previous[p] != current[p]]
|
||||
assert len(changed) == 1
|
||||
target = changed[0]
|
||||
added = dict(current[target])
|
||||
added.pop("fixed_version_document")
|
||||
assert added == previous[target]
|
||||
(OUT / "json-pointer-delta.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
base=BASE,
|
||||
path=target,
|
||||
only_added_key="fixed_version_document",
|
||||
other_review_objects_unchanged=155,
|
||||
other_baseline_blobs_unchanged=len(frozen),
|
||||
allowed_product_resources=sorted(allowed),
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("PASS baseline blobs", len(frozen), "originals", len(originals))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,267 @@
|
||||
|
||||
> calliope-web@1.5.8 build
|
||||
> vite build
|
||||
|
||||
vite v6.4.3 building SSR bundle for production...
|
||||
transforming...
|
||||
10:00:26 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
||||
https://svelte.dev/e/element_invalid_self_closing_tag
|
||||
343: <div class="page-pad">
|
||||
344: <Skeleton height="64px" />
|
||||
345: <div class="gap" />
|
||||
^
|
||||
346: <Skeleton height="280px" />
|
||||
347: </div>
|
||||
10:00:27 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
|
||||
https://svelte.dev/e/a11y_media_has_caption
|
||||
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
|
||||
155: {#if shot.job?.status === 'done' && shot.job.output}
|
||||
156: <video
|
||||
^
|
||||
157: class="vshot-video"
|
||||
158: src={assetUrl(shot.job.output) ?? undefined}
|
||||
"handleConnectionChange" and "handleAttributionWarning" are imported from external module "@xyflow/system" but never used in "node_modules/@xyflow/svelte/dist/lib/hooks/useNodeConnections.svelte.js", "node_modules/@xyflow/svelte/dist/lib/components/Handle/Handle.svelte" and "node_modules/@xyflow/svelte/dist/lib/components/Attribution/Attribution.svelte".
|
||||
✓ 521 modules transformed.
|
||||
rendering chunks...
|
||||
vite v6.4.3 building for production...
|
||||
transforming...
|
||||
10:00:29 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
||||
https://svelte.dev/e/element_invalid_self_closing_tag
|
||||
343: <div class="page-pad">
|
||||
344: <Skeleton height="64px" />
|
||||
345: <div class="gap" />
|
||||
^
|
||||
346: <Skeleton height="280px" />
|
||||
347: </div>
|
||||
10:00:29 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.BNqRmRvq.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.uXCGvL5x.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/9.Bmn0EWKv.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/BcK9rH9M.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.HGdc0FCd.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.SN6EFtoF.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.CFJyPn1N.js 1.18 kB │ gzip: 0.70 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dp1pzeXC.js 1.27 kB │ gzip: 0.73 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/6.DYwmueL4.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/26vkAGH9.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.D6BHX4Ku.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/DWyUa4d3.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.BM6kTzbi.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.BFr9lmbG.js 11.97 kB │ gzip: 4.02 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/0.CcvzD77g.js 12.03 kB │ gzip: 4.41 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/10.DgUwbqir.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.DXbV9lp8.js 23.02 kB │ gzip: 7.51 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CfNzRusY.js 23.98 kB │ gzip: 9.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/11.BaMljstu.js 24.95 kB │ gzip: 8.35 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/3.CCvcouDR.js 25.68 kB │ gzip: 8.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/4.BJ3177_m.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/Ch5WVwl-.js 38.54 kB │ gzip: 13.86 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CPluiqx0.js 41.30 kB │ gzip: 15.68 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/19.DASq-jEx.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/DBjrpuSy.js 81.38 kB │ gzip: 27.49 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/8.B8A-llPu.js 86.49 kB │ gzip: 28.96 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/7.DE2kMVxb.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.94s
|
||||
|
||||
Run npm run preview to preview your production build locally.
|
||||
|
||||
> Using @sveltejs/adapter-static
|
||||
Wrote site to "build"
|
||||
✔ done
|
||||
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"base": "48b5771022bd2cbdfa17c876894ca6134fcefe10",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/__init__.py",
|
||||
"sha256": "1d3488bcc2eadcd8a8f2e84ab4f6e9bdf52096b8af637c4da399db041d5a0543"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/client.py",
|
||||
"sha256": "ce30b3b3587d8f0dac86d534b99f31b95f1f4d0acb361babb45fd2be9513fe72"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/companions.py",
|
||||
"sha256": "7dde205059bf489e3d39539a8b42333b3947c3989d890441f70a45cf67d9ab04"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.json",
|
||||
"sha256": "3a85718f877a63be54c843e2610b24dcc3013a6011f705d6348c91e2c7f78fd6"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/delivery_scope.py",
|
||||
"sha256": "0b849256dbb06f709c1ba856c34b3df04d2fccf09984a6e1fe1284b792eaf867"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/dry_run.py",
|
||||
"sha256": "f8bf4d1b91d959044de1dbc4aeb11bf0bb521f51f1928d36a46c670381a08ed7"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/endpoints.py",
|
||||
"sha256": "fc99a623850b581ae38843bbc3baf1b71ca9fd633e6103a34cb809a345e5a647"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/h3_chain_reference.py",
|
||||
"sha256": "a5c0ab92d99757c168648ddbc0418b23d2b871f674b153e9a240b75409cf5741"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/h3_core_reference.py",
|
||||
"sha256": "2913654b6ec3dabac1d36b1894064b8e077dd1d743d546e81667b317339f8a5f"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/library_cli.py",
|
||||
"sha256": "04bfa8cfbe3f9378e78594958973118ec95aa1ff0bcdbdf4da0311abbdbcd380"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/lint.py",
|
||||
"sha256": "9b79bf162e13fb68321727fb17f96d6fc0c217d60db85de38235c4270bf9b4e3"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/output_map.py",
|
||||
"sha256": "36ed4ced825e4f7e1d389602085451b5cb9336b319d220f423f59f83fed6a70e"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/parser.py",
|
||||
"sha256": "a02d583c6a1cf7f85e77341a20308823771c233fb95241118a264e202a5230a0"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/patcher.py",
|
||||
"sha256": "8ac1417f0f78d952cdb219b10811a6ed7d4ce3bb0d561708858c4a8f5d15b45d"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/preflight.py",
|
||||
"sha256": "6629961d33204cbe5b3fc3d8a5a0a4de0c86d235e73f542d191429cf7f4bd2ec"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/profiles.py",
|
||||
"sha256": "4ca33343fc3f20e0fb82558cb428548f6415af04fb90213a694fb759515732f2"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/protocol_references.json",
|
||||
"sha256": "a10aaf98db9bb3b5ac6d1fc30b18c40cf315b34eee57ebb19470a6664e9221a4"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/protocol_references.py",
|
||||
"sha256": "ab9d948dd1bbf83dfce27186d6e48d9c3d5dff129305afd760fb3e77570b2916"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/registry.py",
|
||||
"sha256": "0382eda52a31f23c1c29dd7a62d0ffc93e10fcbb88872a5893b8fc93a2b2734d"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/roles.py",
|
||||
"sha256": "cc0b45eac2d881a6f7cc5ea88ceadb03f71715240a45257fef3a76bfc53d56c4"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/serialization_reference.py",
|
||||
"sha256": "67724fac65acbd397198271e1ed17b91f592f52da7ce8299e575d4c597d57fa1"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/smart_fill.py",
|
||||
"sha256": "adc34e80cca7a2b38cc834a713c9e64001caac84413af288389e5554e304bab6"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.py",
|
||||
"sha256": "b85e26f1e4fce77f75429b7bc0653401065b2cd28151bdf5d9edc87c096e9419"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/structure_reference.py",
|
||||
"sha256": "a9f3a8ed314a0c0a424c6781db4e83af3a85cb8b66b16b01380b5fecc3e1f0bb"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/ui2api.py",
|
||||
"sha256": "86a9c98ad72afa15aaf706bab8b39589a1cbca2e93da40d0aed9f963c14c0d1f"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/validate.py",
|
||||
"sha256": "c27fca69a604705b06809fdd692975ca0e7a08d05d558172962f8910a6a0491d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/01.api.json",
|
||||
"sha256": "0ed76e088a23af43d6fecbf273fc0a983d7112e2b046d347f715afffac56d57e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/02.api.json",
|
||||
"sha256": "daa40971b730076691721afe95e165932df94e3423f1fc44dcb7707026e7125b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/03.api.json",
|
||||
"sha256": "91e6c2cea3747a03bbb71f661dbd016b28040781482b956365ff76a7a8b647ce"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/04.api.json",
|
||||
"sha256": "2066b07b2ca5390ba3e795df6b43934dab83865b12870b6ff26d8c0ef24f091e"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/05.api.json",
|
||||
"sha256": "95a01c1ea27a8279a6dc202820505099a94161d91e0789189b61208b09007af8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/06.api.json",
|
||||
"sha256": "3e9176a5346ce8b8122b6da10f377fbeb894dc7c2c82a415f85ffc0dbfefc90b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/07.api.json",
|
||||
"sha256": "b1b4f6a6c02d8d21701943c67b62805b1210fed17e7e26b618c58e112ea1d70d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/supplied-api/manifest.json",
|
||||
"sha256": "f1367b4fa7a8377fb57512d17c80bc697d4d3abd0adb77adc3c06c6dedab69ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/ControlNet_aux_常用样例.json",
|
||||
"sha256": "8898689d777330c4749a079cd762f573bb12a278c47a2fefbd066ffbdc122b6b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
|
||||
"sha256": "ffea53b27d52c63aa9ec9c60144489cc4f9e5a44d9478bcc297be9d9008f1a4c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
|
||||
"sha256": "a6799c5022c13e46d2b1cf27809cd3c1e1d140a605fa226c19359682751fd036"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json",
|
||||
"sha256": "5dbe1a7ab608ba6e9158369ff6498e9bb3f926d151a0ed31cf711c31b167c488"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/NLF_视频人物动作骨架获取.json",
|
||||
"sha256": "1edc7ae5cca8e059577a9572d296c84e1683695e4f13a72388ff70473795ce97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/openpose-video-姿态检测.json",
|
||||
"sha256": "43f76f599f15058b6e62ae0dfb105518a37532008eed23ef7118e4950b37a608"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/人物骨骼姿势提取/sdpose_视频人物姿势骨架提取.json",
|
||||
"sha256": "4586c72d8a906d4a956fb7d62307b81e57e4e345324c7e73f63103e56bfffd14"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载图片合成视频.json",
|
||||
"sha256": "f5245d225f77cd64aefe6d0b8bb9342ec48a8a6293a533d65ea7304ce1b03f93"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/加载本地latent解码.json",
|
||||
"sha256": "1fd83bd3f2d7950440189932b4c17718190af88daa4a93ac86474081dea9005b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
|
||||
"sha256": "61a0b1a2aa17a7d8c4f09f4f57e276eaf37227f69b5fc5789193005e593548c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像4种添加水印节点.json",
|
||||
"sha256": "2eecd407d667d2ef6249061181edfdcfc417a2151627622f280d74aaac1794d8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像分割-多宫格分割.json",
|
||||
"sha256": "aeceb3fd00eb0966eebf8d8c89d90e2ad29d0aa8d02589aa05d52a6c145a4bcc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"sha256": "fb5e5b346d51a79c19e611b76d39cf4b9491493723684bbb85ab3c49923467bb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像嵌入文字描述.json",
|
||||
"sha256": "938ad9ad0eed2253e9a5a9a9dc16dc6b0a22bf976a80af90aa1d0b56e42ba7d3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/多视频合成分屏展示.json",
|
||||
"sha256": "3c2f6558c199a7689546dc881df2b26dc31c02715fbc7b32f51caaa4601c13d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
|
||||
"sha256": "43858b9121439a92e7ab35c2fb62b78e56fa93bcd0ad62679f2387f71fdec1fa"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/Llama-cpp+Qwen3.5-提示词.json",
|
||||
"sha256": "9071928ce74d5133401942583603a6bc98873263fbe4c32a438fe73cee81ce90"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
|
||||
"sha256": "1a94bdd5987955a29e403d128c2ea5ca0b6bc8a8d5ece145e1baba07146588b0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/深度图/moge3_深度图_几何图_线稿图.json",
|
||||
"sha256": "a50e8b9961fbdd83fa42ca121ff77b3c1b058c7e454ad374b0de7c60e7b8c4a9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频-音频分离.json",
|
||||
"sha256": "4861e3e33291ed962d2215b1d8cc976a4706d19719e3541e9cbb2c636683afc3"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频倒放.json",
|
||||
"sha256": "8c760ea58d7ff664323f92a1174fe88300cd931c00201ccf437df1ad0067cb24"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/视频转gif动图图片.json",
|
||||
"sha256": "39f7ddf60bf5958882215bd4227a85707f1f9003f2c5aaefc709a28b1ef16827"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
|
||||
"sha256": "3c4bc0f7b1891e298a5d4e00072c6243a61b98d5fc0d86d82a476ecead43a1a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频转MP3格式.json",
|
||||
"sha256": "c46e83b4fe8fc291e9de45b4af6cc50b566ab9377a51b50767315917dd13861b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
|
||||
"sha256": "35bf9b7731e6199b5ccc113e31c248573f9ae74d1bb9302071a3a97524fea8c4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
|
||||
"sha256": "ce189e5efdb1d608eaf7f7905f0dbf3776be2c199e143193c226ab497f2eb9ec"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_图像放大.json",
|
||||
"sha256": "2be6b137efaaf25a54aaedc841a14ff3089afdc8a01a04af6353634b8457393f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_3b_int8_视频放大.json",
|
||||
"sha256": "06c427c688c13b87ed5724ac6b1ed432c31f8ea6c44212b3e7596b94128619da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/Seedvr2_视频放大FOR循环长视频.json",
|
||||
"sha256": "576a9516292ed3e63b50c2a03fbfc1a99f9d643f526dc7fa3b98f6cb9832c893"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_图像超分放大.json",
|
||||
"sha256": "87484f700a9a18d1bffbc61834af2b489a58171dcb4a225e210e695a30c85dd5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/VOSR2_视频放大_分批循环长视频.json",
|
||||
"sha256": "0f55316d2961a293a7d9f77b7993fd6f01bd5a41a4dca58f69f4d0b35c0aa6ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json",
|
||||
"sha256": "1ca5938a963921b16c96649a97d3b1a9f75d810d3aabcd7ce472a30e5805f3e4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"sha256": "bf47ba2462a3f683fe4f1d742b7dcde81a7a3f95e7e63c021e942a6c4f9ef071"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
|
||||
"sha256": "47f9afa955a6a5dce37000cb6a15bac7516d26ff50b6398bda334c825552cfd8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-语音转文字.json",
|
||||
"sha256": "958a3b7cb7070f4207901c79f13863b44ffcd0ed5c2c7fb4cd779e7964da0d65"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_多角色对话.json",
|
||||
"sha256": "549a6502b3e0d4386323e6e67d6a9b4943b7a01eb59bdbe7adc7a920cfe5b690"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/Qwen3-TTS_语音设计+语音克隆.json",
|
||||
"sha256": "9c75272e418064f46da96f6167448216a9390566e4b5d5e168d8cc5955447ab1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/1-语音生成/index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话.json",
|
||||
"sha256": "d2c469a8a17c6d1fcffb9a96700c38290895873d99c40d13d669bd45f6ea79de"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json",
|
||||
"sha256": "668fae23de5f84cc530fa4cab7381299cbc787b30c4597345b47e7f5c17415ef"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
|
||||
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
|
||||
"sha256": "0a655ead5a0da406159dceb46451439df0c02050becaaa25b3018abb41840284"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Anima/Anima_Klein放大_超强动漫模型.json",
|
||||
"sha256": "000843bc0e46844e556b04fc820ae1b2f7fa9bba1dd0ec21805c0c7ab27a647c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/10_flux2_klein_文生图-角色三视图.json",
|
||||
"sha256": "e04e5bd04f03ce32b5221d37c5f7cffb0405b1471cb7be90b47b407d900a49b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/1_flux2_klein_文生图.json",
|
||||
"sha256": "523905ac41323c626d7a156c88d02156cfa4758a70175cd7a3fba2a8c4fd449b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/2_flux2_klein_图生图.json",
|
||||
"sha256": "c0472959097f4e785205f41109c941dab26d12a874311834a7dc02c4616bbe9b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json",
|
||||
"sha256": "c6af28d5bd72df5577f1e4d336974397494dd500fff23efd4afe81037514be71"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(小志lora).json",
|
||||
"sha256": "43995837f89e5112afa74a57180dc356f7b4d4ef9e3a325984a2fc5ca1b7c651"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
|
||||
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/5_flux2_klein_图生图_扩图.json",
|
||||
"sha256": "ad8c09e81b07aa7809a7d42f633d0b9069f704187e7a983bc2ac12bc3cbb8507"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/6_flux2-klein+Qwen3.5_转线稿洗图.json",
|
||||
"sha256": "40a9fee073066914ac610f74dc7f7a49022bda63f5b89560d4bd635094a5c757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/7_flux2_klein_图生图-动漫转真人.json",
|
||||
"sha256": "8cab62c6b7b2401bb6b51ff4426aaad2a644fc6cfe49d974769fadf19c16a0a1"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/8_flux2_klein_双图编辑.json",
|
||||
"sha256": "9d00eb7af7e8d49c54396e6dc2afe7770f99cf75ae765dc1b906c8c9e6b69d83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein-图生图_人物动作迁移.json",
|
||||
"sha256": "fc6daf483ac05fdc904ca402271223d14cc217ea4c81a17ba2ef4cae993aefe7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_人物迁移.json",
|
||||
"sha256": "81409bdcd546102a7a6d5b7e32578912bf7ad4f89b35718de0401ceed624225e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_印花提取.json",
|
||||
"sha256": "8768dec340e35dbd70f928d8bbc34813b2bd45f5c270c405d4495b92da478337"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_图生图_老照片修复.json",
|
||||
"sha256": "922c534d70b85beacc2cd51354552ed1d850dbb611b20f2d6981c4e524ce06c5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/flux2_klein_服装迁移.json",
|
||||
"sha256": "e3f01ba44f3628297e714b4307ed959758f04e0415093dc5ec690857384a8386"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_Image2.1_图像编辑_VNCCS任意角度-任意姿势.json",
|
||||
"sha256": "a5a675500a473214eaeb1d25dc1eda83b57bba3a17d18f1f0042bee62b474314"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_一键16张姿势图.json",
|
||||
"sha256": "248b6c5ae28d5a44035c5ad91bcdfa458360a67598eaa4d195c3fb6853b18a49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_动漫转真人.json",
|
||||
"sha256": "1aa1d3641f82533f99d99567c2708919438b9efbfc6623d684a9a88b876b75cd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_提示词增强.json",
|
||||
"sha256": "ebf173eb9d871717534a379d451d4a08ca06c3b677b552de12a5d51dbe8febf2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_深度-姿势-线稿-硬边缘-控图洗图.json",
|
||||
"sha256": "b6e232082089dd9c4046e0dc5bd1d046907525b8cb01758fb804b5f4aa11275e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_背景移除.json",
|
||||
"sha256": "d225102993ad5aa08e619bd7f1e5abbfd54e2d5ac8d8be1eacf09722107c4c9e"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色BFS头部迁移.json",
|
||||
"sha256": "6a9da127ee2bccafeff7499ab3d62f349aec1eff4265cb211bdec578dba1fe7b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_图像编辑_角色表四视图.json",
|
||||
"sha256": "0036c02e1ab22f44c94bd9f311d5254d7b3b0cea25211bc4ff1e92cd90e0acdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_8步lora加速.json",
|
||||
"sha256": "172b8fff0b531fbea367e79aa6b5ed1e6b59cab2ce6cb23d324092d5b55a3f97"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_提示词增强(N版).json",
|
||||
"sha256": "ae6521e5f42bef0b887f754c2fec5961d612afc464fbd98940a976a9795662c6"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生_多图编辑_透明背景.json",
|
||||
"sha256": "5853f21657d56e97a6b625c4487e23473b846fa8c96dc292f3700b3075245a39"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_提示词增强.json",
|
||||
"sha256": "dfe10917d101bf1a8a8c20750f4360690ecd478e9eb33d16a59ea0c6f12c086c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Qwen-Image-2.1/Qwen_image2.1_文生图_角色表四视图.json",
|
||||
"sha256": "6fd307b02b7ba29858723e283580c1cf4ab1fce8804a3ced1f4fc37934965392"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/10_Z_Image双采样+Fluax2-klein修复-高清直出.json",
|
||||
"sha256": "043cd2abe731996b80637d87b9a799e412e08b9a15e4b7c2f4440fbcff2487b9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/11_Z_Image_Turbo+模型放大_图像4K高清放大.json",
|
||||
"sha256": "baaa0cd969a28abe5e6ab19b3d7f6e161468cd15c970fe4bd9922afbe09ab4da"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/12_Z_Image_Tubro_文生图_SeedVR2高清放大8K.json",
|
||||
"sha256": "8d79bcd44a7843ac5df9fbcd372a6327ba72274260ef463c46ec85709da7846a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
|
||||
"sha256": "36713b1a3f5c4f2992c7edef2e1e8c3246d44d28ecc750b87f4353a08c3b5ab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/2_Z-Image+Base+Turbo+双重采样工作流.json",
|
||||
"sha256": "27108ae85715b147f63d8640ee032484c70a21633e2c6234eed346079b9aba2c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/3_Z-Image_文生图(摇光梦幻).app.json",
|
||||
"sha256": "58e88cacc6e1375cad39023e39eb1728eb36e63acce3c46fca40898d706b1d42"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/4_Z-Image+Qwen3.5-文生图.json",
|
||||
"sha256": "56bd28b5253fe734e851abd81c7851d00c62e4dbf37a22d97781d93ec367a35d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/5_Z-Image+Qwen3.5提示词反推_文生图.json",
|
||||
"sha256": "910317a123e658f26e48ad5cd144d28b7f31e0d43cbdb3ed567048c7917b5c73"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/6_Z-image_局部重绘.json",
|
||||
"sha256": "f60e734b6ed9e678571ad7666411d6282065c38abe3e9c29ea4c5cc1c3455505"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/7_Z-image+Controlnet_图像扩展.json",
|
||||
"sha256": "82cda5dca2e224a5b042daecba4c3c1405a825648a9e9ced29fe21e58f7e55f8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/8_Z-image+Controlnet_姿势控制-洗图.json",
|
||||
"sha256": "babc1dbeb3bb4981e338d8317ff9fb6fd8c28913bf47a2e2e3eb5409439447bf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/9_Z-Image+Flux2-Klein_风格重新编辑.json",
|
||||
"sha256": "3734f261691c3ad13d29b30d88e91f671d9c548f723e77d78651c7155b06c408"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_插图漫画.json",
|
||||
"sha256": "02ea31b959de72f9b5c00a92f21b4e17bbc2bf5a54495093a204957771a88039"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_照片摄影.json",
|
||||
"sha256": "740d7d41b3248978dca2046d9a2ea99d3a66ef081d45609782d2847f04f7e0c8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用a_.json",
|
||||
"sha256": "e58341a99587077a69baf3cec62d9ae7bb0ce02a87cb3973ce3134c04a119b23"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Z-Image/Z_Image_turbo_十八种风格_通用b.json",
|
||||
"sha256": "8d9e66744e0266c5f53a6396e030c38bb90053f2525ac9c3c6cc1b321006a976"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_4_6_8宫格故事板.json",
|
||||
"sha256": "776b2f92f8906232c2ffe1b25c8b9cfe3398bfe45a9f80715f6ce5acc03e96b4"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_极致写实双采样2k版(N版).json",
|
||||
"sha256": "50433cee0d5bab60a2cce44d73adbe5fe9b486c039bc89e1caef640fe6e0b28d"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/Krea2_turbo_文生图_角色三视图双采样2k版.json",
|
||||
"sha256": "64bb5eb4e5399d307c12553717b8a1f0046f48b625b16e62d40e962b6bec1847"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2-Edit-Anything2Real_动漫转真人v3.json",
|
||||
"sha256": "0d482e6c6fac70af6dd5549e8a464ee080a0ec135350d72d32a4ce4a8fd05bbe"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_identity_edit_图像编辑.json",
|
||||
"sha256": "c208883f17eb873063a4febaef636f0fa065131fc82bc4b0b26eff41f442719a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图 (N版).json",
|
||||
"sha256": "935fc592ead1a89614470d41c512e2d7b4a41a6887f71a0a8d8f4c071a60e3c9"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图.json",
|
||||
"sha256": "6b317af2bda225d9441074ef330669b4537e95c705987223efafd2705dbbc344"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_2万提示词随机模板+4千种风格选择.json",
|
||||
"sha256": "599bb58d48d68de929e7ec476f77e9f7c736c00235b68570416d214d3b4e391c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_Qwen3.5自动提示词生成.json",
|
||||
"sha256": "afafb0e0ebdc445a7534041589b7f6a580e0b15b8293c2fd26907474892f5957"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格2.5D半写实.json",
|
||||
"sha256": "3faf9b1f0a20c7d21367af1721583a7402f048e18991025f9afff192ff8fe077"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格Image2风格.json",
|
||||
"sha256": "bf65d0080ab80a5934855a0dbc7a5e167300bb54e24a18e05e4321a70ec838ea"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_动漫风格线条动漫.json",
|
||||
"sha256": "9bab028943604b4b167a56dcc51475f67bac897c9eae3c7bf9d311b2c5cb7d91"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_图像风格参考.json",
|
||||
"sha256": "8c248ccc44df79b475c81e0bb260596ece066d65f2a21c0b2a72dc6b2441b170"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_奇幻现实风格.json",
|
||||
"sha256": "7a2af26c48114c7f1a7741a5cded07c0cceb68c4e69410de8af6429eb6b5041c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_极致写实(N版).json",
|
||||
"sha256": "ec98804940c28956af1719096751bba2d274eef8a251b97207ac655a05779384"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_细节增强.json",
|
||||
"sha256": "faa28f85fbd80ec9c3aba76749d6447c1d3b4a8489c88853ebde665a4f78ef10"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_美学质量增强.json",
|
||||
"sha256": "fbca5f24abf71f10ed5e2b90012aab1c25c6632a18541fbf0412b8845f603b85"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/krea2/krea2_turbo_文生图_赛博朋克现实风格.json",
|
||||
"sha256": "a353acdb89b02462abed5f1513acfcb4f538c50ab5bc8ede8e8597f3ce8eea60"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/肖像大师_美女提示词生成.json",
|
||||
"sha256": "4ff20f7350813ec74fc054971b4532200d61661951c103c89f7729f89f7be2ff"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_i2v_图生视频8步极速.json",
|
||||
"sha256": "c5eff277eeeeefacb39c4af2e5ac41251785cc18ca90c1678a653367f4dd5942"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_FastH3_t2v_文生图8步极速.json",
|
||||
"sha256": "ed4a30da03245f35ff9006ac64cd045c1b9c64eb8b585520dbbb418f6793fc78"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_多参考_双采样潜空间放大.json",
|
||||
"sha256": "8b97388e142ddb67c84f2cbe0bb68c10f519e7615d75f1ea0005580fe4537ab2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_孤海智能一体化(多合一简化版).json",
|
||||
"sha256": "827f43d5d9bdb6f2d6f4d8b69e86708e6d08642ed0df04bee15087d10b9a0e35"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台MiniMaxH3_多合一多分段拼接.json",
|
||||
"sha256": "34fde3a91f9ef932adc2837cc9d4254bf75a3251ad5c6474d90e4085690cbafc"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样多段循环-PV动画尾帧衔接.json",
|
||||
"sha256": "c8a442bd8cae8dcd75a6a01847ca99b75dcc37ef8ff0a855c82213ed25e943e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_双采样潜空间放大.json",
|
||||
"sha256": "2434bd48e3c29abf9e6ed0931f3c8825481772a134a065f6cfdd3c0b89ba81b7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文-图-参考-分段循环-双采放大_多合一.json",
|
||||
"sha256": "698430e2b234a107b15f1bebf7704833afeea819bd21a3af56f7121daa1383e0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_文_图_首尾_参考多合一(单采样).json",
|
||||
"sha256": "526986a02875bbefebeb8a81cce9b58a8e764ab0c0092b2d8e858ecfac771638"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-多宫格分镜参考.json",
|
||||
"sha256": "d2850f5fb3e5b54e3e4ec9e17f34bdb11bf7009728b5e585c769fb2f11f80275"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_短剧创作-音频参考.json",
|
||||
"sha256": "c188a7383a6c7a0dbd5d4d0717527b096ec73c1232373ee50c731bceefcfe7fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频人物替换.json",
|
||||
"sha256": "dce57cfc239c9f90cda2107fff5614b2cb0944e0441d9d8137b3f1c325f41a7a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图-SelfLift双采样潜放大.json",
|
||||
"sha256": "97ec7f73f32126aa24798fc65736734dfa839b74d25c4b2a94021abe063f06d7"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
|
||||
"sha256": "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台时间线素材_双采样潜空间放大_多分段拼接.json",
|
||||
"sha256": "172eb8af3aca70082941427520fdcca06568957bab3d39101c5e9d6641b45e4a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频MV_多参长视频分段_Selflift双采潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "bdc93d36fb8a4728dfa8031d1f00782d68e8e6aedd718b166f57e54216f2882f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_音频数字人_SelfLift双采样潜放大分块_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "903e32248fc0c53df36c5841f4f4ccdb5fb8190a39c6c9015d3e55a451aaf7eb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_参考生视频-8步高质量极速版.json",
|
||||
"sha256": "fae96106a128342a6903bd32680463d1be98c0d5ad738d2fff40fc0f52a35389"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_图生视频-8步高质量极速版.json",
|
||||
"sha256": "97f188c9295af0dbe6358a4b23117ca1612e812d2fa3df67dd7b10ee68e96fb5"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双时钟采样_文生音视频-8步高质量极速版.json",
|
||||
"sha256": "5b45b49ebe4402c207e7d894e03a1bb53482b24a0c09ce50d549be4a01f9c6d0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_T8双采样_潜空间放大_参考生视频.json",
|
||||
"sha256": "fab48be409cf423aaed7be268c6655ae39ecd1733218413c51874c5ba2ad0bdf"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_r2v_参考生视频_双采样潜空间放大+Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "4c1305fdfe6d5643e64a7b6c99cc92e331ffc9475f30fef5e0119c887367aab0"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_视频动作参考_SelfLift双采样潜放大_Qwen3.8官方Skills自动提示词.json",
|
||||
"sha256": "2be3981360fff849a53a928a6a2040c97bcf1944dce2df82d716a805c0ef2594"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/Minimax_H3_音频数字人_单采样.json",
|
||||
"sha256": "77b665bf6bcd11195f424d42d88f5142b43b0c608af776eef5744aca896f4b56"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_i2v_图生视频.json",
|
||||
"sha256": "a071e6070ee933396f225b4447c363bbf6b0df059b3cd43da567e81bc7937e84"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_r2v_多参生视频.json",
|
||||
"sha256": "89166eb9cce4c9177a0f9a0a3a058e140429413e7beb3692e7ee5c30b76bc4fb"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/minimax_h3_t2v_文生视频.json",
|
||||
"sha256": "039d46a5bbb809b84fab3b42c777118f91d0c06835555d54410631742584f1be"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3多参生视频无审核版.json",
|
||||
"sha256": "e501089f36c4c7f76a9e926e09ab9c467316d0778e62dff4c9e9faa6b155cb83"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3文生视频无审核版.json",
|
||||
"sha256": "07baed6dd4a259701f7e5563fa1f19799fbbb558668d09a74876db3729fff3a2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
|
||||
"sha256": "d47d3e995858a9c581863a593d89d4f6a24ea04014a1df3faeffa7e07cb19537"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_rCM_数字人对口型多动态(KJ版).json",
|
||||
"sha256": "90fb512939d5bbaebfd3462d8edd019ad388611951748e6df09993ddd7f3a36f"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_I2V_InfiniteTalk_提示词调度动作控制图生视频数字人(KJ版).json",
|
||||
"sha256": "98b4c399948f99aeac9326b4de9638d9a7bc3d718edd2561ab745f6bec12478c"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-单人for循环长视频(官流).json",
|
||||
"sha256": "ebd0c2823b70e5121f9642f781f2d0fa32cda6abe7d4a68fb0eecacc30e92d06"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/5-数字人/Wan2.1_infinitetalk_音频驱动视频配音-双人for循环长视频(官流).json",
|
||||
"sha256": "87412366e6bedd2a2f4490d1a945d0fc005251bb49a20e4ba1157cd6c4ddfbcd"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_SCAIL2_角色迁移_动作迁移_FOR循环长视频.json",
|
||||
"sha256": "60d7a6c9b1b567d726ffd0981de3d8afb3675f88b320733d8442081d849b0ba8"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_动作迁移_WanAnimatePlus_v4.2.json",
|
||||
"sha256": "f0da1e6c1eab5706d29d8d12897db0cea0d9d5f7a73b4882cf07ef2a626dda45"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.1_Scail-2_角色迁移_WanAnimatePlus_v4.2.json",
|
||||
"sha256": "395dc48ad21d9da6a3a815654922193a9893696015154f53be0cc6f484882637"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_SAM3-人物迁移-动作迁移-长视频循环(KJ流).json",
|
||||
"sha256": "3ea95e56f193c046937ad246087292865a809d2cc26571357c22fff415295f41"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan2.2_Animate_人物遮罩替换(官流整理).json",
|
||||
"sha256": "394c3c31ad05255d3eb130f309d8445764f4d3772b40fa07fbf19708bfcc1002"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/6-动作迁移/Wan_Animate2_动作迁移_for循环长视频.json",
|
||||
"sha256": "22b7853e22629822dd354b0b768e2961a53b4c2f480cfaceeaea9dc51c0f0d0b"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/Krea2_t2i_20260818_API.json",
|
||||
"sha256": "dcf5fad9b464e4154d8ec7ba7af1c21987cb0153c7df747266a02de9f24e1313"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/MiniMax-H3-Turbo-R2V-Extend-2Refs1Vid_API.json",
|
||||
"sha256": "080a17d7ae079f278518de1af15b880a4404105ec89edbac4fd82cf16097b757"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/krea2_T2I_CharSheetV1_API.json",
|
||||
"sha256": "6a991229721d0a501846bf0bc55f793d1ab5225be28b2c9eea485fed56ed5b40"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Image2Video_20260813_API.json",
|
||||
"sha256": "3d895b01e72c10008c036a9c65fa281b3dfe0d0808417089960fd8f4b56c48ce"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/minimax_h3-Turbo_Text2Video_20260813_API.json",
|
||||
"sha256": "55c6d0e7fb323e05c3d9373606607e0e8fefb3127cac356b03e29f19b7aaa4ed"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_2ref_API.json",
|
||||
"sha256": "56ab7cbf2402f94000eb1df2b5415f90f36a2821e68f1c35af17a2d9498e7c49"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_3ref_API.json",
|
||||
"sha256": "2a687133f175180584ebfc3b4318f29cfcac3a24a0f422e1b9c77e6b16c9862a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_4ref_API.json",
|
||||
"sha256": "0b00bfc29ad48f8af3c7b6ebc1dcaa03b809b33c24bc31dadc628289480b154a"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_5ref_API.json",
|
||||
"sha256": "0b6c1bee6507c2485aa115d3b6c038c6c3dabf1ce8569205f8ece50e58f4e909"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/video_minimax_h3_r2v_API.json",
|
||||
"sha256": "29f440f7123b9ce64e0fda01ee3cdafb7f87408c47c1fe46c2b73f88682eae0c"
|
||||
}
|
||||
],
|
||||
"original_files": 156,
|
||||
"all_unchanged": true
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"get_sha256": "2ebd59daa38cc85438012a3cca562fa72ee0262da42b5e533934412eb3e25e57",
|
||||
"export_sha256": "8905e717f9b3d49f2cbcaf245e97be1dc9dfbdfa49691518f8696cab37767a9d",
|
||||
"canonical_doc_sha256": "e609e0e94a8377a28d4b5b09e614a3c66d79f9d1321a352df3cce2a083f67ff2",
|
||||
"doc_json_equals_isolated_export": true,
|
||||
"workflow_id": 120,
|
||||
"pins": {
|
||||
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json": "5d9000e1cb2b23236cb9f12bfdefa0035ce5ae4fe41db1e8d9d9327e4d1ba0c5"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"batch": 140,
|
||||
"accurate_instances": 27,
|
||||
"unknown_identity_instances": 34,
|
||||
"unknown": "32 Set/Get and2 Label have no ver; no aux/UE/rgthree same-name implementation binding",
|
||||
"DA3": "All3 exact core0.29 classes/entry/schema/implementation acquired and rebound, no independent plugin substitution",
|
||||
"conflicts": [
|
||||
"DA3 mode/output typed dict vs saved strings",
|
||||
"DA3 tooltip mean/std vs percentile helper",
|
||||
"TaskOutput extra previous/LOCKED_AUDIO absent exact829a",
|
||||
"GetVideoComponents COMBO and extra color_space vs exactINT/four outputs",
|
||||
"core029 minimax CLIP absent/audio no nested extraction",
|
||||
"easy saveVideo typed modes/relative returned path",
|
||||
"CreateVideo extra fields/bit_depth COMBO",
|
||||
"SaveVideo single data output/typed codec",
|
||||
"swap no container3 vs4unpack"
|
||||
],
|
||||
"credentials": "nonempty sensitive-key recursive substring scan empty",
|
||||
"history": "139 closure inherited; all prior failures/first-time unknown remain unchanged",
|
||||
"upstream_executed": false
|
||||
}
|
||||
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"base": "48b5771022bd2cbdfa17c876894ca6134fcefe10",
|
||||
"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": 97,
|
||||
"new_notes": 0,
|
||||
"old_saved": 6967,
|
||||
"old_notes": 214,
|
||||
"overviews": 121,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,93 @@
|
||||
"Independent original bytes and every physical boundary; no layout mapping."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
PATH = "example_ComfyUI_workflows/4-视频生成/Minimax-h3/" + "MiniMax_H3_导演台_视频参考+多参图.json"
|
||||
|
||||
|
||||
def inventory():
|
||||
raw = (ROOT / PATH).read_bytes()
|
||||
g = json.loads(raw)
|
||||
(fields, empty, notes, scopes) = ([], [], [], [])
|
||||
graphs = [("", g)] + [
|
||||
(f"/definitions/subgraphs/{i}", s)
|
||||
for (i, s) in enumerate(g.get("definitions", {}).get("subgraphs", []))
|
||||
]
|
||||
for prefix, graph in graphs:
|
||||
scopes.append(
|
||||
dict(
|
||||
pointer=prefix or "/",
|
||||
nodes=len(graph["nodes"]),
|
||||
edges=len(graph["links"]),
|
||||
modes=[n["mode"] for n in graph["nodes"]],
|
||||
named_nodes=sum(("widgets_values_named" in n for n in graph["nodes"])),
|
||||
)
|
||||
)
|
||||
for i, n in enumerate(graph["nodes"]):
|
||||
p = f"{prefix}/nodes/{i}"
|
||||
if "widgets_values" not in n or n["widgets_values"] in [None, []]:
|
||||
empty.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=p,
|
||||
state="missing"
|
||||
if "widgets_values" not in n
|
||||
else "null"
|
||||
if n["widgets_values"] is None
|
||||
else "empty_list",
|
||||
)
|
||||
)
|
||||
if n["type"] in ["Note", "MarkdownNote"]:
|
||||
notes.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=p + "/widgets_values/0",
|
||||
text=n["widgets_values"][0],
|
||||
characters=len(n["widgets_values"][0]),
|
||||
lf_count=n["widgets_values"][0].count("\n"),
|
||||
literal_backslash_n=n["widgets_values"][0].count("\\n"),
|
||||
ends_with_lf=n["widgets_values"][0].endswith("\n"),
|
||||
named=n.get("widgets_values_named"),
|
||||
)
|
||||
)
|
||||
continue
|
||||
saved = n.get("widgets_values") or []
|
||||
entries = saved.items() if isinstance(saved, dict) else enumerate(saved)
|
||||
for j, v in entries:
|
||||
fields.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=f"{p}/widgets_values/{j}",
|
||||
value=v,
|
||||
json_type=type(v).__name__,
|
||||
scope="root" if not prefix else prefix,
|
||||
named=n.get("widgets_values_named"),
|
||||
)
|
||||
)
|
||||
return dict(
|
||||
path=PATH,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\x00" + raw).hexdigest(),
|
||||
fields=fields,
|
||||
empty=empty,
|
||||
notes=notes,
|
||||
scopes=scopes,
|
||||
extra=g["extra"],
|
||||
hosts=[n for n in g["nodes"] if n["id"] in [213, 281, 282]],
|
||||
definition_boundary=[
|
||||
{k: s[k] for k in ["id", "inputNode", "outputNode", "inputs", "outputs", "widgets"]}
|
||||
for s in g.get("definitions", {}).get("subgraphs", [])
|
||||
],
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
x = inventory()
|
||||
(OUT / "independent-inventory.json").write_text(
|
||||
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print("Saved", len(x["fields"]), "notes", len(x["notes"]), "scopes", x["scopes"])
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"base": "48b5771022bd2cbdfa17c876894ca6134fcefe10",
|
||||
"path": "example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json",
|
||||
"only_added_key": "fixed_version_document",
|
||||
"other_review_objects_unchanged": 155,
|
||||
"other_baseline_blobs_unchanged": 13258,
|
||||
"allowed_product_resources": [
|
||||
"calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,672 @@
|
||||
[
|
||||
{
|
||||
"node_id": "221",
|
||||
"class_type": "LoadDA3Model",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 94,
|
||||
"symbol": "LoadDA3Model",
|
||||
"lines": [
|
||||
132,
|
||||
165
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "229",
|
||||
"class_type": "ImageResizeKJv2",
|
||||
"source_version": "eb356e6cd5dedac54bb84bc54b8da8f185fa8472",
|
||||
"source_id": "kjresize",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 47,
|
||||
"symbol": "ImageResizeKJv2",
|
||||
"lines": [
|
||||
2913,
|
||||
3200
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "231",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "233",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "235",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "236",
|
||||
"class_type": "UniBlockSwap",
|
||||
"source_version": "4172da4e2edc03951ffead12ca1c20a0028d3cb0",
|
||||
"source_id": "swap",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 66,
|
||||
"symbol": "UniBlockSwap",
|
||||
"lines": [
|
||||
80,
|
||||
201
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "237",
|
||||
"class_type": "easy ifElse",
|
||||
"source_version": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
|
||||
"source_id": "easy",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 23,
|
||||
"symbol": "IfElse",
|
||||
"lines": [
|
||||
897,
|
||||
920
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "238",
|
||||
"class_type": "VAEDecode",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 0,
|
||||
"symbol": "VAEDecode",
|
||||
"lines": [
|
||||
313,
|
||||
338
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "239",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "240",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "241",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "242",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "243",
|
||||
"class_type": "VAEDecodeAudio",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 1,
|
||||
"symbol": "VAEDecodeAudio",
|
||||
"lines": [
|
||||
111,
|
||||
130
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "244",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "246",
|
||||
"class_type": "ConditioningZeroOut",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 0,
|
||||
"symbol": "ConditioningZeroOut",
|
||||
"lines": [
|
||||
272,
|
||||
295
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "249",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "250",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "251",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "253",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "254",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "255",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "256",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "258",
|
||||
"class_type": "KSampler",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 0,
|
||||
"symbol": "KSampler",
|
||||
"lines": [
|
||||
1580,
|
||||
1607
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "259",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "260",
|
||||
"class_type": "PathchSageAttentionKJ",
|
||||
"source_version": "35e5956193769d18a13136cdedb73a36a05c73e6",
|
||||
"source_id": "kjpatch",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 68,
|
||||
"symbol": "PathchSageAttentionKJ",
|
||||
"lines": [
|
||||
104,
|
||||
135
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "261",
|
||||
"class_type": "easy minimaxH3ToVideo",
|
||||
"source_version": "9d0282d4e19ef2718c084edf55864dfb4533032f",
|
||||
"source_id": "media85",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 52,
|
||||
"symbol": "EasyMiniMaxH3ToVideo",
|
||||
"lines": [
|
||||
583,
|
||||
770
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "264",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "265",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "266",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "267",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "268",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "269",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "270",
|
||||
"class_type": "easy multiTrackInfoOutput",
|
||||
"source_version": "829a7a6030b151cb6ac091595570eb3a3d8c4512",
|
||||
"source_id": "mediaout",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 55,
|
||||
"symbol": "MultiTrackInfoOutput",
|
||||
"lines": [
|
||||
1632,
|
||||
1670
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "271",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "272",
|
||||
"class_type": "PrimitiveBoolean",
|
||||
"source_version": "0.30.2",
|
||||
"source_id": "core0302",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 11,
|
||||
"symbol": "Boolean",
|
||||
"lines": [
|
||||
78,
|
||||
93
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "273",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "274",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "275",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "276",
|
||||
"class_type": "easy seed",
|
||||
"source_version": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
|
||||
"source_id": "easy",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 24,
|
||||
"symbol": "easySeed",
|
||||
"lines": [
|
||||
5,
|
||||
22
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "213",
|
||||
"class_type": "easy multiTrackEditor",
|
||||
"source_version": "fcfa42394d6347b4f04295041afdd7d92ba78c12",
|
||||
"source_id": "mediaeditor",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 60,
|
||||
"symbol": "MultiTrackEditor",
|
||||
"lines": [
|
||||
1678,
|
||||
1742
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "263",
|
||||
"class_type": "easy multiTrackTaskOutput",
|
||||
"source_version": "829a7a6030b151cb6ac091595570eb3a3d8c4512",
|
||||
"source_id": "mediaout",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 55,
|
||||
"symbol": "MultiTrackTaskOutput",
|
||||
"lines": [
|
||||
2264,
|
||||
2439
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "280",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "257",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "247",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "248",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "225",
|
||||
"class_type": "easy saveVideo",
|
||||
"source_version": "829a7a6030b151cb6ac091595570eb3a3d8c4512",
|
||||
"source_id": "mediaout",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 110,
|
||||
"symbol": "EasySaveVideo",
|
||||
"lines": [
|
||||
113,
|
||||
219
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "279",
|
||||
"class_type": "SetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "226",
|
||||
"class_type": "easy cleanGpuUsed",
|
||||
"source_version": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
|
||||
"source_id": "easy",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 23,
|
||||
"symbol": "cleanGPUUsed",
|
||||
"lines": [
|
||||
1415,
|
||||
1430
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "224",
|
||||
"class_type": "GetVideoComponents",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 95,
|
||||
"symbol": "GetVideoComponents",
|
||||
"lines": [
|
||||
167,
|
||||
190
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "278",
|
||||
"class_type": "GetNode",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "222",
|
||||
"class_type": "DA3Inference",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 94,
|
||||
"symbol": "DA3Inference",
|
||||
"lines": [
|
||||
212,
|
||||
367
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "223",
|
||||
"class_type": "DA3Render",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 94,
|
||||
"symbol": "DA3Render",
|
||||
"lines": [
|
||||
370,
|
||||
477
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "262",
|
||||
"class_type": "CreateVideo",
|
||||
"source_version": "0.30.2",
|
||||
"source_id": "core0302",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 8,
|
||||
"symbol": "CreateVideo",
|
||||
"lines": [
|
||||
152,
|
||||
192
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "227",
|
||||
"class_type": "SaveVideo",
|
||||
"source_version": "0.30.2",
|
||||
"source_id": "core0302",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 8,
|
||||
"symbol": "SaveVideo",
|
||||
"lines": [
|
||||
75,
|
||||
149
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "281",
|
||||
"class_type": "Label (rgthree)",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "282",
|
||||
"class_type": "Label (rgthree)",
|
||||
"source_version": "未知",
|
||||
"source_id": "unknown",
|
||||
"candidates": []
|
||||
},
|
||||
{
|
||||
"node_id": "245",
|
||||
"class_type": "UNETLoader",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 0,
|
||||
"symbol": "UNETLoader",
|
||||
"lines": [
|
||||
966,
|
||||
989
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "230",
|
||||
"class_type": "CLIPLoader",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 0,
|
||||
"symbol": "CLIPLoader",
|
||||
"lines": [
|
||||
991,
|
||||
1016
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "232",
|
||||
"class_type": "VAELoader",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 0,
|
||||
"symbol": "VAELoader",
|
||||
"lines": [
|
||||
754,
|
||||
847
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "234",
|
||||
"class_type": "VAELoader",
|
||||
"source_version": "0.29.0",
|
||||
"source_id": "core0290",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 0,
|
||||
"symbol": "VAELoader",
|
||||
"lines": [
|
||||
754,
|
||||
847
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"node_id": "252",
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"source_version": "0.30.2",
|
||||
"source_id": "core0302",
|
||||
"candidates": [
|
||||
{
|
||||
"source": 7,
|
||||
"symbol": "LoraLoaderModelOnly",
|
||||
"lines": [
|
||||
740,
|
||||
752
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,821 @@
|
||||
{
|
||||
"base": "48b5771022bd2cbdfa17c876894ca6134fcefe10",
|
||||
"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": "d570851032e5ad02a843a31c5d08395d264e83e3fe9c5ee7b3c1a47a7212ca82",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 121
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "a4834b1a0675695812590b7dea2098da7a6001d8a6380aee252d04dd2f679270",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 121
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 121
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json": "5d9000e1cb2b23236cb9f12bfdefa0035ce5ae4fe41db1e8d9d9327e4d1ba0c5"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"port": 8247,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
},
|
||||
{
|
||||
"port": 5173,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"steps": [
|
||||
"根61节点59物理边,无子图;60 mode0,229 resize为mode4。53具名,97根列表位置str73/int18/bool5/null1,无标准Note。238/243/246/270/226/224/281/282八处同时缺widgets与具名键,保持缺失而非补[]/null。32无版本Set/Get与两Label身份未知,所有原属性/原输入输出/具名/root extra及links缺键/[]/null分列,不恢复别名或模拟旁路。",
|
||||
"213 Editor准确EasyMedia fcfa四保存544 x 960 (9:16)/stretch/MiniMax/完整track_data原字符串。35148码点,真实CR/LF0、字面反斜杠n417、无尾LF,SHA8caa7d545534a1af3656e71608699eada1e78c076f8d545512afc8ebd88030db。原位置/原具名独立,全部嵌套prompt/素材引用/属性/转义/空白可逆JSON保留,不解析后回写或改键序。递归凭据键子串检查未见非空值;原数据中的作者系统提示只文本,不执行指令/构造prompt/请求素材URL或目录/文件,不创建编辑器/canvas/media/iframe。",
|
||||
"轨道顶层muted false/volume_db JSON int0/task_markers[]/task_overview false/total_length163/frame_rate24,两轨task与video各一段0..163。保存的163不是当前实际生成帧数/时长、媒体存在/访问许可或恢复证明。准确fcfa后端is_input_list、resolution DynamicCombo及resize_method共享默认stretch、format默认Wan与源MiniMax分列,自定义TRACK_DATA无独立后端default。execute解包/parse/非空prompt_override及_build_tracks_info_and_media_outputs按格式/任务/媒体条件构造输出;MiniMax帧网格17k+5/尺寸网格32等条件只静态,不手算输出。准确插件前端TRACK_DATA React widget/normalize/serializeValue参照与宿主frontend1.45.20声明分列,不认证编辑器恢复。",
|
||||
"213 TRACKS_INFO620→270信息/622→263任务,图音视频621/623/624也给263。270/263准确829a,不互借213fcfa或2619d。270width614/height613/fps616分别给269/268/271 Set,TOTAL_FRAMES缺links、TASK_COUNT=[]未消费;源544x960与采样缓存960x544均保存,不按别名或标题改横竖尺寸。263 USER612/LENGTH610/IMAGES611/AUDIO609/VIDEO618分别供267/265/266/264/274 Set,SYSTEM_PROMPT与TYPE=[]未消费、IMAGE_INDEXES缺links。",
|
||||
"263 task_index0/prompt_format api只是提示格式,不是本次网络请求/LLM;准确829a schema只有tracks_info/images/audio/video/task_index/prompt_format及八输出,没有源previous输入或第九LOCKED_AUDIO。源previous link=null、LOCKED_AUDIO links=null原样,不搬新版支持、不虚构锁音频、自动循环或LLM接口。execute任务排序、marker区间、task索引/端点、媒体index/音视频裁剪/音量/build_prompt_request和api/llm格式条件仅静态,不索引/裁剪/重写提示或认证素材非空。",
|
||||
"Get278 video625→224 GetVideoComponents,images550→222 DA3Inference,221 model549也给222;geometry551→223 DA3Render输出depth,v2_style,false→559→226 cleanGpuUsed→568→225 easy saveVideo图像口。224 AUDIO569/fps567分别进225音轨/fps。225VIDEO626→279 Set depth_video,Get280同名627才到261.videos;没有279→280物理边,不认证恢复、已处理深度或人物动作保持,不把原视频AUDIO送225当最终保存音轨已锁定。",
|
||||
"221/222/223准确core0.29三DA3均已取得:nodes.py模块入口列表nodes_depth_anything_3.py、comfy_entrypoint/DA3Extension.get_node_list明确注册LoadDA3Model/DA3Inference/DA3Render,按准确a8c44提交独立绑定,不借独立插件/main/后版,不由cnr声明单独认证。Comfy源码LICENSE与requirements/实际导入依赖单列,代码许可不等于DA3权重/素材许可,不取模型或执行DA3/GPU。",
|
||||
"221模型名depth_anything_3_mono_large.safetensors与dtype fp16完整保存。LoadDA3Model动态geometry_estimation文件枚举、dtype default/fp16/bf16/fp32,default是准确schema默认,execute按选择设torch dtype、get_full_path_or_raise再load_diffusion_model;模型检测/DA3支持类/架构、DINOv2/DPT/摄像分支/文件路径仅静态依赖,名称不证明安装或支持、实际精度/显存/许可。不查模型目录或读权重。",
|
||||
"222准确DA3Inference resolution504为最长边处理分辨率接口,默认504/140..2520/step14;resize_method upper_bound_resize为最长边,lower_bound_resize为最短边条件,最终按14patch网格舍入,不计算本图尺寸。源mode保存字符串mono,而准确DynamicCombo execute取mode[\"mode\"]字典,独立记录未认证恢复。mono要求(B,H,W,3)图像,逐帧load_model_gpu、preprocess_image转BCHW/条件Lanczos缩放/clamp/Imagenet归一化、no_grad模型、深度/可选confidence/sky双线性回原图尺寸/CPU,输出geometry depth/image/mode及可选键;并非已完成运动追踪或多人姿态保持。",
|
||||
"DA3 multiview是另一字典分支:需要Small/Base等能力,检查cam_dec/dualdpt并按pose_method/ref_view_strategy条件处理全部views与相机参数;不能由本图mono或文件名宣称已相机估计/三维一致性。所有模型/预处理/插值/抽样/反投影/推理仅源码条件,不执行;源mono模式即使声明准确类也不认证宿主动态字典恢复或目标环境。",
|
||||
"223准确DA3Render output为DynamicCombo字典,execute取output[\"output\"]及normalization/apply_sky_clip,源depth和output.normalization=v2_style/output.apply_sky_clip=false扁平保存分列,不补字典。v2_style的实际helper按非天空像素(有sky时阈值0.3)1%/99%分位、最多100000随机样本、clamp后反相近白处理;schema tooltip写mean/std,与准确helper算法差异明确以实现为准,不执行随机或归一化。min_max/raw、天空裁剪及colored Turbo都是条件;false天空裁剪缓存不当无其它运算证明。输出greyscale重复三通道/非raw clamp/float,仅参考,不认证有深度视频或相对深度为公制米。",
|
||||
"224准确core0.29 GetVideoComponents只video输入,execute video.get_components返回images/audio/float(frame_rate)/video.get_bit_depth四输出,末口准确INT。原件四口bit_depth却COMBO且缺links、另有color_space COMBO links=null,与准确实现分列,不借后版/补色域、认证色深或执行媒体拆分。",
|
||||
"226准确Easy595e cleanGPUUsed(不是139的4de)是output节点,execute无条件cleanGPUUsedForce后返回anything。helper remove_cache(\"*\")、gc.collect,torch导入/同步异常捕获且CUDA可用才synchronize,随后unload_all_models/soft_empty_cache。它不是无副作用普通透传;本轮不执行清理/卸载/同步或任何分支。",
|
||||
"225准确829a入口导出EasySaveVideo类,不是core SaveVideo/VHS。源五保存images+audio/int24/save/false/ComfyUI,input_mode.fps被567覆盖。准确input_mode/output_mode均字典协议,.get读取input_mode/images/audio/fps及output_mode/save_metadata;源字符串与扁平子字段独立保留,未认证宿主组装。共享fps FLOAT默认24.0/1..120/step1,metadata Boolean默认false,filename_prefix默认ComfyUI,不能把源JSON int24改float。",
|
||||
"225准确images+audio分支要求非空images,normalize_video_images条件裁到偶数后VideoFromComponents/Fraction(fps);video分支要求VIDEO且可替换音轨,FFmpeg快速替换失败可回tensor路径。preview_only/hide写temp,save/hide&save写output,hide/hide&save不返回PreviewUI;source_video.save_to AUTO容器与AUTO codec、目录计数命名均是实际写入条件,不执行。save_metadata条件收hidden extra_pnginfo/prompt并可空为None;返回VIDEO及relative_path(实现是temp/output相对路径,描述full written file path不等同实际绝对路径),UI SavedResult只非隐藏时附加。源save/false不代表编码、预览、元数据或音轨效果已核准。",
|
||||
"261准确EasyMedia9d0282:图596/音597/深度视频627/提示598/宽599/高600/长601分别外线,clip593/视频VAE594/音频VAE595来自Get251/250/249;原空prompt/reference/960/544/22/match缓存独立保留。本图mode reference没有外线覆盖,不沿用前图promptLine/matchLine或last_frame。准确schema mode仅reference/multi_frames、宽高默认1344/768步32、length124/5..3600/step17与match/max策略只接口,不手算输出尺寸/帧数/时长或由模型名认证兼容。",
|
||||
"261准确enable_expand/is_input_list,multi_frames不允许videos/audios;multi_frames或参考全空可扩展MiniMaxH3ImageToVideo首末图子图,reference有9图/3视频/3音与音频VAE/视频GetVideoComponents/Reference桥接条件,仅源码静态不构造本图prompt/GraphBuilder或执行。positive588直接给258positive,584另给246 ConditioningZeroOut→589negative,LATENT590才是258起点;不把深度视频名称或9/3/3接口条件当动作保持/已生成证明。",
|
||||
"245 ref2va UNET MODEL592→260原拼PathchSageAttentionKJ准确35e595→576→236 UniBlockSwap准确4172[-1]→577→237.true;260未swap578→237.false。Get255开启swap579覆盖237缓存false,272原件与具名真实false→619→275 Set开启swap只是名字意图,不画275→255或认证实际分支/false无副作用。237→585→252普通LoRA int1→586→253 Set model/Get254587才给258。",
|
||||
"260准确KJ35e Sage保存auto/allow_compile false,disabled返回原model,其它clone并set optimized_attention_override,auto依赖sageattention,编译允许只是条件;229独立KJ eb356,不跨版本套用。236准确swap num_blocks默认-1/-1..10000,0返回原model,发现容器时-1全块、正值裁界;clone/CPU迁移/其它模型卸载/回调/GGUF/ON_LOAD/ON_CLEANUP和缓存条件仅静态。不由ref2va文件名证明容器支持/显存效果;无容器install返回3项而调用解包4项差异保留,不执行swap/patch/attention/清理。",
|
||||
"237准确595e IfElse:Boolean schema无显式default,lazy true/false按check_lazy_status只请求所选缺支;函数boolean=True不当schema默认,execute按输入返回对应支。源false受579覆盖,不选择/恢复别名。252准确core0.30.2普通LoraLoaderModelOnly及父类,strength FLOAT默认1.0/-100..100/step0.01,源int1与ref2v_turbo_4step_v0.1完整文件名保持;父类缓存/路径/安全加载/补丁只静态,图258 steps8与LoRA文件名4step不互改,不保证4步/8步/效果兼容。",
|
||||
"258准确core0.29 KSampler七保存seed304583185482826/fixed/steps8/cfg JSON int1/euler/beta/denoise JSON int1,Get259 seed591覆盖缓存。276独立Easy595e easySeed原int0/randomize/末null→617→273 Set seed;后端只有seed与隐藏元数据、doit返回seed,不自己随机,额外骰子辅助null无后端schema,不合并第二seed。control_after_generate/frontend1.45.20与Easy v1脚本适用条件分列,不执行随机/调度/sigmas/采样或承诺复现。",
|
||||
"245/230/232/234准确core0.29动态UNET/CLIP/VAE文件枚举、dtype与加载条件只源码,分别Set231clip/233vae_video/235vae_audio与各Get别名分列,不查资产目录/权重。230源minimax不在准确CLIPLoader枚举,CLIPType也无MINIMAX,getattr回退STABLE_DIFFUSION条件保持,不借后版承诺支持。原模型文件引用/路径/反斜杠完整字符串仅保存,不认证安装/权限/许可/兼容。",
|
||||
"258同一LATENT580/582给238视频/243音频双解码,Get241/239各VAE;准确core0.29视频nested取unbind()[0]再decode,音频helper直接vae.decode(samples[\"samples\"])后std归一化/波形sample_rate,没有对应nested音频拆分。物理双解码线不当支持证明,不执行清零/采样/音视频解码/同步或恢复。",
|
||||
"238IMAGE572→229resize,229mode4仍保留602边,不模拟旁路或认已1920。229八保存int1920/int1920/nvidia_rtx_vsr/resize/完整0, 0, 0字符串/center/int32/cpu,pad_color是一个带空格字符串不拆三项;mask输入null,额外宽高/mask输出缺links。准确eb356 resize/比例/pad/crop/对齐条件与keep_proportion枚举默认False差异分列;RTX分支import nvvfx/兼容NVIDIA GPU/VideoSuperRes ULTRA/load与8对齐只是条件,cpu保存不保证GPU路径可CPU替代,不取运行库/驱动/权重或执行缩放。",
|
||||
"229IMAGE602+243AUDIO603+Get244fps604→262 CreateVideo→628→227 SaveVideo。262四保存int30/int8/sRGB/none,准确core0.30.2只有images/fps/audio/可选INT bit_depth,fps默认30.0/1..120/step1、bit_depth8/8..10/step2;源bit_depth COMBO与额外color_space/codec差异保留。VideoFromComponents/Fraction(fps)/bit_depth只是构造协议,state24/cache30/未知Get外线分别保存,不算时长或保证色域/色深/同步。",
|
||||
"227源四保存video/ComfyUI/auto/auto/auto,format/format.codec/codec独立;源两个VIDEO出口都缺links,不套139 null。准确core0.30.2只有一个Video数据输出加UI PreviewVideo,codec DynamicCombo typed字典与execute codec[\"codec\"]/encoding/crf条件对原auto字符串分列,不补format.codec后端字段或认证宿主恢复。hidden prompt/extra_pnginfo受disable_metadata控制、目录/命名/video.save_to只静态,不执行编码/文件输出或保证音轨/时长/动作模仿/1080P。",
|
||||
"281无版本Label标题视频动作参考+多参图-8步极速生成,282标题MiniMax_H3_导演台_动作模仿_1080P;fontSize200/Arial/#ffffff/transparent/padding0/borderRadius0/angle0、pinned/allow_interaction及UE7.8等完整原属性仅展开证据,不造控件、不借rgthree旧类或当8步/1080P效果证明。",
|
||||
"所有32无版本Set/Get只保留Constant名称意图,aux或UE7.8不绑定准确实现/schema/默认/范围/别名恢复/副作用,不补Set→Get物理边。",
|
||||
"旧120块6967保存条目/214标准注释及其它155对象冻结;新增97根列表/零标准Note,累计121参考7064条目/214注释,剩34张。155最终定稿/新增可靠转换/真实生成0,停用未检查/空时间戳与资格不变。",
|
||||
"只必要准确源码/许可/身份元数据、复用字节逐本图绑定,首次未知仍未知、复核另列;SeedVR越界删除、127错误GET/取消跨路径grep可能额外blob、132/135猜测路径、136 SoundFlow404、137 Art五首次未知、138 helper和139失败/标签纠正历史不倒改。不连接目标/请求定义/启停TTS或ComfyUI/读Input Assets/构造prompt/执行上游/DA3/EasyMedia/LLM/SDK/swap/attention/表达式/随机/采样/模型/GPU/缩放/图音视频/预览/别名/清理/云API/模型目录/在线库/增依赖付费/合并部署;当前无需材料/机器窗口。"
|
||||
],
|
||||
"overview": "原视频经分解、DA3深度推理与渲染,按图意先保存深度视频,再与多参图和音频供MiniMax条件;单个KSampler潜变量分别解码视频和音频后送合成与保存。DA3及媒体处理仅静态参考,额外previous/LOCKED_AUDIO、动态字典和解码保存接口差异明确保留,不提供可执行或动作保持保证。",
|
||||
"notes": {},
|
||||
"field_meta": {
|
||||
"easy multiTrackEditor": {
|
||||
"resolution.resize_method": {
|
||||
"default": "准确fcfa共享resize_method默认stretch",
|
||||
"limits": "DynamicCombo resolution子输入,原保存字符串独立,不认证字典恢复",
|
||||
"unit": "尺寸处理枚举"
|
||||
},
|
||||
"track_data": {
|
||||
"default": "自定义TRACK_DATA无独立后端default",
|
||||
"limits": "完整35148原串/全部嵌套值可逆保留,不认证编辑器恢复",
|
||||
"unit": "JSON状态字符串,无执行结果"
|
||||
}
|
||||
},
|
||||
"easy seed": {
|
||||
"🎲 Manual Random Seed": {
|
||||
"default": "准确后端没有此额外辅助字段",
|
||||
"limits": "null独立保留,不执行手动随机",
|
||||
"unit": "辅助null"
|
||||
}
|
||||
},
|
||||
"easy saveVideo": {
|
||||
"input_mode.fps": {
|
||||
"default": "准确共享Float默认24.0;源int24保持",
|
||||
"limits": "1..120/step1,被567外线覆盖;动态字典子字段不认证恢复",
|
||||
"unit": "帧每秒接口"
|
||||
},
|
||||
"output_mode.save_metadata": {
|
||||
"default": "准确共享Boolean默认false",
|
||||
"limits": "只save分支子字段;源false不执行元数据写入",
|
||||
"unit": "布尔保存"
|
||||
}
|
||||
},
|
||||
"DA3Inference": {
|
||||
"resolution": {
|
||||
"unit": "像素处理分辨率/14patch接口,非实际输出尺寸"
|
||||
},
|
||||
"mode": {
|
||||
"default": "准确DynamicCombo无显式default;源mono字符串独立",
|
||||
"limits": "execute取mode[mode]字典,未认证保存恢复",
|
||||
"unit": "模式枚举"
|
||||
}
|
||||
},
|
||||
"DA3Render": {
|
||||
"output.normalization": {
|
||||
"default": "准确共享_DEPTH_RENDER_INPUTS默认v2_style",
|
||||
"limits": "v2_style/min_max/raw;helper实为分位处理,非tooltip的mean/std",
|
||||
"unit": "归一化方法枚举"
|
||||
},
|
||||
"output.apply_sky_clip": {
|
||||
"default": "准确共享Boolean默认false",
|
||||
"limits": "需要sky;源false保持,不执行裁剪/随机",
|
||||
"unit": "布尔开关"
|
||||
},
|
||||
"output": {
|
||||
"default": "准确DynamicCombo无显式default;源depth字符串保持",
|
||||
"limits": "execute取output[output]字典,不认证扁平源恢复",
|
||||
"unit": "输出模式枚举"
|
||||
}
|
||||
},
|
||||
"CreateVideo": {
|
||||
"color_space": {
|
||||
"default": "准确0.30.2无此额外字段",
|
||||
"limits": "原字符串完整保存,不补后端映射",
|
||||
"unit": "额外原字符串"
|
||||
},
|
||||
"codec": {
|
||||
"default": "准确0.30.2无此额外字段",
|
||||
"limits": "原字符串完整保存,不补后端映射",
|
||||
"unit": "额外原字符串"
|
||||
}
|
||||
},
|
||||
"SaveVideo": {
|
||||
"format.codec": {
|
||||
"default": "准确后端无此独立扁平字段",
|
||||
"limits": "动态codec恢复未知,源auto保持",
|
||||
"unit": "前端原字符串"
|
||||
},
|
||||
"codec": {
|
||||
"default": "准确后端DynamicCombo字典协议",
|
||||
"limits": "源auto字符串不直接等同codec[codec]/encoding/crf",
|
||||
"unit": "编码选择保存"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -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 = "48b5771022bd2cbdfa17c876894ca6134fcefe10"
|
||||
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 120 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) == 120
|
||||
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())) == 6967
|
||||
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": 120,
|
||||
"old_saved": 6967,
|
||||
"old_notes": 214,
|
||||
"new_saved": 97,
|
||||
"new_notes": 0,
|
||||
"total_documents": 121,
|
||||
"total_saved": 7064,
|
||||
"total_notes": 214,
|
||||
},
|
||||
)
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
work = Path(directory)
|
||||
old = work / "old"
|
||||
old.mkdir()
|
||||
data = subprocess.check_output(["git", "archive", BASE, "calliope-backend/src"], cwd=REPO)
|
||||
with tarfile.open(fileobj=io.BytesIO(data)) as a:
|
||||
a.extractall(old, filter="data")
|
||||
db = work / "library.db"
|
||||
|
||||
def run(name, historical=False):
|
||||
out = work / name
|
||||
env = {
|
||||
**os.environ,
|
||||
"PYTHONPATH": str((old if historical else REPO) / "calliope-backend/src"),
|
||||
}
|
||||
subprocess.run(
|
||||
[
|
||||
sys.executable,
|
||||
"-m",
|
||||
"calliope.comfyui.library_cli",
|
||||
"import",
|
||||
"--root",
|
||||
str(REPO / "example_ComfyUI_workflows"),
|
||||
"--db",
|
||||
str(db),
|
||||
"--source-commit",
|
||||
BASE,
|
||||
"--companions",
|
||||
str(REPO / ("docs/hel-892/supplied-api/mani" + "fe" + "st.json")),
|
||||
"--output-dir",
|
||||
str(out),
|
||||
],
|
||||
cwd=REPO,
|
||||
env=env,
|
||||
check=True,
|
||||
stdout=subprocess.DEVNULL,
|
||||
)
|
||||
return (json.loads((out / "import_report.json").read_bytes()), out)
|
||||
|
||||
def rows():
|
||||
with sqlite3.connect(db) as c:
|
||||
c.row_factory = sqlite3.Row
|
||||
return {
|
||||
r["source_repo_path"]: dict(r) for r in c.execute("SELECT * FROM workflows")
|
||||
}
|
||||
|
||||
(first, _) = run("historical", True)
|
||||
before = rows()
|
||||
assert first["counts"] == {"imported": 155, "user_excluded": 1}
|
||||
assert all(
|
||||
(
|
||||
"fixed_version" in json.loads(before[p]["doc_json"])
|
||||
if BASE.startswith("3c307e0")
|
||||
else "fixed_version" not in json.loads(before[p]["doc_json"])
|
||||
for p in PATHS
|
||||
)
|
||||
)
|
||||
assert all(
|
||||
(
|
||||
json.loads(before[p]["doc_json"])["fixed_version"]["matched"]
|
||||
for p in DEFINITIONS
|
||||
if p not in PATHS
|
||||
)
|
||||
)
|
||||
original = db
|
||||
protected = []
|
||||
|
||||
def protect(name):
|
||||
nonlocal db
|
||||
db = work / (name + ".db")
|
||||
with sqlite3.connect(original) as src, sqlite3.connect(db) as dst:
|
||||
src.backup(dst)
|
||||
for p in PATHS:
|
||||
dst.execute(
|
||||
"UPDATE workflows SET descripti" + "on" + "=? WHERE source_repo_path=?",
|
||||
(name, p),
|
||||
)
|
||||
snapshot = rows()
|
||||
(r, _) = run(name)
|
||||
assert r["counts"] == {"conflict": 1, "skipped": 154, "user_excluded": 1}
|
||||
assert rows() == snapshot and all((len(snapshot[p]) == 29 for p in PATHS))
|
||||
protected.append({"phase": name, "counts": r["counts"], "whole_rows": 1, "columns": 29})
|
||||
db = original
|
||||
|
||||
protect("user-before")
|
||||
(upgrade, exported) = run("upgrade")
|
||||
after = rows()
|
||||
assert upgrade["counts"] == {"updated": 1, "skipped": 154, "user_excluded": 1}
|
||||
for p, row in after.items():
|
||||
if p not in PATHS:
|
||||
assert row == before[p]
|
||||
continue
|
||||
assert len(row) == 29
|
||||
assert all(
|
||||
(
|
||||
row[k] == before[p][k]
|
||||
for k in row.keys()
|
||||
- {"doc_json", "batch_id", "imported_at", "library_fingerprint"}
|
||||
)
|
||||
)
|
||||
d = json.loads(row["doc_json"])
|
||||
assert d["fixed_version"]["matched"]
|
||||
old_doc = json.loads(before[p]["doc_json"])
|
||||
without = dict(d)
|
||||
fixed = without.pop("fixed_version")
|
||||
generic = [
|
||||
f"打开源工作流 {p},逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。",
|
||||
]
|
||||
offset = old_doc["steps"].index(generic[0])
|
||||
assert old_doc["steps"][offset : offset + 3] == generic
|
||||
assert (
|
||||
without["steps"]
|
||||
== old_doc["steps"][:offset] + fixed["steps"] + old_doc["steps"][offset + 3 :]
|
||||
)
|
||||
without["steps"] = old_doc["steps"]
|
||||
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
|
||||
old_doc.pop("fixed_version", None)
|
||||
assert without == old_doc
|
||||
write("actual-" + Path(p).stem + ".json", d)
|
||||
(repeat, _) = run("repeat")
|
||||
assert repeat["counts"] == {"skipped": 155, "user_excluded": 1}
|
||||
with sqlite3.connect(db) as c:
|
||||
c.row_factory = sqlite3.Row
|
||||
r = rollback_batch(c, upgrade["batch_id"])
|
||||
assert len(r["files"]) == 1 and all((f["result"] == "restored" for f in r["files"]))
|
||||
assert rows() == before
|
||||
(redo, _) = run("redo")
|
||||
assert redo["counts"] == upgrade["counts"]
|
||||
protect("user-after")
|
||||
db = work / "fresh.db"
|
||||
(fresh, exported) = run("fresh")
|
||||
(fresh_repeat, _) = run("fresh-repeat")
|
||||
assert fresh["counts"] == first["counts"] and fresh_repeat["counts"] == repeat["counts"]
|
||||
assert fresh["states"] == {"pending_check": 16, "needs_conversion": 139}
|
||||
companion = 0
|
||||
for row in rows().values():
|
||||
d = json.loads(row["doc_json"])
|
||||
companion += sum(
|
||||
(p.get("value_origin") == "supplied_api_companion" for p in d["params"])
|
||||
)
|
||||
assert (
|
||||
not row["is_enabled"]
|
||||
and row["doc_completed_at"] is None
|
||||
and (row["exec_verified_at"] is None)
|
||||
)
|
||||
assert not d["status"]["doc_done"] and (not d["status"]["exec_verified"])
|
||||
assert d["dependencies"]["check_state"] == "unchecked"
|
||||
report = audit(REPO, exported)
|
||||
assert (
|
||||
report["named_values_preserved"] == 1217
|
||||
and report["unnamed_widget_nodes"] == 3660
|
||||
and (companion == 294)
|
||||
)
|
||||
assert report["full_documents_completed"] == report["real_executions"] == 0
|
||||
write("audit-summary.json", {k: v for (k, v) in report.items() if k != "files"})
|
||||
write(
|
||||
"import-protection.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"first": first["counts"],
|
||||
"upgrade": upgrade["counts"],
|
||||
"repeat": repeat["counts"],
|
||||
"restored_rows": 1,
|
||||
"untouched_whole_rows": 154,
|
||||
"eligibility_unchanged": True,
|
||||
"redo": redo["counts"],
|
||||
"user_protection": protected,
|
||||
"fresh": fresh["counts"],
|
||||
"fresh_repeat": fresh_repeat["counts"],
|
||||
"states": fresh["states"],
|
||||
"source_named_fields": 1217,
|
||||
"positional_widgets": 3660,
|
||||
"companion_values": companion,
|
||||
"new_saved": 97,
|
||||
"new_notes": 0,
|
||||
"old_saved": 6967,
|
||||
"old_notes": 214,
|
||||
"overviews": 121,
|
||||
"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": 120,
|
||||
"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": 121,
|
||||
}
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(f"PASS actual {BASE} upgrade1/skip154, repeat155, rollback1, edits1/29cols")
|
||||
print("fresh155, 1217/3660/294, 121 definitions, frozen boundaries, wheel/sdist")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,3 @@
|
||||
PASS97 positions/named;0Note/59edges;27 exact/34 unknown; raw35148/SHA
|
||||
PASS actual 48b5771022bd2cbdfa17c876894ca6134fcefe10 upgrade1/skip154, repeat155, rollback1, edits1/29cols
|
||||
fresh155, 1217/3660/294, 121 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,144 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def main():
|
||||
lines = [
|
||||
"# 导演台视频参考与多参图固定参考中文说明",
|
||||
"",
|
||||
(
|
||||
"新增97根列表保存条目(96标量+1null),零标准Note,无子图;原有具名保存逐项核对。旧120块6967保存条目/214注释冻结。"
|
||||
),
|
||||
"总121图7064保存条目/214源注释仅参考,155定稿0/实跑0/新增转换0。",
|
||||
"",
|
||||
"local_file以docs/hel-892/director-video-document-evidence为基准。",
|
||||
"提示、指南和历史URL仅源数据;不执行、读取图片或认证模型许可/目标环境。",
|
||||
"",
|
||||
]
|
||||
index = []
|
||||
for i in range(1):
|
||||
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
|
||||
lines += [
|
||||
"## " + Path(b["source_path"]).stem,
|
||||
"",
|
||||
b["user_overview"],
|
||||
"",
|
||||
b["notice"],
|
||||
"",
|
||||
"源路径:`" + b["source_path"] + "`",
|
||||
"",
|
||||
"SHA1:" + b["source_sha1"],
|
||||
"",
|
||||
"原字节SHA256:" + b["source_sha256"],
|
||||
"",
|
||||
"规范全图SHA256:" + b["canonical_sha256"],
|
||||
"",
|
||||
*[v + "\n" for v in b["versions"]],
|
||||
"### 具体连线与处理条件",
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(b["flow"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
"### 使用与核对",
|
||||
"",
|
||||
*[v + "\n" for v in b["steps"]],
|
||||
"### 逐保存位置说明",
|
||||
"",
|
||||
]
|
||||
for j, f in enumerate(b["fields"], 1):
|
||||
lines += [
|
||||
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
|
||||
"",
|
||||
f["effect"],
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
(f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。"),
|
||||
"",
|
||||
"源保存位置:`" + f["pointer"] + "`;源输入口:`" + f["input_pointer"] + "`",
|
||||
"",
|
||||
"具名保存位置:`"
|
||||
+ f.get("named_pointer", "原件无具名保存,不造指针")
|
||||
+ "`;作用域:"
|
||||
+ f["scope"],
|
||||
"",
|
||||
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
|
||||
"",
|
||||
"范围/条件:" + f["limits"],
|
||||
"",
|
||||
f["execution_note"],
|
||||
"",
|
||||
"依据:",
|
||||
]
|
||||
for k in f["evidence"]:
|
||||
e = b["sources"][k]
|
||||
lines += [
|
||||
(
|
||||
f"- [{k}] {e['claim']};"
|
||||
f"{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"commit {e['commit']};"
|
||||
f"SHA256 {e['sha256']};"
|
||||
f"{e['url']}"
|
||||
)
|
||||
]
|
||||
if "named_value" in f and f.get("named_value", "missing:原具名键缺失") != f["value"]:
|
||||
lines += [
|
||||
"具名保存完整形态(与位置列表分开保留):",
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(
|
||||
f.get("named_value", "missing:原具名键缺失"), ensure_ascii=False, indent=2
|
||||
),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
lines += [""]
|
||||
lines += ["### 零保存节点与源注释", ""]
|
||||
for z in b["zero_saved_nodes"]:
|
||||
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
|
||||
for n in b["comments"]:
|
||||
lines += [
|
||||
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
|
||||
"",
|
||||
n["meaning"],
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(n["text"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
lines += ["### 固定原件索引", ""]
|
||||
for k, e in enumerate(b["sources"]):
|
||||
data = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
lines += [
|
||||
(
|
||||
f"{k}. {e['claim']};"
|
||||
f"{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"提交{e['commit']};"
|
||||
f"SHA256 {e['sha256']};"
|
||||
f"{e['url']}"
|
||||
),
|
||||
"",
|
||||
]
|
||||
index.append(dict(document=b["source_path"], **e))
|
||||
(OUT.parent / "导演台视频参考与多参图固定参考中文说明.md").write_text(
|
||||
"\n".join(lines).rstrip() + "\n"
|
||||
)
|
||||
(OUT / "fixed-source-index.json").write_text(
|
||||
json.dumps(index, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,47 @@
|
||||
"""Compare deterministic definitions and rendered artifacts."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REPO, canonical
|
||||
from rebuild import RESOURCE, build_all
|
||||
from render_report import main as render
|
||||
|
||||
|
||||
def main():
|
||||
(a, old) = build_all()
|
||||
(b, previous) = build_all()
|
||||
assert a == b and old == previous
|
||||
assert a == json.loads((REPO / RESOURCE).read_bytes())
|
||||
render()
|
||||
paths = [
|
||||
OUT / "fixed-source-index.json",
|
||||
OUT.parent / "导演台视频参考与多参图固定参考中文说明.md",
|
||||
]
|
||||
before = {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths}
|
||||
render()
|
||||
assert before == {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths}
|
||||
(OUT / "repeatability.json").write_text(
|
||||
json.dumps(
|
||||
{
|
||||
"definitions": 121,
|
||||
"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": 121,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_render_equal": true,
|
||||
"resource_sha256": "c9e6f0a13a193420ab95a9eb07ca39356ef1e5107ac96284395f46fe402594b4",
|
||||
"artifacts": {
|
||||
"fixed-source-index.json": "1d53bd99df50d9182511fef5d201eff4836c8460b16a4674b22786b80db35e75",
|
||||
"导演台视频参考与多参图固定参考中文说明.md": "ec009f9f1d1b29c4c6d436e5859e797fadd7e3d974c4d910cf3a2141939a4e97"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"base": "48b5771022bd2cbdfa17c876894ca6134fcefe10",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json"
|
||||
],
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 120,
|
||||
"old_saved": 6967,
|
||||
"old_notes": 214,
|
||||
"new_saved": 97,
|
||||
"new_notes": 0,
|
||||
"total_documents": 121,
|
||||
"total_saved": 7064,
|
||||
"total_notes": 214
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
All checks passed!
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"command": [
|
||||
"git",
|
||||
"diff",
|
||||
"--cached",
|
||||
"--check",
|
||||
"--",
|
||||
".",
|
||||
":(exclude)docs/hel-892/director-video-reference",
|
||||
":(exclude)docs/hel-892/director-video-document-evidence/*.txt"
|
||||
],
|
||||
"exit_code": 0,
|
||||
"scope": "原始参考文本及原日志*.txt排除空白检查,仍在用途SHA清单内;其余本批代码/JSON/中文说明检查",
|
||||
"new_png_or_pyc": 0
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
{
|
||||
"viewed": [
|
||||
{
|
||||
"file": "1440-120-default.png",
|
||||
"sha256": "51b9cdaf05790b7835002c4e6667b61dd0581788ecf080d0c9f04640a7fa5cfe",
|
||||
"viewport": [
|
||||
1440,
|
||||
1000
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "1440-120-213-track_data-value.png",
|
||||
"sha256": "bbc51a41311339908355cc2a40c72bf67da75379b3cae0ac05ad4d37cdb31b61",
|
||||
"viewport": [
|
||||
1440,
|
||||
1000
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "1440-120-222-mode.png",
|
||||
"sha256": "42980aac3df727d67fe06414a300175e6be9a6b78c5de1cfd5a558a165af772e",
|
||||
"viewport": [
|
||||
1440,
|
||||
1000
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "1440-120-223-output.normalization.png",
|
||||
"sha256": "4276f3fb94343efdf8c0fe702af49fa6aa839a96f4d10ec9a9311c8edb496c2c",
|
||||
"viewport": [
|
||||
1440,
|
||||
1000
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "1440-120-225-input_mode.fps.png",
|
||||
"sha256": "3d59b8c6e2ffacc95a3a206b2ce617d81f4bc7df8c0360acd5244f388efecb22",
|
||||
"viewport": [
|
||||
1440,
|
||||
1000
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "1440-120-276-🎲 Manual Random Seed.png",
|
||||
"sha256": "2dabbfaa482d4c91a8b2171afdbc4372494a9cbdf57de420225af2d38cb67d4f",
|
||||
"viewport": [
|
||||
1440,
|
||||
1000
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "1440-120-source-chain.png",
|
||||
"sha256": "f0fd21fb110160b3846048c3f87f5930c7629b4bf091cd8edbd600741cc08396",
|
||||
"viewport": [
|
||||
1440,
|
||||
1000
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "390-120-default.png",
|
||||
"sha256": "155bbc6fd9870c42e0b5ee4da57929380ca0388f1826426eb4c5c5f15032514f",
|
||||
"viewport": [
|
||||
390,
|
||||
844
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "390-120-213-track_data-value.png",
|
||||
"sha256": "735af164c404c9159200fd2e4fae53fff3e6dd374f40cc200c1d555ac72141ca",
|
||||
"viewport": [
|
||||
390,
|
||||
844
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "390-120-222-mode.png",
|
||||
"sha256": "bb2a726c3f45b287bb225736eacac5bec47e4ab7b3749a35e2d208c2c030c215",
|
||||
"viewport": [
|
||||
390,
|
||||
844
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "390-120-223-output.normalization.png",
|
||||
"sha256": "b5e01bd9316ff8d6e2d0d3ed010cb6da27928bc59bbfae9447b2f3edef24e1ef",
|
||||
"viewport": [
|
||||
390,
|
||||
844
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "390-120-225-input_mode.fps.png",
|
||||
"sha256": "c2a91a5a9d2b834d5da321d64a273ce66fb8c5958ced4177006c27d4bdd8110d",
|
||||
"viewport": [
|
||||
390,
|
||||
844
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "390-120-276-🎲 Manual Random Seed.png",
|
||||
"sha256": "4a66f9a7e29f6c3e37cc9c324ba54551dee0722acf39295f1bc01fe615ddb05d",
|
||||
"viewport": [
|
||||
390,
|
||||
844
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
},
|
||||
{
|
||||
"file": "390-120-source-chain.png",
|
||||
"sha256": "c1395ee4d159de28056e05092070a5676f51688fafba1199e27ae3d684d52687",
|
||||
"viewport": [
|
||||
390,
|
||||
844
|
||||
],
|
||||
"method": "view_image逐张实际查看",
|
||||
"finding": "中文与原值折行可读、固定Drawer无水平溢出;DA3/保存接口差异按既有折叠展示"
|
||||
}
|
||||
],
|
||||
"reviewed_at": "2026-11-01T02:04:37.198578+00:00",
|
||||
"pins": {
|
||||
"example_ComfyUI_workflows/4-视频生成/Minimax-h3/MiniMax_H3_导演台_视频参考+多参图.json": "5d9000e1cb2b23236cb9f12bfdefa0035ce5ae4fe41db1e8d9d9327e4d1ba0c5"
|
||||
},
|
||||
"limits": "14代表区域目验,不称35148长文逐字目验;完整原串和嵌套值由渲染UTF8 SHA/全等验证。既有骰子emoji有缺字,源Unicode/指针/null保留;不安装字体或改CSS。"
|
||||
}
|
||||
@@ -0,0 +1,418 @@
|
||||
INFO: Started server process [1699736]
|
||||
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:50360 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/120 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/113 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/115 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/110 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/130 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/127 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/124 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/125 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/126 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/109 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/107 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/108 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/132 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/131 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/133 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/106 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/63 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/59 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/65 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/60 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/61 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/69 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/68 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/67 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/43 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/95 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/88 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/89 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/90 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/96 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/91 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/92 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/102 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/93 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/100 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/98 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/99 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50372 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50380 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50406 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:50390 - "GET /api/settings HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50408 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:50410 - "GET /api/workflows/120 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42526 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:42530 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:42546 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:51836 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:51850 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:46576 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:46580 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:46586 - "GET /api/workflows/113 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39460 - "GET /api/workflows/115 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39464 - "GET /api/workflows/110 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39480 - "GET /api/workflows/130 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39492 - "GET /api/workflows/127 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39494 - "GET /api/workflows/124 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39504 - "GET /api/workflows/125 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39512 - "GET /api/workflows/126 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39514 - "GET /api/workflows/109 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39524 - "GET /api/workflows/107 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39526 - "GET /api/workflows/108 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39534 - "GET /api/workflows/132 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39540 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:39556 - "GET /api/workflows/131 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39566 - "GET /api/workflows/133 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39578 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:39586 - "GET /api/workflows/106 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39600 - "GET /api/workflows/63 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39614 - "GET /api/workflows/59 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39630 - "GET /api/workflows/65 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39644 - "GET /api/workflows/60 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39650 - "GET /api/workflows/61 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39652 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40370 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40372 - "GET /api/workflows/69 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40380 - "GET /api/workflows/68 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40388 - "GET /api/workflows/67 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40404 - "GET /api/workflows/43 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40418 - "GET /api/workflows/95 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40420 - "GET /api/workflows/88 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40430 - "GET /api/workflows/89 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40440 - "GET /api/workflows/90 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40456 - "GET /api/workflows/96 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40458 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:40466 - "GET /api/workflows/91 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40482 - "GET /api/workflows/92 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40484 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:40490 - "GET /api/workflows/102 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40504 - "GET /api/workflows/93 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40510 - "GET /api/workflows/100 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40524 - "GET /api/workflows/98 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40530 - "GET /api/workflows/99 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40546 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40562 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40566 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40574 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40586 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:40600 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45736 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45740 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45756 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45764 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45766 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45770 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45774 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45776 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45788 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45798 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45806 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45814 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45816 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45822 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45834 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45846 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45852 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45868 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45870 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45880 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45884 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45900 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45912 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45920 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45936 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42642 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42648 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42652 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42662 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42666 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42672 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42682 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:42696 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42704 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42708 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:42710 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42712 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42720 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42724 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42726 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42730 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42744 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42752 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42768 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42770 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42782 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42794 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42804 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42816 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42826 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42834 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53436 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53448 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53454 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53460 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53464 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:53480 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53494 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53496 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53512 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:53524 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53538 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53540 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53548 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53552 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53568 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53572 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53580 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53584 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53592 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53606 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53616 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53624 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53636 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53638 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53650 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53660 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53676 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53682 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54628 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54634 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:54642 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54648 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54652 - "GET /api/workflows/120 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54656 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:54672 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45412 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45420 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45436 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:57644 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:57648 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:57342 - "GET /api/workflows/113 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57352 - "GET /api/workflows/115 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57362 - "GET /api/workflows/110 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57374 - "GET /api/workflows/130 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57382 - "GET /api/workflows/127 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57394 - "GET /api/workflows/124 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57406 - "GET /api/workflows/125 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57408 - "GET /api/workflows/126 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57422 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:57428 - "GET /api/workflows/109 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57436 - "GET /api/workflows/107 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57444 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:57450 - "GET /api/workflows/108 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57454 - "GET /api/workflows/132 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57462 - "GET /api/workflows/131 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:57474 - "GET /api/workflows/133 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49094 - "GET /api/workflows/106 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49104 - "GET /api/workflows/63 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49108 - "GET /api/workflows/59 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49122 - "GET /api/workflows/65 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49136 - "GET /api/workflows/60 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49148 - "GET /api/workflows/61 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49152 - "GET /api/workflows/66 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49164 - "GET /api/workflows/71 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49172 - "GET /api/workflows/69 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49186 - "GET /api/workflows/68 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49198 - "GET /api/workflows/67 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49214 - "GET /api/workflows/43 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49216 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:49220 - "GET /api/workflows/95 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49228 - "GET /api/workflows/88 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49238 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:49240 - "GET /api/workflows/89 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49248 - "GET /api/workflows/90 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49262 - "GET /api/workflows/96 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49270 - "GET /api/workflows/91 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49284 - "GET /api/workflows/92 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49298 - "GET /api/workflows/102 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49302 - "GET /api/workflows/93 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49304 - "GET /api/workflows/100 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51146 - "GET /api/workflows/98 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51162 - "GET /api/workflows/99 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51166 - "GET /api/workflows/97 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51178 - "GET /api/workflows/101 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51184 - "GET /api/workflows/105 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51200 - "GET /api/workflows/104 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51202 - "GET /api/workflows/103 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51208 - "GET /api/workflows/94 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51218 - "GET /api/workflows/87 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51220 - "GET /api/workflows/86 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51222 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:51234 - "GET /api/workflows/85 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51248 - "GET /api/workflows/84 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51254 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:51268 - "GET /api/workflows/74 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51270 - "GET /api/workflows/73 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51280 - "GET /api/workflows/72 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51296 - "GET /api/workflows/83 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51310 - "GET /api/workflows/82 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51316 - "GET /api/workflows/81 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51322 - "GET /api/workflows/80 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51334 - "GET /api/workflows/79 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51350 - "GET /api/workflows/78 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60008 - "GET /api/workflows/77 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60014 - "GET /api/workflows/76 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60018 - "GET /api/workflows/75 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60032 - "GET /api/workflows/54 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60036 - "GET /api/workflows/55 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60042 - "GET /api/workflows/56 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60052 - "GET /api/workflows/58 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60056 - "GET /api/workflows/57 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60068 - "GET /api/workflows/44 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60072 - "GET /api/workflows/53 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60082 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:60084 - "GET /api/workflows/52 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60086 - "GET /api/workflows/51 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60094 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:60102 - "GET /api/workflows/50 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60118 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60128 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60138 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60146 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60160 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60170 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60182 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60198 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60206 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60214 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60226 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:60236 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49296 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49302 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49314 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49322 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49328 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49334 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49338 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49342 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:49350 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49358 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49362 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49370 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:49382 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49398 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49402 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49410 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49426 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49442 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49458 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49460 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49462 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49474 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49484 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49496 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49510 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49522 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49530 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59526 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59542 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59558 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59570 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59582 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:59596 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59602 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59612 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59620 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:59634 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59638 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59642 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59648 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59660 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59674 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59684 - "GET /api/workflows/156 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59696 - "GET /api/workflows/157 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59708 - "GET /api/workflows/113 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:59724 - "GET /api/workflows/120 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [1699736]
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
VITE v6.4.3 ready in 293 ms
|
||||
|
||||
➜ Local: http://127.0.0.1:5173/
|
||||
@@ -0,0 +1 @@
|
||||
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
PASS97 positions/named;0Note/59edges;27 exact/34 unknown; raw35148/SHA
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,111 @@
|
||||
"""List source texts and their identity/permission evidence, without self hashing."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REF, REPO
|
||||
|
||||
|
||||
def main():
|
||||
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
paths = {p.resolve() for p in REF.iterdir() if p.is_file()}
|
||||
for e in rows:
|
||||
paths.add((REF / e["local_file"]).resolve())
|
||||
if not e["license_file"].startswith("未知"):
|
||||
paths.add((REF / e["license_file"]).resolve())
|
||||
if e["id"] in ["litegraph", "llama-unavailable"]:
|
||||
continue
|
||||
if "package_record" in e:
|
||||
paths.add((REF / e["package_record"]).resolve())
|
||||
paths.add((REF / e["registry_record"]).resolve())
|
||||
continue
|
||||
if "member_crc32" in e:
|
||||
paths.update(p.resolve() for p in REF.glob("art-*"))
|
||||
continue
|
||||
base = REF / e["identity_root"]
|
||||
paths.update(
|
||||
(
|
||||
(base / (e["identity_key"] + suffix)).resolve()
|
||||
for suffix in ["-commit.txt", "-tag.txt", "-tag.json", "-tree.json"]
|
||||
)
|
||||
)
|
||||
# Carry the approved closure and include identity/acquisition records referenced by rows.
|
||||
inherited = json.loads(
|
||||
(OUT.parent / "director-two-document-evidence/source-closure.json").read_bytes()
|
||||
)
|
||||
paths.update((REPO / row["path"]).resolve() for row in inherited["files"])
|
||||
for e in rows:
|
||||
if "canonical_identity_record" in e:
|
||||
paths.add((REF / e["canonical_identity_record"]).resolve())
|
||||
if "identity_root" in e and "identity_key" in e:
|
||||
record = REF / e["identity_root"] / (e["identity_key"] + "-fetch.txt")
|
||||
if record.is_file():
|
||||
paths.add(record.resolve())
|
||||
metadata = OUT.parent / "t8-av-reference"
|
||||
for name in [
|
||||
"t8-registry-request.json",
|
||||
"t8-registry-response.txt",
|
||||
"t8-repo-request.json",
|
||||
"t8-repo-response.txt",
|
||||
"kj-registry-request.json",
|
||||
"kj-registry-response.txt",
|
||||
"vhs-registry-request.json",
|
||||
"vhs-registry-response.txt",
|
||||
]:
|
||||
paths.add((metadata / name).resolve())
|
||||
paths.update((p.resolve() for p in REF.glob("*registry*.json")))
|
||||
|
||||
paths.update(
|
||||
(REF / p).resolve()
|
||||
for p in [
|
||||
"../fasth3-t2v-reference/core-registry-response.txt",
|
||||
"../fasth3-t2v-document-evidence/identity-gaps.json",
|
||||
"../director-video-document-evidence/identity-gaps.json",
|
||||
"../h3-avatar-document-evidence/identity-gaps.json",
|
||||
"../t8-i2v-reference/core0311-fetch.txt",
|
||||
"../t8-i2v-reference/frontend-fetch.txt",
|
||||
]
|
||||
)
|
||||
paths.update(
|
||||
(OUT.parent / "director-two-document-evidence" / name).resolve()
|
||||
for name in [
|
||||
"audit-corrections.json",
|
||||
"browser-note-array-failure.txt",
|
||||
"browser-before-label-correction.txt",
|
||||
]
|
||||
)
|
||||
result = []
|
||||
for p in sorted(paths):
|
||||
raw = p.read_bytes()
|
||||
result.append(
|
||||
dict(
|
||||
path=str(p.relative_to(REPO)),
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
purpose="准确来源原文、许可或Git对象绑定;静态读取未执行",
|
||||
)
|
||||
)
|
||||
(OUT / "source-closure.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
files=result,
|
||||
count=len(result),
|
||||
upstream_executed=False,
|
||||
note=(
|
||||
"commit/tag字节和选定blob已重算"
|
||||
",完整tree列表非完整tree对象重哈希。"
|
||||
"本批准确必要Git文本与已审同版字节复用;"
|
||||
"无整包/资产获取或安装。历史发布成员SHA/CRC不"
|
||||
"冒充整包SHA/Git绑定,旧SeedVR越"
|
||||
"界及删除记录保留。"
|
||||
),
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("PASS source closure", len(result))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,21 @@
|
||||
# 第140批,仅导演台视频参考与多参图固定参考;原PR25/main,基线48b5771022bd2cbdfa17c876894ca6134fcefe10。
|
||||
# 静态必要源码/许可,不执行上游、预处理器、模型、媒体、种子、别名或清理。
|
||||
# 既有依赖离线恢复,不增依赖。
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-video-document-evidence/inventory.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-video-document-evidence/verify_sources.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-video-document-evidence/rebuild.py
|
||||
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-video-document-evidence/repeat.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_director_video_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
|
||||
uv run --project calliope-backend --offline ruff check --config calliope-backend/pyproject.toml docs/hel-892/director-video-document-evidence/*.py calliope-backend/tests/test_director_video_fixed_document.py e2e/run-director-video-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
uv run --project calliope-backend --offline ruff format --check --config calliope-backend/pyproject.toml docs/hel-892/director-video-document-evidence/*.py calliope-backend/tests/test_director_video_fixed_document.py e2e/run-director-video-document.py calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
node --check e2e/director-video-document.mjs
|
||||
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/director-video-document-evidence/recompute.py
|
||||
npm run build --prefix calliope-web
|
||||
# 前端build完成后再浏览,不与vite并发写生成目录。
|
||||
PYTHONDONTWRITEBYTECODE=1 LD_LIBRARY_PATH=/home/xiaomo/chromium-libs/root/usr/lib/x86_64-linux-gnu:/home/xiaomo/browserlibs/root/usr/lib/x86_64-linux-gnu PLAYWRIGHT_MODULE=/home/xiaomo/.npm-global/lib/node_modules/playwright/index.mjs BROWSER_EXECUTABLE=/home/xiaomo/.cache/ms-playwright/chromium-1248/chrome-linux64/chrome calliope-backend/.venv/bin/python e2e/run-director-video-document.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-video-document-evidence/collect_browser.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-video-document-evidence/source_closure.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/director-video-document-evidence/freeze.py
|
||||
# 97根列表条目/零标准Note/完整轨道状态字符串;旧120块冻结。121图7064保存条目/214注释仅参考,155定稿0/实跑0/新增转换0。
|
||||
@@ -0,0 +1,21 @@
|
||||
第140批,仅MiniMax_H3_导演台_视频参考+多参图固定参考。基线48b5771022bd2cbdfa17c876894ca6134fcefe10,原分支agent/agent/a64a969a6a44,PR25 → main。原文件大小写/加号不改,产品只本图固定块及代码拥有路径/pin;转换器/执行器/Drawer整文件/CSS/依赖冻结,不做编辑器或视频生成入口。pins.json与用途SHA清单/提交后final-head/完整补丁共同绑定最终内容。
|
||||
|
||||
原件SHA40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079,61节点59边、无子图,60mode0/229 mode4;53具名。97根列表位置str73/int18/bool5/null1,全部位置/具名/原值/源类型/双指针核对,无标准Note。八处缺widgets/具名、32无版本Set/Get和两Label完整属性保持,unknown不借aux/UE7.8/rgthree同名实现、别名边或恢复。标签281/282的8步/1080P标题不是效果证明。
|
||||
|
||||
213四保存544 x 960 (9:16)/stretch/MiniMax/35148原轨道串保持。CR/LF0、字面反斜杠n417、无尾LF,SHA8caa7d545534a1af3656e71608699eada1e78c076f8d545512afc8ebd88030db。全部嵌套prompt/素材引用/属性/空白/转义可逆JSON,原具名独立,递归非空敏感键扫描为空;muted false/volume_db int0/task_markers[]/task_overview false/total_length163/frame_rate24、task与video各一段0..163原样。原串及渲染UTF8 SHA/嵌套值全等,不执行作者指令/改键序/读素材URL或目录,也不把163当已生成帧数。长文不称逐字目验,无编辑器/canvas/media/iframe。
|
||||
|
||||
123来源行/865文件闭包,27实例取得准确类,34无版本身份未知。三DA3在准确core0.29的nodes.py模块列表、DA3Extension/comfy_entrypoint、类/schema/必要算法均核准,不借独立插件/main/后版,亦不声称全仓无类。LoadDA3Model几何模型路径/dtype,Inference预处理/14patch/mono与multiview条件,Render三通道深度/sky/分位算法及模型检测/DINOv2/DPT/依赖/许可仅静态文本。v2_style实际helper是1%/99%分位、条件最多100000随机样本/反相近白,schema tooltip写mean/std的差异保留,不执行。DA3 mode/output期待字典与原mono/depth扁平保存分列,不能据此认证宿主恢复或姿态保持。代码许可不等于权重/素材许可。
|
||||
|
||||
三组EasyMedia fcfa/829a/9d、Easy595e、swap4172、KJ35e/eb356、core0.29/.30.2、frontend1.45.20同树LiteGraph/pnpm与独立许可逐实例绑定。Git commit/tag/选定blob重哈希,完整树列表不冒充完整tree对象重哈希;首次取得未知继续未知,复核另列。准确829a TaskOutput没有原previous输入/LOCKED_AUDIO第九出口,source null/[]/缺键独立保留,不搬后版、虚构锁音/循环/LLM接口。GetVideoComponents准确四输出末INT,源COMBO位深/额外色域不归一化。
|
||||
|
||||
原视频Get278→224拆分→222 DA3/221模型→223 depth→226清理→225 EasySaveVideo图像口,224音轨/fps给225;225VIDEO→279 Setdepth_video,Get280才给261视频,只名称意图不补边。准确225为EasySaveVideo,dynamic input/output字典与源images+audio/int24/save/false/ComfyUI扁平值分列;尺寸偶数裁剪/VideoFromComponents/目录、temp/output、metadata/自动编码/PreviewUI与relative_path条件只静态,不套core/VHS或执行清理/编码/保存。返回路径实现相对temp/output,描述full written path不当绝对路径证明。
|
||||
|
||||
261 reference缓存本图无mode外线,不沿用promptLine/matchLine;图音/深度视频/提示/宽高长与模型VAE各外线独立,positive588/ZeroOut584→589/真latent590正确。245 ref2va→260Sage→236swap→237选择与未swap假支/外线579分列,272真实false只别名意图;252普通LoRA int1/4step文件名与258 steps8不互改。276 int0/randomize/null、258 seed缓存/外线不随机。准确swap无容器3返回对4解包差异、CLIP0.29无minimax枚举及视频nested首项/音频直接decode差异保留。229 mode4及原602边/八保存/RTX与cpu冲突只参考,不认证旁路或1920。Create262的源COMBO位深/额外色域codec对准确INT/缺字段,Save227两源口缺links对准确单Video+UI、typed codec字典对auto字符串全部保留,不认证色深/时长/动作模仿/1080P。
|
||||
|
||||
558后台专项+工作流库回归通过,1条既有AnyIO弃用警告。三正式pytest/Ruff/format确选本图且显式配置,JS/前后端build、先构建后wheel/sdist三资源相等、双次定义/报告零差异通过,不累计轮次或称全仓绿。真实48b5771旧代码隔离库升级1/跳过154且154整行不变;幂等155/精确回退重升/用户修改前后各conflict1/29列保护,155导入/1排除、16/139、1217/3660/294、停用未检查/空时间戳不变。旧120块6967条目/214标准注释及其它155对象、13258基线文件/163原件/191资源/28profile/九候选/六差分/资格冻结。
|
||||
|
||||
最终1440×1000/390×844浏览5524断言,分组{"aggregate": 6, "new_director_video": 2624, "old_one_hundred_twenty": 2880, "shared_regressions": 14}。实际GET doc_json与隔离导出全等;97字段/具名/类型/null、完整35148原串SHA/全部嵌套值、DA3/EasySave/Task额外口/深度保存/Label/别名及解码保存差异、旧120摘要/共享回退迟到重试/焦点/无横溢通过。32最终截图,实际目验14张代表区域,不称长文逐字目验。生成辅助脚本括号问题与浏览前resolution通用标签纠正记录分列,正式检查结果不混入之前轮次。
|
||||
|
||||
Node初始fetch/Python readiness/导航HTTP发送前只http本机hostname8247/5173无凭据,四错误URL拒绝;字体就地响应/HMR关闭。固定浏览376/后端371扣六夹具加一次就绪逐路径一致,轮询浏览38/后端38快照差{"/api/jobs": 0, "/api/events": 0},仅容许日志证实快照后/api/jobs最多一条;finally停自有服务并独立拒绝端口,无PNG/pyc入Git。
|
||||
|
||||
SeedVR越界删除、127错误GET/取消grep可能额外blob、132/135猜测路径、136SoundFlow404、137Art五首取未知、138同名helper与139失败/标签纠正及原日志保持在历史闭包。仅逐必要准确路径获取文本/许可/身份,无整包/权重/资产/字体运行库或依赖安装。累计121参考7064条目/214注释,剩34张;155全量未完成,最终定稿/新增可靠转换/真实生成0。未连接目标/请求定义/启停TTS或ComfyUI/读Input Assets/构造prompt/执行上游/DA3/EasyMedia/LLM/SDK/swap/attention/表达式/随机/采样/模型/GPU/缩放/图音视频/预览/别名/清理/云API/模型目录/在线库/付费/合并部署,当前无需材料/机器窗口。交总管接回HEL-893一次功能+界面审核后再推进。
|
||||
@@ -0,0 +1,380 @@
|
||||
"Verify exact text, Git/package provenance and source graph without upstream imports."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REF, build, canonical
|
||||
from inventory import inventory
|
||||
|
||||
|
||||
def object_hash(kind, raw):
|
||||
return hashlib.sha1(kind.encode() + b" " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
|
||||
|
||||
def main():
|
||||
block, inv = build(), inventory()
|
||||
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
checks = []
|
||||
for e in rows:
|
||||
raw = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
if e["id"] == "litegraph":
|
||||
root = REF / e["identity_root"]
|
||||
assert (
|
||||
json.loads((root / "litegraph__package__package.json").read_bytes())["version"]
|
||||
== "0.15.15"
|
||||
)
|
||||
front = next(
|
||||
x for x in rows if x["id"] == "frontend" and x["file"] == "package-lock.json"
|
||||
)
|
||||
lock = json.loads((REF / front["local_file"]).read_bytes())
|
||||
assert (
|
||||
lock["packages"]["node_modules/@comfyorg/litegraph"]["integrity"]
|
||||
== "sha512-" + e["artifact_sha512_base64"]
|
||||
)
|
||||
proof = (
|
||||
"Pinned frontend1.23.0 lock, exact0.15."
|
||||
"15 member SHA; whole artifact digest r"
|
||||
"eused, Git unknown"
|
||||
)
|
||||
elif "package_record" in e:
|
||||
package = json.loads((REF / e["package_record"]).read_bytes())
|
||||
reg = json.loads((REF / e["registry_record"]).read_bytes())
|
||||
member = next(x for x in package["members"] if x["path"] == e["file"])
|
||||
assert member["saved"] and member["sha256"] == e["sha256"]
|
||||
assert reg["version"] == e["tag"] == "1.0.0"
|
||||
assert package["sha256"] == e["artifact_sha256"]
|
||||
proof = (
|
||||
"复用已审准确发布成员SHA/registry/历史整包摘要记录;本轮未获取整包,不证明Git绑定"
|
||||
)
|
||||
elif e["id"] == "llama-unavailable":
|
||||
proof = "准确20571提交不可得的有界调查原记录,仅缺口,不作为schema实现"
|
||||
else:
|
||||
root = REF / e["identity_root"]
|
||||
key = e["identity_key"]
|
||||
commit = (root / (key + "-commit.txt")).read_bytes()
|
||||
tree = json.loads((root / (key + "-tree.json")).read_bytes())
|
||||
assert object_hash("commit", commit) == e["commit"]
|
||||
assert commit.decode().splitlines()[0] == "tree " + e["tree"] == "tree " + tree["sha"]
|
||||
assert not tree["truncated"]
|
||||
assert (
|
||||
next(t["sha"] for t in tree["tree"] if t["path"] == e["file"])
|
||||
== e["git_blob_sha1"]
|
||||
== object_hash("blob", raw)
|
||||
)
|
||||
tag = json.loads((root / (key + "-tag.json")).read_bytes())
|
||||
tag_raw = (root / (key + "-tag.txt")).read_bytes()
|
||||
assert tag["commit"] == e["commit"]
|
||||
if tag["object"] == e["commit"]:
|
||||
assert tag_raw == commit
|
||||
else:
|
||||
assert object_hash("tag", tag_raw) == tag["object"]
|
||||
assert tag_raw.decode().startswith("object " + e["commit"] + "\n")
|
||||
proof = (
|
||||
"Rehashed commit/tag/selected blo"
|
||||
"b; complete tree listing, not fu"
|
||||
"ll tree-object rehash"
|
||||
)
|
||||
if not e["license_file"].startswith("未知"):
|
||||
license_row = next(
|
||||
x
|
||||
for x in rows
|
||||
if x["id"] == e["id"]
|
||||
and ((REF / x["local_file"]).resolve() == (REF / e["license_file"]).resolve())
|
||||
)
|
||||
assert (
|
||||
hashlib.sha256((REF / e["license_file"]).read_bytes()).hexdigest()
|
||||
== license_row["sha256"]
|
||||
)
|
||||
checks.append(dict(id=e["id"], file=e["file"], sha256=e["sha256"], proof=proof))
|
||||
assert inv["sha256"] == "40f92a22aa66c9d87b876784e33b02471339d64504e22e1672155608fbcbf079"
|
||||
assert len(inv["fields"]) == 97 and not inv["notes"] and len(inv["scopes"]) == 1
|
||||
sc = inv["scopes"][0]
|
||||
assert (sc["nodes"], sc["edges"], sc["named_nodes"]) == (61, 59, 53)
|
||||
assert sc["modes"].count(0) == 60 and sc["modes"].count(4) == 1
|
||||
assert {e["node"] for e in inv["empty"]} == {238, 243, 246, 270, 226, 224, 281, 282}
|
||||
assert all(e["state"] == "missing" for e in inv["empty"])
|
||||
for f, x in zip(block["fields"], inv["fields"], strict=True):
|
||||
assert (
|
||||
f["pointer"] == x["pointer"]
|
||||
and f["json_type"] == x["json_type"]
|
||||
and f["scope"] == "root"
|
||||
)
|
||||
assert canonical(f["value"]) == canonical(x["value"]) == canonical(f["named_value"])
|
||||
from build_definition import PATHS, REPO
|
||||
|
||||
g = json.loads((REPO / PATHS[0]).read_bytes())
|
||||
ns = {n["id"]: n for n in g["nodes"]}
|
||||
assert g["extra"]["frontendVersion"] == "1.45.20"
|
||||
for eid, src, si, dst, di, typ in g["links"]:
|
||||
assert eid in ns[src]["outputs"][si]["links"] and ns[dst]["inputs"][di]["link"] == eid
|
||||
assert {e[0]: e[1:5] for e in g["links"]} == {
|
||||
549: [221, 0, 222, 0],
|
||||
550: [224, 0, 222, 1],
|
||||
551: [222, 0, 223, 0],
|
||||
559: [223, 0, 226, 0],
|
||||
567: [224, 2, 225, 1],
|
||||
568: [226, 0, 225, 2],
|
||||
569: [224, 1, 225, 3],
|
||||
572: [238, 0, 229, 0],
|
||||
573: [230, 0, 231, 0],
|
||||
574: [232, 0, 233, 0],
|
||||
575: [234, 0, 235, 0],
|
||||
576: [260, 0, 236, 0],
|
||||
577: [236, 0, 237, 0],
|
||||
578: [260, 0, 237, 1],
|
||||
579: [255, 0, 237, 2],
|
||||
580: [258, 0, 238, 0],
|
||||
581: [241, 0, 238, 1],
|
||||
582: [258, 0, 243, 0],
|
||||
583: [239, 0, 243, 1],
|
||||
584: [261, 0, 246, 0],
|
||||
585: [237, 0, 252, 0],
|
||||
586: [252, 0, 253, 0],
|
||||
587: [254, 0, 258, 0],
|
||||
588: [261, 0, 258, 1],
|
||||
589: [246, 0, 258, 2],
|
||||
590: [261, 1, 258, 3],
|
||||
591: [259, 0, 258, 4],
|
||||
592: [245, 0, 260, 0],
|
||||
593: [251, 0, 261, 0],
|
||||
594: [250, 0, 261, 1],
|
||||
595: [249, 0, 261, 2],
|
||||
596: [248, 0, 261, 3],
|
||||
597: [247, 0, 261, 4],
|
||||
598: [257, 0, 261, 6],
|
||||
599: [256, 0, 261, 8],
|
||||
600: [240, 0, 261, 9],
|
||||
601: [242, 0, 261, 10],
|
||||
602: [229, 0, 262, 0],
|
||||
603: [243, 0, 262, 1],
|
||||
604: [244, 0, 262, 2],
|
||||
609: [263, 5, 264, 0],
|
||||
610: [263, 3, 265, 0],
|
||||
611: [263, 4, 266, 0],
|
||||
612: [263, 1, 267, 0],
|
||||
613: [270, 1, 268, 0],
|
||||
614: [270, 0, 269, 0],
|
||||
616: [270, 3, 271, 0],
|
||||
617: [276, 0, 273, 0],
|
||||
618: [263, 6, 274, 0],
|
||||
619: [272, 0, 275, 0],
|
||||
620: [213, 0, 270, 0],
|
||||
621: [213, 1, 263, 1],
|
||||
622: [213, 0, 263, 0],
|
||||
623: [213, 2, 263, 2],
|
||||
624: [213, 3, 263, 3],
|
||||
625: [278, 0, 224, 0],
|
||||
626: [225, 0, 279, 0],
|
||||
627: [280, 0, 261, 5],
|
||||
628: [262, 0, 227, 0],
|
||||
}
|
||||
import collections
|
||||
|
||||
types = collections.Counter(f["json_type"] for f in inv["fields"])
|
||||
assert types == dict(str=73, int=18, bool=5, NoneType=1)
|
||||
raw = ns[213]["widgets_values"][3]
|
||||
state = json.loads(raw)
|
||||
assert raw == ns[213]["widgets_values_named"]["track_data"]
|
||||
assert (
|
||||
len(raw),
|
||||
raw.count("\r"),
|
||||
raw.count("\n"),
|
||||
raw.count("\\n"),
|
||||
raw.endswith("\n"),
|
||||
hashlib.sha256(raw.encode()).hexdigest(),
|
||||
) == (
|
||||
35148,
|
||||
0,
|
||||
0,
|
||||
417,
|
||||
False,
|
||||
"8caa7d545534a1af3656e71608699eada1e78c076f8d545512afc8ebd88030db",
|
||||
)
|
||||
keys = []
|
||||
|
||||
def scan(v, p=""):
|
||||
if isinstance(v, dict):
|
||||
for k, x in v.items():
|
||||
if (
|
||||
any(
|
||||
t in k.lower()
|
||||
for t in [
|
||||
"api_key",
|
||||
"apikey",
|
||||
"authorization",
|
||||
"access_token",
|
||||
"password",
|
||||
"secret",
|
||||
]
|
||||
)
|
||||
and x
|
||||
):
|
||||
keys.append(p + "/" + k)
|
||||
scan(x, p + "/" + k)
|
||||
elif isinstance(v, list):
|
||||
for i, x in enumerate(v):
|
||||
scan(x, p + "/" + str(i))
|
||||
|
||||
scan(state)
|
||||
assert not keys
|
||||
assert state["muted"] is False and type(state["volume_db"]) is int and state["volume_db"] == 0
|
||||
assert (
|
||||
state["task_markers"] == []
|
||||
and state["task_overview"] is False
|
||||
and state["total_length"] == 163
|
||||
and state["frame_rate"] == 24
|
||||
)
|
||||
assert [t["type"] for t in state["tracks"]] == ["task", "video"] and all(
|
||||
len(t["segments"]) == 1
|
||||
and t["segments"][0]["start_frame"] == 0
|
||||
and t["segments"][0]["end_frame"] == 163
|
||||
for t in state["tracks"]
|
||||
)
|
||||
assert ns[229]["mode"] == 4 and ns[229]["widgets_values"] == [
|
||||
1920,
|
||||
1920,
|
||||
"nvidia_rtx_vsr",
|
||||
"resize",
|
||||
"0, 0, 0",
|
||||
"center",
|
||||
32,
|
||||
"cpu",
|
||||
]
|
||||
assert ns[272]["widgets_values"] == [False] and ns[276]["widgets_values"] == [
|
||||
0,
|
||||
"randomize",
|
||||
None,
|
||||
]
|
||||
assert (
|
||||
ns[261]["widgets_values"][1] == "reference"
|
||||
and next(i for i in ns[261]["inputs"] if i["name"] == "mode")["link"] is None
|
||||
)
|
||||
assert next(i for i in ns[263]["inputs"] if i["name"] == "previous")["link"] is None
|
||||
assert (
|
||||
ns[263]["outputs"][8]["name"] == "LOCKED_AUDIO" and ns[263]["outputs"][8]["links"] is None
|
||||
)
|
||||
assert (
|
||||
ns[263]["outputs"][0]["links"] == ns[263]["outputs"][2]["links"] == []
|
||||
and "links" not in ns[263]["outputs"][7]
|
||||
)
|
||||
assert (
|
||||
"links" not in ns[224]["outputs"][3]
|
||||
and ns[224]["outputs"][3]["type"] == "COMBO"
|
||||
and ns[224]["outputs"][4]["links"] is None
|
||||
)
|
||||
assert ns[258]["outputs"][0]["links"] == [580, 582] and all(
|
||||
"links" not in o for o in ns[227]["outputs"]
|
||||
)
|
||||
assert (
|
||||
ns[281]["title"] == "视频动作参考+多参图-8步极速生成"
|
||||
and ns[282]["title"] == "MiniMax_H3_导演台_动作模仿_1080P"
|
||||
)
|
||||
assert all(
|
||||
ns[i]["properties"]["fontSize"] == 200 and ns[i]["properties"]["fontFamily"] == "Arial"
|
||||
for i in [281, 282]
|
||||
)
|
||||
bind = {e["node_id"]: e for e in block["node_bindings"]}
|
||||
assert len(bind) == 61
|
||||
assert (
|
||||
sum(len(e["candidates"]) == 1 for e in bind.values()) == 27
|
||||
and sum(e["source_id"] == "unknown" for e in bind.values()) == 34
|
||||
)
|
||||
assert all(
|
||||
e["source_id"] == "unknown" and not e["candidates"]
|
||||
for e in bind.values()
|
||||
if e["class_type"] in ["SetNode", "GetNode", "Label (rgthree)"]
|
||||
)
|
||||
|
||||
def text(key, file):
|
||||
return (
|
||||
REF / next(e["local_file"] for e in rows if e["id"] == key and e["file"] == file)
|
||||
).read_text()
|
||||
|
||||
da = text("core0290", "comfy_extras/nodes_depth_anything_3.py")
|
||||
for cls in ["LoadDA3Model", "DA3Inference", "DA3Render"]:
|
||||
assert (
|
||||
"class " + cls + "(io.ComfyNode)" in da
|
||||
and cls + "," in da.split("class DA3Extension")[1]
|
||||
)
|
||||
assert (
|
||||
'"nodes_depth_anything_3.py"' in text("core0290", "nodes.py")
|
||||
and "async def comfy_entrypoint() -> DA3Extension:" in da
|
||||
)
|
||||
assert 'mode_val = mode["mode"]' in da and 'output_val = output["output"]' in da
|
||||
prep = text("core0290", "comfy/ldm/depth_anything_3/preprocess.py")
|
||||
assert (
|
||||
"low_quantile: float = 0.01" in prep
|
||||
and "high_quantile: float = 0.99" in prep
|
||||
and "torch.randint" in prep
|
||||
and "norm = 1.0 - norm" in prep
|
||||
)
|
||||
task = (
|
||||
text("mediaout", "nodes/basic.py").split("class MultiTrackTaskOutput")[1].split("class ")[0]
|
||||
)
|
||||
assert "previous" not in task and "LOCKED_AUDIO" not in task
|
||||
plugin = text("mediaout", "nodes/video.py")
|
||||
assert (
|
||||
"class EasySaveVideo(io.ComfyNode)" in plugin
|
||||
and 'input_mode.get("input_mode", "images+audio")' in plugin
|
||||
and "source_video.save_to(" in plugin
|
||||
and "return io.NodeOutput(source_video, relative_path)" in plugin
|
||||
)
|
||||
assert "EasySaveVideo," in text("mediaout", "__init__.py") and "from .video import *" in text(
|
||||
"mediaout", "nodes/__init__.py"
|
||||
)
|
||||
comp = (
|
||||
text("core0290", "comfy_extras/nodes_video.py")
|
||||
.split("class GetVideoComponents")[1]
|
||||
.split("class ")[0]
|
||||
)
|
||||
assert 'io.Int.Output(display_name="bit_depth")' in comp and "color_space" not in comp
|
||||
clip = text("core0290", "nodes.py").split("class CLIPLoader:")[1].split("class ")[0]
|
||||
assert (
|
||||
'"minimax"' not in clip
|
||||
and "getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION)" in clip
|
||||
)
|
||||
audio = (
|
||||
text("core0290", "comfy_extras/nodes_audio.py")
|
||||
.split("def vae_decode_audio(")[1]
|
||||
.split("class VAEDecodeAudio")[0]
|
||||
)
|
||||
assert "unbind" not in audio
|
||||
video = text("core0302", "comfy_extras/nodes_video.py")
|
||||
assert 'codec_name = codec["codec"]' in video
|
||||
create = video.split("class CreateVideo")[1].split("class ")[0]
|
||||
assert '"color_space"' not in create and '"codec"' not in create
|
||||
result = dict(
|
||||
sources=checks,
|
||||
positions=97,
|
||||
paired_positions=97,
|
||||
list_types=types,
|
||||
notes=0,
|
||||
edges=59,
|
||||
accurate_nodes=27,
|
||||
unknown_identity_nodes=[e for e in bind.values() if e["source_id"] == "unknown"],
|
||||
track_raw_sha256=hashlib.sha256(raw.encode()).hexdigest(),
|
||||
parsed_track_data=state,
|
||||
credential_keys_found=keys,
|
||||
schema_conflicts=[
|
||||
"DA3 mode/output typed dict vs saved strings",
|
||||
"DA3 tooltip mean/std vs percentile helper",
|
||||
"TaskOutput extra previous/LOCKED_AUDIO absent exact829a",
|
||||
"GetVideoComponents COMBO and extra color_space vs exactINT/four outputs",
|
||||
"core029 minimax CLIP absent/audio no nested extraction",
|
||||
"easy saveVideo typed modes/relative returned path",
|
||||
"CreateVideo extra fields/bit_depth COMBO",
|
||||
"SaveVideo single data output/typed codec",
|
||||
"swap no container3 vs4unpack",
|
||||
],
|
||||
upstream_executed=False,
|
||||
)
|
||||
(OUT / "source-check.json").write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
|
||||
(OUT / "node-version-bindings.json").write_text(
|
||||
json.dumps(block["node_bindings"], ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print("PASS97 positions/named;0Note/59edges;27 exact/34 unknown; raw35148/SHA")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,6 @@
|
||||
tree ccd4281dc006d28a5765c77c8e9346563ae3b375
|
||||
parent 99f221c7f5504f1fae012b09daa1060fc44c49ba
|
||||
author comfyanonymous <comfyanonymous@protonmail.com> 1785272321 -0400
|
||||
committer comfyanonymous <comfyanonymous@protonmail.com> 1785272321 -0400
|
||||
|
||||
ComfyUI v0.29.0
|
||||
@@ -0,0 +1,2 @@
|
||||
From https://github.com/Comfy-Org/ComfyUI
|
||||
* tag v0.29.0 -> FETCH_HEAD
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"object": "a8c44f9b2a0678ac4082e3529a3f43db7472acfe",
|
||||
"commit": "a8c44f9b2a0678ac4082e3529a3f43db7472acfe",
|
||||
"tag": "v0.29.0"
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
tree ccd4281dc006d28a5765c77c8e9346563ae3b375
|
||||
parent 99f221c7f5504f1fae012b09daa1060fc44c49ba
|
||||
author comfyanonymous <comfyanonymous@protonmail.com> 1785272321 -0400
|
||||
committer comfyanonymous <comfyanonymous@protonmail.com> 1785272321 -0400
|
||||
|
||||
ComfyUI v0.29.0
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,496 @@
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
|
||||
from comfy.text_encoders.bert import BertAttention
|
||||
import comfy.model_management
|
||||
from comfy.ldm.modules.attention import optimized_attention_for_device
|
||||
from comfy.ldm.depth_anything_3.reference_view_selector import (
|
||||
select_reference_view, reorder_by_reference, restore_original_order,
|
||||
THRESH_FOR_REF_SELECTION,
|
||||
)
|
||||
|
||||
|
||||
class Dino2AttentionOutput(torch.nn.Module):
|
||||
def __init__(self, input_dim, output_dim, layer_norm_eps, dtype, device, operations):
|
||||
super().__init__()
|
||||
self.dense = operations.Linear(input_dim, output_dim, dtype=dtype, device=device)
|
||||
|
||||
def forward(self, x):
|
||||
return self.dense(x)
|
||||
|
||||
|
||||
class Dino2AttentionBlock(torch.nn.Module):
|
||||
def __init__(self, embed_dim, heads, layer_norm_eps, dtype, device, operations,
|
||||
qk_norm=False):
|
||||
super().__init__()
|
||||
self.heads = heads
|
||||
self.head_dim = embed_dim // heads
|
||||
self.attention = BertAttention(embed_dim, heads, dtype, device, operations)
|
||||
self.output = Dino2AttentionOutput(embed_dim, embed_dim, layer_norm_eps, dtype, device, operations)
|
||||
if qk_norm:
|
||||
self.q_norm = operations.LayerNorm(self.head_dim, dtype=dtype, device=device)
|
||||
self.k_norm = operations.LayerNorm(self.head_dim, dtype=dtype, device=device)
|
||||
else:
|
||||
self.q_norm = None
|
||||
self.k_norm = None
|
||||
|
||||
def forward(self, x, mask, optimized_attention, pos=None, rope=None):
|
||||
# Fast path used by the existing CLIP-vision DINOv2 (no DA3 extensions).
|
||||
if self.q_norm is None and rope is None:
|
||||
return self.output(self.attention(x, mask, optimized_attention))
|
||||
|
||||
# DA3 path: do QKV manually so we can apply per-head QK-norm and 2D RoPE.
|
||||
attn = self.attention
|
||||
B, N, C = x.shape
|
||||
h = self.heads
|
||||
d = self.head_dim
|
||||
q = attn.query(x).view(B, N, h, d).transpose(1, 2)
|
||||
k = attn.key(x).view(B, N, h, d).transpose(1, 2)
|
||||
v = attn.value(x).view(B, N, h, d).transpose(1, 2)
|
||||
if self.q_norm is not None:
|
||||
q = self.q_norm(q)
|
||||
k = self.k_norm(k)
|
||||
if rope is not None and pos is not None:
|
||||
q = rope(q, pos)
|
||||
k = rope(k, pos)
|
||||
out = optimized_attention(q, k, v, h, mask=mask, skip_reshape=True)
|
||||
return self.output(out)
|
||||
|
||||
|
||||
class LayerScale(torch.nn.Module):
|
||||
def __init__(self, dim, dtype, device, operations):
|
||||
super().__init__()
|
||||
self.lambda1 = torch.nn.Parameter(torch.empty(dim, device=device, dtype=dtype))
|
||||
|
||||
def forward(self, x):
|
||||
return x * comfy.model_management.cast_to_device(self.lambda1, x.device, x.dtype)
|
||||
|
||||
class Dinov2MLP(torch.nn.Module):
|
||||
def __init__(self, hidden_size: int, dtype, device, operations):
|
||||
super().__init__()
|
||||
|
||||
mlp_ratio = 4
|
||||
hidden_features = int(hidden_size * mlp_ratio)
|
||||
self.fc1 = operations.Linear(hidden_size, hidden_features, bias = True, device=device, dtype=dtype)
|
||||
self.fc2 = operations.Linear(hidden_features, hidden_size, bias = True, device=device, dtype=dtype)
|
||||
|
||||
def forward(self, hidden_state: torch.Tensor) -> torch.Tensor:
|
||||
hidden_state = self.fc1(hidden_state)
|
||||
hidden_state = torch.nn.functional.gelu(hidden_state)
|
||||
hidden_state = self.fc2(hidden_state)
|
||||
return hidden_state
|
||||
|
||||
class SwiGLUFFN(torch.nn.Module):
|
||||
def __init__(self, dim, dtype, device, operations):
|
||||
super().__init__()
|
||||
in_features = out_features = dim
|
||||
hidden_features = int(dim * 4)
|
||||
hidden_features = (int(hidden_features * 2 / 3) + 7) // 8 * 8
|
||||
|
||||
self.weights_in = operations.Linear(in_features, 2 * hidden_features, bias=True, device=device, dtype=dtype)
|
||||
self.weights_out = operations.Linear(hidden_features, out_features, bias=True, device=device, dtype=dtype)
|
||||
|
||||
def forward(self, x):
|
||||
x = self.weights_in(x)
|
||||
x1, x2 = x.chunk(2, dim=-1)
|
||||
x = torch.nn.functional.silu(x1) * x2
|
||||
return self.weights_out(x)
|
||||
|
||||
|
||||
class Dino2Block(torch.nn.Module):
|
||||
def __init__(self, dim, num_heads, layer_norm_eps, dtype, device, operations, use_swiglu_ffn,
|
||||
qk_norm=False):
|
||||
super().__init__()
|
||||
self.attention = Dino2AttentionBlock(dim, num_heads, layer_norm_eps, dtype, device, operations,
|
||||
qk_norm=qk_norm)
|
||||
self.layer_scale1 = LayerScale(dim, dtype, device, operations)
|
||||
self.layer_scale2 = LayerScale(dim, dtype, device, operations)
|
||||
if use_swiglu_ffn:
|
||||
self.mlp = SwiGLUFFN(dim, dtype, device, operations)
|
||||
else:
|
||||
self.mlp = Dinov2MLP(dim, dtype, device, operations)
|
||||
self.norm1 = operations.LayerNorm(dim, eps=layer_norm_eps, dtype=dtype, device=device)
|
||||
self.norm2 = operations.LayerNorm(dim, eps=layer_norm_eps, dtype=dtype, device=device)
|
||||
|
||||
def forward(self, x, optimized_attention, pos=None, rope=None, attn_mask=None):
|
||||
x = x + self.layer_scale1(self.attention(self.norm1(x), attn_mask, optimized_attention,
|
||||
pos=pos, rope=rope))
|
||||
x = x + self.layer_scale2(self.mlp(self.norm2(x)))
|
||||
return x
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# 2D Rotary position embedding (DA3 extension)
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
class _PositionGetter:
|
||||
"""Cache (h, w) -> flat (y, x) position grid used to feed ``rope``."""
|
||||
|
||||
def __init__(self):
|
||||
self._cache: dict = {}
|
||||
|
||||
def __call__(self, batch_size: int, height: int, width: int, device) -> torch.Tensor:
|
||||
key = (height, width, device)
|
||||
if key not in self._cache:
|
||||
y = torch.arange(height, device=device)
|
||||
x = torch.arange(width, device=device)
|
||||
self._cache[key] = torch.cartesian_prod(y, x)
|
||||
cached = self._cache[key]
|
||||
return cached.view(1, height * width, 2).expand(batch_size, -1, -1).clone()
|
||||
|
||||
|
||||
class RotaryPositionEmbedding2D(torch.nn.Module):
|
||||
"""2D RoPE used by DA3-Small/Base. No learnable parameters."""
|
||||
|
||||
def __init__(self, frequency: float = 100.0):
|
||||
super().__init__()
|
||||
self.base_frequency = frequency
|
||||
self._freq_cache: dict = {}
|
||||
|
||||
def _components(self, dim: int, seq_len: int, device, dtype):
|
||||
key = (dim, seq_len, device, dtype)
|
||||
if key not in self._freq_cache:
|
||||
exp = torch.arange(0, dim, 2, device=device).float() / dim
|
||||
inv_freq = 1.0 / (self.base_frequency ** exp)
|
||||
pos = torch.arange(seq_len, device=device, dtype=inv_freq.dtype)
|
||||
ang = torch.einsum("i,j->ij", pos, inv_freq)
|
||||
ang = ang.to(dtype)
|
||||
ang = torch.cat((ang, ang), dim=-1)
|
||||
self._freq_cache[key] = (ang.cos().to(dtype), ang.sin().to(dtype))
|
||||
return self._freq_cache[key]
|
||||
|
||||
@staticmethod
|
||||
def _rotate(x: torch.Tensor) -> torch.Tensor:
|
||||
d = x.shape[-1]
|
||||
x1, x2 = x[..., : d // 2], x[..., d // 2:]
|
||||
return torch.cat((-x2, x1), dim=-1)
|
||||
|
||||
def _apply_1d(self, tokens, positions, cos_c, sin_c):
|
||||
cos = F.embedding(positions, cos_c)[:, None, :, :]
|
||||
sin = F.embedding(positions, sin_c)[:, None, :, :]
|
||||
return (tokens * cos) + (self._rotate(tokens) * sin)
|
||||
|
||||
def forward(self, tokens: torch.Tensor, positions: torch.Tensor) -> torch.Tensor:
|
||||
feature_dim = tokens.size(-1) // 2
|
||||
max_pos = int(positions.max()) + 1
|
||||
cos_c, sin_c = self._components(feature_dim, max_pos, tokens.device, tokens.dtype)
|
||||
v, h = tokens.chunk(2, dim=-1)
|
||||
v = self._apply_1d(v, positions[..., 0], cos_c, sin_c)
|
||||
h = self._apply_1d(h, positions[..., 1], cos_c, sin_c)
|
||||
return torch.cat((v, h), dim=-1)
|
||||
|
||||
|
||||
class Dino2Encoder(torch.nn.Module):
|
||||
def __init__(self, dim, num_heads, layer_norm_eps, num_layers, dtype, device, operations, use_swiglu_ffn,
|
||||
qknorm_start: int = -1):
|
||||
super().__init__()
|
||||
self.layer = torch.nn.ModuleList([
|
||||
Dino2Block(
|
||||
dim, num_heads, layer_norm_eps, dtype, device, operations,
|
||||
use_swiglu_ffn=use_swiglu_ffn,
|
||||
qk_norm=(qknorm_start != -1 and i >= qknorm_start),
|
||||
)
|
||||
for i in range(num_layers)
|
||||
])
|
||||
|
||||
def forward(self, x, intermediate_output=None):
|
||||
# Backward-compat path used by ``ClipVisionModel`` (no DA3 extensions).
|
||||
optimized_attention = optimized_attention_for_device(x.device, False, small_input=True)
|
||||
|
||||
if intermediate_output is not None:
|
||||
if intermediate_output < 0:
|
||||
intermediate_output = len(self.layer) + intermediate_output
|
||||
|
||||
intermediate = None
|
||||
for i, layer in enumerate(self.layer):
|
||||
x = layer(x, optimized_attention)
|
||||
if i == intermediate_output:
|
||||
intermediate = x.clone()
|
||||
return x, intermediate
|
||||
|
||||
|
||||
class Dino2PatchEmbeddings(torch.nn.Module):
|
||||
def __init__(self, dim, num_channels=3, patch_size=14, image_size=518, dtype=None, device=None, operations=None):
|
||||
super().__init__()
|
||||
self.patch_size = patch_size
|
||||
self.projection = operations.Conv2d(
|
||||
in_channels=num_channels,
|
||||
out_channels=dim,
|
||||
kernel_size=patch_size,
|
||||
stride=patch_size,
|
||||
bias=True,
|
||||
dtype=dtype,
|
||||
device=device
|
||||
)
|
||||
|
||||
def forward(self, pixel_values):
|
||||
return self.projection(pixel_values).flatten(2).transpose(1, 2)
|
||||
|
||||
|
||||
class Dino2Embeddings(torch.nn.Module):
|
||||
def __init__(self, dim, dtype, device, operations,
|
||||
patch_size: int = 14, image_size: int = 518,
|
||||
use_mask_token: bool = True,
|
||||
num_camera_tokens: int = 0):
|
||||
super().__init__()
|
||||
self.patch_size = patch_size
|
||||
self.image_size = image_size
|
||||
|
||||
self.patch_embeddings = Dino2PatchEmbeddings(dim, patch_size=patch_size, image_size=image_size, dtype=dtype, device=device, operations=operations)
|
||||
self.position_embeddings = torch.nn.Parameter(torch.empty(1, (image_size // patch_size) ** 2 + 1, dim, dtype=dtype, device=device))
|
||||
self.cls_token = torch.nn.Parameter(torch.empty(1, 1, dim, dtype=dtype, device=device)) # mask_token is a pre-training param, kept only so strict loading accepts the key.
|
||||
if use_mask_token:
|
||||
self.mask_token = torch.nn.Parameter(torch.empty(1, dim, dtype=dtype, device=device))
|
||||
else:
|
||||
self.mask_token = None
|
||||
if num_camera_tokens > 0:
|
||||
# DA3 stores (ref_token, src_token) pairs that get injected at the
|
||||
# alt-attn boundary; see ``Dinov2Model._inject_camera_token``.
|
||||
self.camera_token = torch.nn.Parameter(torch.empty(1, num_camera_tokens, dim, dtype=dtype, device=device))
|
||||
else:
|
||||
self.camera_token = None
|
||||
|
||||
def interpolate_pos_encoding(self, x, h_pixels, w_pixels):
|
||||
pos_embed = comfy.model_management.cast_to_device(self.position_embeddings, x.device, torch.float32)
|
||||
|
||||
class_pos = pos_embed[:, 0:1]
|
||||
patch_pos = pos_embed[:, 1:]
|
||||
N = patch_pos.shape[1]
|
||||
M = int(N ** 0.5)
|
||||
assert N == M * M, f"DINOv2 position grid must be square, got N={N} patches (sqrt={M})"
|
||||
h0 = h_pixels // self.patch_size
|
||||
w0 = w_pixels // self.patch_size
|
||||
# +0.1 matches upstream DINOv2's FP-rounding workaround so the interpolate output size lands on (h0, w0).
|
||||
# scale_factor is (height_scale, width_scale) -- height MUST come first;
|
||||
# swapping these only happens to work for square inputs and breaks
|
||||
# non-square paths like DA3-Small / DA3-Base multi-view.
|
||||
scale_factor = ((h0 + 0.1) / M, (w0 + 0.1) / M)
|
||||
|
||||
patch_pos = patch_pos.reshape(1, M, M, -1).permute(0, 3, 1, 2)
|
||||
patch_pos = torch.nn.functional.interpolate(patch_pos, scale_factor=scale_factor, mode="bicubic", antialias=False)
|
||||
assert (h0, w0) == patch_pos.shape[-2:], (
|
||||
f"Interpolated pos-embed grid {tuple(patch_pos.shape[-2:])} does not match "
|
||||
f"target patch grid ({h0}, {w0}) for input {h_pixels}x{w_pixels} (patch_size={self.patch_size}); "
|
||||
f"check scale_factor axis order and +0.1 rounding workaround"
|
||||
)
|
||||
patch_pos = patch_pos.permute(0, 2, 3, 1).flatten(1, 2)
|
||||
return torch.cat((class_pos, patch_pos), dim=1).to(x.dtype)
|
||||
|
||||
def forward(self, pixel_values):
|
||||
x = self.patch_embeddings(pixel_values)
|
||||
x = torch.cat((self.cls_token.to(device=x.device, dtype=x.dtype).expand(x.shape[0], -1, -1), x), dim=1)
|
||||
if x.shape[1] - 1 == self.position_embeddings.shape[1] - 1:
|
||||
x = x + comfy.model_management.cast_to_device(self.position_embeddings, x.device, x.dtype)
|
||||
else:
|
||||
h, w = pixel_values.shape[-2:]
|
||||
x = x + self.interpolate_pos_encoding(x, h, w)
|
||||
return x
|
||||
|
||||
|
||||
class Dinov2Model(torch.nn.Module):
|
||||
def __init__(self, config_dict, dtype, device, operations):
|
||||
super().__init__()
|
||||
num_layers = config_dict["num_hidden_layers"]
|
||||
dim = config_dict["hidden_size"]
|
||||
heads = config_dict["num_attention_heads"]
|
||||
layer_norm_eps = config_dict["layer_norm_eps"]
|
||||
use_swiglu_ffn = config_dict["use_swiglu_ffn"]
|
||||
patch_size = config_dict.get("patch_size", 14)
|
||||
image_size = config_dict.get("image_size", 518)
|
||||
use_mask_token = config_dict.get("use_mask_token", True)
|
||||
|
||||
# DA3 extensions (all default to disabled).
|
||||
self.alt_start = config_dict.get("alt_start", -1)
|
||||
self.qknorm_start = config_dict.get("qknorm_start", -1)
|
||||
self.rope_start = config_dict.get("rope_start", -1)
|
||||
self.cat_token = config_dict.get("cat_token", False)
|
||||
rope_freq = config_dict.get("rope_freq", 100.0)
|
||||
|
||||
self.embed_dim = dim
|
||||
self.patch_size = patch_size
|
||||
self.num_register_tokens = 0
|
||||
self.patch_start_idx = 1
|
||||
|
||||
if self.rope_start != -1 and rope_freq > 0:
|
||||
self.rope = RotaryPositionEmbedding2D(frequency=rope_freq)
|
||||
self._position_getter = _PositionGetter()
|
||||
else:
|
||||
self.rope = None
|
||||
self._position_getter = None
|
||||
|
||||
# camera_token shape: (1, 2, dim) -> (ref_token, src_token).
|
||||
num_cam_tokens = 2 if self.alt_start != -1 else 0
|
||||
|
||||
self.embeddings = Dino2Embeddings(
|
||||
dim, dtype, device, operations,
|
||||
patch_size=patch_size, image_size=image_size,
|
||||
use_mask_token=use_mask_token, num_camera_tokens=num_cam_tokens,
|
||||
)
|
||||
self.encoder = Dino2Encoder(
|
||||
dim, heads, layer_norm_eps, num_layers, dtype, device, operations,
|
||||
use_swiglu_ffn=use_swiglu_ffn,
|
||||
qknorm_start=self.qknorm_start,
|
||||
)
|
||||
self.layernorm = operations.LayerNorm(dim, eps=layer_norm_eps, dtype=dtype, device=device)
|
||||
|
||||
def forward(self, pixel_values, attention_mask=None, intermediate_output=None):
|
||||
if self.alt_start != -1:
|
||||
raise RuntimeError(
|
||||
"Dinov2Model.forward() is the backward-compatible CLIP-vision path and does not "
|
||||
"apply DA3 extensions (RoPE, alternating attention, camera-token injection). "
|
||||
"Use get_intermediate_layers_da3() for Depth Anything 3 models."
|
||||
)
|
||||
x = self.embeddings(pixel_values)
|
||||
x, i = self.encoder(x, intermediate_output=intermediate_output)
|
||||
x = self.layernorm(x)
|
||||
pooled_output = x[:, 0, :]
|
||||
return x, i, pooled_output, None
|
||||
|
||||
def get_intermediate_layers(self, pixel_values, indices, apply_norm=True):
|
||||
"""Single-view multi-layer feature extraction."""
|
||||
x = self.embeddings(pixel_values)
|
||||
optimized_attention = optimized_attention_for_device(x.device, False, small_input=True)
|
||||
n_layers = len(self.encoder.layer)
|
||||
resolved = [(i if i >= 0 else n_layers + i) for i in indices]
|
||||
target = set(resolved)
|
||||
max_idx = max(resolved)
|
||||
n_skip = 1 # skip cls token
|
||||
cache = {}
|
||||
for i, layer in enumerate(self.encoder.layer):
|
||||
x = layer(x, optimized_attention)
|
||||
if i in target:
|
||||
normed = self.layernorm(x) if apply_norm else x
|
||||
cache[i] = (normed[:, n_skip:], normed[:, 0])
|
||||
if i >= max_idx:
|
||||
break
|
||||
return [cache[i] for i in resolved]
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# Depth Anything 3 forward
|
||||
# ------------------------------------------------------------------
|
||||
def _prepare_rope_positions(self, B, S, H, W, device):
|
||||
if self.rope is None:
|
||||
return None, None
|
||||
ph, pw = H // self.patch_size, W // self.patch_size
|
||||
pos = self._position_getter(B * S, ph, pw, device=device)
|
||||
# Shift so the cls/cam token at position 0 is reserved for "no diff".
|
||||
pos = pos + 1
|
||||
cls_pos = torch.zeros(B * S, self.patch_start_idx, 2, device=device, dtype=pos.dtype)
|
||||
# Per-view local: real grid positions for patches, 0 for cls token.
|
||||
pos_local = torch.cat([cls_pos, pos], dim=1)
|
||||
# Global (across views): same grid positions; cls token still at 0,
|
||||
# but patches share the same positions in every view.
|
||||
pos_global = torch.cat([cls_pos, torch.zeros_like(pos) + 1], dim=1)
|
||||
return pos_local, pos_global
|
||||
|
||||
def _inject_camera_token(self, x: torch.Tensor, B: int, S: int, cam_token: "torch.Tensor | None") -> torch.Tensor:
|
||||
# x: (B, S, N, C). Replace token at index 0 with the camera token.
|
||||
if cam_token is not None:
|
||||
inj = cam_token
|
||||
else:
|
||||
ct = comfy.model_management.cast_to_device(self.embeddings.camera_token, x.device, x.dtype)
|
||||
ref_token = ct[:, :1].expand(B, -1, -1)
|
||||
src_token = ct[:, 1:].expand(B, max(S - 1, 0), -1)
|
||||
inj = torch.cat([ref_token, src_token], dim=1)
|
||||
x = x.clone()
|
||||
x[:, :, 0] = inj
|
||||
return x
|
||||
|
||||
def get_intermediate_layers_da3(self, pixel_values, out_layers, cam_token=None, ref_view_strategy="saddle_balanced", export_feat_layers=None):
|
||||
"""Multi-view multi-layer feature extraction used by Depth Anything 3."""
|
||||
if pixel_values.ndim == 4:
|
||||
pixel_values = pixel_values.unsqueeze(1)
|
||||
assert pixel_values.ndim == 5 and pixel_values.shape[2] == 3, \
|
||||
f"expected (B,3,H,W) or (B,S,3,H,W); got {tuple(pixel_values.shape)}"
|
||||
B, S, _, H, W = pixel_values.shape
|
||||
|
||||
# Patch + cls + (interpolated) pos embed for each view.
|
||||
x = pixel_values.reshape(B * S, 3, H, W)
|
||||
x = self.embeddings(x) # (B*S, 1+N, C)
|
||||
x = x.reshape(B, S, x.shape[-2], x.shape[-1]) # (B, S, 1+N, C)
|
||||
|
||||
pos_local, pos_global = self._prepare_rope_positions(B, S, H, W, x.device)
|
||||
# optimized_attention is only used by blocks without QK-norm/RoPE
|
||||
# (vanilla DINOv2 path); enabling-aware blocks fall through to SDPA.
|
||||
optimized_attention = optimized_attention_for_device(x.device, False, small_input=True)
|
||||
|
||||
out_set = set(out_layers)
|
||||
export_set = set(export_feat_layers) if export_feat_layers else set()
|
||||
outputs: list[torch.Tensor] = []
|
||||
aux_outputs: list[torch.Tensor] = []
|
||||
local_x = x
|
||||
b_idx = None
|
||||
|
||||
|
||||
for i, blk in enumerate(self.encoder.layer):
|
||||
apply_rope = self.rope is not None and i >= self.rope_start
|
||||
block_rope = self.rope if apply_rope else None
|
||||
l_pos = pos_local if apply_rope else None
|
||||
g_pos = pos_global if apply_rope else None
|
||||
|
||||
# Reference-view selection threshold: matches the upstream constant
|
||||
# THRESH_FOR_REF_SELECTION = 3. Skipped when a user-supplied
|
||||
# cam_token is provided (camera info already pins the geometry).
|
||||
if (self.alt_start != -1 and i == self.alt_start - 1 and S >= THRESH_FOR_REF_SELECTION and cam_token is None):
|
||||
b_idx = select_reference_view(x, strategy=ref_view_strategy)
|
||||
x = reorder_by_reference(x, b_idx)
|
||||
local_x = reorder_by_reference(local_x, b_idx)
|
||||
|
||||
if self.alt_start != -1 and i == self.alt_start:
|
||||
x = self._inject_camera_token(x, B, S, cam_token)
|
||||
|
||||
if self.alt_start != -1 and i >= self.alt_start and (i % 2 == 1):
|
||||
# Global attention across views: flatten S into the seq dim.
|
||||
t = x.reshape(B, S * x.shape[-2], x.shape[-1])
|
||||
p = g_pos.reshape(B, S * g_pos.shape[-2], g_pos.shape[-1]) if g_pos is not None else None
|
||||
t = blk(t, optimized_attention=optimized_attention, pos=p, rope=block_rope)
|
||||
x = t.reshape(B, S, x.shape[-2], x.shape[-1])
|
||||
else:
|
||||
# Per-view local attention.
|
||||
t = x.reshape(B * S, x.shape[-2], x.shape[-1])
|
||||
p = l_pos.reshape(B * S, l_pos.shape[-2], l_pos.shape[-1]) if l_pos is not None else None
|
||||
t = blk(t, optimized_attention=optimized_attention, pos=p, rope=block_rope)
|
||||
x = t.reshape(B, S, x.shape[-2], x.shape[-1])
|
||||
local_x = x
|
||||
|
||||
if i in out_set:
|
||||
if self.cat_token:
|
||||
out_x = torch.cat([local_x, x], dim=-1)
|
||||
else:
|
||||
out_x = x
|
||||
# Restore original view order on the way out so heads see views
|
||||
# in the user's expected order.
|
||||
if b_idx is not None and self.alt_start != -1:
|
||||
out_x = restore_original_order(out_x, b_idx)
|
||||
outputs.append(out_x)
|
||||
|
||||
if i in export_set:
|
||||
aux = x
|
||||
if b_idx is not None and self.alt_start != -1:
|
||||
aux = restore_original_order(aux, b_idx)
|
||||
aux_outputs.append(aux)
|
||||
|
||||
# Apply final norm. When cat_token is set, only the right half
|
||||
# ("global" features) is normalised; the left half is left as-is to
|
||||
# match the upstream DA3 head signature.
|
||||
normed: list[torch.Tensor] = []
|
||||
cls_tokens: list[torch.Tensor] = []
|
||||
for out_x in outputs:
|
||||
cls_tokens.append(out_x[:, :, 0])
|
||||
if out_x.shape[-1] == self.embed_dim:
|
||||
normed.append(self.layernorm(out_x))
|
||||
elif out_x.shape[-1] == self.embed_dim * 2:
|
||||
left = out_x[..., :self.embed_dim]
|
||||
right = self.layernorm(out_x[..., self.embed_dim:])
|
||||
normed.append(torch.cat([left, right], dim=-1))
|
||||
else:
|
||||
raise ValueError(f"Unexpected token width: {out_x.shape[-1]}")
|
||||
|
||||
# Drop cls/cam token from the patch sequence.
|
||||
normed = [o[..., 1 + self.num_register_tokens:, :] for o in normed]
|
||||
|
||||
# Final layernorm + drop cls token from auxiliary features too.
|
||||
aux_normed = [self.layernorm(o)[..., 1 + self.num_register_tokens:, :]
|
||||
for o in aux_outputs]
|
||||
return list(zip(normed, cls_tokens)), aux_normed
|
||||
@@ -0,0 +1,25 @@
|
||||
"""Colormap utilities for depth and geometry visualisation."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import torch
|
||||
|
||||
|
||||
def turbo(x: torch.Tensor) -> torch.Tensor:
|
||||
"""Anton Mikhailov polynomial approximation of the Turbo colormap.
|
||||
|
||||
Args:
|
||||
x: Float tensor with values in [0, 1].
|
||||
|
||||
Returns:
|
||||
RGB tensor of the same shape as ``x`` with a trailing size-3 dimension.
|
||||
"""
|
||||
x = x.clamp(0.0, 1.0)
|
||||
x2 = x * x
|
||||
x3 = x2 * x
|
||||
x4 = x2 * x2
|
||||
x5 = x4 * x
|
||||
r = 0.13572138 + 4.61539260*x - 42.66032258*x2 + 132.13108234*x3 - 152.94239396*x4 + 59.28637943*x5
|
||||
g = 0.09140261 + 2.19418839*x + 4.84296658*x2 - 14.18503333*x3 + 4.27729857*x4 + 2.82956604*x5
|
||||
b = 0.10667330 + 12.64194608*x - 60.58204836*x2 + 110.36276771*x3 - 89.90310912*x4 + 27.34824973*x5
|
||||
return torch.stack([r, g, b], dim=-1).clamp(0.0, 1.0)
|
||||
+177
@@ -0,0 +1,177 @@
|
||||
"""Camera-token encoder and decoder for Depth Anything 3."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
|
||||
from comfy.ldm.modules.attention import optimized_attention_for_device
|
||||
from .transform import affine_inverse, extri_intri_to_pose_encoding
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------
|
||||
# Building blocks (mirror depth_anything_3.model.utils.{attention,block})
|
||||
# -----------------------------------------------------------------------
|
||||
|
||||
|
||||
class _Mlp(nn.Module):
|
||||
"""Standard 2-layer MLP with GELU. Matches upstream ``utils.attention.Mlp``."""
|
||||
|
||||
def __init__(self, in_features, hidden_features=None, out_features=None, *, device=None, dtype=None, operations=None):
|
||||
super().__init__()
|
||||
out_features = out_features or in_features
|
||||
hidden_features = hidden_features or in_features
|
||||
self.fc1 = operations.Linear(in_features, hidden_features, bias=True, device=device, dtype=dtype)
|
||||
self.fc2 = operations.Linear(hidden_features, out_features, bias=True, device=device, dtype=dtype)
|
||||
|
||||
def forward(self, x):
|
||||
return self.fc2(F.gelu(self.fc1(x)))
|
||||
|
||||
|
||||
class _LayerScale(nn.Module):
|
||||
"""Per-channel learnable scaling. Matches upstream LayerScale."""
|
||||
|
||||
def __init__(self, dim, *, device=None, dtype=None):
|
||||
super().__init__()
|
||||
self.gamma = nn.Parameter(torch.empty(dim, device=device, dtype=dtype))
|
||||
|
||||
def forward(self, x):
|
||||
return x * self.gamma.to(dtype=x.dtype, device=x.device)
|
||||
|
||||
|
||||
class _Attention(nn.Module):
|
||||
""" Self-attention with fused QKV projection. Mirrors upstream utils.attention.Attention;
|
||||
Layout matches the HF safetensors (attn.qkv.{weight,bias} and attn.proj.{weight,bias})."""
|
||||
|
||||
def __init__(self, dim, num_heads, *, device=None, dtype=None, operations=None):
|
||||
super().__init__()
|
||||
assert dim % num_heads == 0
|
||||
self.num_heads = num_heads
|
||||
self.head_dim = dim // num_heads
|
||||
self.qkv = operations.Linear(dim, dim * 3, bias=True, device=device, dtype=dtype)
|
||||
self.proj = operations.Linear(dim, dim, bias=True, device=device, dtype=dtype)
|
||||
|
||||
def forward(self, x):
|
||||
B, N, C = x.shape
|
||||
qkv = self.qkv(x).reshape(B, N, 3, C)
|
||||
q, k, v = qkv.unbind(2) # each (B, N, C)
|
||||
attn_fn = optimized_attention_for_device(x.device, small_input=True)
|
||||
out = attn_fn(q, k, v, heads=self.num_heads)
|
||||
return self.proj(out)
|
||||
|
||||
|
||||
class _Block(nn.Module):
|
||||
"""Pre-norm transformer block with LayerScale. Used by :class:CameraEnc. Layout follows upstream utils.block.Block."""
|
||||
|
||||
def __init__(self, dim, num_heads, mlp_ratio=4, init_values=0.01, *, device=None, dtype=None, operations=None):
|
||||
super().__init__()
|
||||
self.norm1 = operations.LayerNorm(dim, device=device, dtype=dtype)
|
||||
self.attn = _Attention(dim, num_heads, device=device, dtype=dtype, operations=operations)
|
||||
self.ls1 = _LayerScale(dim, device=device, dtype=dtype) if init_values else nn.Identity()
|
||||
self.norm2 = operations.LayerNorm(dim, device=device, dtype=dtype)
|
||||
self.mlp = _Mlp(in_features=dim, hidden_features=int(dim * mlp_ratio), device=device, dtype=dtype, operations=operations)
|
||||
self.ls2 = _LayerScale(dim, device=device, dtype=dtype) if init_values else nn.Identity()
|
||||
|
||||
def forward(self, x):
|
||||
x = x + self.ls1(self.attn(self.norm1(x)))
|
||||
x = x + self.ls2(self.mlp(self.norm2(x)))
|
||||
return x
|
||||
|
||||
|
||||
class CameraEnc(nn.Module):
|
||||
"""Encode per-view (extrinsics, intrinsics) into a camera token.
|
||||
|
||||
Maps a 9-D pose-encoding vector through a small MLP up to the backbone's
|
||||
``embed_dim``, then runs ``trunk_depth`` transformer blocks. The output
|
||||
has shape ``(B, S, embed_dim)`` and is injected at block ``alt_start``
|
||||
of the DINOv2 backbone in place of the cls token.
|
||||
|
||||
Parameters mirror the upstream ``cam_enc.py`` so HF weights load directly.
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
dim_out: int = 1024,
|
||||
dim_in: int = 9,
|
||||
trunk_depth: int = 4,
|
||||
target_dim: int = 9,
|
||||
num_heads: int = 16,
|
||||
mlp_ratio: int = 4,
|
||||
init_values: float = 0.01,
|
||||
*,
|
||||
device=None, dtype=None, operations=None,
|
||||
**_kwargs,
|
||||
):
|
||||
super().__init__()
|
||||
self.target_dim = target_dim
|
||||
self.trunk_depth = trunk_depth
|
||||
self.trunk = nn.Sequential(*[
|
||||
_Block(dim_out, num_heads=num_heads, mlp_ratio=mlp_ratio,
|
||||
init_values=init_values,
|
||||
device=device, dtype=dtype, operations=operations)
|
||||
for _ in range(trunk_depth)
|
||||
])
|
||||
self.token_norm = operations.LayerNorm(dim_out, device=device, dtype=dtype)
|
||||
self.trunk_norm = operations.LayerNorm(dim_out, device=device, dtype=dtype)
|
||||
self.pose_branch = _Mlp(
|
||||
in_features=dim_in,
|
||||
hidden_features=dim_out // 2,
|
||||
out_features=dim_out,
|
||||
device=device, dtype=dtype, operations=operations,
|
||||
)
|
||||
|
||||
def forward(self, extrinsics: torch.Tensor, intrinsics: torch.Tensor,
|
||||
image_size_hw) -> torch.Tensor:
|
||||
"""Encode camera parameters into ``(B, S, dim_out)`` tokens."""
|
||||
c2ws = affine_inverse(extrinsics)
|
||||
pose_encoding = extri_intri_to_pose_encoding(c2ws, intrinsics, image_size_hw)
|
||||
tokens = self.pose_branch(pose_encoding.to(self.pose_branch.fc1.weight.dtype))
|
||||
tokens = self.token_norm(tokens)
|
||||
tokens = self.trunk(tokens)
|
||||
tokens = self.trunk_norm(tokens)
|
||||
return tokens
|
||||
|
||||
|
||||
class CameraDec(nn.Module):
|
||||
"""Decode the final cam token into a 9-D pose encoding.
|
||||
|
||||
Output layout: ``[T(3), quat_xyzw(4), fov_h, fov_w]``. The translation is
|
||||
always predicted by the network; the quaternion and FoV can either be
|
||||
predicted or supplied via ``camera_encoding`` (used at training time
|
||||
when GT cameras are available -- not exercised at inference here).
|
||||
|
||||
Parameters mirror the upstream ``cam_dec.py`` so HF weights load directly.
|
||||
"""
|
||||
|
||||
def __init__(self, dim_in: int = 1536,
|
||||
*, device=None, dtype=None, operations=None, **_kwargs):
|
||||
super().__init__()
|
||||
d = dim_in
|
||||
self.backbone = nn.Sequential(
|
||||
operations.Linear(d, d, device=device, dtype=dtype),
|
||||
nn.ReLU(),
|
||||
operations.Linear(d, d, device=device, dtype=dtype),
|
||||
nn.ReLU(),
|
||||
)
|
||||
self.fc_t = operations.Linear(d, 3, device=device, dtype=dtype)
|
||||
self.fc_qvec = operations.Linear(d, 4, device=device, dtype=dtype)
|
||||
self.fc_fov = nn.Sequential(
|
||||
operations.Linear(d, 2, device=device, dtype=dtype),
|
||||
nn.ReLU(),
|
||||
)
|
||||
|
||||
def forward(self, feat: torch.Tensor,
|
||||
camera_encoding: "torch.Tensor | None" = None) -> torch.Tensor:
|
||||
"""Decode ``(B, N, dim_in)`` cam tokens into ``(B, N, 9)`` pose enc."""
|
||||
B, N = feat.shape[:2]
|
||||
feat = feat.reshape(B * N, -1)
|
||||
feat = self.backbone(feat)
|
||||
out_t = self.fc_t(feat.float()).reshape(B, N, 3)
|
||||
if camera_encoding is None:
|
||||
out_qvec = self.fc_qvec(feat.float()).reshape(B, N, 4)
|
||||
out_fov = self.fc_fov(feat.float()).reshape(B, N, 2)
|
||||
else:
|
||||
out_qvec = camera_encoding[..., 3:7]
|
||||
out_fov = camera_encoding[..., -2:]
|
||||
return torch.cat([out_t, out_qvec, out_fov], dim=-1)
|
||||
@@ -0,0 +1,489 @@
|
||||
"""DPT / DualDPT heads for Depth Anything 3."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import List, Optional, Sequence, Tuple
|
||||
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
import torch.nn.functional as F
|
||||
|
||||
|
||||
class Permute(nn.Module):
|
||||
def __init__(self, dims: Tuple[int, ...]):
|
||||
super().__init__()
|
||||
self.dims = dims
|
||||
|
||||
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
||||
return x.permute(*self.dims)
|
||||
|
||||
|
||||
def _custom_interpolate(
|
||||
x: torch.Tensor,
|
||||
size: Optional[Tuple[int, int]] = None,
|
||||
scale_factor: Optional[float] = None,
|
||||
mode: str = "bilinear",
|
||||
align_corners: bool = True,
|
||||
) -> torch.Tensor:
|
||||
if size is None:
|
||||
assert scale_factor is not None
|
||||
size = (int(x.shape[-2] * scale_factor), int(x.shape[-1] * scale_factor))
|
||||
INT_MAX = 1610612736
|
||||
total = size[0] * size[1] * x.shape[0] * x.shape[1]
|
||||
if total > INT_MAX:
|
||||
chunks = torch.chunk(x, chunks=(total // INT_MAX) + 1, dim=0)
|
||||
outs = [F.interpolate(c, size=size, mode=mode, align_corners=align_corners) for c in chunks]
|
||||
return torch.cat(outs, dim=0).contiguous()
|
||||
return F.interpolate(x, size=size, mode=mode, align_corners=align_corners)
|
||||
|
||||
|
||||
def _create_uv_grid(width: int, height: int, aspect_ratio: float, dtype, device) -> torch.Tensor:
|
||||
"""Normalised UV grid spanning (-x_span, -y_span)..(x_span, y_span)."""
|
||||
diag_factor = (aspect_ratio ** 2 + 1.0) ** 0.5
|
||||
span_x = aspect_ratio / diag_factor
|
||||
span_y = 1.0 / diag_factor
|
||||
left_x = -span_x * (width - 1) / width
|
||||
right_x = span_x * (width - 1) / width
|
||||
top_y = -span_y * (height - 1) / height
|
||||
bottom_y = span_y * (height - 1) / height
|
||||
x_coords = torch.linspace(left_x, right_x, steps=width, dtype=dtype, device=device)
|
||||
y_coords = torch.linspace(top_y, bottom_y, steps=height, dtype=dtype, device=device)
|
||||
uu, vv = torch.meshgrid(x_coords, y_coords, indexing="xy")
|
||||
return torch.stack((uu, vv), dim=-1) # (H, W, 2)
|
||||
|
||||
|
||||
def _make_sincos_pos_embed(embed_dim: int, pos: torch.Tensor, omega_0: float = 100.0) -> torch.Tensor:
|
||||
omega = torch.arange(embed_dim // 2, dtype=torch.float32, device=pos.device)
|
||||
omega = 1.0 / omega_0 ** (omega / (embed_dim / 2.0))
|
||||
pos = pos.reshape(-1)
|
||||
out = torch.einsum("m,d->md", pos, omega)
|
||||
return torch.cat([out.sin(), out.cos()], dim=1).float()
|
||||
|
||||
|
||||
def _position_grid_to_embed(pos_grid: torch.Tensor, embed_dim: int, omega_0: float = 100.0) -> torch.Tensor:
|
||||
H, W, _ = pos_grid.shape
|
||||
pos_flat = pos_grid.reshape(-1, 2)
|
||||
emb_x = _make_sincos_pos_embed(embed_dim // 2, pos_flat[:, 0], omega_0=omega_0)
|
||||
emb_y = _make_sincos_pos_embed(embed_dim // 2, pos_flat[:, 1], omega_0=omega_0)
|
||||
emb = torch.cat([emb_x, emb_y], dim=-1)
|
||||
return emb.view(H, W, embed_dim)
|
||||
|
||||
|
||||
def _add_pos_embed(x: torch.Tensor, W: int, H: int, ratio: float = 0.1) -> torch.Tensor:
|
||||
"""Stateless UV positional embedding added to a feature map (B, C, h, w)."""
|
||||
pw, ph = x.shape[-1], x.shape[-2]
|
||||
pe = _create_uv_grid(pw, ph, aspect_ratio=W / H, dtype=x.dtype, device=x.device)
|
||||
pe = _position_grid_to_embed(pe, x.shape[1]) * ratio
|
||||
pe = pe.permute(2, 0, 1)[None].expand(x.shape[0], -1, -1, -1).to(dtype=x.dtype)
|
||||
return x + pe
|
||||
|
||||
|
||||
def _apply_activation(x: torch.Tensor, activation: str) -> torch.Tensor:
|
||||
act = (activation or "linear").lower()
|
||||
if act == "exp":
|
||||
return torch.exp(x)
|
||||
if act == "expp1":
|
||||
return torch.exp(x) + 1
|
||||
if act == "expm1":
|
||||
return torch.expm1(x)
|
||||
if act == "relu":
|
||||
return torch.relu(x)
|
||||
if act == "sigmoid":
|
||||
return torch.sigmoid(x)
|
||||
if act == "softplus":
|
||||
return F.softplus(x)
|
||||
if act == "tanh":
|
||||
return torch.tanh(x)
|
||||
return x
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Fusion building blocks
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
class ResidualConvUnit(nn.Module):
|
||||
def __init__(self, features: int, device=None, dtype=None, operations=None):
|
||||
super().__init__()
|
||||
self.conv1 = operations.Conv2d(features, features, 3, 1, 1, bias=True, device=device, dtype=dtype)
|
||||
self.conv2 = operations.Conv2d(features, features, 3, 1, 1, bias=True, device=device, dtype=dtype)
|
||||
self.activation = nn.ReLU(inplace=False)
|
||||
|
||||
def forward(self, x: torch.Tensor) -> torch.Tensor:
|
||||
out = self.activation(x)
|
||||
out = self.conv1(out)
|
||||
out = self.activation(out)
|
||||
out = self.conv2(out)
|
||||
return out + x
|
||||
|
||||
|
||||
class FeatureFusionBlock(nn.Module):
|
||||
def __init__(self, features: int, has_residual: bool = True, align_corners: bool = True, device=None, dtype=None, operations=None):
|
||||
super().__init__()
|
||||
self.align_corners = align_corners
|
||||
self.has_residual = has_residual
|
||||
if has_residual:
|
||||
self.resConfUnit1 = ResidualConvUnit(features, device=device, dtype=dtype, operations=operations)
|
||||
else:
|
||||
self.resConfUnit1 = None
|
||||
self.resConfUnit2 = ResidualConvUnit(features, device=device, dtype=dtype, operations=operations)
|
||||
self.out_conv = operations.Conv2d(features, features, 1, 1, 0, bias=True, device=device, dtype=dtype)
|
||||
|
||||
def forward(self, *xs: torch.Tensor, size: Optional[Tuple[int, int]] = None) -> torch.Tensor:
|
||||
y = xs[0]
|
||||
if self.has_residual and len(xs) > 1 and self.resConfUnit1 is not None:
|
||||
y = y + self.resConfUnit1(xs[1])
|
||||
y = self.resConfUnit2(y)
|
||||
if size is None:
|
||||
up_kwargs = {"scale_factor": 2.0}
|
||||
else:
|
||||
up_kwargs = {"size": size}
|
||||
y = _custom_interpolate(y, **up_kwargs, mode="bilinear", align_corners=self.align_corners)
|
||||
y = self.out_conv(y)
|
||||
return y
|
||||
|
||||
|
||||
class _Scratch(nn.Module):
|
||||
"""Container that mirrors upstream ``scratch`` attribute layout."""
|
||||
|
||||
|
||||
def _make_scratch(in_shape: List[int], out_shape: int, device=None, dtype=None, operations=None) -> _Scratch:
|
||||
scratch = _Scratch()
|
||||
scratch.layer1_rn = operations.Conv2d(in_shape[0], out_shape, 3, 1, 1, bias=False, device=device, dtype=dtype)
|
||||
scratch.layer2_rn = operations.Conv2d(in_shape[1], out_shape, 3, 1, 1, bias=False, device=device, dtype=dtype)
|
||||
scratch.layer3_rn = operations.Conv2d(in_shape[2], out_shape, 3, 1, 1, bias=False, device=device, dtype=dtype)
|
||||
scratch.layer4_rn = operations.Conv2d(in_shape[3], out_shape, 3, 1, 1, bias=False, device=device, dtype=dtype)
|
||||
return scratch
|
||||
|
||||
|
||||
def _make_fusion_block(features: int, has_residual: bool = True, device=None, dtype=None, operations=None) -> FeatureFusionBlock:
|
||||
return FeatureFusionBlock(features, has_residual=has_residual, align_corners=True, device=device, dtype=dtype, operations=operations)
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# DPT (single head + optional sky head) -- used by DA3Mono/Metric
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
class DPT(nn.Module):
|
||||
"""Single-head DPT used by DA3Mono-Large and DA3Metric-Large."""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
dim_in: int,
|
||||
patch_size: int = 14,
|
||||
output_dim: int = 1,
|
||||
activation: str = "exp",
|
||||
conf_activation: str = "expp1",
|
||||
features: int = 256,
|
||||
out_channels: Sequence[int] = (256, 512, 1024, 1024),
|
||||
pos_embed: bool = False,
|
||||
down_ratio: int = 1,
|
||||
head_name: str = "depth",
|
||||
use_sky_head: bool = True,
|
||||
sky_name: str = "sky",
|
||||
sky_activation: str = "relu",
|
||||
norm_type: str = "idt",
|
||||
device=None, dtype=None, operations=None,
|
||||
):
|
||||
super().__init__()
|
||||
self.patch_size = patch_size
|
||||
self.activation = activation
|
||||
self.conf_activation = conf_activation
|
||||
self.pos_embed = pos_embed
|
||||
self.down_ratio = down_ratio
|
||||
self.head_main = head_name
|
||||
self.sky_name = sky_name
|
||||
self.out_dim = output_dim
|
||||
self.has_conf = output_dim > 1
|
||||
self.use_sky_head = use_sky_head
|
||||
self.sky_activation = sky_activation
|
||||
self.intermediate_layer_idx: Tuple[int, int, int, int] = (0, 1, 2, 3)
|
||||
|
||||
if norm_type == "layer":
|
||||
self.norm = operations.LayerNorm(dim_in, device=device, dtype=dtype)
|
||||
else:
|
||||
self.norm = nn.Identity()
|
||||
|
||||
out_channels = list(out_channels)
|
||||
self.projects = nn.ModuleList([
|
||||
operations.Conv2d(dim_in, oc, kernel_size=1, stride=1, padding=0, device=device, dtype=dtype)
|
||||
for oc in out_channels
|
||||
])
|
||||
self.resize_layers = nn.ModuleList([
|
||||
operations.ConvTranspose2d(out_channels[0], out_channels[0], kernel_size=4, stride=4, padding=0, device=device, dtype=dtype),
|
||||
operations.ConvTranspose2d(out_channels[1], out_channels[1], kernel_size=2, stride=2, padding=0, device=device, dtype=dtype),
|
||||
nn.Identity(),
|
||||
operations.Conv2d(out_channels[3], out_channels[3], kernel_size=3, stride=2, padding=1, device=device, dtype=dtype),
|
||||
])
|
||||
|
||||
self.scratch = _make_scratch(out_channels, features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet1 = _make_fusion_block(features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet2 = _make_fusion_block(features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet3 = _make_fusion_block(features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet4 = _make_fusion_block(features, has_residual=False, device=device, dtype=dtype, operations=operations)
|
||||
|
||||
head_features_1 = features
|
||||
head_features_2 = 32
|
||||
self.scratch.output_conv1 = operations.Conv2d(
|
||||
head_features_1, head_features_1 // 2, kernel_size=3, stride=1, padding=1,
|
||||
device=device, dtype=dtype,
|
||||
)
|
||||
self.scratch.output_conv2 = nn.Sequential(
|
||||
operations.Conv2d(head_features_1 // 2, head_features_2, kernel_size=3, stride=1, padding=1, device=device, dtype=dtype),
|
||||
nn.ReLU(inplace=False),
|
||||
operations.Conv2d(head_features_2, output_dim, kernel_size=1, stride=1, padding=0, device=device, dtype=dtype),
|
||||
)
|
||||
|
||||
if self.use_sky_head:
|
||||
self.scratch.sky_output_conv2 = nn.Sequential(
|
||||
operations.Conv2d(head_features_1 // 2, head_features_2, kernel_size=3, stride=1, padding=1, device=device, dtype=dtype),
|
||||
nn.ReLU(inplace=False),
|
||||
operations.Conv2d(head_features_2, 1, kernel_size=1, stride=1, padding=0, device=device, dtype=dtype),
|
||||
)
|
||||
|
||||
def forward(self, feats: List[torch.Tensor], H: int, W: int, patch_start_idx: int = 0, **_kwargs) -> dict:
|
||||
# feats[i][0] is the patch-token tensor with shape (B, S, N_patch, C)
|
||||
B, S, N, C = feats[0][0].shape
|
||||
feats_flat = [feat[0].reshape(B * S, N, C) for feat in feats]
|
||||
|
||||
ph, pw = H // self.patch_size, W // self.patch_size
|
||||
resized = []
|
||||
for stage_idx, take_idx in enumerate(self.intermediate_layer_idx):
|
||||
x = feats_flat[take_idx][:, patch_start_idx:]
|
||||
x = self.norm(x)
|
||||
x = x.permute(0, 2, 1).contiguous().reshape(B * S, C, ph, pw)
|
||||
x = self.projects[stage_idx](x)
|
||||
if self.pos_embed:
|
||||
x = _add_pos_embed(x, W, H)
|
||||
x = self.resize_layers[stage_idx](x)
|
||||
resized.append(x)
|
||||
|
||||
l1_rn = self.scratch.layer1_rn(resized[0])
|
||||
l2_rn = self.scratch.layer2_rn(resized[1])
|
||||
l3_rn = self.scratch.layer3_rn(resized[2])
|
||||
l4_rn = self.scratch.layer4_rn(resized[3])
|
||||
|
||||
out = self.scratch.refinenet4(l4_rn, size=l3_rn.shape[2:])
|
||||
out = self.scratch.refinenet3(out, l3_rn, size=l2_rn.shape[2:])
|
||||
out = self.scratch.refinenet2(out, l2_rn, size=l1_rn.shape[2:])
|
||||
out = self.scratch.refinenet1(out, l1_rn)
|
||||
|
||||
h_out = int(ph * self.patch_size / self.down_ratio)
|
||||
w_out = int(pw * self.patch_size / self.down_ratio)
|
||||
|
||||
fused = self.scratch.output_conv1(out)
|
||||
fused = _custom_interpolate(fused, (h_out, w_out), mode="bilinear", align_corners=True)
|
||||
if self.pos_embed:
|
||||
fused = _add_pos_embed(fused, W, H)
|
||||
feat = fused
|
||||
|
||||
main_logits = self.scratch.output_conv2(feat)
|
||||
outs = {}
|
||||
if self.has_conf:
|
||||
fmap = main_logits.permute(0, 2, 3, 1)
|
||||
pred = _apply_activation(fmap[..., :-1], self.activation)
|
||||
conf = _apply_activation(fmap[..., -1], self.conf_activation)
|
||||
outs[self.head_main] = pred.squeeze(-1).view(B, S, *pred.shape[1:-1])
|
||||
outs[f"{self.head_main}_conf"] = conf.view(B, S, *conf.shape[1:])
|
||||
else:
|
||||
pred = _apply_activation(main_logits, self.activation)
|
||||
outs[self.head_main] = pred.squeeze(1).view(B, S, *pred.shape[2:])
|
||||
|
||||
if self.use_sky_head:
|
||||
sky_logits = self.scratch.sky_output_conv2(feat)
|
||||
if self.sky_activation.lower() == "sigmoid":
|
||||
sky = torch.sigmoid(sky_logits)
|
||||
elif self.sky_activation.lower() == "relu":
|
||||
sky = F.relu(sky_logits)
|
||||
else:
|
||||
sky = sky_logits
|
||||
outs[self.sky_name] = sky.squeeze(1).view(B, S, *sky.shape[2:])
|
||||
|
||||
return outs
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# DualDPT (depth + auxiliary "ray" head) -- used by DA3-Small / DA3-Base
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
class DualDPT(nn.Module):
|
||||
"""Two-head DPT used by DA3-Small / DA3-Base."""
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
dim_in: int,
|
||||
patch_size: int = 14,
|
||||
output_dim: int = 2,
|
||||
activation: str = "exp",
|
||||
conf_activation: str = "expp1",
|
||||
features: int = 256,
|
||||
out_channels: Sequence[int] = (256, 512, 1024, 1024),
|
||||
pos_embed: bool = True,
|
||||
down_ratio: int = 1,
|
||||
aux_pyramid_levels: int = 4,
|
||||
aux_out1_conv_num: int = 5,
|
||||
head_names: Tuple[str, str] = ("depth", "ray"),
|
||||
device=None, dtype=None, operations=None,
|
||||
):
|
||||
super().__init__()
|
||||
self.patch_size = patch_size
|
||||
self.activation = activation
|
||||
self.conf_activation = conf_activation
|
||||
self.pos_embed = pos_embed
|
||||
self.down_ratio = down_ratio
|
||||
self.aux_levels = aux_pyramid_levels
|
||||
self.aux_out1_conv_num = aux_out1_conv_num
|
||||
self.head_main, self.head_aux = head_names
|
||||
self.intermediate_layer_idx: Tuple[int, int, int, int] = (0, 1, 2, 3)
|
||||
# Toggle the auxiliary ray branch at runtime. Default off (mono path).
|
||||
# DepthAnything3Net flips this on when running multi-view + ray-pose.
|
||||
self.enable_aux: bool = False
|
||||
|
||||
self.norm = operations.LayerNorm(dim_in, device=device, dtype=dtype)
|
||||
out_channels = list(out_channels)
|
||||
self.projects = nn.ModuleList([
|
||||
operations.Conv2d(dim_in, oc, kernel_size=1, stride=1, padding=0, device=device, dtype=dtype)
|
||||
for oc in out_channels
|
||||
])
|
||||
self.resize_layers = nn.ModuleList([
|
||||
operations.ConvTranspose2d(out_channels[0], out_channels[0], kernel_size=4, stride=4, padding=0, device=device, dtype=dtype),
|
||||
operations.ConvTranspose2d(out_channels[1], out_channels[1], kernel_size=2, stride=2, padding=0, device=device, dtype=dtype),
|
||||
nn.Identity(),
|
||||
operations.Conv2d(out_channels[3], out_channels[3], kernel_size=3, stride=2, padding=1, device=device, dtype=dtype),
|
||||
])
|
||||
|
||||
self.scratch = _make_scratch(out_channels, features, device=device, dtype=dtype, operations=operations)
|
||||
# Main fusion chain
|
||||
self.scratch.refinenet1 = _make_fusion_block(features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet2 = _make_fusion_block(features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet3 = _make_fusion_block(features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet4 = _make_fusion_block(features, has_residual=False, device=device, dtype=dtype, operations=operations)
|
||||
# Auxiliary fusion chain (separate copies)
|
||||
self.scratch.refinenet1_aux = _make_fusion_block(features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet2_aux = _make_fusion_block(features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet3_aux = _make_fusion_block(features, device=device, dtype=dtype, operations=operations)
|
||||
self.scratch.refinenet4_aux = _make_fusion_block(features, has_residual=False, device=device, dtype=dtype, operations=operations)
|
||||
|
||||
head_features_1 = features
|
||||
head_features_2 = 32
|
||||
|
||||
# Main head neck + final projection
|
||||
self.scratch.output_conv1 = operations.Conv2d(
|
||||
head_features_1, head_features_1 // 2, kernel_size=3, stride=1, padding=1,
|
||||
device=device, dtype=dtype,
|
||||
)
|
||||
self.scratch.output_conv2 = nn.Sequential(
|
||||
operations.Conv2d(head_features_1 // 2, head_features_2, kernel_size=3, stride=1, padding=1, device=device, dtype=dtype),
|
||||
nn.ReLU(inplace=False),
|
||||
operations.Conv2d(head_features_2, output_dim, kernel_size=1, stride=1, padding=0, device=device, dtype=dtype),
|
||||
)
|
||||
|
||||
# Aux pre-head per level (multi-level pyramid)
|
||||
self.scratch.output_conv1_aux = nn.ModuleList([
|
||||
self._make_aux_out1_block(head_features_1, device=device, dtype=dtype, operations=operations)
|
||||
for _ in range(self.aux_levels)
|
||||
])
|
||||
|
||||
# Aux final projection per level (includes LayerNorm permute path).
|
||||
ln_seq = [Permute((0, 2, 3, 1)),
|
||||
operations.LayerNorm(head_features_2, device=device, dtype=dtype),
|
||||
Permute((0, 3, 1, 2))]
|
||||
self.scratch.output_conv2_aux = nn.ModuleList([
|
||||
nn.Sequential(
|
||||
operations.Conv2d(head_features_1 // 2, head_features_2, kernel_size=3, stride=1, padding=1, device=device, dtype=dtype),
|
||||
*ln_seq,
|
||||
nn.ReLU(inplace=False),
|
||||
operations.Conv2d(head_features_2, 7, kernel_size=1, stride=1, padding=0, device=device, dtype=dtype),
|
||||
)
|
||||
for _ in range(self.aux_levels)
|
||||
])
|
||||
|
||||
@staticmethod
|
||||
def _make_aux_out1_block(in_ch: int, *, device=None, dtype=None, operations=None) -> nn.Sequential:
|
||||
# aux_out1_conv_num=5 in all Apache-2.0 variants.
|
||||
return nn.Sequential(
|
||||
operations.Conv2d(in_ch, in_ch // 2, 3, 1, 1, device=device, dtype=dtype),
|
||||
operations.Conv2d(in_ch // 2, in_ch, 3, 1, 1, device=device, dtype=dtype),
|
||||
operations.Conv2d(in_ch, in_ch // 2, 3, 1, 1, device=device, dtype=dtype),
|
||||
operations.Conv2d(in_ch // 2, in_ch, 3, 1, 1, device=device, dtype=dtype),
|
||||
operations.Conv2d(in_ch, in_ch // 2, 3, 1, 1, device=device, dtype=dtype),
|
||||
)
|
||||
|
||||
def forward(self, feats: List[torch.Tensor], H: int, W: int, patch_start_idx: int = 0, **_kwargs) -> dict:
|
||||
B, S, N, C = feats[0][0].shape
|
||||
feats_flat = [feat[0].reshape(B * S, N, C) for feat in feats]
|
||||
|
||||
ph, pw = H // self.patch_size, W // self.patch_size
|
||||
resized = []
|
||||
for stage_idx, take_idx in enumerate(self.intermediate_layer_idx):
|
||||
x = feats_flat[take_idx][:, patch_start_idx:]
|
||||
x = self.norm(x)
|
||||
x = x.permute(0, 2, 1).contiguous().reshape(B * S, C, ph, pw)
|
||||
x = self.projects[stage_idx](x)
|
||||
if self.pos_embed:
|
||||
x = _add_pos_embed(x, W, H)
|
||||
x = self.resize_layers[stage_idx](x)
|
||||
resized.append(x)
|
||||
|
||||
l1_rn = self.scratch.layer1_rn(resized[0])
|
||||
l2_rn = self.scratch.layer2_rn(resized[1])
|
||||
l3_rn = self.scratch.layer3_rn(resized[2])
|
||||
l4_rn = self.scratch.layer4_rn(resized[3])
|
||||
|
||||
# Main pyramid (output_conv1 is applied inside the upstream `_fuse`,
|
||||
# before interpolation -- replicate that order here).
|
||||
m = self.scratch.refinenet4(l4_rn, size=l3_rn.shape[2:])
|
||||
if self.enable_aux:
|
||||
a4 = self.scratch.refinenet4_aux(l4_rn, size=l3_rn.shape[2:])
|
||||
aux_pyr = [a4]
|
||||
m = self.scratch.refinenet3(m, l3_rn, size=l2_rn.shape[2:])
|
||||
if self.enable_aux:
|
||||
aux_pyr.append(self.scratch.refinenet3_aux(aux_pyr[-1], l3_rn, size=l2_rn.shape[2:]))
|
||||
m = self.scratch.refinenet2(m, l2_rn, size=l1_rn.shape[2:])
|
||||
if self.enable_aux:
|
||||
aux_pyr.append(self.scratch.refinenet2_aux(aux_pyr[-1], l2_rn, size=l1_rn.shape[2:]))
|
||||
m = self.scratch.refinenet1(m, l1_rn)
|
||||
if self.enable_aux:
|
||||
aux_pyr.append(self.scratch.refinenet1_aux(aux_pyr[-1], l1_rn))
|
||||
m = self.scratch.output_conv1(m)
|
||||
|
||||
h_out = int(ph * self.patch_size / self.down_ratio)
|
||||
w_out = int(pw * self.patch_size / self.down_ratio)
|
||||
|
||||
m = _custom_interpolate(m, (h_out, w_out), mode="bilinear", align_corners=True)
|
||||
if self.pos_embed:
|
||||
m = _add_pos_embed(m, W, H)
|
||||
main_logits = self.scratch.output_conv2(m)
|
||||
fmap = main_logits.permute(0, 2, 3, 1)
|
||||
depth_pred = _apply_activation(fmap[..., :-1], self.activation)
|
||||
depth_conf = _apply_activation(fmap[..., -1], self.conf_activation)
|
||||
|
||||
outs = {
|
||||
self.head_main: depth_pred.squeeze(-1).view(B, S, *depth_pred.shape[1:-1]),
|
||||
f"{self.head_main}_conf": depth_conf.view(B, S, *depth_conf.shape[1:]),
|
||||
}
|
||||
|
||||
if self.enable_aux:
|
||||
# Auxiliary "ray" head (multi-level inside) -- only the last level
|
||||
# is returned. Mirrors upstream ``DualDPT._fuse`` + ``_forward_impl``:
|
||||
# each aux pyramid level goes through ``output_conv1_aux[i]``
|
||||
# (5-layer conv stack that ends at ``features // 2`` channels),
|
||||
# then the last level optionally gets a pos-embed and finally
|
||||
# ``output_conv2_aux[-1]``.
|
||||
aux_processed = [
|
||||
self.scratch.output_conv1_aux[i](a) for i, a in enumerate(aux_pyr)
|
||||
]
|
||||
last_aux = aux_processed[-1]
|
||||
if self.pos_embed:
|
||||
last_aux = _add_pos_embed(last_aux, W, H)
|
||||
last_aux_logits = self.scratch.output_conv2_aux[-1](last_aux)
|
||||
fmap_last = last_aux_logits.permute(0, 2, 3, 1)
|
||||
# Channels: [ray(6), ray_conf(1)]; ray uses 'linear' activation.
|
||||
aux_pred = fmap_last[..., :-1]
|
||||
aux_conf = _apply_activation(fmap_last[..., -1], self.conf_activation)
|
||||
outs[self.head_aux] = aux_pred.view(B, S, *aux_pred.shape[1:])
|
||||
outs[f"{self.head_aux}_conf"] = aux_conf.view(B, S, *aux_conf.shape[1:])
|
||||
|
||||
return outs
|
||||
+236
@@ -0,0 +1,236 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Dict, Optional, Sequence
|
||||
|
||||
import torch
|
||||
import torch.nn as nn
|
||||
|
||||
from comfy.image_encoders.dino2 import Dinov2Model
|
||||
|
||||
from .camera import CameraDec, CameraEnc
|
||||
from .dpt import DPT, DualDPT
|
||||
from .ray_pose import get_extrinsic_from_camray
|
||||
from .transform import affine_inverse, pose_encoding_to_extri_intri
|
||||
|
||||
|
||||
_HEAD_REGISTRY = {
|
||||
"dpt": DPT,
|
||||
"dualdpt": DualDPT,
|
||||
}
|
||||
|
||||
|
||||
# Backbone presets (mirror the upstream DINOv2 ViT variants).
|
||||
_BACKBONE_PRESETS = {
|
||||
"vits": dict(hidden_size=384, num_hidden_layers=12, num_attention_heads=6, use_swiglu_ffn=False),
|
||||
"vitb": dict(hidden_size=768, num_hidden_layers=12, num_attention_heads=12, use_swiglu_ffn=False),
|
||||
"vitl": dict(hidden_size=1024, num_hidden_layers=24, num_attention_heads=16, use_swiglu_ffn=False),
|
||||
"vitg": dict(hidden_size=1536, num_hidden_layers=40, num_attention_heads=24, use_swiglu_ffn=True),
|
||||
}
|
||||
|
||||
|
||||
def _build_backbone_config(
|
||||
backbone_name: str,
|
||||
*,
|
||||
alt_start: int,
|
||||
qknorm_start: int,
|
||||
rope_start: int,
|
||||
cat_token: bool,
|
||||
) -> dict:
|
||||
if backbone_name not in _BACKBONE_PRESETS:
|
||||
raise ValueError(f"Unknown DINOv2 backbone variant: {backbone_name!r}")
|
||||
cfg = dict(_BACKBONE_PRESETS[backbone_name])
|
||||
cfg.update(dict(
|
||||
layer_norm_eps=1e-6,
|
||||
patch_size=14,
|
||||
image_size=518,
|
||||
# No mask_token in DA3 weights; omit param to avoid load warnings.
|
||||
use_mask_token=False,
|
||||
alt_start=alt_start,
|
||||
qknorm_start=qknorm_start,
|
||||
rope_start=rope_start,
|
||||
cat_token=cat_token,
|
||||
rope_freq=100.0,
|
||||
))
|
||||
return cfg
|
||||
|
||||
|
||||
class DepthAnything3Net(nn.Module):
|
||||
|
||||
PATCH_SIZE = 14
|
||||
|
||||
def __init__(
|
||||
self,
|
||||
# --- Backbone ---
|
||||
backbone_name: str = "vitl",
|
||||
out_layers: Sequence[int] = (4, 11, 17, 23),
|
||||
alt_start: int = -1,
|
||||
qknorm_start: int = -1,
|
||||
rope_start: int = -1,
|
||||
cat_token: bool = False,
|
||||
# --- Head ---
|
||||
head_type: str = "dpt", # dpt or dualdpt
|
||||
head_dim_in: int = 1024,
|
||||
head_output_dim: int = 1, # 1 = depth only, 2 = depth+conf
|
||||
head_features: int = 256,
|
||||
head_out_channels: Sequence[int] = (256, 512, 1024, 1024),
|
||||
head_use_sky_head: bool = True, # ignored by DualDPT
|
||||
head_pos_embed: Optional[bool] = None, # default: True for DualDPT, False for DPT
|
||||
# --- Camera (multi-view) ---
|
||||
has_cam_enc: bool = False,
|
||||
has_cam_dec: bool = False,
|
||||
cam_dim_out: Optional[int] = None, # CameraEnc dim_out (defaults to embed_dim)
|
||||
cam_dec_dim_in: Optional[int] = None, # CameraDec dim_in (defaults to 2*embed_dim with cat_token)
|
||||
# ComfyUI plumbing
|
||||
device=None, dtype=None, operations=None,
|
||||
**_ignored,
|
||||
):
|
||||
super().__init__()
|
||||
head_cls = _HEAD_REGISTRY[head_type.lower()]
|
||||
self.head_type = head_type.lower()
|
||||
self.has_sky = (self.head_type == "dpt") and head_use_sky_head
|
||||
self.has_conf = head_output_dim > 1
|
||||
self.out_layers = list(out_layers)
|
||||
|
||||
backbone_cfg = _build_backbone_config(
|
||||
backbone_name,
|
||||
alt_start=alt_start,
|
||||
qknorm_start=qknorm_start,
|
||||
rope_start=rope_start,
|
||||
cat_token=cat_token,
|
||||
)
|
||||
self.backbone = Dinov2Model(backbone_cfg, dtype, device, operations)
|
||||
|
||||
head_kwargs = dict(
|
||||
dim_in=head_dim_in,
|
||||
patch_size=self.PATCH_SIZE,
|
||||
output_dim=head_output_dim,
|
||||
features=head_features,
|
||||
out_channels=tuple(head_out_channels),
|
||||
device=device, dtype=dtype, operations=operations,
|
||||
)
|
||||
if self.head_type == "dpt":
|
||||
head_kwargs.update(
|
||||
use_sky_head=head_use_sky_head,
|
||||
pos_embed=(False if head_pos_embed is None else head_pos_embed),
|
||||
)
|
||||
else: # dualdpt
|
||||
head_kwargs.update(
|
||||
pos_embed=(True if head_pos_embed is None else head_pos_embed),
|
||||
)
|
||||
self.head = head_cls(**head_kwargs)
|
||||
|
||||
# Built only if checkpoint has weights; cam_enc output dim == embed_dim.
|
||||
embed_dim = backbone_cfg["hidden_size"]
|
||||
if has_cam_enc:
|
||||
self.cam_enc = CameraEnc(
|
||||
dim_out=cam_dim_out if cam_dim_out is not None else embed_dim,
|
||||
num_heads=max(1, embed_dim // 64),
|
||||
device=device, dtype=dtype, operations=operations,
|
||||
)
|
||||
else:
|
||||
self.cam_enc = None
|
||||
if has_cam_dec:
|
||||
default_dim = embed_dim * (2 if cat_token else 1)
|
||||
self.cam_dec = CameraDec(
|
||||
dim_in=cam_dec_dim_in if cam_dec_dim_in is not None else default_dim,
|
||||
device=device, dtype=dtype, operations=operations,
|
||||
)
|
||||
else:
|
||||
self.cam_dec = None
|
||||
|
||||
self.dtype = dtype
|
||||
|
||||
def forward(
|
||||
self,
|
||||
image: torch.Tensor,
|
||||
extrinsics: Optional[torch.Tensor] = None,
|
||||
intrinsics: Optional[torch.Tensor] = None,
|
||||
*,
|
||||
use_ray_pose: bool = False,
|
||||
ref_view_strategy: str = "saddle_balanced",
|
||||
export_feat_layers: Optional[Sequence[int]] = None,
|
||||
**_unused,
|
||||
) -> Dict[str, torch.Tensor]:
|
||||
"""Run depth and optionally pose prediction."""
|
||||
if image.ndim == 4:
|
||||
image = image.unsqueeze(1) # (B, 1, 3, H, W)
|
||||
assert image.ndim == 5 and image.shape[2] == 3, \
|
||||
f"image must be (B,3,H,W) or (B,S,3,H,W); got {tuple(image.shape)}"
|
||||
|
||||
B, S, _, H, W = image.shape
|
||||
assert H % self.PATCH_SIZE == 0 and W % self.PATCH_SIZE == 0, \
|
||||
f"image H,W must be multiples of {self.PATCH_SIZE}; got {(H, W)}"
|
||||
|
||||
# Camera-token preparation (multi-view path).
|
||||
cam_token = None
|
||||
if extrinsics is not None and intrinsics is not None and self.cam_enc is not None:
|
||||
cam_token = self.cam_enc(extrinsics, intrinsics, (H, W))
|
||||
|
||||
# Toggle aux ray output on/off depending on what the caller asked for.
|
||||
if isinstance(self.head, DualDPT):
|
||||
self.head.enable_aux = bool(use_ray_pose)
|
||||
|
||||
feats, aux_feats = self.backbone.get_intermediate_layers_da3(
|
||||
image, self.out_layers, cam_token=cam_token,
|
||||
ref_view_strategy=ref_view_strategy,
|
||||
export_feat_layers=export_feat_layers,
|
||||
)
|
||||
head_out = self.head(feats, H=H, W=W, patch_start_idx=0)
|
||||
|
||||
# Pose prediction.
|
||||
out: Dict[str, torch.Tensor] = {}
|
||||
if use_ray_pose and "ray" in head_out and "ray_conf" in head_out:
|
||||
ray = head_out["ray"]
|
||||
ray_conf = head_out["ray_conf"]
|
||||
extr_c2w, focal, pp = get_extrinsic_from_camray(
|
||||
ray, ray_conf, ray.shape[-3], ray.shape[-2],
|
||||
)
|
||||
# Match the upstream output: w2c, drop the homogeneous row.
|
||||
extr_w2c = affine_inverse(extr_c2w)[:, :, :3, :]
|
||||
# Build pixel-space intrinsics from the normalised focal/pp output.
|
||||
intr = torch.eye(3, device=ray.device, dtype=ray.dtype)
|
||||
intr = intr[None, None].expand(extr_c2w.shape[0], extr_c2w.shape[1], 3, 3).clone()
|
||||
intr[:, :, 0, 0] = focal[:, :, 0] / 2 * W
|
||||
intr[:, :, 1, 1] = focal[:, :, 1] / 2 * H
|
||||
intr[:, :, 0, 2] = pp[:, :, 0] * W * 0.5
|
||||
intr[:, :, 1, 2] = pp[:, :, 1] * H * 0.5
|
||||
out["extrinsics"] = extr_w2c
|
||||
out["intrinsics"] = intr
|
||||
elif self.cam_dec is not None and S > 1:
|
||||
# Decode the cam-token of the final out_layer into a pose encoding.
|
||||
cam_feat = feats[-1][1] # (B, S, dim_in_to_cam_dec)
|
||||
pose_enc = self.cam_dec(cam_feat)
|
||||
c2w_3x4, intr = pose_encoding_to_extri_intri(pose_enc, (H, W))
|
||||
# Match the upstream output convention: w2c (world->camera), 3x4.
|
||||
c2w_4x4 = torch.cat([
|
||||
c2w_3x4,
|
||||
torch.tensor([0, 0, 0, 1], device=c2w_3x4.device, dtype=c2w_3x4.dtype)
|
||||
.view(1, 1, 1, 4).expand(B, S, 1, 4),
|
||||
], dim=-2)
|
||||
out["extrinsics"] = affine_inverse(c2w_4x4)[:, :, :3, :]
|
||||
out["intrinsics"] = intr
|
||||
|
||||
# Flatten the views axis for per-pixel outputs (depth/conf/sky) so the
|
||||
# per-image consumer keeps its (B*S, H, W) interface.
|
||||
for k, v in head_out.items():
|
||||
if k in ("ray", "ray_conf"):
|
||||
# Keep multi-view shape for downstream pose work.
|
||||
out[k] = v
|
||||
elif v.ndim >= 3 and v.shape[0] == B and v.shape[1] == S:
|
||||
out[k] = v.reshape(B * S, *v.shape[2:])
|
||||
else:
|
||||
out[k] = v
|
||||
|
||||
if export_feat_layers:
|
||||
out["aux_features"] = self._reshape_aux_features(aux_feats, H, W)
|
||||
return out
|
||||
|
||||
def _reshape_aux_features(self, aux_feats, H: int, W: int):
|
||||
"""Reshape (B, S, N, C) aux features into (B, S, h_p, w_p, C)."""
|
||||
ph, pw = H // self.PATCH_SIZE, W // self.PATCH_SIZE
|
||||
out = []
|
||||
for f in aux_feats:
|
||||
B, S, N, C = f.shape
|
||||
assert N == ph * pw, f"aux feature seq mismatch: {N} != {ph}*{pw}"
|
||||
out.append(f.reshape(B, S, ph, pw, C))
|
||||
return out
|
||||
+128
@@ -0,0 +1,128 @@
|
||||
"""Input/output preprocessing helpers for Depth Anything 3."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Tuple
|
||||
|
||||
import torch
|
||||
|
||||
import comfy.utils
|
||||
|
||||
PATCH_SIZE = 14
|
||||
|
||||
# ImageNet normalization constants used during DA3 training.
|
||||
_IMAGENET_MEAN = torch.tensor([0.485, 0.456, 0.406])
|
||||
_IMAGENET_STD = torch.tensor([0.229, 0.224, 0.225])
|
||||
|
||||
|
||||
def _round_to_patch(x: int, patch: int = PATCH_SIZE) -> int:
|
||||
down = (x // patch) * patch
|
||||
up = down + patch
|
||||
return up if abs(up - x) <= abs(x - down) else down
|
||||
|
||||
|
||||
def compute_target_size(orig_h: int, orig_w: int, process_res: int, method: str = "upper_bound_resize") -> Tuple[int, int]:
|
||||
"""Compute (target_h, target_w) for a single image.
|
||||
upper_bound_resize: scale longest side to process_res, then round each dim to nearest multiple of 14 (default upstream method).
|
||||
lower_bound_resize: scale shortest side to process_res, then round."""
|
||||
|
||||
if method == "upper_bound_resize":
|
||||
longest = max(orig_h, orig_w)
|
||||
scale = process_res / float(longest)
|
||||
elif method == "lower_bound_resize":
|
||||
shortest = min(orig_h, orig_w)
|
||||
scale = process_res / float(shortest)
|
||||
else:
|
||||
raise ValueError(f"Unsupported process_res_method: {method}")
|
||||
|
||||
new_w = max(1, _round_to_patch(int(round(orig_w * scale))))
|
||||
new_h = max(1, _round_to_patch(int(round(orig_h * scale))))
|
||||
return new_h, new_w
|
||||
|
||||
|
||||
def preprocess_image(image: torch.Tensor, process_res: int = 504, method: str = "upper_bound_resize") -> torch.Tensor:
|
||||
assert image.ndim == 4 and image.shape[-1] == 3, f"expected (B,H,W,3) IMAGE; got {tuple(image.shape)}"
|
||||
B, H, W, _ = image.shape
|
||||
target_h, target_w = compute_target_size(H, W, process_res, method)
|
||||
|
||||
# (B, H, W, 3) -> (B, 3, H, W)
|
||||
x = image.movedim(-1, 1).contiguous()
|
||||
if (target_h, target_w) != (H, W):
|
||||
# Upstream uses cv2 INTER_CUBIC (upscale) / INTER_AREA (downscale).
|
||||
# Lanczos in ``common_upscale`` is anti-aliased and produces the
|
||||
# closest pixel-wise match in a sweep across {bilinear, bicubic,
|
||||
# area, lanczos, bislerp}. Used in both directions for simplicity.
|
||||
x = comfy.utils.common_upscale(x.float(), target_w, target_h, "lanczos", "disabled",)
|
||||
x = x.clamp(0.0, 1.0)
|
||||
|
||||
mean = _IMAGENET_MEAN.to(device=x.device, dtype=x.dtype).view(1, 3, 1, 1)
|
||||
std = _IMAGENET_STD.to(device=x.device, dtype=x.dtype).view(1, 3, 1, 1)
|
||||
x = (x - mean) / std
|
||||
return x
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Output post-processing (sky-aware clipping for Mono/Metric variants)
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
def compute_non_sky_mask(sky_prediction: torch.Tensor, threshold: float = 0.3) -> torch.Tensor:
|
||||
"""Boolean mask: True for non-sky pixels (sky probability < threshold)."""
|
||||
return sky_prediction < threshold
|
||||
|
||||
|
||||
def apply_sky_aware_clip(depth: torch.Tensor, sky: torch.Tensor, threshold: float = 0.3, quantile: float = 0.99) -> torch.Tensor:
|
||||
"""Clips sky regions to the 99th percentile of non-sky depth. Returns a new depth tensor."""
|
||||
non_sky = compute_non_sky_mask(sky, threshold=threshold)
|
||||
if non_sky.sum() <= 10 or (~non_sky).sum() <= 10:
|
||||
return depth.clone()
|
||||
|
||||
non_sky_depth = depth[non_sky]
|
||||
if non_sky_depth.numel() > 100_000:
|
||||
idx = torch.randint(0, non_sky_depth.numel(), (100_000,), device=non_sky_depth.device)
|
||||
sampled = non_sky_depth[idx]
|
||||
else:
|
||||
sampled = non_sky_depth
|
||||
|
||||
max_depth = torch.quantile(sampled, quantile)
|
||||
out = depth.clone()
|
||||
out[~non_sky] = max_depth
|
||||
return out
|
||||
|
||||
|
||||
def normalize_depth_v2_style(depth: torch.Tensor, sky: torch.Tensor | None = None, low_quantile: float = 0.01, high_quantile: float = 0.99) -> torch.Tensor:
|
||||
"""V2-style normalization computes percentile bounds over non-sky pixels (when available), then maps depth into [0, 1] with near = white (1.0)."""
|
||||
if sky is not None:
|
||||
mask = compute_non_sky_mask(sky)
|
||||
if mask.any():
|
||||
valid = depth[mask]
|
||||
else:
|
||||
valid = depth.flatten()
|
||||
else:
|
||||
valid = depth.flatten()
|
||||
|
||||
if valid.numel() > 100_000:
|
||||
idx = torch.randint(0, valid.numel(), (100_000,), device=valid.device)
|
||||
sample = valid[idx]
|
||||
else:
|
||||
sample = valid
|
||||
|
||||
lo = torch.quantile(sample, low_quantile)
|
||||
hi = torch.quantile(sample, high_quantile)
|
||||
rng = (hi - lo).clamp(min=1e-6)
|
||||
norm = ((depth - lo) / rng).clamp(0.0, 1.0)
|
||||
# Nearer pixels are brighter (1.0)
|
||||
norm = 1.0 - norm
|
||||
if sky is not None:
|
||||
# Sky pixels become black (far / unknown)
|
||||
sky_mask = ~compute_non_sky_mask(sky)
|
||||
norm = torch.where(sky_mask, torch.zeros_like(norm), norm)
|
||||
return norm
|
||||
|
||||
|
||||
def normalize_depth_min_max(depth: torch.Tensor) -> torch.Tensor:
|
||||
"""Simple per-frame min/max normalization with near=1.0 convention."""
|
||||
lo = depth.amin(dim=(-2, -1), keepdim=True)
|
||||
hi = depth.amax(dim=(-2, -1), keepdim=True)
|
||||
rng = (hi - lo).clamp(min=1e-6)
|
||||
return 1.0 - ((depth - lo) / rng).clamp(0.0, 1.0)
|
||||
+272
@@ -0,0 +1,272 @@
|
||||
"""Ray-to-pose conversion for the multi-view path of Depth Anything 3."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Optional, Tuple
|
||||
|
||||
import torch
|
||||
|
||||
|
||||
# qr/svd use fp32: CUDA often has no fp16/bf16 kernels for these ops.
|
||||
|
||||
|
||||
def _ql_decomposition(A: torch.Tensor) -> Tuple[torch.Tensor, torch.Tensor]:
|
||||
"""Decompose A = Q @ L with Q orthogonal and L lower-triangular.
|
||||
Implemented in terms of QR by reversing the columns/rows; the standard
|
||||
trick from the upstream reference. Inputs A are (3, 3)."""
|
||||
P = torch.tensor([[0, 0, 1], [0, 1, 0], [1, 0, 0]], device=A.device, dtype=A.dtype)
|
||||
A_tilde = A @ P
|
||||
# CUDA QR is not implemented for fp16/bf16; upcast just for this call.
|
||||
Q_tilde, R_tilde = torch.linalg.qr(A_tilde.float())
|
||||
Q_tilde = Q_tilde.to(A.dtype)
|
||||
R_tilde = R_tilde.to(A.dtype)
|
||||
Q = Q_tilde @ P
|
||||
L = P @ R_tilde @ P
|
||||
d = torch.diag(L)
|
||||
sign = torch.sign(d)
|
||||
Q = Q * sign[None, :] # scale columns of Q
|
||||
L = L * sign[:, None] # scale rows of L
|
||||
return Q, L
|
||||
|
||||
|
||||
def _homogenize_points(points: torch.Tensor) -> torch.Tensor:
|
||||
return torch.cat([points, torch.ones_like(points[..., :1])], dim=-1)
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Weighted-LSQ + RANSAC homography (batched)
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
def _find_homography_weighted_lsq(src_pts: torch.Tensor, dst_pts: torch.Tensor, confident_weight: torch.Tensor,) -> torch.Tensor:
|
||||
"""Solve a single H with weighted least-squares (DLT)."""
|
||||
N = src_pts.shape[0]
|
||||
if N < 4:
|
||||
raise ValueError("At least 4 points are required to compute a homography.")
|
||||
w = confident_weight.sqrt().unsqueeze(1) # (N, 1)
|
||||
x = src_pts[:, 0:1]
|
||||
y = src_pts[:, 1:2]
|
||||
u = dst_pts[:, 0:1]
|
||||
v = dst_pts[:, 1:2]
|
||||
zeros = torch.zeros_like(x)
|
||||
A1 = torch.cat([-x * w, -y * w, -w, zeros, zeros, zeros, x * u * w, y * u * w, u * w], dim=1)
|
||||
A2 = torch.cat([zeros, zeros, zeros, -x * w, -y * w, -w, x * v * w, y * v * w, v * w], dim=1)
|
||||
A = torch.cat([A1, A2], dim=0) # (2N, 9)
|
||||
# CUDA SVD is not implemented for fp16/bf16; upcast just for this call.
|
||||
_, _, Vh = torch.linalg.svd(A.float())
|
||||
Vh = Vh.to(A.dtype)
|
||||
H = Vh[-1].reshape(3, 3)
|
||||
return H / H[-1, -1]
|
||||
|
||||
|
||||
def _find_homography_weighted_lsq_batched(src_pts_batch: torch.Tensor, dst_pts_batch: torch.Tensor, confident_weight_batch: torch.Tensor) -> torch.Tensor:
|
||||
"""Batched DLT solver. Inputs (B, K, 2) / (B, K); output (B, 3, 3)."""
|
||||
B, K, _ = src_pts_batch.shape
|
||||
w = confident_weight_batch.sqrt().unsqueeze(2)
|
||||
x = src_pts_batch[:, :, 0:1]
|
||||
y = src_pts_batch[:, :, 1:2]
|
||||
u = dst_pts_batch[:, :, 0:1]
|
||||
v = dst_pts_batch[:, :, 1:2]
|
||||
zeros = torch.zeros_like(x)
|
||||
A1 = torch.cat([-x * w, -y * w, -w, zeros, zeros, zeros, x * u * w, y * u * w, u * w], dim=2)
|
||||
A2 = torch.cat([zeros, zeros, zeros, -x * w, -y * w, -w, x * v * w, y * v * w, v * w], dim=2)
|
||||
A = torch.cat([A1, A2], dim=1) # (B, 2K, 9)
|
||||
# CUDA SVD is not implemented for fp16/bf16; upcast just for this call.
|
||||
_, _, Vh = torch.linalg.svd(A.float())
|
||||
Vh = Vh.to(A.dtype)
|
||||
H = Vh[:, -1].reshape(B, 3, 3)
|
||||
return H / H[:, 2:3, 2:3]
|
||||
|
||||
|
||||
def _ransac_find_homography_weighted_batched(
|
||||
src_pts: torch.Tensor, # (B, N, 2)
|
||||
dst_pts: torch.Tensor, # (B, N, 2)
|
||||
confident_weight: torch.Tensor, # (B, N)
|
||||
n_sample: int,
|
||||
n_iter: int = 100,
|
||||
reproj_threshold: float = 3.0,
|
||||
num_sample_for_ransac: int = 8,
|
||||
max_inlier_num: int = 10000,
|
||||
rand_sample_iters_idx: Optional[torch.Tensor] = None,
|
||||
) -> torch.Tensor:
|
||||
"""Batched weighted-RANSAC homography estimator. Returns (B, 3, 3) homography matrices."""
|
||||
B, N, _ = src_pts.shape
|
||||
assert N >= 4
|
||||
device = src_pts.device
|
||||
|
||||
sorted_idx = torch.argsort(confident_weight, descending=True, dim=1)
|
||||
candidate_idx = sorted_idx[:, :n_sample] # (B, n_sample)
|
||||
|
||||
if rand_sample_iters_idx is None:
|
||||
rand_sample_iters_idx = torch.stack(
|
||||
[torch.randperm(n_sample, device=device)[:num_sample_for_ransac]
|
||||
for _ in range(n_iter)],
|
||||
dim=0,
|
||||
)
|
||||
|
||||
rand_idx = candidate_idx[:, rand_sample_iters_idx] # (B, n_iter, k)
|
||||
b_idx = (
|
||||
torch.arange(B, device=device)
|
||||
.view(B, 1, 1)
|
||||
.expand(B, n_iter, num_sample_for_ransac)
|
||||
)
|
||||
src_b = src_pts[b_idx, rand_idx]
|
||||
dst_b = dst_pts[b_idx, rand_idx]
|
||||
w_b = confident_weight[b_idx, rand_idx]
|
||||
|
||||
cB, cN = src_b.shape[:2]
|
||||
H_batch = _find_homography_weighted_lsq_batched(
|
||||
src_b.flatten(0, 1), dst_b.flatten(0, 1), w_b.flatten(0, 1),
|
||||
).unflatten(0, (cB, cN)) # (B, n_iter, 3, 3)
|
||||
|
||||
src_homo = torch.cat([src_pts, torch.ones(B, N, 1, device=device, dtype=src_pts.dtype)], dim=2)
|
||||
proj = torch.bmm(
|
||||
src_homo.unsqueeze(1).expand(B, n_iter, N, 3).reshape(-1, N, 3),
|
||||
H_batch.reshape(-1, 3, 3).transpose(1, 2),
|
||||
) # (B*n_iter, N, 3)
|
||||
proj_xy = (proj[:, :, :2] / proj[:, :, 2:3]).reshape(B, n_iter, N, 2)
|
||||
err = ((proj_xy - dst_pts.unsqueeze(1)) ** 2).sum(-1).sqrt() # (B, n_iter, N)
|
||||
inlier_mask = err < reproj_threshold
|
||||
score = (inlier_mask * confident_weight.unsqueeze(1)).sum(dim=2)
|
||||
best_idx = torch.argmax(score, dim=1)
|
||||
best_inlier_mask = inlier_mask[torch.arange(B, device=device), best_idx]
|
||||
|
||||
# Refit with the inlier set (per-batch, since the inlier counts vary).
|
||||
H_inlier_list = []
|
||||
for b in range(B):
|
||||
mask = best_inlier_mask[b]
|
||||
in_src = src_pts[b][mask]
|
||||
in_dst = dst_pts[b][mask]
|
||||
in_w = confident_weight[b][mask]
|
||||
if in_src.shape[0] < 4:
|
||||
# Fall back to identity when RANSAC fails to find enough inliers.
|
||||
H_inlier_list.append(torch.eye(3, device=device, dtype=src_pts.dtype))
|
||||
continue
|
||||
sorted_w = torch.argsort(in_w, descending=True)
|
||||
if len(sorted_w) > max_inlier_num:
|
||||
keep = max(int(len(sorted_w) * 0.95), max_inlier_num)
|
||||
sorted_w = sorted_w[:keep][torch.randperm(keep, device=device)[:max_inlier_num]]
|
||||
H_inlier_list.append(
|
||||
_find_homography_weighted_lsq(in_src[sorted_w], in_dst[sorted_w], in_w[sorted_w])
|
||||
)
|
||||
return torch.stack(H_inlier_list, dim=0)
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Camera-ray utilities
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
def _unproject_identity(num_y: int, num_x: int, B: int, S: int, device, dtype) -> torch.Tensor:
|
||||
"""Camera-space unit rays for an identity intrinsic on a 2x2 image plane."""
|
||||
dx = 1.0 / num_x
|
||||
dy = 1.0 / num_y
|
||||
# Centered camera-space coords directly (skip the K^-1 step since it's
|
||||
# just a translation by -1 on x and y when K is identity-with-center=1).
|
||||
y = torch.linspace(-(1 - dy), (1 - dy), num_y, device=device, dtype=dtype)
|
||||
x = torch.linspace(-(1 - dx), (1 - dx), num_x, device=device, dtype=dtype)
|
||||
yy, xx = torch.meshgrid(y, x, indexing="ij")
|
||||
grid = torch.stack((xx, yy), dim=-1) # (h, w, 2)
|
||||
grid = grid.unsqueeze(0).unsqueeze(0).expand(B, S, num_y, num_x, 2)
|
||||
return torch.cat([grid, torch.ones_like(grid[..., :1])], dim=-1)
|
||||
|
||||
|
||||
def _camray_to_caminfo(
|
||||
camray: torch.Tensor, # (B, S, h, w, 6)
|
||||
confidence: Optional[torch.Tensor] = None, # (B, S, h, w)
|
||||
reproj_threshold: float = 0.2,
|
||||
) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor, torch.Tensor]:
|
||||
"""Convert per-pixel camera rays to per-view (R, T, focal, principal)."""
|
||||
if confidence is None:
|
||||
confidence = torch.ones_like(camray[..., 0])
|
||||
B, S, h, w, _ = camray.shape
|
||||
device = camray.device
|
||||
dtype = camray.dtype
|
||||
|
||||
rays_target = camray[..., :3] # (B, S, h, w, 3)
|
||||
rays_origin = _unproject_identity(h, w, B, S, device, dtype)
|
||||
|
||||
# Flatten (B*S, h*w, *) for the RANSAC routine.
|
||||
rays_target = rays_target.flatten(0, 1).flatten(1, 2)
|
||||
rays_origin = rays_origin.flatten(0, 1).flatten(1, 2)
|
||||
weights = confidence.flatten(0, 1).flatten(1, 2).clone()
|
||||
|
||||
# Project to 2D in homogeneous form (the upstream calls this "perspective division").
|
||||
z_thresh = 1e-4
|
||||
mask = (rays_target[:, :, 2].abs() > z_thresh) & (rays_origin[:, :, 2].abs() > z_thresh)
|
||||
weights = torch.where(mask, weights, torch.zeros_like(weights))
|
||||
src = rays_origin.clone()
|
||||
dst = rays_target.clone()
|
||||
src[..., 0] = torch.where(mask, src[..., 0] / src[..., 2], src[..., 0])
|
||||
src[..., 1] = torch.where(mask, src[..., 1] / src[..., 2], src[..., 1])
|
||||
dst[..., 0] = torch.where(mask, dst[..., 0] / dst[..., 2], dst[..., 0])
|
||||
dst[..., 1] = torch.where(mask, dst[..., 1] / dst[..., 2], dst[..., 1])
|
||||
src = src[..., :2]
|
||||
dst = dst[..., :2]
|
||||
|
||||
N = src.shape[1]
|
||||
n_iter = 100
|
||||
sample_ratio = 0.3
|
||||
num_sample_for_ransac = 8
|
||||
n_sample = max(num_sample_for_ransac, int(N * sample_ratio))
|
||||
rand_idx = torch.stack(
|
||||
[torch.randperm(n_sample, device=device)[:num_sample_for_ransac] for _ in range(n_iter)],
|
||||
dim=0,
|
||||
)
|
||||
|
||||
# Chunk along the view axis to keep peak memory predictable.
|
||||
chunk = 2
|
||||
A_list = []
|
||||
for i in range(0, src.shape[0], chunk):
|
||||
A = _ransac_find_homography_weighted_batched(
|
||||
src[i:i + chunk], dst[i:i + chunk], weights[i:i + chunk],
|
||||
n_sample=n_sample, n_iter=n_iter,
|
||||
num_sample_for_ransac=num_sample_for_ransac,
|
||||
reproj_threshold=reproj_threshold,
|
||||
rand_sample_iters_idx=rand_idx,
|
||||
max_inlier_num=8000,
|
||||
)
|
||||
# Flip sign on dets that come out < 0 (so that the QL produces a
|
||||
# right-handed rotation). ``det`` lacks fp16/bf16 CUDA kernels, so
|
||||
# do the comparison in fp32.
|
||||
flip = torch.linalg.det(A.float()) < 0
|
||||
A = torch.where(flip[:, None, None], -A, A)
|
||||
A_list.append(A)
|
||||
A = torch.cat(A_list, dim=0) # (B*S, 3, 3)
|
||||
|
||||
R_list, f_list, pp_list = [], [], []
|
||||
for i in range(A.shape[0]):
|
||||
R, L = _ql_decomposition(A[i])
|
||||
L = L / L[2][2]
|
||||
f_list.append(torch.stack((L[0][0], L[1][1])))
|
||||
pp_list.append(torch.stack((L[2][0], L[2][1])))
|
||||
R_list.append(R)
|
||||
R = torch.stack(R_list).reshape(B, S, 3, 3)
|
||||
focal = torch.stack(f_list).reshape(B, S, 2)
|
||||
pp = torch.stack(pp_list).reshape(B, S, 2)
|
||||
|
||||
# Translation: confidence-weighted average of camray direction(s).
|
||||
cf = confidence.flatten(0, 1).flatten(1, 2)
|
||||
T = (camray.flatten(0, 1).flatten(1, 2)[..., 3:] * cf.unsqueeze(-1)).sum(dim=1)
|
||||
T = T / cf.sum(dim=-1, keepdim=True)
|
||||
T = T.reshape(B, S, 3)
|
||||
|
||||
# Match upstream output convention: focal -> 1/focal, pp + 1.
|
||||
return R, T, 1.0 / focal, pp + 1.0
|
||||
|
||||
|
||||
def get_extrinsic_from_camray(
|
||||
camray: torch.Tensor, # (B, S, h, w, 6)
|
||||
conf: torch.Tensor, # (B, S, h, w, 1) or (B, S, h, w)
|
||||
patch_size_y: int,
|
||||
patch_size_x: int,
|
||||
) -> Tuple[torch.Tensor, torch.Tensor, torch.Tensor]:
|
||||
"""Wrap a 4x4 extrinsic + per-view focal + principal-point output."""
|
||||
if conf.ndim == 5 and conf.shape[-1] == 1:
|
||||
conf = conf.squeeze(-1)
|
||||
R, T, focal, pp = _camray_to_caminfo(camray, confidence=conf)
|
||||
extr = torch.cat([R, T.unsqueeze(-1)], dim=-1) # (B, S, 3, 4)
|
||||
homo_row = torch.tensor([0, 0, 0, 1], dtype=R.dtype, device=R.device)
|
||||
homo_row = homo_row.view(1, 1, 1, 4).expand(R.shape[0], R.shape[1], 1, 4)
|
||||
extr = torch.cat([extr, homo_row], dim=-2) # (B, S, 4, 4)
|
||||
return extr, focal, pp
|
||||
+87
@@ -0,0 +1,87 @@
|
||||
"""Reference-view selection for the multi-view path of Depth Anything 3."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Literal
|
||||
|
||||
import torch
|
||||
|
||||
|
||||
RefViewStrategy = Literal["first", "middle", "saddle_balanced", "saddle_sim_range"]
|
||||
|
||||
|
||||
# Per the upstream constants module: ``THRESH_FOR_REF_SELECTION = 3``.
|
||||
# Reference selection only runs when there are at least this many views.
|
||||
THRESH_FOR_REF_SELECTION: int = 3
|
||||
|
||||
|
||||
def select_reference_view(x: torch.Tensor, strategy: RefViewStrategy = "saddle_balanced") -> torch.Tensor:
|
||||
"""Pick a reference view index per batch element."""
|
||||
B, S, _, _ = x.shape
|
||||
if S <= 1:
|
||||
return torch.zeros(B, dtype=torch.long, device=x.device)
|
||||
if strategy == "first":
|
||||
return torch.zeros(B, dtype=torch.long, device=x.device)
|
||||
if strategy == "middle":
|
||||
return torch.full((B,), S // 2, dtype=torch.long, device=x.device)
|
||||
|
||||
# Feature-based strategies: normalised cls/cam token per view.
|
||||
img_class_feat = x[:, :, 0] / x[:, :, 0].norm(dim=-1, keepdim=True) # (B,S,C)
|
||||
|
||||
if strategy == "saddle_balanced":
|
||||
sim = torch.matmul(img_class_feat, img_class_feat.transpose(1, 2)) # (B,S,S)
|
||||
sim_no_diag = sim - torch.eye(S, device=sim.device).unsqueeze(0)
|
||||
sim_score = sim_no_diag.sum(dim=-1) / (S - 1) # (B,S)
|
||||
feat_norm = x[:, :, 0].norm(dim=-1) # (B,S)
|
||||
feat_var = img_class_feat.var(dim=-1) # (B,S)
|
||||
|
||||
def _normalize(metric):
|
||||
mn = metric.min(dim=1, keepdim=True).values
|
||||
mx = metric.max(dim=1, keepdim=True).values
|
||||
return (metric - mn) / (mx - mn + 1e-8)
|
||||
|
||||
sim_n, norm_n, var_n = _normalize(sim_score), _normalize(feat_norm), _normalize(feat_var)
|
||||
balance = (sim_n - 0.5).abs() + (norm_n - 0.5).abs() + (var_n - 0.5).abs()
|
||||
return balance.argmin(dim=1)
|
||||
|
||||
if strategy == "saddle_sim_range":
|
||||
sim = torch.matmul(img_class_feat, img_class_feat.transpose(1, 2))
|
||||
sim_no_diag = sim - torch.eye(S, device=sim.device).unsqueeze(0)
|
||||
sim_max = sim_no_diag.max(dim=-1).values
|
||||
sim_min = sim_no_diag.min(dim=-1).values
|
||||
return (sim_max - sim_min).argmax(dim=1)
|
||||
|
||||
raise ValueError(
|
||||
f"Unknown reference view selection strategy: {strategy!r}. "
|
||||
f"Must be one of: 'first', 'middle', 'saddle_balanced', 'saddle_sim_range'"
|
||||
)
|
||||
|
||||
|
||||
def reorder_by_reference(x: torch.Tensor, b_idx: torch.Tensor) -> torch.Tensor:
|
||||
"""Reorder x so the reference view is at position 0 in axis S."""
|
||||
B, S = x.shape[0], x.shape[1]
|
||||
if S <= 1:
|
||||
return x
|
||||
positions = torch.arange(S, device=x.device).unsqueeze(0).expand(B, -1)
|
||||
b_idx_exp = b_idx.unsqueeze(1)
|
||||
reorder = torch.where(
|
||||
(positions > 0) & (positions <= b_idx_exp),
|
||||
positions - 1,
|
||||
positions,
|
||||
)
|
||||
reorder[:, 0] = b_idx
|
||||
batch = torch.arange(B, device=x.device).unsqueeze(1)
|
||||
return x[batch, reorder]
|
||||
|
||||
|
||||
def restore_original_order(x: torch.Tensor, b_idx: torch.Tensor) -> torch.Tensor:
|
||||
"""Inverse of reorder_by_reference."""
|
||||
B, S = x.shape[0], x.shape[1]
|
||||
if S <= 1:
|
||||
return x
|
||||
target_positions = torch.arange(S, device=x.device).unsqueeze(0).expand(B, -1)
|
||||
b_idx_exp = b_idx.unsqueeze(1)
|
||||
restore = torch.where(target_positions < b_idx_exp, target_positions + 1, target_positions)
|
||||
restore = torch.scatter(restore, dim=1, index=b_idx_exp, src=torch.zeros_like(b_idx_exp))
|
||||
batch = torch.arange(B, device=x.device).unsqueeze(1)
|
||||
return x[batch, restore]
|
||||
+160
@@ -0,0 +1,160 @@
|
||||
"""Geometry / camera transform helpers for Depth Anything 3."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Tuple
|
||||
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Affine 4x4 helpers
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
def as_homogeneous(ext: torch.Tensor) -> torch.Tensor:
|
||||
"""Promote (...,3,4) extrinsics to (...,4,4) homogeneous form. No-op when the input is already ``(...,4,4)``."""
|
||||
if ext.shape[-2:] == (4, 4):
|
||||
return ext
|
||||
if ext.shape[-2:] == (3, 4):
|
||||
ones = torch.zeros_like(ext[..., :1, :4])
|
||||
ones[..., 0, 3] = 1.0
|
||||
return torch.cat([ext, ones], dim=-2)
|
||||
raise ValueError(f"Invalid affine shape: {ext.shape}")
|
||||
|
||||
|
||||
def affine_inverse(A: torch.Tensor) -> torch.Tensor:
|
||||
"""Inverse of an affine matrix ``[R|T; 0 0 0 1]``."""
|
||||
R = A[..., :3, :3]
|
||||
T = A[..., :3, 3:]
|
||||
P = A[..., 3:, :]
|
||||
return torch.cat([torch.cat([R.mT, -R.mT @ T], dim=-1), P], dim=-2)
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Quaternion <-> rotation matrix (xyzw / scalar-last)
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
def _sqrt_positive_part(x: torch.Tensor) -> torch.Tensor:
|
||||
"""sqrt(max(0, x)) with a zero subgradient where x == 0."""
|
||||
ret = torch.zeros_like(x)
|
||||
positive_mask = x > 0
|
||||
if torch.is_grad_enabled():
|
||||
ret[positive_mask] = torch.sqrt(x[positive_mask])
|
||||
else:
|
||||
ret = torch.where(positive_mask, torch.sqrt(x), ret)
|
||||
return ret
|
||||
|
||||
|
||||
def standardize_quaternion(quaternions: torch.Tensor) -> torch.Tensor:
|
||||
"""Force the real part of a unit quaternion (xyzw) to be non-negative."""
|
||||
return torch.where(quaternions[..., 3:4] < 0, -quaternions, quaternions)
|
||||
|
||||
|
||||
def quat_to_mat(quaternions: torch.Tensor) -> torch.Tensor:
|
||||
"""Convert quaternions (xyzw) to (...,3,3) rotation matrices."""
|
||||
i, j, k, r = torch.unbind(quaternions, -1)
|
||||
two_s = 2.0 / (quaternions * quaternions).sum(-1)
|
||||
o = torch.stack(
|
||||
(
|
||||
1 - two_s * (j * j + k * k),
|
||||
two_s * (i * j - k * r),
|
||||
two_s * (i * k + j * r),
|
||||
two_s * (i * j + k * r),
|
||||
1 - two_s * (i * i + k * k),
|
||||
two_s * (j * k - i * r),
|
||||
two_s * (i * k - j * r),
|
||||
two_s * (j * k + i * r),
|
||||
1 - two_s * (i * i + j * j),
|
||||
),
|
||||
-1,
|
||||
)
|
||||
return o.reshape(quaternions.shape[:-1] + (3, 3))
|
||||
|
||||
|
||||
def mat_to_quat(matrix: torch.Tensor) -> torch.Tensor:
|
||||
"""Convert (...,3,3) rotation matrices to quaternions (xyzw)."""
|
||||
if matrix.size(-1) != 3 or matrix.size(-2) != 3:
|
||||
raise ValueError(f"Invalid rotation matrix shape {matrix.shape}.")
|
||||
|
||||
batch_dim = matrix.shape[:-2]
|
||||
m00, m01, m02, m10, m11, m12, m20, m21, m22 = torch.unbind(
|
||||
matrix.reshape(batch_dim + (9,)), dim=-1
|
||||
)
|
||||
|
||||
q_abs = _sqrt_positive_part(
|
||||
torch.stack(
|
||||
[
|
||||
1.0 + m00 + m11 + m22,
|
||||
1.0 + m00 - m11 - m22,
|
||||
1.0 - m00 + m11 - m22,
|
||||
1.0 - m00 - m11 + m22,
|
||||
],
|
||||
dim=-1,
|
||||
)
|
||||
)
|
||||
|
||||
quat_by_rijk = torch.stack(
|
||||
[
|
||||
torch.stack([q_abs[..., 0] ** 2, m21 - m12, m02 - m20, m10 - m01], dim=-1),
|
||||
torch.stack([m21 - m12, q_abs[..., 1] ** 2, m10 + m01, m02 + m20], dim=-1),
|
||||
torch.stack([m02 - m20, m10 + m01, q_abs[..., 2] ** 2, m12 + m21], dim=-1),
|
||||
torch.stack([m10 - m01, m20 + m02, m21 + m12, q_abs[..., 3] ** 2], dim=-1),
|
||||
],
|
||||
dim=-2,
|
||||
)
|
||||
|
||||
flr = torch.tensor(0.1).to(dtype=q_abs.dtype, device=q_abs.device)
|
||||
quat_candidates = quat_by_rijk / (2.0 * q_abs[..., None].max(flr))
|
||||
|
||||
out = quat_candidates[F.one_hot(q_abs.argmax(dim=-1), num_classes=4) > 0.5, :].reshape(
|
||||
batch_dim + (4,)
|
||||
)
|
||||
# Reorder rijk -> xyzw (i.e. ijkr).
|
||||
out = out[..., [1, 2, 3, 0]]
|
||||
return standardize_quaternion(out)
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Pose-encoding <-> extrinsics + intrinsics
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
|
||||
def extri_intri_to_pose_encoding(extrinsics: torch.Tensor, intrinsics: torch.Tensor, image_size_hw: Tuple[int, int]) -> torch.Tensor:
|
||||
"""Pack (extr, intr, image_size) into the 9-D pose-encoding vector.
|
||||
extrinsics: camera-to-world (c2w) (B,S,4,4) matrices,
|
||||
intrinsics: pixel-space (B,S,3,3) matrices,
|
||||
image_size_hw: is a (H, W) pair.
|
||||
"""
|
||||
R = extrinsics[..., :3, :3]
|
||||
T = extrinsics[..., :3, 3]
|
||||
quat = mat_to_quat(R)
|
||||
H, W = image_size_hw
|
||||
fov_h = 2 * torch.atan((H / 2) / intrinsics[..., 1, 1])
|
||||
fov_w = 2 * torch.atan((W / 2) / intrinsics[..., 0, 0])
|
||||
return torch.cat([T, quat, fov_h[..., None], fov_w[..., None]], dim=-1).float()
|
||||
|
||||
|
||||
def pose_encoding_to_extri_intri(pose_encoding: torch.Tensor, image_size_hw: Tuple[int, int]) -> Tuple[torch.Tensor, torch.Tensor]:
|
||||
"""Inverse of extri_intri_to_pose_encoding."""
|
||||
T = pose_encoding[..., :3]
|
||||
quat = pose_encoding[..., 3:7]
|
||||
fov_h = pose_encoding[..., 7]
|
||||
fov_w = pose_encoding[..., 8]
|
||||
# Normalize to unit quaternion. CameraDec outputs raw values; a near-zero
|
||||
# quaternion causes two_s = 2/norm² → inf in quat_to_mat → NaN extrinsics.
|
||||
quat = quat / quat.norm(dim=-1, keepdim=True).clamp(min=1e-6)
|
||||
R = quat_to_mat(quat)
|
||||
extrinsics = torch.cat([R, T[..., None]], dim=-1)
|
||||
H, W = image_size_hw
|
||||
fy = (H / 2.0) / torch.clamp(torch.tan(fov_h / 2.0), 1e-6)
|
||||
fx = (W / 2.0) / torch.clamp(torch.tan(fov_w / 2.0), 1e-6)
|
||||
intrinsics = torch.zeros(pose_encoding.shape[:2] + (3, 3), device=pose_encoding.device, dtype=pose_encoding.dtype)
|
||||
intrinsics[..., 0, 0] = fx
|
||||
intrinsics[..., 1, 1] = fy
|
||||
intrinsics[..., 0, 2] = W / 2
|
||||
intrinsics[..., 1, 2] = H / 2
|
||||
intrinsics[..., 2, 2] = 1.0
|
||||
return extrinsics, intrinsics
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
+17
@@ -0,0 +1,17 @@
|
||||
from .basic_types import ImageInput, AudioInput, MaskInput, LatentInput
|
||||
from .curve_types import CurvePoint, CurveInput, MonotoneCubicCurve, LinearCurve
|
||||
from .range_types import RangeInput
|
||||
from .video_types import VideoInput
|
||||
|
||||
__all__ = [
|
||||
"ImageInput",
|
||||
"AudioInput",
|
||||
"VideoInput",
|
||||
"MaskInput",
|
||||
"LatentInput",
|
||||
"CurvePoint",
|
||||
"CurveInput",
|
||||
"MonotoneCubicCurve",
|
||||
"LinearCurve",
|
||||
"RangeInput",
|
||||
]
|
||||
+145
@@ -0,0 +1,145 @@
|
||||
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,
|
||||
):
|
||||
"""
|
||||
Abstract method to save the video input to a file.
|
||||
|
||||
bit_depth selects the encoded bit depth; None keeps the video's native depth.
|
||||
"""
|
||||
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
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
from .video_types import VideoFromFile, VideoFromComponents
|
||||
|
||||
__all__ = [
|
||||
# Implementations
|
||||
"VideoFromFile",
|
||||
"VideoFromComponents",
|
||||
]
|
||||
+896
@@ -0,0 +1,896 @@
|
||||
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`"""
|
||||
open_kwargs = {
|
||||
"mode": "w",
|
||||
# If isobmff, preserve custom metadata tags (workflow, prompt, extra_pnginfo)
|
||||
"options": {"movflags": "use_metadata_tags"},
|
||||
}
|
||||
|
||||
is_write_to_buffer = isinstance(dest, io.BytesIO)
|
||||
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")
|
||||
open_kwargs = {"mode": "w", "options": {"movflags": "use_metadata_tags"}}
|
||||
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,
|
||||
):
|
||||
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 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)
|
||||
|
||||
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,
|
||||
):
|
||||
"""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
|
||||
# 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,
|
||||
):
|
||||
"""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
|
||||
|
||||
# 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,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",
|
||||
]
|
||||
+125
@@ -0,0 +1,125 @@
|
||||
import shutil
|
||||
from io import BytesIO
|
||||
from pathlib import Path
|
||||
from typing import IO
|
||||
|
||||
import torch
|
||||
|
||||
|
||||
class VOXEL:
|
||||
def __init__(self, data: torch.Tensor):
|
||||
self.data = data
|
||||
|
||||
|
||||
class SPLAT:
|
||||
"""A batch of 3D Gaussian splats in render-ready (activated, world-space) form.
|
||||
|
||||
Tensors are (B, N, ...) and zero-padded to a common N across the batch; `counts` (B,) holds the
|
||||
real per-item lengths (None when rows are uniform and no slicing is needed). SH coefficients are
|
||||
stored as (B, N, K, 3) with K = (sh_degree + 1)**2; the DC (diffuse) term is sh[..., 0, :].
|
||||
"""
|
||||
|
||||
def __init__(self, positions: torch.Tensor, scales: torch.Tensor, rotations: torch.Tensor,
|
||||
opacities: torch.Tensor, sh: torch.Tensor, counts: torch.Tensor | None = None):
|
||||
self.positions = positions # (B, N, 3) world-space centers
|
||||
self.scales = scales # (B, N, 3) linear (positive) per-axis std
|
||||
self.rotations = rotations # (B, N, 4) quaternion wxyz (normalized)
|
||||
self.opacities = opacities # (B, N, 1) in [0, 1]
|
||||
self.sh = sh # (B, N, K, 3) spherical-harmonic color coefficients
|
||||
self.counts = counts # (B,) real lengths, or None
|
||||
|
||||
|
||||
class MESH:
|
||||
def __init__(self, vertices: torch.Tensor, faces: torch.Tensor,
|
||||
uvs: torch.Tensor | None = None,
|
||||
vertex_colors: torch.Tensor | None = None,
|
||||
texture: torch.Tensor | None = None,
|
||||
vertex_counts: torch.Tensor | None = None,
|
||||
face_counts: torch.Tensor | None = None,
|
||||
unlit: bool = False):
|
||||
|
||||
assert (vertex_counts is None) == (face_counts is None), \
|
||||
"vertex_counts and face_counts must be provided together (both or neither)"
|
||||
self.vertices = vertices # vertices: (B, N, 3)
|
||||
self.faces = faces # faces: (B, M, 3)
|
||||
self.uvs = uvs # uvs: (B, N, 2)
|
||||
self.vertex_colors = vertex_colors # vertex_colors: (B, N, 3 or 4)
|
||||
self.texture = texture # texture: (B, H, W, 3)
|
||||
# When vertices/faces are zero-padded to a common N/M across the batch (variable-size mesh batch),
|
||||
# these hold the real per-item lengths (B,). None means rows are uniform and no slicing is needed.
|
||||
self.vertex_counts = vertex_counts
|
||||
self.face_counts = face_counts
|
||||
# Render flat / emissive (no scene lighting) when saved, e.g. for gaussian-splat-derived meshes.
|
||||
self.unlit = unlit
|
||||
|
||||
|
||||
class File3D:
|
||||
"""Class representing a 3D file from a file path or binary stream.
|
||||
|
||||
Supports both disk-backed (file path) and memory-backed (BytesIO) storage.
|
||||
"""
|
||||
|
||||
def __init__(self, source: str | IO[bytes], file_format: str = ""):
|
||||
self._source = source
|
||||
self._format = file_format or self._infer_format()
|
||||
|
||||
def _infer_format(self) -> str:
|
||||
if isinstance(self._source, str):
|
||||
return Path(self._source).suffix.lstrip(".").lower()
|
||||
return ""
|
||||
|
||||
@property
|
||||
def format(self) -> str:
|
||||
return self._format
|
||||
|
||||
@format.setter
|
||||
def format(self, value: str) -> None:
|
||||
self._format = value.lstrip(".").lower() if value else ""
|
||||
|
||||
@property
|
||||
def is_disk_backed(self) -> bool:
|
||||
return isinstance(self._source, str)
|
||||
|
||||
def get_source(self) -> str | IO[bytes]:
|
||||
if isinstance(self._source, str):
|
||||
return self._source
|
||||
if hasattr(self._source, "seek"):
|
||||
self._source.seek(0)
|
||||
return self._source
|
||||
|
||||
def get_data(self) -> BytesIO:
|
||||
if isinstance(self._source, str):
|
||||
with open(self._source, "rb") as f:
|
||||
result = BytesIO(f.read())
|
||||
return result
|
||||
if hasattr(self._source, "seek"):
|
||||
self._source.seek(0)
|
||||
if isinstance(self._source, BytesIO):
|
||||
return self._source
|
||||
return BytesIO(self._source.read())
|
||||
|
||||
def save_to(self, path: str) -> str:
|
||||
dest = Path(path)
|
||||
dest.parent.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
if isinstance(self._source, str):
|
||||
if Path(self._source).resolve() != dest.resolve():
|
||||
shutil.copy2(self._source, dest)
|
||||
else:
|
||||
if hasattr(self._source, "seek"):
|
||||
self._source.seek(0)
|
||||
with open(dest, "wb") as f:
|
||||
f.write(self._source.read())
|
||||
return str(dest)
|
||||
|
||||
def get_bytes(self) -> bytes:
|
||||
if isinstance(self._source, str):
|
||||
return Path(self._source).read_bytes()
|
||||
if hasattr(self._source, "seek"):
|
||||
self._source.seek(0)
|
||||
return self._source.read()
|
||||
|
||||
def __repr__(self) -> str:
|
||||
if isinstance(self._source, str):
|
||||
return f"File3D(source={self._source!r}, format={self._format!r})"
|
||||
return f"File3D(<stream>, format={self._format!r})"
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
from dataclasses import dataclass
|
||||
from enum import Enum
|
||||
from fractions import Fraction
|
||||
from typing import Optional
|
||||
from .._input import ImageInput, AudioInput, MaskInput
|
||||
|
||||
class VideoCodec(str, Enum):
|
||||
AUTO = "auto"
|
||||
H264 = "h264"
|
||||
|
||||
@classmethod
|
||||
def as_input(cls) -> list[str]:
|
||||
"""
|
||||
Returns a list of codec names that can be used as node input.
|
||||
"""
|
||||
return [member.value for member in cls]
|
||||
|
||||
class VideoContainer(str, Enum):
|
||||
AUTO = "auto"
|
||||
MP4 = "mp4"
|
||||
|
||||
@classmethod
|
||||
def as_input(cls) -> list[str]:
|
||||
"""
|
||||
Returns a list of container names that can be used as node input.
|
||||
"""
|
||||
return [member.value for member in cls]
|
||||
|
||||
@classmethod
|
||||
def get_extension(cls, value) -> str:
|
||||
"""
|
||||
Returns the file extension for the container.
|
||||
"""
|
||||
if isinstance(value, str):
|
||||
value = cls(value)
|
||||
if value == VideoContainer.MP4 or value == VideoContainer.AUTO:
|
||||
return "mp4"
|
||||
return ""
|
||||
|
||||
@dataclass
|
||||
class VideoComponents:
|
||||
"""
|
||||
Dataclass representing the components of a video.
|
||||
"""
|
||||
|
||||
images: ImageInput
|
||||
frame_rate: Fraction
|
||||
audio: Optional[AudioInput] = None
|
||||
metadata: Optional[dict] = None
|
||||
alpha: Optional[MaskInput] = None
|
||||
+681
@@ -0,0 +1,681 @@
|
||||
"""ComfyUI nodes for Depth Anything 3.
|
||||
Model capability matrix:
|
||||
|
||||
Variant head_type has_sky has_conf cam_dec
|
||||
DA3-Small dualdpt False True yes
|
||||
DA3-Base dualdpt False True yes
|
||||
DA3-Mono-Large dpt True False no
|
||||
DA3-Metric-Large dpt True False no (raw output is metres)
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
from typing_extensions import override
|
||||
|
||||
import torch
|
||||
|
||||
import comfy.model_management as mm
|
||||
import comfy.sd
|
||||
import folder_paths
|
||||
from comfy.ldm.colormap import turbo as _turbo
|
||||
from comfy.ldm.depth_anything_3 import preprocess as da3_preprocess
|
||||
from comfy_api.latest import ComfyExtension, Types, io
|
||||
from comfy.ldm.moge.geometry import triangulate_grid_mesh
|
||||
|
||||
DA3ModelType = io.Custom("DA3_MODEL")
|
||||
DA3Geometry = io.Custom("DA3_GEOMETRY")
|
||||
DA3PointCloud = io.Custom("DA3_POINT_CLOUD")
|
||||
|
||||
# DA3_GEOMETRY is a dict with these optional keys (absent when the upstream model didn't produce them):
|
||||
#
|
||||
# Per-frame tensors - B = batch size in mono mode; B = S (number of views) in multi-view mode.
|
||||
# "depth": torch.Tensor (B, H, W) -- raw model depth (always present; matches MoGe convention)
|
||||
# "image": torch.Tensor (B, H, W, 3) -- source image in [0, 1], CPU (always present)
|
||||
# "mode": str -- "mono" or "multiview" (always present)
|
||||
# "sky": torch.Tensor (B, H, W) -- sky probability in [0, 1] (Mono/Metric variants only)
|
||||
# "confidence": torch.Tensor (B, H, W) -- raw model confidence output (Small/Base variants only)
|
||||
#
|
||||
# Multi-view only - S = number of views; the leading 1 is the scene dimension from the model.
|
||||
# "extrinsics": torch.Tensor (1, S, 3, 4) -- world-to-camera [R|t] matrices
|
||||
# "intrinsics": torch.Tensor (1, S, 3, 3) -- pixel-space intrinsics
|
||||
#
|
||||
# DA3_POINT_CLOUD is a dict:
|
||||
# "points": torch.Tensor (N, 3) -- 3-D coords in glTF convention (Y-up, Z-back)
|
||||
# "colors": torch.Tensor (N, 3) -- RGB in [0, 1], or None
|
||||
# "confidence": torch.Tensor (N,) -- raw confidence per point, or None
|
||||
|
||||
|
||||
def _da3_unproject(depth: torch.Tensor, K: torch.Tensor) -> torch.Tensor:
|
||||
"""Pixel-space K⁻¹ unprojection: (H,W) depth → (H,W,3) point map in OpenCV space."""
|
||||
H, W = depth.shape
|
||||
u = torch.arange(W, dtype=torch.float32, device=depth.device)
|
||||
v = torch.arange(H, dtype=torch.float32, device=depth.device)
|
||||
u, v = torch.meshgrid(u, v, indexing='xy') # both (H, W)
|
||||
pix = torch.stack([u, v, torch.ones_like(u)], dim=-1) # (H, W, 3)
|
||||
rays = torch.einsum('ij,hwj->hwi', torch.linalg.inv(K.to(depth.device)), pix)
|
||||
return rays * depth.unsqueeze(-1) # (H, W, 3)
|
||||
|
||||
|
||||
def _da3_default_K(H: int, W: int) -> torch.Tensor:
|
||||
"""Fallback ~60° FOV pinhole K for mono-mode DA3 (no intrinsics in geometry)."""
|
||||
fx = fy = float(W) * 0.7
|
||||
return torch.tensor([[fx, 0.0, (W - 1) / 2.0],
|
||||
[0.0, fy, (H - 1) / 2.0],
|
||||
[0.0, 0.0, 1.0]], dtype=torch.float32)
|
||||
|
||||
|
||||
def _da3_get_K(geometry: dict, b: int, H: int, W: int) -> torch.Tensor:
|
||||
"""Return pixel-space K for batch element b, falling back to a default estimate."""
|
||||
if "intrinsics" in geometry:
|
||||
# shape (1, S, 3, 3) - leading scene dimension from the multiview head
|
||||
return geometry["intrinsics"][0, b].float()
|
||||
logging.getLogger("comfy").warning(
|
||||
"DA3_GEOMETRY has no intrinsics (mono-mode model). "
|
||||
"Using a ~60° FOV estimate; 3-D reconstruction may be inaccurate."
|
||||
)
|
||||
return _da3_default_K(H, W)
|
||||
|
||||
|
||||
def _da3_get_extrinsic(geometry: dict, b: int) -> torch.Tensor | None:
|
||||
"""Return the world-to-camera extrinsic for batch element b, or None in mono mode.
|
||||
|
||||
The model outputs (1, S, 3, 4) [R|t] matrices; the fallback identity is (4, 4).
|
||||
_da3_apply_extrinsic handles both shapes via [:3, :3] / [:3, 3] slicing.
|
||||
"""
|
||||
if "extrinsics" not in geometry:
|
||||
return None
|
||||
return geometry["extrinsics"][0, b].float()
|
||||
|
||||
|
||||
def _da3_apply_extrinsic(points_cam: torch.Tensor, E: torch.Tensor) -> torch.Tensor:
|
||||
"""Transform (H,W,3) OpenCV camera-space points to world space."""
|
||||
E = E.to(points_cam.device).float()
|
||||
if not torch.isfinite(E).all():
|
||||
logging.getLogger("comfy").warning(
|
||||
"DA3 extrinsic matrix contains non-finite values (pose estimation may have failed). "
|
||||
"Falling back to camera-space coordinates."
|
||||
)
|
||||
return points_cam
|
||||
H, W, _ = points_cam.shape
|
||||
R = E[:3, :3] # (3, 3) rotation
|
||||
t = E[:3, 3] # (3,) translation
|
||||
R_inv = R.T # rotation inverse = transpose for orthogonal R
|
||||
t_inv = -(R_inv @ t) # (3,)
|
||||
pts = points_cam.reshape(-1, 3) # (N, 3)
|
||||
pts_world = pts @ R_inv.T + t_inv # (N, 3)
|
||||
return pts_world.reshape(H, W, 3)
|
||||
|
||||
|
||||
def _normalize_confidence(conf: torch.Tensor) -> torch.Tensor:
|
||||
"""Map raw confidence to [0, 1] per image."""
|
||||
B = conf.shape[0]
|
||||
out = []
|
||||
for i in range(B):
|
||||
c = conf[i]
|
||||
c_min, c_max = c.min(), c.max()
|
||||
out.append((c - c_min) / (c_max - c_min) if c_max > c_min else torch.ones_like(c))
|
||||
return torch.stack(out, dim=0)
|
||||
|
||||
|
||||
def _da3_build_mask(geometry: dict, b: int, H: int, W: int, confidence_threshold: float, use_sky_mask: bool) -> torch.Tensor:
|
||||
"""Build (H,W) bool keep-mask from sky probability and confidence."""
|
||||
mask = torch.ones(H, W, dtype=torch.bool)
|
||||
if use_sky_mask and "sky" in geometry:
|
||||
mask = mask & (geometry["sky"][b] < 0.5)
|
||||
if "confidence" in geometry and confidence_threshold > 0.0:
|
||||
conf_norm = _normalize_confidence(geometry["confidence"][b:b + 1])[0]
|
||||
mask = mask & (conf_norm >= confidence_threshold)
|
||||
return mask
|
||||
|
||||
|
||||
class LoadDA3Model(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="LoadDA3Model",
|
||||
display_name="Load Depth Anything 3",
|
||||
category="model/loaders",
|
||||
inputs=[
|
||||
io.Combo.Input(
|
||||
"model_name",
|
||||
options=folder_paths.get_filename_list("geometry_estimation"),
|
||||
),
|
||||
io.Combo.Input(
|
||||
"weight_dtype",
|
||||
options=["default", "fp16", "bf16", "fp32"],
|
||||
default="default",
|
||||
),
|
||||
],
|
||||
outputs=[DA3ModelType.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, model_name, weight_dtype) -> io.NodeOutput:
|
||||
model_options = {}
|
||||
if weight_dtype == "fp16":
|
||||
model_options["dtype"] = torch.float16
|
||||
elif weight_dtype == "bf16":
|
||||
model_options["dtype"] = torch.bfloat16
|
||||
elif weight_dtype == "fp32":
|
||||
model_options["dtype"] = torch.float32
|
||||
|
||||
path = folder_paths.get_full_path_or_raise("geometry_estimation", model_name)
|
||||
model = comfy.sd.load_diffusion_model(path, model_options=model_options)
|
||||
return io.NodeOutput(model)
|
||||
|
||||
|
||||
def _run_da3(model_patcher, image: torch.Tensor, process_res: int, method: str = "upper_bound_resize"):
|
||||
"""Run DA3 on (B,H,W,3), returns depth/conf/sky at original resolution (or None)."""
|
||||
assert image.ndim == 4 and image.shape[-1] == 3, f"expected (B,H,W,3) IMAGE; got {tuple(image.shape)}"
|
||||
|
||||
B, H, W, _ = image.shape
|
||||
mm.load_model_gpu(model_patcher)
|
||||
diffusion = model_patcher.model.diffusion_model
|
||||
device = mm.get_torch_device()
|
||||
dtype = diffusion.dtype if diffusion.dtype is not None else torch.float32
|
||||
|
||||
depths, confs, skies = [], [], []
|
||||
for i in range(B):
|
||||
single = image[i:i + 1].to(device)
|
||||
x = da3_preprocess.preprocess_image(single, process_res=process_res, method=method)
|
||||
x = x.to(dtype=dtype)
|
||||
with torch.no_grad():
|
||||
out = diffusion(x)
|
||||
|
||||
depth_lr = out["depth"]
|
||||
depth_full = torch.nn.functional.interpolate(
|
||||
depth_lr.unsqueeze(1).float(), size=(H, W),
|
||||
mode="bilinear", align_corners=False,
|
||||
).squeeze(1).cpu()
|
||||
depths.append(depth_full)
|
||||
|
||||
if "depth_conf" in out:
|
||||
conf_full = torch.nn.functional.interpolate(
|
||||
out["depth_conf"].unsqueeze(1).float(), size=(H, W),
|
||||
mode="bilinear", align_corners=False,
|
||||
).squeeze(1).cpu()
|
||||
confs.append(conf_full)
|
||||
if "sky" in out:
|
||||
sky_full = torch.nn.functional.interpolate(
|
||||
out["sky"].unsqueeze(1).float(), size=(H, W),
|
||||
mode="bilinear", align_corners=False,
|
||||
).squeeze(1).cpu()
|
||||
skies.append(sky_full)
|
||||
|
||||
depth = torch.cat(depths, dim=0)
|
||||
confidence = torch.cat(confs, dim=0) if confs else None
|
||||
sky = torch.cat(skies, dim=0) if skies else None
|
||||
return depth, confidence, sky
|
||||
|
||||
|
||||
class DA3Inference(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="DA3Inference",
|
||||
search_aliases=["depth", "geometry", "da3", "depth anything", "monocular", "pointmap", "sky", "3d", "metric depth", "disparity"],
|
||||
display_name="Run Depth Anything 3",
|
||||
category="image/geometry estimation",
|
||||
description="Run Depth Anything 3 on an image. In multi-view mode each image is treated as a separate view of the same scene.",
|
||||
inputs=[
|
||||
DA3ModelType.Input("da3_model"),
|
||||
io.Image.Input("image"),
|
||||
io.Int.Input("resolution", default=504, min=140, max=2520, step=14,
|
||||
tooltip="Resolution the model runs at (longest side, multiple of 14).\n"
|
||||
"Lower = faster / less VRAM.\n"
|
||||
"Higher = more detail.\n"
|
||||
"Output is upsampled back to the original size."),
|
||||
io.Combo.Input("resize_method", options=["upper_bound_resize", "lower_bound_resize"], default="upper_bound_resize",
|
||||
tooltip="upper_bound_resize: scale so the longest side = resolution (caps memory, default).\n"
|
||||
"lower_bound_resize: scale so the shortest side = resolution (preserves more detail on tall/wide images, uses more memory)."),
|
||||
io.DynamicCombo.Input("mode", tooltip="mono: single view image (works with any model variant).\n"
|
||||
"multiview: all images processed together for geometric consistency + camera pose (for Small/Base models only).",
|
||||
options=[
|
||||
io.DynamicCombo.Option("mono", []),
|
||||
io.DynamicCombo.Option("multiview", [
|
||||
io.Combo.Input("ref_view_strategy", options=["saddle_balanced", "saddle_sim_range", "first", "middle"], default="saddle_balanced",
|
||||
tooltip="Which view acts as the geometric anchor.\n"
|
||||
"- saddle_balanced: the view most 'average' across all others (best general choice).\n"
|
||||
"- saddle_sim_range: the view most visually distinct from the others.\n"
|
||||
"- first / middle: fixed positional picks."),
|
||||
io.Combo.Input("pose_method", options=["cam_dec", "ray_pose"], default="cam_dec",
|
||||
tooltip="How the camera field-of-view is estimated (for Small/Base models only).\n"
|
||||
"- cam_dec: learned from image features.\n"
|
||||
"- ray_pose: derived geometrically from the model's 3D ray output.\n"
|
||||
"Affects perspective correctness of the 3D output. Try both if results look distorted."),
|
||||
]),
|
||||
]),
|
||||
],
|
||||
outputs=[
|
||||
DA3Geometry.Output("da3_geometry", tooltip="Dictionary of non-normalized tensors.\n"
|
||||
"Always has the keys: depth, image, mode.\n"
|
||||
"Optional keys: sky (for Mono/Metric), confidence (for Small/Base), extrinsics + intrinsics (for multi-view)."),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, da3_model, image, resolution, resize_method, mode) -> io.NodeOutput:
|
||||
mode_val = mode["mode"] # "mono" or "multiview"
|
||||
|
||||
if mode_val == "mono":
|
||||
return cls._execute_mono(da3_model, image, resolution, resize_method)
|
||||
|
||||
# Capability checks for multi-view mode.
|
||||
diffusion = da3_model.model.diffusion_model
|
||||
pose_method = mode["pose_method"]
|
||||
ref_view_strategy = mode["ref_view_strategy"]
|
||||
|
||||
has_cam_dec = diffusion.cam_dec is not None
|
||||
has_dualdpt = diffusion.head_type == "dualdpt"
|
||||
|
||||
if not has_cam_dec and not has_dualdpt:
|
||||
raise ValueError(
|
||||
"multi-view mode requires Small or Base model. The loaded model "
|
||||
f"(head_type='{diffusion.head_type}') does not support cross-view "
|
||||
"attention or camera pose estimation. Switch mode to 'mono', or "
|
||||
"load Small or Base model for mult-view."
|
||||
)
|
||||
|
||||
if pose_method == "cam_dec" and not has_cam_dec:
|
||||
raise ValueError(
|
||||
"pose_method='cam_dec' requires a camera decoder, but the loaded "
|
||||
f"model (head_type='{diffusion.head_type}') does not have one. "
|
||||
"Use pose_method='ray_pose' instead."
|
||||
)
|
||||
if pose_method == "ray_pose" and not has_dualdpt:
|
||||
raise ValueError(
|
||||
"pose_method='ray_pose' requires a DualDPT head, but the loaded "
|
||||
f"model has a '{diffusion.head_type}' head. "
|
||||
"Use pose_method='cam_dec' instead."
|
||||
)
|
||||
|
||||
return cls._execute_multiview(
|
||||
da3_model, image, resolution, resize_method,
|
||||
ref_view_strategy, pose_method,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def _execute_mono(cls, model, image, resolution, resize_method) -> io.NodeOutput:
|
||||
depth, confidence, sky = _run_da3(model, image, resolution, method=resize_method)
|
||||
|
||||
geometry: dict = {
|
||||
"depth": depth.contiguous(),
|
||||
"image": image[..., :3].cpu(),
|
||||
"mode": "mono",
|
||||
}
|
||||
if sky is not None:
|
||||
geometry["sky"] = sky.contiguous()
|
||||
if confidence is not None:
|
||||
geometry["confidence"] = confidence.contiguous()
|
||||
return io.NodeOutput(geometry)
|
||||
|
||||
@classmethod
|
||||
def _execute_multiview(cls, model, image, resolution, resize_method, ref_view_strategy, pose_method) -> io.NodeOutput:
|
||||
assert image.ndim == 4 and image.shape[-1] == 3, \
|
||||
f"expected (B,H,W,3) IMAGE; got {tuple(image.shape)}"
|
||||
S, H, W, _ = image.shape
|
||||
|
||||
mm.load_model_gpu(model)
|
||||
diffusion = model.model.diffusion_model
|
||||
device = mm.get_torch_device()
|
||||
dtype = diffusion.dtype if diffusion.dtype is not None else torch.float32
|
||||
|
||||
# All views in a single forward pass: (1, S, 3, H', W').
|
||||
x = image.to(device)
|
||||
x = da3_preprocess.preprocess_image(x, process_res=resolution, method=resize_method)
|
||||
x = x.to(dtype=dtype).unsqueeze(0)
|
||||
|
||||
use_ray_pose = (pose_method == "ray_pose")
|
||||
with torch.no_grad():
|
||||
out = diffusion(x, use_ray_pose=use_ray_pose, ref_view_strategy=ref_view_strategy)
|
||||
|
||||
depth = torch.nn.functional.interpolate(
|
||||
out["depth"].float().unsqueeze(1), size=(H, W),
|
||||
mode="bilinear", align_corners=False,
|
||||
).squeeze(1).cpu()
|
||||
|
||||
sky = None
|
||||
if "sky" in out:
|
||||
sky = torch.nn.functional.interpolate(
|
||||
out["sky"].unsqueeze(1).float(), size=(H, W),
|
||||
mode="bilinear", align_corners=False,
|
||||
).squeeze(1).cpu()
|
||||
|
||||
if "extrinsics" in out and "intrinsics" in out:
|
||||
extrinsics = out["extrinsics"].float().cpu()
|
||||
intrinsics = out["intrinsics"].float().cpu()
|
||||
else:
|
||||
extrinsics = torch.eye(4)[None, None].expand(1, S, 4, 4).clone()
|
||||
intrinsics = torch.eye(3)[None, None].expand(1, S, 3, 3).clone()
|
||||
|
||||
geometry: dict = {
|
||||
"depth": depth.contiguous(),
|
||||
"image": image[..., :3].cpu(),
|
||||
"mode": "multiview",
|
||||
"extrinsics": extrinsics.contiguous(),
|
||||
"intrinsics": intrinsics.contiguous(),
|
||||
}
|
||||
if sky is not None:
|
||||
geometry["sky"] = sky.contiguous()
|
||||
if "depth_conf" in out:
|
||||
conf = torch.nn.functional.interpolate(
|
||||
out["depth_conf"].unsqueeze(1).float(), size=(H, W),
|
||||
mode="bilinear", align_corners=False,
|
||||
).squeeze(1).cpu()
|
||||
geometry["confidence"] = conf.contiguous()
|
||||
return io.NodeOutput(geometry)
|
||||
|
||||
|
||||
class DA3Render(io.ComfyNode):
|
||||
"""Render a visualization from a DA3_GEOMETRY packet."""
|
||||
|
||||
_DEPTH_RENDER_INPUTS = [
|
||||
io.Combo.Input("normalization",
|
||||
options=["v2_style", "min_max", "raw"],
|
||||
default="v2_style",
|
||||
tooltip="- v2_style: mean/std normalisation for perceptually balanced results (default).\n"
|
||||
"- min_max: stretches the full depth range to [0, 1] for maximum contrast.\n"
|
||||
"- raw: no scaling,preserves metric units for Metric model."),
|
||||
io.Boolean.Input("apply_sky_clip", default=False,
|
||||
tooltip="Clip sky-region depth to the 99th percentile of foreground depth before normalisation. "
|
||||
"Requires a sky key in the da3_geometry input (for Mono/Metric models only)."),
|
||||
]
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="DA3Render",
|
||||
display_name="Render Depth Anything 3",
|
||||
category="image/geometry estimation",
|
||||
description="Render a depth map, confidence map, or sky mask from Depth Anything 3 geometry data.",
|
||||
inputs=[
|
||||
DA3Geometry.Input("da3_geometry"),
|
||||
io.DynamicCombo.Input("output",
|
||||
tooltip="- depth: normalised greyscale depth image.\n"
|
||||
"- depth_colored: depth mapped through the Turbo colormap.\n"
|
||||
"- sky_mask: sky probability in [0, 1] (for Mono/Metric models only).\n"
|
||||
"- confidence: normalised depth confidence (for Small/Base models only).",
|
||||
options=[
|
||||
io.DynamicCombo.Option("depth", cls._DEPTH_RENDER_INPUTS),
|
||||
io.DynamicCombo.Option("depth_colored", cls._DEPTH_RENDER_INPUTS),
|
||||
io.DynamicCombo.Option("sky_mask", [
|
||||
io.Boolean.Input("colored", default=False, tooltip="Apply the Turbo colormap to the sky mask."),
|
||||
]),
|
||||
io.DynamicCombo.Option("confidence", [
|
||||
io.Boolean.Input("colored", default=False, tooltip="Apply the Turbo colormap to the confidence map."),
|
||||
]),
|
||||
]),
|
||||
],
|
||||
outputs=[io.Image.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, da3_geometry, output) -> io.NodeOutput:
|
||||
output_val = output["output"]
|
||||
|
||||
if output_val in ("depth", "depth_colored"):
|
||||
normalization = output["normalization"]
|
||||
apply_sky_clip = output["apply_sky_clip"]
|
||||
if apply_sky_clip and "sky" not in da3_geometry:
|
||||
raise ValueError(
|
||||
"apply_sky_clip=True requires a sky tensor in the da3_geometry input, but none is present. "
|
||||
"Run with Mono/Metric models or set apply_sky_clip=False."
|
||||
)
|
||||
depth = da3_geometry["depth"]
|
||||
sky = da3_geometry.get("sky")
|
||||
if apply_sky_clip and sky is not None:
|
||||
depth = torch.stack([
|
||||
da3_preprocess.apply_sky_aware_clip(depth[i], sky[i])
|
||||
for i in range(depth.shape[0])
|
||||
], dim=0)
|
||||
grey = cls._depth_to_image(depth, sky, normalization) # (B,H,W,3) greyscale
|
||||
result = _turbo(grey[..., 0]) if output_val == "depth_colored" else grey
|
||||
|
||||
elif output_val == "sky_mask":
|
||||
if "sky" not in da3_geometry:
|
||||
raise ValueError("geometry has no sky output; run with Mono/Metric models.")
|
||||
sky = da3_geometry["sky"]
|
||||
if output["colored"]:
|
||||
result = _turbo(sky)
|
||||
else:
|
||||
result = sky.unsqueeze(-1).expand(*sky.shape, 3).contiguous()
|
||||
|
||||
elif output_val == "confidence":
|
||||
if "confidence" not in da3_geometry:
|
||||
raise ValueError("da3_geometry has no confidence output; run with Small/Base models.")
|
||||
conf = _normalize_confidence(da3_geometry["confidence"])
|
||||
if output["colored"]:
|
||||
result = _turbo(conf)
|
||||
else:
|
||||
result = conf.unsqueeze(-1).expand(*conf.shape, 3).contiguous()
|
||||
|
||||
else:
|
||||
raise ValueError(f"Unknown output mode: {output_val}")
|
||||
|
||||
return io.NodeOutput(result.float())
|
||||
|
||||
@staticmethod
|
||||
def _depth_to_image(depth: torch.Tensor, sky_for_norm: torch.Tensor | None, normalization: str) -> torch.Tensor:
|
||||
"""Normalise depth and pack as an (B,H,W,3) image tensor."""
|
||||
|
||||
N = depth.shape[0]
|
||||
if normalization == "v2_style":
|
||||
norm = torch.stack([
|
||||
da3_preprocess.normalize_depth_v2_style(
|
||||
depth[i], sky_for_norm[i] if sky_for_norm is not None else None)
|
||||
for i in range(N)
|
||||
], dim=0)
|
||||
elif normalization == "min_max":
|
||||
norm = da3_preprocess.normalize_depth_min_max(depth)
|
||||
else:
|
||||
norm = depth
|
||||
|
||||
out = norm.unsqueeze(-1).repeat(1, 1, 1, 3)
|
||||
if normalization != "raw":
|
||||
out = out.clamp(0.0, 1.0)
|
||||
return out.contiguous()
|
||||
|
||||
|
||||
class DA3GeometryToMesh(io.ComfyNode):
|
||||
"""Convert a DA3_GEOMETRY packet into a Types.MESH by unprojecting depth and triangulating."""
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="DA3GeometryToMesh",
|
||||
search_aliases=["da3", "depth anything", "mesh", "geometry", "3d", "triangulate"],
|
||||
display_name="Convert DA3 Geometry to Mesh",
|
||||
category="image/geometry estimation",
|
||||
description="Convert a depth map into a triangulated 3D mesh.",
|
||||
inputs=[
|
||||
DA3Geometry.Input("da3_geometry"),
|
||||
io.Int.Input("batch_index", default=0, min=0, max=4096, tooltip="Which image of a batch to convert. Per-image vertex counts differ so batches cannot be stacked."),
|
||||
io.Int.Input("decimation", default=1, min=1, max=8, tooltip="Vertex stride. 1 = full resolution, 2 = half, etc."),
|
||||
io.Float.Input("discontinuity_threshold", default=0.04, min=0.0, max=1.0, step=0.01, tooltip="Drop triangles whose 3x3 depth span exceeds this fraction. 0 = off."),
|
||||
io.Float.Input("confidence_threshold", default=0.1, min=0.0, max=1.0, step=0.01,
|
||||
tooltip="Exclude pixels whose per-image normalised confidence is below this value (0 = keep all, 1 = keep only the single most confident pixel). "
|
||||
"Used when the geometry has a confidence map (Small/Base models)."),
|
||||
io.Boolean.Input("use_sky_mask", default=True, tooltip="Exclude sky-probability pixels (sky >= 0.5) from the mesh. Used when the geometry has a sky map (Mono/Metric models)."),
|
||||
io.Boolean.Input("texture", default=True, tooltip="Use the source image as a base color texture."),
|
||||
],
|
||||
outputs=[io.Mesh.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, da3_geometry, batch_index, decimation, discontinuity_threshold, confidence_threshold, use_sky_mask, texture) -> io.NodeOutput:
|
||||
depth_all = da3_geometry["depth"] # (B, H, W)
|
||||
B = depth_all.shape[0]
|
||||
if batch_index >= B:
|
||||
raise ValueError(f"batch_index {batch_index} is out of range; DA3_GEOMETRY has batch size {B}.")
|
||||
|
||||
depth = depth_all[batch_index] # (H, W)
|
||||
H, W = depth.shape
|
||||
|
||||
# NaN/inf depth would propagate silently through unproject and produce an
|
||||
# empty mesh; replace them with 0 here so those pixels are later excluded
|
||||
# by the isfinite check inside triangulate_grid_mesh.
|
||||
depth = depth.clone()
|
||||
n_bad = (~torch.isfinite(depth)).sum().item()
|
||||
if n_bad:
|
||||
logging.getLogger("comfy").warning(
|
||||
f"DA3GeometryToMesh: depth[{batch_index}] has {n_bad} non-finite pixels "
|
||||
f"({100*n_bad/(H*W):.1f}%) - zeroed before unproject."
|
||||
)
|
||||
depth[~torch.isfinite(depth)] = 0.0
|
||||
logging.getLogger("comfy").debug(
|
||||
f"DA3GeometryToMesh: depth[{batch_index}] range "
|
||||
f"[{depth.min():.4g}, {depth.max():.4g}], mean={depth.mean():.4g}"
|
||||
)
|
||||
|
||||
K = _da3_get_K(da3_geometry, batch_index, H, W)
|
||||
points = _da3_unproject(depth, K) # (H, W, 3) in OpenCV camera space
|
||||
|
||||
# Apply world-to-camera inverse so multi-view frames share a common world frame.
|
||||
E = _da3_get_extrinsic(da3_geometry, batch_index)
|
||||
if E is not None:
|
||||
points = _da3_apply_extrinsic(points, E)
|
||||
|
||||
# Mask invalid pixels by setting them to inf so triangulate_grid_mesh skips them.
|
||||
mask = _da3_build_mask(da3_geometry, batch_index, H, W, confidence_threshold, use_sky_mask)
|
||||
# Also exclude pixels where depth was invalid.
|
||||
mask = mask & (depth_all[batch_index] > 0) & torch.isfinite(depth_all[batch_index])
|
||||
points = points.clone()
|
||||
points[~mask] = float('inf')
|
||||
|
||||
verts, faces, uvs = triangulate_grid_mesh(
|
||||
points,
|
||||
decimation=decimation,
|
||||
discontinuity_threshold=discontinuity_threshold,
|
||||
depth=depth,
|
||||
)
|
||||
if verts.shape[0] == 0 or faces.shape[0] == 0:
|
||||
raise ValueError(
|
||||
"DA3GeometryToMesh produced an empty mesh. "
|
||||
"Try raising discontinuity_threshold, lowering confidence_threshold, "
|
||||
"or disabling use_sky_mask."
|
||||
)
|
||||
|
||||
# OpenCV (X right, Y down, Z forward) → glTF (X right, Y up, Z back).
|
||||
# Same transform as MoGePointMapToMesh perspective branch.
|
||||
verts = verts * torch.tensor([1.0, -1.0, -1.0], dtype=verts.dtype)
|
||||
faces = faces[:, [0, 2, 1]].contiguous()
|
||||
|
||||
tex = da3_geometry["image"][batch_index:batch_index + 1] if texture else None
|
||||
mesh = Types.MESH(
|
||||
vertices=verts.unsqueeze(0),
|
||||
faces=faces.unsqueeze(0),
|
||||
uvs=uvs.unsqueeze(0),
|
||||
texture=tex,
|
||||
)
|
||||
return io.NodeOutput(mesh)
|
||||
|
||||
|
||||
class DA3GeometryToPointCloud(io.ComfyNode):
|
||||
"""Unproject a DA3_GEOMETRY depth map into a filtered DA3_POINT_CLOUD."""
|
||||
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="DA3GeometryToPointCloud",
|
||||
search_aliases=["da3", "depth anything", "point cloud", "pointcloud", "3d", "geometry"],
|
||||
display_name="Convert DA3 Geometry to Point Cloud",
|
||||
category="image/geometry estimation",
|
||||
description="Convert a depth map into a 3D point cloud.",
|
||||
inputs=[
|
||||
DA3Geometry.Input("da3_geometry"),
|
||||
io.Int.Input("batch_index", default=0, min=0, max=4096, tooltip="Which image of a batch to convert."),
|
||||
io.Float.Input("confidence_threshold", default=0.1, min=0.0, max=1.0, step=0.01,
|
||||
tooltip="Exclude pixels whose per-image normalised confidence is below this value (0 = keep all). Used when the geometry has a confidence map (Small/Base models)."),
|
||||
io.Boolean.Input("use_sky_mask", default=True,
|
||||
tooltip="Exclude sky-probability pixels (sky >= 0.5). Used when the geometry has a sky map (Mono/Metric models)."),
|
||||
io.Int.Input("downsample", default=1, min=1, max=16,
|
||||
tooltip="Take every Nth pixel (1 = full resolution). Higher values give fewer points and faster processing."),
|
||||
],
|
||||
# TODO: add a proper PointCloud output type
|
||||
outputs=[DA3PointCloud.Output(display_name="point_cloud")],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, da3_geometry, batch_index, confidence_threshold, use_sky_mask, downsample) -> io.NodeOutput:
|
||||
depth_all = da3_geometry["depth"] # (B, H, W)
|
||||
B = depth_all.shape[0]
|
||||
if batch_index >= B:
|
||||
raise ValueError(f"batch_index {batch_index} is out of range; DA3_GEOMETRY has batch size {B}.")
|
||||
|
||||
depth = depth_all[batch_index].clone() # (H, W)
|
||||
depth[~torch.isfinite(depth)] = 0.0
|
||||
H, W = depth.shape
|
||||
|
||||
K = _da3_get_K(da3_geometry, batch_index, H, W)
|
||||
|
||||
if downsample > 1:
|
||||
depth = depth[::downsample, ::downsample].contiguous()
|
||||
# Scale intrinsics to the downsampled grid.
|
||||
K = K.clone()
|
||||
K[0, :] /= downsample
|
||||
K[1, :] /= downsample
|
||||
|
||||
H_ds, W_ds = depth.shape
|
||||
points = _da3_unproject(depth, K) # (H_ds, W_ds, 3) in OpenCV camera space
|
||||
|
||||
# Apply world-to-camera inverse so multi-view frames share a common world frame.
|
||||
E = _da3_get_extrinsic(da3_geometry, batch_index)
|
||||
if E is not None:
|
||||
points = _da3_apply_extrinsic(points, E)
|
||||
|
||||
# Rebuild mask at downsampled resolution.
|
||||
mask = _da3_build_mask(da3_geometry, batch_index, H, W, confidence_threshold, use_sky_mask)
|
||||
if downsample > 1:
|
||||
mask = mask[::downsample, ::downsample]
|
||||
|
||||
mask = mask & torch.isfinite(depth)
|
||||
|
||||
# OpenCV → glTF: flip Y and Z.
|
||||
points_gltf = points.clone()
|
||||
points_gltf[..., 1] *= -1.0
|
||||
points_gltf[..., 2] *= -1.0
|
||||
|
||||
pts_flat = points_gltf.reshape(-1, 3)[mask.reshape(-1)]
|
||||
|
||||
colors_flat = None
|
||||
if "image" in da3_geometry:
|
||||
img = da3_geometry["image"][batch_index] # (H, W, 3)
|
||||
if downsample > 1:
|
||||
img = img[::downsample, ::downsample]
|
||||
colors_flat = img.reshape(-1, 3)[mask.reshape(-1)]
|
||||
|
||||
conf_flat = None
|
||||
if "confidence" in da3_geometry:
|
||||
conf = da3_geometry["confidence"][batch_index] # (H, W)
|
||||
if downsample > 1:
|
||||
conf = conf[::downsample, ::downsample]
|
||||
conf_flat = conf.reshape(-1)[mask.reshape(-1)]
|
||||
|
||||
if pts_flat.shape[0] == 0:
|
||||
raise ValueError(
|
||||
"DA3GeometryToPointCloud produced zero points after filtering. "
|
||||
"Try lowering confidence_threshold or disabling use_sky_mask."
|
||||
)
|
||||
|
||||
return io.NodeOutput({
|
||||
"points": pts_flat,
|
||||
"colors": colors_flat,
|
||||
"confidence": conf_flat,
|
||||
})
|
||||
|
||||
|
||||
class DA3Extension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
LoadDA3Model,
|
||||
DA3Inference,
|
||||
DA3Render,
|
||||
DA3GeometryToMesh,
|
||||
# DA3GeometryToPointCloud, # Keep this commented out for now until we have a proper PointCloud output type
|
||||
]
|
||||
|
||||
|
||||
async def comfy_entrypoint() -> DA3Extension:
|
||||
return DA3Extension()
|
||||
@@ -0,0 +1,293 @@
|
||||
import os
|
||||
import av
|
||||
import torch
|
||||
import folder_paths
|
||||
import json
|
||||
from typing import Optional
|
||||
from typing_extensions import override
|
||||
from fractions import Fraction
|
||||
from comfy_api.latest import ComfyExtension, io, ui, Input, InputImpl, Types
|
||||
from comfy.cli_args import args
|
||||
|
||||
class SaveWEBM(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="SaveWEBM",
|
||||
search_aliases=["export webm"],
|
||||
display_name="Save WEBM",
|
||||
category="video",
|
||||
is_experimental=True,
|
||||
inputs=[
|
||||
io.Image.Input("images", tooltip="RGBA images are saved with their alpha channel as transparency (vp9 codec only)."),
|
||||
io.String.Input("filename_prefix", default="ComfyUI"),
|
||||
io.Combo.Input("codec", options=["vp9", "av1"]),
|
||||
io.Float.Input("fps", default=24.0, min=0.01, max=1000.0, step=0.01),
|
||||
io.Float.Input("crf", default=32.0, min=0, max=63.0, step=1, tooltip="Higher crf means lower quality with a smaller file size, lower crf means higher quality higher filesize."),
|
||||
],
|
||||
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
|
||||
is_output_node=True,
|
||||
outputs=[io.Image.Output(display_name="images")]
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, images, codec, fps, filename_prefix, crf) -> io.NodeOutput:
|
||||
full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(
|
||||
filename_prefix, folder_paths.get_output_directory(), images[0].shape[1], images[0].shape[0]
|
||||
)
|
||||
|
||||
file = f"{filename}_{counter:05}_.webm"
|
||||
container = av.open(os.path.join(full_output_folder, file), mode="w")
|
||||
|
||||
if cls.hidden.prompt is not None:
|
||||
container.metadata["prompt"] = json.dumps(cls.hidden.prompt)
|
||||
|
||||
if cls.hidden.extra_pnginfo is not None:
|
||||
for x in cls.hidden.extra_pnginfo:
|
||||
container.metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x])
|
||||
|
||||
# Save transparency when the images carry an alpha channel (RGBA) and the codec supports it.
|
||||
# vp9 -> yuva420p; other codecs have no usable alpha path, so the alpha is ignored.
|
||||
save_alpha = images.shape[-1] == 4 and codec == "vp9"
|
||||
|
||||
codec_map = {"vp9": "libvpx-vp9", "av1": "libsvtav1"}
|
||||
stream = container.add_stream(codec_map[codec], rate=Fraction(round(fps * 1000), 1000))
|
||||
stream.width = images.shape[-2]
|
||||
stream.height = images.shape[-3]
|
||||
stream.pix_fmt = "yuva420p" if save_alpha else ("yuv420p10le" if codec == "av1" else "yuv420p")
|
||||
stream.bit_rate = 0
|
||||
stream.options = {'crf': str(crf)}
|
||||
if codec == "av1":
|
||||
stream.options["preset"] = "6"
|
||||
|
||||
for frame in images:
|
||||
if save_alpha:
|
||||
frame = av.VideoFrame.from_ndarray(torch.clamp(frame[..., :4] * 255, min=0, max=255).to(device=torch.device("cpu"), dtype=torch.uint8).numpy(), format="rgba")
|
||||
else:
|
||||
frame = av.VideoFrame.from_ndarray(torch.clamp(frame[..., :3] * 255, min=0, max=255).to(device=torch.device("cpu"), dtype=torch.uint8).numpy(), format="rgb24")
|
||||
for packet in stream.encode(frame):
|
||||
container.mux(packet)
|
||||
container.mux(stream.encode())
|
||||
container.close()
|
||||
|
||||
return io.NodeOutput(images, ui=ui.PreviewVideo([ui.SavedResult(file, subfolder, io.FolderType.output)]))
|
||||
|
||||
class SaveVideo(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="SaveVideo",
|
||||
search_aliases=["export video"],
|
||||
display_name="Save Video",
|
||||
category="video",
|
||||
essentials_category="Basics",
|
||||
description="Saves the input videos to your ComfyUI output directory.",
|
||||
inputs=[
|
||||
io.Video.Input("video", tooltip="The video to save."),
|
||||
io.String.Input("filename_prefix", default="video/ComfyUI", tooltip="The prefix for the file to save. This may include formatting information such as %date:yyyy-MM-dd% or %Empty Latent Image.width% to include values from nodes."),
|
||||
io.Combo.Input("format", options=Types.VideoContainer.as_input(), default="auto", tooltip="The format to save the video as."),
|
||||
io.Combo.Input("codec", options=Types.VideoCodec.as_input(), default="auto", tooltip="The codec to use for the video."),
|
||||
],
|
||||
hidden=[io.Hidden.prompt, io.Hidden.extra_pnginfo],
|
||||
is_output_node=True,
|
||||
outputs=[io.Video.Output("video")],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, video: Input.Video, filename_prefix, format: str, codec) -> io.NodeOutput:
|
||||
width, height = video.get_dimensions()
|
||||
full_output_folder, filename, counter, subfolder, filename_prefix = folder_paths.get_save_image_path(
|
||||
filename_prefix,
|
||||
folder_paths.get_output_directory(),
|
||||
width,
|
||||
height
|
||||
)
|
||||
saved_metadata = None
|
||||
if not args.disable_metadata:
|
||||
metadata = {}
|
||||
if cls.hidden.extra_pnginfo is not None:
|
||||
metadata.update(cls.hidden.extra_pnginfo)
|
||||
if cls.hidden.prompt is not None:
|
||||
metadata["prompt"] = cls.hidden.prompt
|
||||
if len(metadata) > 0:
|
||||
saved_metadata = metadata
|
||||
file = f"{filename}_{counter:05}_.{Types.VideoContainer.get_extension(format)}"
|
||||
video.save_to(
|
||||
os.path.join(full_output_folder, file),
|
||||
format=Types.VideoContainer(format),
|
||||
codec=codec,
|
||||
metadata=saved_metadata
|
||||
)
|
||||
|
||||
return io.NodeOutput(video, ui=ui.PreviewVideo([ui.SavedResult(file, subfolder, io.FolderType.output)]))
|
||||
|
||||
|
||||
class CreateVideo(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="CreateVideo",
|
||||
search_aliases=["images to video"],
|
||||
display_name="Create Video",
|
||||
category="video",
|
||||
essentials_category="Video Tools",
|
||||
description="Create a video from images.",
|
||||
inputs=[
|
||||
io.Image.Input("images", tooltip="The images to create a video from."),
|
||||
io.Float.Input("fps", default=30.0, min=1.0, max=120.0, step=1.0),
|
||||
io.Audio.Input("audio", optional=True, tooltip="The audio to add to the video."),
|
||||
io.Int.Input(
|
||||
"bit_depth",
|
||||
min=8,
|
||||
max=10,
|
||||
default=8,
|
||||
step=2,
|
||||
tooltip="Bit depth of the created video. 10-bit keeps smoother gradients with less"
|
||||
" banding, but some players and downstream nodes may not support it.",
|
||||
optional=True,
|
||||
display_mode=io.NumberDisplay.number,
|
||||
),
|
||||
],
|
||||
outputs=[
|
||||
io.Video.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(
|
||||
cls, images: Input.Image, fps: float, audio: Optional[Input.Audio] = None, bit_depth: int = 8,
|
||||
) -> io.NodeOutput:
|
||||
return io.NodeOutput(
|
||||
InputImpl.VideoFromComponents(
|
||||
Types.VideoComponents(images=images, audio=audio, frame_rate=Fraction(fps)),
|
||||
bit_depth=bit_depth,
|
||||
)
|
||||
)
|
||||
|
||||
class GetVideoComponents(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="GetVideoComponents",
|
||||
search_aliases=["extract frames", "split video", "video to images", "demux"],
|
||||
display_name="Get Video Components",
|
||||
category="video",
|
||||
description="Extracts all components from a video: frames, audio, framerate, and bit depth.",
|
||||
inputs=[
|
||||
io.Video.Input("video", tooltip="The video to extract components from."),
|
||||
],
|
||||
outputs=[
|
||||
io.Image.Output(display_name="images"),
|
||||
io.Audio.Output(display_name="audio"),
|
||||
io.Float.Output(display_name="fps"),
|
||||
io.Int.Output(display_name="bit_depth"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, video: Input.Video) -> io.NodeOutput:
|
||||
components = video.get_components()
|
||||
return io.NodeOutput(components.images, components.audio, float(components.frame_rate), video.get_bit_depth())
|
||||
|
||||
|
||||
class LoadVideo(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
input_dir = folder_paths.get_input_directory()
|
||||
files = [f for f in os.listdir(input_dir) if os.path.isfile(os.path.join(input_dir, f))]
|
||||
files = folder_paths.filter_files_content_types(files, ["video"])
|
||||
return io.Schema(
|
||||
node_id="LoadVideo",
|
||||
search_aliases=["import video", "open video", "video file"],
|
||||
display_name="Load Video",
|
||||
category="video",
|
||||
essentials_category="Basics",
|
||||
inputs=[
|
||||
io.Combo.Input("file", options=sorted(files), upload=io.UploadType.video),
|
||||
],
|
||||
outputs=[
|
||||
io.Video.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, file) -> io.NodeOutput:
|
||||
video_path = folder_paths.get_annotated_filepath(file)
|
||||
return io.NodeOutput(InputImpl.VideoFromFile(video_path))
|
||||
|
||||
@classmethod
|
||||
def fingerprint_inputs(s, file):
|
||||
video_path = folder_paths.get_annotated_filepath(file)
|
||||
mod_time = os.path.getmtime(video_path)
|
||||
# Instead of hashing the file, we can just use the modification time to avoid
|
||||
# rehashing large files.
|
||||
return mod_time
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(s, file):
|
||||
if not folder_paths.exists_annotated_filepath(file):
|
||||
return "Invalid video file: {}".format(file)
|
||||
|
||||
return True
|
||||
|
||||
class VideoSlice(io.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return io.Schema(
|
||||
node_id="Video Slice",
|
||||
display_name="Trim Video",
|
||||
search_aliases=["trim video duration", "skip first frames", "frame load cap", "start time"],
|
||||
category="video",
|
||||
essentials_category="Video Tools",
|
||||
inputs=[
|
||||
io.Video.Input("video"),
|
||||
io.Float.Input(
|
||||
"start_time",
|
||||
default=0.0,
|
||||
max=1e5,
|
||||
min=-1e5,
|
||||
step=0.001,
|
||||
tooltip="Start time in seconds",
|
||||
),
|
||||
io.Float.Input(
|
||||
"duration",
|
||||
default=0.0,
|
||||
min=0.0,
|
||||
step=0.001,
|
||||
tooltip="Duration in seconds, or 0 for unlimited duration",
|
||||
),
|
||||
io.Boolean.Input(
|
||||
"strict_duration",
|
||||
default=False,
|
||||
tooltip="If True, when the specified duration is not possible, an error will be raised.",
|
||||
),
|
||||
],
|
||||
outputs=[
|
||||
io.Video.Output(),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, video: io.Video.Type, start_time: float, duration: float, strict_duration: bool) -> io.NodeOutput:
|
||||
trimmed = video.as_trimmed(start_time, duration, strict_duration=strict_duration)
|
||||
if trimmed is not None:
|
||||
return io.NodeOutput(trimmed)
|
||||
raise ValueError(
|
||||
f"Failed to slice video:\nSource duration: {video.get_duration()}\nStart time: {start_time}\nTarget duration: {duration}"
|
||||
)
|
||||
|
||||
|
||||
class VideoExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[io.ComfyNode]]:
|
||||
return [
|
||||
SaveWEBM,
|
||||
SaveVideo,
|
||||
CreateVideo,
|
||||
GetVideoComponents,
|
||||
LoadVideo,
|
||||
VideoSlice,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> VideoExtension:
|
||||
return VideoExtension()
|
||||
@@ -0,0 +1,33 @@
|
||||
tree d0e2a3f72c27788aa2ab09219e1a24036fb2672a
|
||||
parent 7535cd0dfd0dc66188ce91fdb0bd60de0b536587
|
||||
author YseraJY <1158230985@qq.com> 1785234554 +0800
|
||||
committer GitHub <noreply@github.com> 1785234554 +0800
|
||||
gpgsig -----BEGIN PGP SIGNATURE-----
|
||||
|
||||
wsFcBAABCAAQBQJqaIR6CRC1aQ7uu5UhlAAAPcsQAFhw62CGKsHeFmLX9cspbf80
|
||||
0U+vLVfaoB/K4W9a2o3r07RgkPRnKnSLqqFM0j0A/M9Ot/tidPoA795dHKfVs1FD
|
||||
xkLxDsympuR6kk32LB92nKHaLq0VTwzYV4mgyUhov+Vnyj7NCV8evLbhD5dTC7HG
|
||||
bCv4adU/ax3ouifub3HgTfscU5vDbA9tHFh+Rn58IpF7N8Ujw11Z2wlBSGrFBuny
|
||||
wxlkfpfm4h/LgbY+68pDEMu0ebcSku8//QBsMQSjIIDtzotkH5W60QLZiEUfznmC
|
||||
UMKs5JhCuuEt8CEBBe7ijxAVt/WAI7oBMyPZ1y09HlYCCOin11N0t66kYELsWawX
|
||||
xnoKOym9/f2DRcVUTJ4NorIIhqnGZRgDrsJDVy3bEnvRWtTGZ8LhX/Rd9KuTLDaI
|
||||
wk5v8WUXeecs5S/XC7z8ubiTvuPE5r3KwqzIzIFRQqWHhfDTGZrn3Zd12eoG5XPG
|
||||
Ne0XLGIuzEfT16NHbhJXeYGG/PbgWvNNruiUbU/uTo7YkRz1gaOfC9AM5mncQWSh
|
||||
zdQcIcp9uYabMsu0ROK7MF0JfiJVRPE9MPpk2mwMKZEMMgkUtIiwa7Ug4Jz10nXc
|
||||
Dy0sbvDf/1YWfsJPLfV1r1pmKjku9yxlCAD+BKCOppgCE1NpmXhAMhDYgy9AWC8R
|
||||
Q3lwxwhfDeirXb47Aqsb
|
||||
=JNqZ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
|
||||
fix(promptConcat): TypeError when an input is a list (#1019)
|
||||
|
||||
Normalize prompt1/prompt2/separator to strings before concatenation,
|
||||
joining lists with ", ", so outputs from nodes that return lists of
|
||||
strings (e.g. WD14 tagger pipelines) no longer raise
|
||||
"can only concatenate list (not str) to list" and the node always
|
||||
outputs a plain string.
|
||||
|
||||
Fixes #993
|
||||
|
||||
Co-authored-by: sherjy <23369551+sherjy@users.noreply.github.com>
|
||||
@@ -0,0 +1,2 @@
|
||||
From https://github.com/yolain/ComfyUI-Easy-Use
|
||||
* branch 595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7 -> FETCH_HEAD
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"object": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
|
||||
"commit": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7",
|
||||
"tag": "595e0738a9e3f8d0d9c4d875461b2d2c9e7559c7"
|
||||
}
|
||||
@@ -0,0 +1,33 @@
|
||||
tree d0e2a3f72c27788aa2ab09219e1a24036fb2672a
|
||||
parent 7535cd0dfd0dc66188ce91fdb0bd60de0b536587
|
||||
author YseraJY <1158230985@qq.com> 1785234554 +0800
|
||||
committer GitHub <noreply@github.com> 1785234554 +0800
|
||||
gpgsig -----BEGIN PGP SIGNATURE-----
|
||||
|
||||
wsFcBAABCAAQBQJqaIR6CRC1aQ7uu5UhlAAAPcsQAFhw62CGKsHeFmLX9cspbf80
|
||||
0U+vLVfaoB/K4W9a2o3r07RgkPRnKnSLqqFM0j0A/M9Ot/tidPoA795dHKfVs1FD
|
||||
xkLxDsympuR6kk32LB92nKHaLq0VTwzYV4mgyUhov+Vnyj7NCV8evLbhD5dTC7HG
|
||||
bCv4adU/ax3ouifub3HgTfscU5vDbA9tHFh+Rn58IpF7N8Ujw11Z2wlBSGrFBuny
|
||||
wxlkfpfm4h/LgbY+68pDEMu0ebcSku8//QBsMQSjIIDtzotkH5W60QLZiEUfznmC
|
||||
UMKs5JhCuuEt8CEBBe7ijxAVt/WAI7oBMyPZ1y09HlYCCOin11N0t66kYELsWawX
|
||||
xnoKOym9/f2DRcVUTJ4NorIIhqnGZRgDrsJDVy3bEnvRWtTGZ8LhX/Rd9KuTLDaI
|
||||
wk5v8WUXeecs5S/XC7z8ubiTvuPE5r3KwqzIzIFRQqWHhfDTGZrn3Zd12eoG5XPG
|
||||
Ne0XLGIuzEfT16NHbhJXeYGG/PbgWvNNruiUbU/uTo7YkRz1gaOfC9AM5mncQWSh
|
||||
zdQcIcp9uYabMsu0ROK7MF0JfiJVRPE9MPpk2mwMKZEMMgkUtIiwa7Ug4Jz10nXc
|
||||
Dy0sbvDf/1YWfsJPLfV1r1pmKjku9yxlCAD+BKCOppgCE1NpmXhAMhDYgy9AWC8R
|
||||
Q3lwxwhfDeirXb47Aqsb
|
||||
=JNqZ
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
|
||||
fix(promptConcat): TypeError when an input is a list (#1019)
|
||||
|
||||
Normalize prompt1/prompt2/separator to strings before concatenation,
|
||||
joining lists with ", ", so outputs from nodes that return lists of
|
||||
strings (e.g. WD14 tagger pipelines) no longer raise
|
||||
"can only concatenate list (not str) to list" and the node always
|
||||
outputs a plain string.
|
||||
|
||||
Fixes #993
|
||||
|
||||
Co-authored-by: sherjy <23369551+sherjy@users.noreply.github.com>
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,87 @@
|
||||
import itertools
|
||||
from typing import Optional
|
||||
|
||||
class TaggedCache:
|
||||
def __init__(self, tag_settings: Optional[dict]=None):
|
||||
self._tag_settings = tag_settings or {} # tag cache size
|
||||
self._data = {}
|
||||
|
||||
def __getitem__(self, key):
|
||||
for tag_data in self._data.values():
|
||||
if key in tag_data:
|
||||
return tag_data[key]
|
||||
raise KeyError(f'Key `{key}` does not exist')
|
||||
|
||||
def __setitem__(self, key, value: tuple):
|
||||
# value: (tag: str, (islist: bool, data: *))
|
||||
|
||||
# if key already exists, pop old value
|
||||
for tag_data in self._data.values():
|
||||
if key in tag_data:
|
||||
tag_data.pop(key, None)
|
||||
break
|
||||
|
||||
tag = value[0]
|
||||
if tag not in self._data:
|
||||
|
||||
try:
|
||||
from cachetools import LRUCache
|
||||
|
||||
default_size = 20
|
||||
if 'ckpt' in tag:
|
||||
default_size = 5
|
||||
elif tag in ['latent', 'image']:
|
||||
default_size = 100
|
||||
|
||||
self._data[tag] = LRUCache(maxsize=self._tag_settings.get(tag, default_size))
|
||||
|
||||
except (ImportError, ModuleNotFoundError):
|
||||
# TODO: implement a simple lru dict
|
||||
self._data[tag] = {}
|
||||
self._data[tag][key] = value
|
||||
|
||||
def __delitem__(self, key):
|
||||
for tag_data in self._data.values():
|
||||
if key in tag_data:
|
||||
del tag_data[key]
|
||||
return
|
||||
raise KeyError(f'Key `{key}` does not exist')
|
||||
|
||||
def __contains__(self, key):
|
||||
return any(key in tag_data for tag_data in self._data.values())
|
||||
|
||||
def items(self):
|
||||
yield from itertools.chain(*map(lambda x :x.items(), self._data.values()))
|
||||
|
||||
def get(self, key, default=None):
|
||||
"""D.get(k[,d]) -> D[k] if k in D, else d. d defaults to None."""
|
||||
for tag_data in self._data.values():
|
||||
if key in tag_data:
|
||||
return tag_data[key]
|
||||
return default
|
||||
|
||||
def clear(self):
|
||||
# clear all cache
|
||||
self._data = {}
|
||||
|
||||
cache_settings = {}
|
||||
cache = TaggedCache(cache_settings)
|
||||
cache_count = {}
|
||||
|
||||
def update_cache(k, tag, v):
|
||||
cache[k] = (tag, v)
|
||||
cnt = cache_count.get(k)
|
||||
if cnt is None:
|
||||
cnt = 0
|
||||
cache_count[k] = cnt
|
||||
else:
|
||||
cache_count[k] += 1
|
||||
def remove_cache(key):
|
||||
if key == '*':
|
||||
cache.clear()
|
||||
cache_count.clear()
|
||||
elif key in cache:
|
||||
del cache[key]
|
||||
cache_count.pop(key, None)
|
||||
else:
|
||||
print(f"invalid {key}")
|
||||
@@ -0,0 +1,29 @@
|
||||
tree e2dc155ee31d452fa0158d33dadc1a32c4a06e58
|
||||
parent 1398f4c3249dfff3dfb2a4cb2139474428d223e0
|
||||
author Comfy Org PR Bot <snomiao+comfy-pr@gmail.com> 1782777313 +0900
|
||||
committer GitHub <noreply@github.com> 1782777313 -0400
|
||||
gpgsig -----BEGIN PGP SIGNATURE-----
|
||||
|
||||
wsFcBAABCAAQBQJqQwXhCRC1aQ7uu5UhlAAA6DUQAEC1qXbm1FPRrKDNhp4yOJhY
|
||||
tL4P4bC0+kJl7vMa1Gd8zaQAoSUYLGQV2bvCKD7nK23wOLlN19hajWwo9DtkIwlI
|
||||
1MHgo36C+L6DIxvEeQEOxAbwCZV+rCYbrWLqLmpsgWzhb4mxFDCGXkCKuDzK5pq2
|
||||
3Ez0m6NgR/OgrRj7lRYABQxEqe04aO+97KByeDyY44/GPQV6lPfyQlAe9YdLsyLq
|
||||
co8egpPF69I7b0QaHIssQY7JUXe4xIyGwoTn++y6h0E55JCyPsld5WoJgsEh25o8
|
||||
zPLyd1ZdgP55joeJ9pDSj4PP+4ymJULuSCYkq9mkuGu9hRrXMaSjbE4XadntOIyk
|
||||
Xf6Uq2bO3r0Q49Y3NjabO4ElW9Echo0j5rvQ/w0bkuZ0OlJ3TBYhm1EacoVf5AiN
|
||||
I2cXHm/dROEe4x2y/LsyGAAyRw6pG5w5cnWhTya3szwL28BuZ1hmfCJHoMYEqjmG
|
||||
6lLyhmGA+zO8oDMaXHR8NC67xglRzAdmbmXYQFHNAO1TD7Cj/H+uA81DaHeDEbrB
|
||||
/3s65U1XjFc2xLsWHyL1FPA5Ah30vZggzehoES94ZZHB+bmOPwQs2vFGGw/RgFLO
|
||||
NYEgWEv9vEQlz2aXepzT5V2uz5gqM//aQIH1HWMxmpWEhju/ZeaSDxyyA2/+3isV
|
||||
14ClkPQ6kjsqdqmLKXal
|
||||
=sV+P
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
|
||||
1.45.20 (#13243)
|
||||
|
||||
Patch version increment to 1.45.20
|
||||
|
||||
**Base branch:** `core/1.45`
|
||||
|
||||
Co-authored-by: jtydhr88 <860985+jtydhr88@users.noreply.github.com>
|
||||
@@ -0,0 +1,2 @@
|
||||
From https://github.com/Comfy-Org/ComfyUI_frontend
|
||||
* tag v1.45.20 -> FETCH_HEAD
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"object": "7bd9f8b0d0b854ccb5a947623468f36a392ea0ff",
|
||||
"commit": "7bd9f8b0d0b854ccb5a947623468f36a392ea0ff",
|
||||
"tag": "v1.45.20"
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
tree e2dc155ee31d452fa0158d33dadc1a32c4a06e58
|
||||
parent 1398f4c3249dfff3dfb2a4cb2139474428d223e0
|
||||
author Comfy Org PR Bot <snomiao+comfy-pr@gmail.com> 1782777313 +0900
|
||||
committer GitHub <noreply@github.com> 1782777313 -0400
|
||||
gpgsig -----BEGIN PGP SIGNATURE-----
|
||||
|
||||
wsFcBAABCAAQBQJqQwXhCRC1aQ7uu5UhlAAA6DUQAEC1qXbm1FPRrKDNhp4yOJhY
|
||||
tL4P4bC0+kJl7vMa1Gd8zaQAoSUYLGQV2bvCKD7nK23wOLlN19hajWwo9DtkIwlI
|
||||
1MHgo36C+L6DIxvEeQEOxAbwCZV+rCYbrWLqLmpsgWzhb4mxFDCGXkCKuDzK5pq2
|
||||
3Ez0m6NgR/OgrRj7lRYABQxEqe04aO+97KByeDyY44/GPQV6lPfyQlAe9YdLsyLq
|
||||
co8egpPF69I7b0QaHIssQY7JUXe4xIyGwoTn++y6h0E55JCyPsld5WoJgsEh25o8
|
||||
zPLyd1ZdgP55joeJ9pDSj4PP+4ymJULuSCYkq9mkuGu9hRrXMaSjbE4XadntOIyk
|
||||
Xf6Uq2bO3r0Q49Y3NjabO4ElW9Echo0j5rvQ/w0bkuZ0OlJ3TBYhm1EacoVf5AiN
|
||||
I2cXHm/dROEe4x2y/LsyGAAyRw6pG5w5cnWhTya3szwL28BuZ1hmfCJHoMYEqjmG
|
||||
6lLyhmGA+zO8oDMaXHR8NC67xglRzAdmbmXYQFHNAO1TD7Cj/H+uA81DaHeDEbrB
|
||||
/3s65U1XjFc2xLsWHyL1FPA5Ah30vZggzehoES94ZZHB+bmOPwQs2vFGGw/RgFLO
|
||||
NYEgWEv9vEQlz2aXepzT5V2uz5gqM//aQIH1HWMxmpWEhju/ZeaSDxyyA2/+3isV
|
||||
14ClkPQ6kjsqdqmLKXal
|
||||
=sV+P
|
||||
-----END PGP SIGNATURE-----
|
||||
|
||||
|
||||
1.45.20 (#13243)
|
||||
|
||||
Patch version increment to 1.45.20
|
||||
|
||||
**Base branch:** `core/1.45`
|
||||
|
||||
Co-authored-by: jtydhr88 <860985+jtydhr88@users.noreply.github.com>
|
||||
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,215 @@
|
||||
{
|
||||
"name": "@comfyorg/comfyui-frontend",
|
||||
"version": "1.45.20",
|
||||
"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 NODE_OPTIONS='--max-old-space-size=8192' vite build --config vite.config.mts",
|
||||
"build:desktop": "pnpm --filter @comfyorg/desktop-ui run build",
|
||||
"build-storybook": "storybook build",
|
||||
"build:types": "cross-env NODE_OPTIONS='--max-old-space-size=8192' vite build --config vite.types.config.mts && node scripts/prepare-types.js",
|
||||
"build:analyze": "cross-env ANALYZE_BUNDLE=true pnpm build",
|
||||
"build": "cross-env NODE_OPTIONS='--max-old-space-size=8192' 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": "cross-env DEV_SERVER_COMFYUI_URL='https://testcloud.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",
|
||||
"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:*",
|
||||
"@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.2.0",
|
||||
"@xterm/addon-fit": "^0.10.0",
|
||||
"@xterm/addon-serialize": "^0.13.0",
|
||||
"@xterm/xterm": "^5.5.0",
|
||||
"algoliasearch": "catalog:",
|
||||
"axios": "catalog:",
|
||||
"chart.js": "^4.5.0",
|
||||
"cva": "catalog:",
|
||||
"dompurify": "^3.2.5",
|
||||
"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",
|
||||
"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:",
|
||||
"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": "^11.1.0",
|
||||
"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": "24.x",
|
||||
"pnpm": ">=11"
|
||||
},
|
||||
"packageManager": "pnpm@11.1.1"
|
||||
}
|
||||
+18001
File diff suppressed because it is too large
Load Diff
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user