HEL-892: document storyboard frame selection with exact source bindings
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -15,6 +15,10 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
|
||||
|
||||
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
|
||||
DEFINITIONS = {
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频"
|
||||
"分离-视频截取合并-图像视频放大/手动按分镜视频截取.json"
|
||||
): "982b2326c129d00da6e1a2d0f1f843f09f3e9963cf3ac85f3d19691ef9e7b5ec",
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频"
|
||||
"分离-视频截取合并-图像视频放大/sam3_图像视频-提示词遮罩分割.json"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,257 @@
|
||||
"Storyboard saved values, physical links, unknown identities and fail-closed binding."
|
||||
|
||||
import copy
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
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/storyboard-document-evidence"
|
||||
PATH = next(p for p in DEFINITIONS if p.endswith("/手动按分镜视频截取.json"))
|
||||
SOURCE = json.loads((REPO / PATH).read_bytes())
|
||||
REVIEW = review_for(PATH, hashlib.sha1((REPO / PATH).read_bytes()).hexdigest())
|
||||
BLOCK = REVIEW["fixed_version_document"]
|
||||
|
||||
|
||||
def pointer(obj, path):
|
||||
for part in path.strip("/").split("/"):
|
||||
obj = obj[int(part)] if isinstance(obj, list) else obj[part]
|
||||
return obj
|
||||
|
||||
|
||||
def doc(source=None, review=None):
|
||||
return build_document(
|
||||
PATH,
|
||||
SOURCE if source is None else source,
|
||||
None,
|
||||
None,
|
||||
[],
|
||||
REVIEW if review is None else review,
|
||||
)
|
||||
|
||||
|
||||
def refuse(s, r):
|
||||
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).hexdigest()
|
||||
r["caller_digest"] = hashlib.sha256(canonical(r["fixed_version_document"])).hexdigest()
|
||||
assert not doc(s, r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
def test_each_saved_value_type_pointer_and_exact_evidence(f):
|
||||
v = pointer(SOURCE, f["pointer"])
|
||||
assert canonical(v) == canonical(f["value"]) and type(v).__name__ == f["json_type"]
|
||||
for k in [
|
||||
"label",
|
||||
"type",
|
||||
"schema_default",
|
||||
"unit",
|
||||
"limits",
|
||||
"effect",
|
||||
"execution_note",
|
||||
"role",
|
||||
]:
|
||||
assert f[k]
|
||||
for k in f["evidence"]:
|
||||
e = BLOCK["sources"][k]
|
||||
raw = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
|
||||
assert len(e["commit"]) == 40 or e["git_commit_binding"] == "unknown"
|
||||
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "type", "text"])
|
||||
def test_each_saved_position_refuses_forged_source_or_definition(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
b = r["fixed_version_document"]
|
||||
bf = next(x for x in b["fields"] if x["pointer"] == f["pointer"])
|
||||
if variant == "text":
|
||||
bf["limits"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
target = pointer(s, parent)
|
||||
target[int(key) if isinstance(target, list) else key] = (
|
||||
"forged" if variant == "type" else None
|
||||
)
|
||||
bf["value"] = pointer(s, f["pointer"])
|
||||
bf["json_type"] = type(bf["value"]).__name__
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i", range(22))
|
||||
@pytest.mark.parametrize("variant", ["mode", "identity"])
|
||||
def test_each_node_mode_and_identity_bound(i, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
n = s["nodes"][i]
|
||||
if variant == "mode":
|
||||
n["mode"] = 0 if n["mode"] == 4 else 4
|
||||
else:
|
||||
n["properties"]["ver"] = "forged"
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i", range(24))
|
||||
def test_each_physical_endpoint_bound_both_directions(i):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
s["links"][i][3] = 99999
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"variant",
|
||||
[
|
||||
"empty_info",
|
||||
"empty_loop",
|
||||
"missing_bypasser",
|
||||
"missing_audio_value",
|
||||
"history",
|
||||
"comment",
|
||||
"summary",
|
||||
"citation",
|
||||
"source_sha",
|
||||
"path",
|
||||
"layout",
|
||||
"ue",
|
||||
"frontend",
|
||||
],
|
||||
)
|
||||
def test_special_shapes_history_comments_and_restoration_bound(variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
ns = {n["id"]: n for n in s["nodes"]}
|
||||
b = r["fixed_version_document"]
|
||||
if variant == "empty_info":
|
||||
ns[27]["widgets_values"] = []
|
||||
elif variant == "empty_loop":
|
||||
ns[20]["widgets_values"] = {}
|
||||
elif variant == "missing_bypasser":
|
||||
ns[15]["widgets_values"] = []
|
||||
elif variant == "missing_audio_value":
|
||||
ns[36]["widgets_values"].append("")
|
||||
elif variant == "history":
|
||||
ns[10]["widgets_values"]["videopreview"]["params"]["frame_rate"] = 30
|
||||
elif variant == "comment":
|
||||
ns[35]["widgets_values"][0] = "forged"
|
||||
elif variant == "summary":
|
||||
b["user_overview"] = "already executed"
|
||||
elif variant == "citation":
|
||||
b["sources"][0]["sha256"] = "0" * 64
|
||||
elif variant == "source_sha":
|
||||
b["source_sha1"] = "0" * 40
|
||||
elif variant == "path":
|
||||
b["source_path"] = "forged"
|
||||
elif variant == "layout":
|
||||
ns[8]["pos"][0] += 1
|
||||
elif variant == "ue":
|
||||
ns[8]["properties"]["ue_properties"]["version"] = "forged"
|
||||
else:
|
||||
s["extra"]["frontendVersion"] = "forged"
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
def test_precise_inventory_connections_and_limits():
|
||||
ns = {n["id"]: n for n in SOURCE["nodes"]}
|
||||
b = BLOCK
|
||||
assert len(ns) == 22 and len(SOURCE["links"]) == 24
|
||||
assert {i for i, n in ns.items() if n["mode"] == 0} == {8, 18, 21, 29, 10, 15, 5, 35, 13, 6}
|
||||
assert {i for i, n in ns.items() if n["mode"] == 4} == {
|
||||
28,
|
||||
27,
|
||||
30,
|
||||
25,
|
||||
20,
|
||||
19,
|
||||
22,
|
||||
31,
|
||||
24,
|
||||
26,
|
||||
1,
|
||||
36,
|
||||
}
|
||||
assert (
|
||||
ns[27]["widgets_values"] == {}
|
||||
and ns[20]["widgets_values"] == []
|
||||
and "widgets_values" not in ns[15]
|
||||
)
|
||||
assert ns[36]["widgets_values"] == ["tmp/audio"]
|
||||
assert ns[18]["widgets_values"] == [16] and type(ns[18]["widgets_values"][0]) is int
|
||||
assert ns[29]["widgets_values"] == ns[30]["widgets_values"] == ["每批截取帧数"]
|
||||
assert not any(
|
||||
k in ns[29]["properties"] or k in ns[30]["properties"] for k in ["cnr_id", "ver"]
|
||||
)
|
||||
assert len(b["fields"]) == len({f["pointer"] for f in b["fields"]}) == 50
|
||||
assert sum(isinstance(f["value"], dict) for f in b["fields"]) == 4
|
||||
assert sum(not isinstance(f["value"], dict) for f in b["fields"]) == 46
|
||||
assert len(b["comments"]) == 2
|
||||
for e, src, slot, dst, inp, _ in SOURCE["links"]:
|
||||
assert e in ns[src]["outputs"][slot]["links"] and ns[dst]["inputs"][inp]["link"] == e
|
||||
for nid, name, e in [
|
||||
(8, "skip_first_images", 19),
|
||||
(8, "image_load_cap", 20),
|
||||
(10, "filename_prefix", 21),
|
||||
(10, "frame_rate", 23),
|
||||
(1, "force_rate", 26),
|
||||
(25, "force_rate", 45),
|
||||
(25, "skip_first_frames", 38),
|
||||
(25, "frame_load_cap", 50),
|
||||
(19, "total", 29),
|
||||
]:
|
||||
assert next(x for x in ns[nid]["inputs"] if x["name"] == name)["link"] == e
|
||||
assert all(
|
||||
x["link"] is None for x in ns[10]["inputs"] if x["name"] in ["audio", "vae", "meta_batch"]
|
||||
)
|
||||
assert ns[1]["outputs"][0]["links"] in ([], None)
|
||||
assert next(x for x in ns[26]["inputs"] if x["name"] == "caption")["link"] is None
|
||||
d = doc()
|
||||
assert d["fixed_version"]["matched"]
|
||||
assert d["dependencies"]["check_state"] == "unchecked" and d["status"] == dict(
|
||||
imported=True, doc_done=False, exec_verified=False
|
||||
)
|
||||
for c in b["comments"]:
|
||||
assert pointer(SOURCE, c["pointer"]) == [c["text"]]
|
||||
assert next(n for n in d["source_notes"] if str(n["node_id"]) == c["node_id"])[
|
||||
"content"
|
||||
] == [c["text"]]
|
||||
assert not b["counts"]["final_prompt_constructed"]
|
||||
for word in [
|
||||
"原前端",
|
||||
"purge_cache",
|
||||
"caption",
|
||||
"audioUI",
|
||||
"每批截取帧数",
|
||||
"不模拟",
|
||||
"历史",
|
||||
"30",
|
||||
"16",
|
||||
"1|2",
|
||||
]:
|
||||
assert word in " ".join(b["flow"])
|
||||
|
||||
|
||||
def test_old_review_objects_and_27_documents_unchanged():
|
||||
resource = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
old = json.loads(subprocess.check_output(["git", "show", "2a82f1f:" + resource], cwd=REPO))
|
||||
now = json.loads((REPO / resource).read_bytes())
|
||||
now[PATH].pop("fixed_version_document")
|
||||
assert now == old and len(DEFINITIONS) == 28
|
||||
blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r]
|
||||
assert (
|
||||
len(blocks) == 27
|
||||
and sum(len(b["fields"]) for b in blocks) == 838
|
||||
and sum(
|
||||
len(
|
||||
build_document(p, json.loads((REPO / p).read_bytes()), None, None, [], r)[
|
||||
"source_notes"
|
||||
]
|
||||
)
|
||||
for p, r in old.items()
|
||||
if "fixed_version_document" in r
|
||||
)
|
||||
== 19
|
||||
)
|
||||
assert review_for(PATH, "0" * 40) is None
|
||||
@@ -0,0 +1,2 @@
|
||||
__pycache__/
|
||||
*.pyc
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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,12 @@
|
||||
........................................................................ [ 24%]
|
||||
........................................................................ [ 48%]
|
||||
........................................................................ [ 72%]
|
||||
........................................................................ [ 97%]
|
||||
........ [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/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
|
||||
296 passed, 1 warning in 4.89s
|
||||
@@ -0,0 +1,35 @@
|
||||
........................................................................ [ 24%]
|
||||
........................................................................ [ 48%]
|
||||
........................................................................ [ 72%]
|
||||
..................................................................F..... [ 97%]
|
||||
........ [100%]
|
||||
=================================== FAILURES ===================================
|
||||
______________ test_old_review_objects_and_27_documents_unchanged ______________
|
||||
|
||||
def test_old_review_objects_and_27_documents_unchanged():
|
||||
resource='calliope-backend/src/calliope/comfyui/source_reviews.json'
|
||||
old=json.loads(subprocess.check_output(['git','show','2a82f1f:'+resource],cwd=REPO));now=json.loads((REPO/resource).read_bytes())
|
||||
now[PATH].pop('fixed_version_document');assert now==old and len(DEFINITIONS)==28
|
||||
blocks=[r['fixed_version_document'] for r in old.values() if 'fixed_version_document' in r]
|
||||
> assert len(blocks)==27 and sum(len(b['fields']) for b in blocks)==838 and sum(len(b['comments']) for b in blocks)==19
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
calliope-backend/tests/test_storyboard_fixed_document.py:121:
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
|
||||
.0 = <list_iterator object at 0x7fb86c2ee830>
|
||||
|
||||
> assert len(blocks)==27 and sum(len(b['fields']) for b in blocks)==838 and sum(len(b['comments']) for b in blocks)==19
|
||||
^^^^^^^^^^^^^
|
||||
E KeyError: 'comments'
|
||||
|
||||
calliope-backend/tests/test_storyboard_fixed_document.py:121: KeyError
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
=========================== short test summary info ============================
|
||||
FAILED calliope-backend/tests/test_storyboard_fixed_document.py::test_old_review_objects_and_27_documents_unchanged
|
||||
1 failed, 295 passed, 1 warning in 4.94s
|
||||
@@ -0,0 +1,12 @@
|
||||
........................................................................ [ 24%]
|
||||
........................................................................ [ 48%]
|
||||
........................................................................ [ 72%]
|
||||
........................................................................ [ 97%]
|
||||
........ [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/calliope-backend/.venv/lib/python3.11/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
|
||||
296 passed, 1 warning in 4.91s
|
||||
@@ -0,0 +1,728 @@
|
||||
{
|
||||
"base": "2a82f1f4de16e6694ce800b0d51c98a47351bb24",
|
||||
"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": 163,
|
||||
"old_twenty_seven_blocks_unchanged": true,
|
||||
"drawer_css_unchanged": true,
|
||||
"drawer_whole_file_unchanged": true,
|
||||
"drawer_sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1",
|
||||
"conversion_rerun": false,
|
||||
"profiles_28_candidates_9_diffs_6": "unchanged"
|
||||
}
|
||||
@@ -0,0 +1,377 @@
|
||||
{
|
||||
"scope": "Only the listed exact Git source files and exact release archive members; no upstream execution, newer-version substitution, model/media/target access or alias history search.",
|
||||
"files": [
|
||||
{
|
||||
"id": "kj",
|
||||
"file": "__init__.py",
|
||||
"local_file": "kj____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/79f529a84a8c20fe5dcdfa984c6be7a94102c014/__init__.py",
|
||||
"commit": "79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
"sha256": "cd120dd79ee58c4b299ab03ef4ab6d0e68adfbc3df3499d9e1c22692f2ae1b0f",
|
||||
"git_blob_sha1": "2a7f73e2e801713b9d2782031cb2040dba02b819"
|
||||
},
|
||||
{
|
||||
"id": "kj",
|
||||
"file": "nodes/nodes.py",
|
||||
"local_file": "kj__nodes__nodes.py",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/79f529a84a8c20fe5dcdfa984c6be7a94102c014/nodes/nodes.py",
|
||||
"commit": "79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
"sha256": "9745bff6abba6229272820e8b401c909c2b33e87ca68e2bf42c946cefbf9dd30",
|
||||
"git_blob_sha1": "372c8518a77b20fa808de3b70736ceb8dde0092e"
|
||||
},
|
||||
{
|
||||
"id": "kj",
|
||||
"file": "nodes/image_nodes.py",
|
||||
"local_file": "kj__nodes__image_nodes.py",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/79f529a84a8c20fe5dcdfa984c6be7a94102c014/nodes/image_nodes.py",
|
||||
"commit": "79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
"sha256": "b246133148284461f161529f9e846bb0d32420eedf990f5315f21e73f80d75d4",
|
||||
"git_blob_sha1": "aac70d4770f5428a7e3f6bd9a10d50a821987199"
|
||||
},
|
||||
{
|
||||
"id": "kj",
|
||||
"file": "LICENSE",
|
||||
"local_file": "kj__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/79f529a84a8c20fe5dcdfa984c6be7a94102c014/LICENSE",
|
||||
"commit": "79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7"
|
||||
},
|
||||
{
|
||||
"id": "layer",
|
||||
"file": "__init__.py",
|
||||
"local_file": "layer____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/__init__.py",
|
||||
"commit": "3b17c7f488006c872f4cb3d6b37029a9464f1d7b",
|
||||
"sha256": "952d1d20b52a8d9d544c12adad99a7ab633bd7dc9db4a352972eb127e10eb4a0",
|
||||
"git_blob_sha1": "fd50801f4dfafb2049c6755b14d5474f19cefa7a"
|
||||
},
|
||||
{
|
||||
"id": "layer",
|
||||
"file": "py/purge_vram.py",
|
||||
"local_file": "layer__py__purge_vram.py",
|
||||
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/py/purge_vram.py",
|
||||
"commit": "3b17c7f488006c872f4cb3d6b37029a9464f1d7b",
|
||||
"sha256": "52a910b44f5a63f3e41bc6d4b756977b5b47d2591198fd1b200c2058807dd215",
|
||||
"git_blob_sha1": "2777233ea435d3d32da7db12eda83700cae71365"
|
||||
},
|
||||
{
|
||||
"id": "layer",
|
||||
"file": "LICENSE",
|
||||
"local_file": "layer__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/LICENSE",
|
||||
"commit": "3b17c7f488006c872f4cb3d6b37029a9464f1d7b",
|
||||
"sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0",
|
||||
"git_blob_sha1": "e2568121d079845a006a2935286b89d1721e9559"
|
||||
},
|
||||
{
|
||||
"id": "math",
|
||||
"file": "__init__.py",
|
||||
"local_file": "math____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/f2838ed5e59de4d73cde5c98354b87a8d3200190/__init__.py",
|
||||
"commit": "f2838ed5e59de4d73cde5c98354b87a8d3200190",
|
||||
"sha256": "ced0aa0ea33f81d7d97b59b66ff0abc77b068bd17183f42480875e71708a0684",
|
||||
"git_blob_sha1": "ae43dd2090ce782074bf72f2b7f49ad28dff1a5c"
|
||||
},
|
||||
{
|
||||
"id": "math",
|
||||
"file": "py/math_expression.py",
|
||||
"local_file": "math__py__math_expression.py",
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/f2838ed5e59de4d73cde5c98354b87a8d3200190/py/math_expression.py",
|
||||
"commit": "f2838ed5e59de4d73cde5c98354b87a8d3200190",
|
||||
"sha256": "687dca7acec29da95c5153a9a386e29450d8f42106180b46c0dfece085b44857",
|
||||
"git_blob_sha1": "4a41655b6876a077338040b0099c4d4e8c9dbcd2"
|
||||
},
|
||||
{
|
||||
"id": "math",
|
||||
"file": "LICENSE",
|
||||
"local_file": "math__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/f2838ed5e59de4d73cde5c98354b87a8d3200190/LICENSE",
|
||||
"commit": "f2838ed5e59de4d73cde5c98354b87a8d3200190",
|
||||
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c",
|
||||
"git_blob_sha1": "acf31806a2507192169eca2137ea9ceb7685f51c"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../reverse-reference/vhs__LICENSE",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../reverse-reference/vhs____init__.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "../reverse-reference/vhs__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "10c69eeae93c21cdfc22cb63f39ba4ce83bcd459725fcf6beb0298276541a1c2",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../reverse-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_video_nodes.py",
|
||||
"local_file": "../reverse-reference/vhs__videohelpersuite__load_video_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/utils.py",
|
||||
"local_file": "../reverse-reference/vhs__videohelpersuite__utils.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "video_formats/h264-mp4.json",
|
||||
"local_file": "../reverse-reference/vhs__video_formats__h264-mp4.json",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "../reverse-reference/vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "web/js/videoinfo.js",
|
||||
"local_file": "../reverse-reference/vhs__web__js__videoinfo.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "29db4800fe2b86303619bd1768b97aabdad0fe300db93da7135bdffa43f07970",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "easy",
|
||||
"file": "LICENSE",
|
||||
"local_file": "easy__LICENSE",
|
||||
"url": "https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip",
|
||||
"commit": "发布包SHA256:75ed4b6cb1977ee678bc19c30162d69f16cd1cc1c560f3173b090e955a0f7627",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "easy",
|
||||
"file": "__init__.py",
|
||||
"local_file": "easy____init__.py",
|
||||
"url": "https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip",
|
||||
"commit": "发布包SHA256:75ed4b6cb1977ee678bc19c30162d69f16cd1cc1c560f3173b090e955a0f7627",
|
||||
"sha256": "d225b7157796aa5f015bb28bfa6cee8e3048fb810a45e988122ea3b365bdde22",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "easy",
|
||||
"file": "py/nodes/logic.py",
|
||||
"local_file": "easy__py__nodes__logic.py",
|
||||
"url": "https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip",
|
||||
"commit": "发布包SHA256:75ed4b6cb1977ee678bc19c30162d69f16cd1cc1c560f3173b090e955a0f7627",
|
||||
"sha256": "9ac063949597687c1788e2015b4f2330fe986b94d394c9e8063e3e7cc798b0a1",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "easy",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "easy__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip",
|
||||
"commit": "发布包SHA256:75ed4b6cb1977ee678bc19c30162d69f16cd1cc1c560f3173b090e955a0f7627",
|
||||
"sha256": "123745784e7e332be08f29a4fc90d96393af25262c3b4e8cfc806cfaa91799d8",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "mtb",
|
||||
"file": "LICENSE",
|
||||
"local_file": "mtb__LICENSE",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "5f8107313a20aa2a35fd7cc877b4e526ed852e3b8ad761b19f3e4abed8508bb9",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "mtb",
|
||||
"file": "__init__.py",
|
||||
"local_file": "mtb____init__.py",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "140c463336a1251e674e15623452b6d0f1c82e85d3b7e1272d32f68856b16fa6",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "mtb",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "mtb__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "d6f354766a928079ffb85d996b82bb3db517e2246e2216471aadf0a6d03f324d",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_images_nodes.py",
|
||||
"local_file": "vhs__videohelpersuite__load_images_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "275fa08acf4ee3163c6d403abea5ef7d088b0a6afbd705d9b0d55623818ffdc4",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"file": "comfy_extras/nodes_audio.py",
|
||||
"local_file": "core__comfy_extras__nodes_audio.py",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/comfy_extras/nodes_audio.py",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "a77d1b33d2a445322c5b88bba1ecb4cd60a50b7fc46253ffa74db3aacb89505f",
|
||||
"git_blob_sha1": "c7916443caedf88ec04b90695a19e29be2d9259d"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"file": "nodes.py",
|
||||
"local_file": "core__nodes.py",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/nodes.py",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "1d8eb523db6753a01a9bdd8efface14a76ff91babb2be434a98ea2a1a757b894",
|
||||
"git_blob_sha1": "7d83ecb21db8d30bf71c24bd2fbd2c7adfdff7d6"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"file": "folder_paths.py",
|
||||
"local_file": "core__folder_paths.py",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/folder_paths.py",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
|
||||
"git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"file": "LICENSE",
|
||||
"local_file": "core__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/LICENSE",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7"
|
||||
},
|
||||
{
|
||||
"id": "layer",
|
||||
"file": "py/imagefunc.py",
|
||||
"local_file": "layer__py__imagefunc.py",
|
||||
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/py/imagefunc.py",
|
||||
"commit": "3b17c7f488006c872f4cb3d6b37029a9464f1d7b",
|
||||
"sha256": "7722b4fcdb50398987bee2032fd0afe7fbe7880f142982f2bbe8dbdc774940f0",
|
||||
"git_blob_sha1": "f9ec0adfb653837a96802584b5ef36dfce4034ce"
|
||||
},
|
||||
{
|
||||
"id": "mtb",
|
||||
"file": "nodes/graph_utils.py",
|
||||
"local_file": "mtb__nodes__graph_utils.py",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "9ffb664380050ce39885ed508722a540105e12594cc6670fb8015c7b53dcbfa7",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "mtb",
|
||||
"file": "log.py",
|
||||
"local_file": "mtb__log.py",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "ebee2327a46276b027c23ade757f22869ce1577e0996675a7f176a7ade2e0f09",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "mtb",
|
||||
"file": "web/mtb_ui.js",
|
||||
"local_file": "mtb__web__mtb_ui.js",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "5d5c686d8c7646bccc8efa74ba6815d4f4a65b310cf0d3760399ec55e0fbdf67",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "mtb",
|
||||
"file": "web/mtb_widgets.js",
|
||||
"local_file": "mtb__web__mtb_widgets.js",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "fc2aa9b9d7fe493bed98341074038904cd5c994dbbfb081cbd2c8626bc731757",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "mtb",
|
||||
"file": "web/comfy_shared.js",
|
||||
"local_file": "mtb__web__comfy_shared.js",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "a8256d20124f1b73f5bb3544cbce320296fdb520d187665f7a8cd97123ceee58",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "mtb",
|
||||
"file": "wiki/nodes/nodes-apply-text-template.md",
|
||||
"local_file": "mtb__wiki__nodes__nodes-apply-text-template.md",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "f2926be6da3ba5ff0ab992da0ff2baf1404904561ac65867ee50a72e8428f6e8",
|
||||
"git_commit_binding": "unknown"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"file": "comfy_api/latest/_ui.py",
|
||||
"local_file": "core__comfy_api__latest___ui.py",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/comfy_api/latest/_ui.py",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
|
||||
"git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"file": "comfy_api/latest/_io.py",
|
||||
"local_file": "core__comfy_api__latest___io.py",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/comfy_api/latest/_io.py",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "9ae0d719957a3d31472d4c9de0ff9635db074e222903055bab880b26c295ed86",
|
||||
"git_blob_sha1": "4b14e5ded38b1061acec725e019e6e14c977b538"
|
||||
}
|
||||
],
|
||||
"unknown": [
|
||||
"host frontend version and UE restoration order",
|
||||
"Set/Get and Bypasser identity/resolution",
|
||||
"target packages, directories, actual FPS, media and codecs",
|
||||
"loop execution, real results and effects"
|
||||
],
|
||||
"reuse": "9 VHS1.7.7 text members from reverse-reference with original release package SHA; LoadImagesPath member independently read from same exact package",
|
||||
"counts": {
|
||||
"git": 17,
|
||||
"package": 23,
|
||||
"unique": 40
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,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,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,717 @@
|
||||
"Source-bound storyboard editorial definition. Never execute the described graph."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
REF = OUT.parent / "storyboard-reference"
|
||||
PATHS = [
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json"
|
||||
]
|
||||
|
||||
|
||||
def canonical(value):
|
||||
return json.dumps(value, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
|
||||
|
||||
def build(index=0):
|
||||
path = PATHS[index]
|
||||
raw = (REPO / path).read_bytes()
|
||||
graph = json.loads(raw)
|
||||
entries = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
refs = []
|
||||
|
||||
def ref(key, file, first, last, claim):
|
||||
e = next(e for e in entries if e["id"] == key and e["file"] == file)
|
||||
data = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
assert 1 <= first <= last <= len(data.decode().splitlines())
|
||||
refs.append(
|
||||
{
|
||||
**e,
|
||||
"local_file": "../storyboard-reference/" + e["local_file"],
|
||||
"lines": [first, last],
|
||||
"claim": claim,
|
||||
}
|
||||
)
|
||||
return len(refs) - 1
|
||||
|
||||
load = ref(
|
||||
"vhs", "videohelpersuite/load_video_nodes.py", 22, 168, "1.7.7加载格式、采样和尺寸条件"
|
||||
)
|
||||
run = ref(
|
||||
"vhs", "videohelpersuite/load_video_nodes.py", 293, 477, "加载实现和schema;不执行媒体"
|
||||
)
|
||||
image = ref(
|
||||
"vhs",
|
||||
"videohelpersuite/load_images_nodes.py",
|
||||
15,
|
||||
126,
|
||||
"目录读取、图像尺寸匹配和批次;不访问E盘",
|
||||
)
|
||||
image_schema = ref(
|
||||
"vhs", "videohelpersuite/load_images_nodes.py", 165, 206, "路径加载具名schema,cap/skip/nth"
|
||||
)
|
||||
utils = ref("vhs", "videohelpersuite/utils.py", 137, 155, "按文件名排序、过滤、跳过和间隔")
|
||||
combine = ref(
|
||||
"vhs", "videohelpersuite/nodes.py", 234, 420, "1.7.7合成schema、目录和首帧PNG条件"
|
||||
)
|
||||
video = ref("vhs", "videohelpersuite/nodes.py", 420, 625, "视频编码、音频条件和中间文件")
|
||||
fmt = ref("vhs", "video_formats/h264-mp4.json", 1, 15, "H264/CRF/像素及音频模板")
|
||||
meta = ref("vhs", "videohelpersuite/nodes.py", 48, 165, "格式模板、元数据参数条件")
|
||||
ref("vhs", "videohelpersuite/nodes.py", 940, 970, "VideoInfoLoaded五出口与loaded_键")
|
||||
reg = ref("vhs", "videohelpersuite/nodes.py", 1020, 1050, "VHS准确四类节点注册")
|
||||
js = ref("vhs", "web/js/VHS.core.js", 41, 168, "同包保存恢复;不证明未知宿主及UE次序")
|
||||
hist = ref("vhs", "web/js/VHS.core.js", 915, 970, "历史预览缓存回调,非实际媒体")
|
||||
const = ref("kj", "nodes/nodes.py", 31, 59, "INTConstant与FloatConstant默认范围及舍入")
|
||||
save = ref("kj", "nodes/image_nodes.py", 3235, 3321, "SaveImageKJ目录、PNG及caption条件")
|
||||
ref("kj", "__init__.py", 1, 120, "KJ节点映射配置")
|
||||
ref("kj", "__init__.py", 232, 246, "KJ配置生成准确注册映射")
|
||||
purge = ref(
|
||||
"layer", "py/purge_vram.py", 8, 37, "PurgeVRAM默认true,clear_memory无条件、模型清理有条件"
|
||||
)
|
||||
ref("layer", "py/purge_vram.py", 72, 80, "PurgeVRAM准确注册")
|
||||
ref("layer", "py/imagefunc.py", 2123, 2130, "clear_memory的GC及CUDA可用条件;不执行")
|
||||
math = ref("math", "py/math_expression.py", 15, 59, "运算符及ceil函数注册;只读不求值")
|
||||
mathschema = ref(
|
||||
"math", "py/math_expression.py", 98, 126, "表达式schema、无显式默认及INT/FLOAT出口"
|
||||
)
|
||||
ref("math", "py/math_expression.py", 245, 251, "MathExpression准确注册")
|
||||
loop = ref(
|
||||
"easy", "py/nodes/logic.py", 800, 903, "1.3.4循环schema、初始索引及图展开条件;不模拟循环"
|
||||
)
|
||||
ref("easy", "py/nodes/logic.py", 1738, 1745, "循环准确注册")
|
||||
template = ref(
|
||||
"mtb", "nodes/graph_utils.py", 113, 141, "0.5.4模板schema及按kwargs字面替换,不计算本图结果"
|
||||
)
|
||||
ref("mtb", "nodes/graph_utils.py", 870, 882, "模板__nodes__模块列表")
|
||||
ref("mtb", "__init__.py", 190, 205, "MTB显示名注册规则")
|
||||
ref("mtb", "log.py", 77, 87, "MTB类名去前缀及驼峰显示名")
|
||||
ref("mtb", "web/mtb_widgets.js", 1168, 1171, "同包模板动态var_输入恢复;未知宿主及UE次序")
|
||||
ref("core", "comfy_extras/nodes_audio.py", 603, 626, "SaveAudio准确扩展注册")
|
||||
ref("core", "comfy_api/latest/_ui.py", 27, 76, "音频文件描述符和output目录分派")
|
||||
ref("mtb", "web/comfy_shared.js", 377, 445, "模板动态连接setup与恢复回调")
|
||||
audio = ref(
|
||||
"core",
|
||||
"comfy_extras/nodes_audio.py",
|
||||
120,
|
||||
141,
|
||||
"core0.6.0 SaveAudio具名schema及FLAC输出调用",
|
||||
)
|
||||
audiohelper = ref(
|
||||
"core",
|
||||
"comfy_api/latest/_ui.py",
|
||||
260,
|
||||
390,
|
||||
"AudioSaveHelper计数名/目录、编码和输出描述符;不读取音频",
|
||||
)
|
||||
for key in ["kj", "layer", "math", "easy", "mtb", "core", "vhs"]:
|
||||
e = next(e for e in entries if e["id"] == key and e["file"] == "LICENSE")
|
||||
ref(
|
||||
key,
|
||||
"LICENSE",
|
||||
1,
|
||||
len((REF / e["local_file"]).read_text().splitlines()),
|
||||
"准确提交或发布包许可原文",
|
||||
)
|
||||
specs = {}
|
||||
|
||||
def spec(cls, name, label, typ, default, unit, limits, effect, ev, role="scalar"):
|
||||
specs[cls, name] = dict(
|
||||
field=name,
|
||||
label=label,
|
||||
type=typ,
|
||||
schema_default=default,
|
||||
unit=unit,
|
||||
limits=limits,
|
||||
effect=effect,
|
||||
evidence=ev,
|
||||
role=role,
|
||||
)
|
||||
|
||||
for name, label, typ, default, unit, limits, effect in [
|
||||
(
|
||||
"video",
|
||||
"视频文件引用",
|
||||
"COMBO",
|
||||
"动态input枚举,无固定默认",
|
||||
"文件引用",
|
||||
"mp4/webm/mkv/gif/mov等普通文件;实际列表未知",
|
||||
"1/25均保存同一牧马人视频名,仅源文本。两者mode4旁路,不读取媒体、不称正在截取或已上传。",
|
||||
),
|
||||
(
|
||||
"force_rate",
|
||||
"强制采样帧率",
|
||||
"floatOrInt",
|
||||
"0",
|
||||
"帧/秒",
|
||||
"0~60,step1;0关闭强制采样",
|
||||
"两节点保存16;1由18外线覆盖,25由27.loaded_fps覆盖。真实FPS未知,保存值不是最终运行值,也不保证音画同步。",
|
||||
),
|
||||
(
|
||||
"custom_width",
|
||||
"自定义宽度",
|
||||
"INT",
|
||||
"0",
|
||||
"像素",
|
||||
"0~8192;0保持原尺寸或按另一维比例",
|
||||
"保存0,实际宽度及动态格式约束未知,不读素材。",
|
||||
),
|
||||
(
|
||||
"custom_height",
|
||||
"自定义高度",
|
||||
"INT",
|
||||
"0",
|
||||
"像素",
|
||||
"0~8192;0保持原尺寸或按另一维比例",
|
||||
"保存0,实际高度未知;不以保存值保证原片尺寸。",
|
||||
),
|
||||
(
|
||||
"frame_load_cap",
|
||||
"加载帧数上限",
|
||||
"INT",
|
||||
"0",
|
||||
"帧",
|
||||
"0~9007199254740991,0不设此上限",
|
||||
"两视频保存200;25由Get30外线覆盖,1无此外线。上限不是实际帧数,Get身份未知不可靠取200。",
|
||||
),
|
||||
(
|
||||
"skip_first_frames",
|
||||
"跳过起始采样帧",
|
||||
"INT",
|
||||
"0",
|
||||
"采样帧",
|
||||
"0~9007199254740991,step1",
|
||||
"1保存0、25保存200;25由24算式外线覆盖。不得计算实际起点或由文件名推时长。",
|
||||
),
|
||||
(
|
||||
"select_every_nth",
|
||||
"间隔取帧",
|
||||
"INT",
|
||||
"1",
|
||||
"采样帧间隔",
|
||||
"1~9007199254740991",
|
||||
"均保存1,采样后不再间隔抽取;仍不证明读取成功或音频同步。",
|
||||
),
|
||||
(
|
||||
"format",
|
||||
"加载格式约束",
|
||||
"COMBO",
|
||||
"AnimateDiff",
|
||||
"格式选择",
|
||||
"AnimateDiff内置,外部格式动态扩展未知",
|
||||
"保存AnimateDiff是加载约束,不是视频编码器或模型依赖;无VAE/meta_batch线,不编造模型需求。",
|
||||
),
|
||||
]:
|
||||
spec("VHS_LoadVideo", name, label, typ, default, unit, limits, effect, [load, run, reg])
|
||||
for name, label, default, limits, effect in [
|
||||
(
|
||||
"directory",
|
||||
"图片文件夹引用",
|
||||
"schema无显式默认",
|
||||
"字符串,目标目录权限/存在性未知",
|
||||
"保存E盘目录仅文本,不访问目录。活动8.IMAGE→10.images;按准确实现文件名排序、筛选、跳过和间隔,再受cap限制,不能当作分镜智能识别。",
|
||||
),
|
||||
(
|
||||
"image_load_cap",
|
||||
"文件夹图片数量上限",
|
||||
"0",
|
||||
"0~9007199254740991;0不设此上限",
|
||||
"保存0被13保存44经边20覆盖;44是上限,不保证44张。",
|
||||
),
|
||||
(
|
||||
"skip_first_images",
|
||||
"文件夹跳过图片数",
|
||||
"0",
|
||||
"0~9007199254740991",
|
||||
"保存0被6保存1126经边19覆盖;不是视频原始帧索引或精确时间。",
|
||||
),
|
||||
(
|
||||
"select_every_nth",
|
||||
"文件夹间隔取图",
|
||||
"1",
|
||||
"1~9007199254740991",
|
||||
"保存1;具体排序/图片尺寸和可用素材未核验,不访问E盘。",
|
||||
),
|
||||
]:
|
||||
spec(
|
||||
"VHS_LoadImagesPath",
|
||||
name,
|
||||
label,
|
||||
"STRING" if name == "directory" else "INT",
|
||||
default,
|
||||
"目录文本" if name == "directory" else "图片/间隔",
|
||||
limits,
|
||||
effect,
|
||||
[image, image_schema, utils, reg],
|
||||
)
|
||||
for name, label, typ, default, unit, limits, effect in [
|
||||
(
|
||||
"frame_rate",
|
||||
"合成播放帧率",
|
||||
"floatOrInt",
|
||||
"8",
|
||||
"帧/秒",
|
||||
"min1,step1,无显式max",
|
||||
"10保存30被18保存16经边23覆盖。18源JSON为int,声明输出FLOAT分开;16不是原片FPS/源时长/同步保证。",
|
||||
),
|
||||
(
|
||||
"loop_count",
|
||||
"附加循环次数",
|
||||
"INT",
|
||||
"0",
|
||||
"次",
|
||||
"0~100",
|
||||
"保存0;本H264视频分支不额外循环,不混同GIF循环。",
|
||||
),
|
||||
(
|
||||
"filename_prefix",
|
||||
"合成文件名前缀",
|
||||
"STRING",
|
||||
"AnimateDiff",
|
||||
"路径/前缀",
|
||||
"无显式长度限制,目录权限未知",
|
||||
(
|
||||
"保存video/ComfyUI被5模板外线覆盖;模板保存tmp/video/video_{"
|
||||
"var_1}-{var_2},6/13接var_1/var_2。不执行替换或证明当前文件存"
|
||||
"在。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"format",
|
||||
"合成编码格式",
|
||||
"COMBO",
|
||||
"动态格式;函数回退image/gif",
|
||||
"格式选择",
|
||||
"动态ffmpeg格式,准确包含video/h264-mp4",
|
||||
"保存H264 MP4,模板libx264;目标编码器未核验,不执行ffmpeg。",
|
||||
),
|
||||
(
|
||||
"pix_fmt",
|
||||
"像素格式",
|
||||
"COMBO",
|
||||
"yuv420p(模板首项)",
|
||||
"像素格式",
|
||||
"yuv420p/yuv420p10le",
|
||||
"保存yuv420p,不保证实际尺寸、兼容性或编码成功。",
|
||||
),
|
||||
(
|
||||
"crf",
|
||||
"恒定质量因子",
|
||||
"INT",
|
||||
"19",
|
||||
"CRF",
|
||||
"0~100,step1",
|
||||
"保存19传入-crf;不承诺固定码率/大小或效果。",
|
||||
),
|
||||
(
|
||||
"save_metadata",
|
||||
"视频元数据开关",
|
||||
"BOOLEAN",
|
||||
"true",
|
||||
"开关",
|
||||
"true/false,模板及全局条件",
|
||||
"保存false控制视频元数据;不等于没有独立首帧PNG,首帧另受VHS_MetadataImage影响。",
|
||||
),
|
||||
(
|
||||
"trim_to_audio",
|
||||
"混流裁切策略",
|
||||
"BOOLEAN",
|
||||
"false",
|
||||
"开关",
|
||||
"有效音频存在才进入混流",
|
||||
"保存false,本图10.audio未接,不能称保留原声音或自动混流;不执行编码。",
|
||||
),
|
||||
(
|
||||
"pingpong",
|
||||
"往返追加",
|
||||
"BOOLEAN",
|
||||
"false",
|
||||
"开关",
|
||||
"true/false",
|
||||
"保存false不追加逆序中间帧。",
|
||||
),
|
||||
(
|
||||
"save_output",
|
||||
"选择输出目录",
|
||||
"BOOLEAN",
|
||||
"true",
|
||||
"开关",
|
||||
"true选output,false选temp",
|
||||
"保存true选择output,前缀被外线覆盖。可能涉及视频和独立PNG;目录/权限/实际结果未知。",
|
||||
),
|
||||
]:
|
||||
spec(
|
||||
"VHS_VideoCombine",
|
||||
name,
|
||||
label,
|
||||
typ,
|
||||
default,
|
||||
unit,
|
||||
limits,
|
||||
effect,
|
||||
[combine, video, fmt, meta, reg],
|
||||
)
|
||||
for cls in ["VHS_LoadImagesPath", "VHS_LoadVideo", "VHS_VideoCombine"]:
|
||||
spec(
|
||||
cls,
|
||||
"videopreview",
|
||||
"完整历史预览对象",
|
||||
"前端嵌套对象",
|
||||
"无服务端默认",
|
||||
"历史状态",
|
||||
"完整对象,不递归增加位置",
|
||||
(
|
||||
"四对象分别原样保存。Combine历史16与当前保存30/外线16分开;旧E盘/tmp/v"
|
||||
"ideo文件、PNG或输入文件名不是当前产物证明。不请求api/view或媒体。"
|
||||
),
|
||||
[hist, js],
|
||||
"frontend_history",
|
||||
)
|
||||
for cls, typ, default in [("FloatConstant", "FLOAT", "0.0"), ("INTConstant", "INT", "0")]:
|
||||
spec(
|
||||
cls,
|
||||
"value",
|
||||
"具名常量保存值",
|
||||
typ,
|
||||
default,
|
||||
"无固有物理单位",
|
||||
"-0xffffffffffffffff~0xffffffffffffffff;FLOAT step0.00001",
|
||||
(
|
||||
"18保存16的JSON为int,schema为FLOAT;实现round(value,6)"
|
||||
"。21保存200→Set29;13保存44→8.cap及5.var_2;6保存1126→8"
|
||||
".skip及5.var_1。仅说明物理连接,不计算运行结果。"
|
||||
),
|
||||
[const],
|
||||
)
|
||||
for name in ["purge_cache", "purge_models"]:
|
||||
spec(
|
||||
"LayerUtility: PurgeVRAM",
|
||||
name,
|
||||
"显存清理保存开关",
|
||||
"BOOLEAN",
|
||||
"true",
|
||||
"开关",
|
||||
"true/false",
|
||||
(
|
||||
"28为mode4,两个值均true。准确实现无条件clear_memory;purge_c"
|
||||
"ache参数未被函数体使用,purge_models条件卸载模型并soft_empty_c"
|
||||
"ache。不要声称关闭purge_cache即可阻止清理;本轮不执行清理。"
|
||||
),
|
||||
[purge],
|
||||
)
|
||||
for cls in ["SetNode", "GetNode"]:
|
||||
spec(
|
||||
cls,
|
||||
"name",
|
||||
"具名源标签(身份未知)",
|
||||
"STRING(仅源保存态)",
|
||||
"未知:未声明提供方版本",
|
||||
"标签文本",
|
||||
"未知:不以类名绑定实现",
|
||||
"保存每批截取帧数。Set29接21,Get30到22/24的b及25.cap;两者没有可证明的具名解析关系,不能可靠取200或推算循环。",
|
||||
[],
|
||||
"identity_unknown",
|
||||
)
|
||||
spec(
|
||||
"easy forLoopStart",
|
||||
"total",
|
||||
"循环总量保存值",
|
||||
"INT",
|
||||
"1",
|
||||
"循环上限",
|
||||
"1~100000,step1",
|
||||
(
|
||||
"保存1被22外线覆盖;19.initial_value1由1.frame_count输入,"
|
||||
"非total或已计算index。准确包从索引0或hidden initial_value0"
|
||||
"开始图展开,但本图mode4且Get身份未知,不模拟循环次数/起点。"
|
||||
),
|
||||
[loop],
|
||||
"linked_saved_value",
|
||||
)
|
||||
spec(
|
||||
"MathExpression|pysssss",
|
||||
"expression",
|
||||
"原始表达式文本",
|
||||
"STRING",
|
||||
"schema无显式默认",
|
||||
"未知,随输入而定",
|
||||
"多行,dynamicPrompts=false;未声明字符串长度范围",
|
||||
(
|
||||
"22保存ceil(a / b),a来自27.loaded_frame_count、b来自G"
|
||||
"et30;24保存a*b,a来自19.index、b来自Get30,接25.skip。仅固"
|
||||
"定算式和注册语义,不求值、不推次数/分段长度。"
|
||||
),
|
||||
[math, mathschema],
|
||||
)
|
||||
for name, label, default, effect in [
|
||||
(
|
||||
"filename_prefix",
|
||||
"图片保存前缀",
|
||||
"ComfyUI",
|
||||
"保存tmp/image/ComfyUI,图像来自25;mode4,不保证产物存在。",
|
||||
),
|
||||
(
|
||||
"output_folder",
|
||||
"图片输出目录",
|
||||
"output",
|
||||
"保存空字符串;准确实现只有绝对路径走指定目录,"
|
||||
"否则走ComfyUI output及前缀路径。不把空串补成默认,不访问目录。",
|
||||
),
|
||||
(
|
||||
"caption_file_extension",
|
||||
"标注扩展名",
|
||||
".txt",
|
||||
"保存.txt但caption未接。"
|
||||
"准确实现仅caption is not None才写标注;不能声称本图输出.txt。"
|
||||
"PNG仍按图像保存路径处理。",
|
||||
),
|
||||
]:
|
||||
spec(
|
||||
"SaveImageKJ",
|
||||
name,
|
||||
label,
|
||||
"STRING",
|
||||
default,
|
||||
"文本/路径",
|
||||
"schema无显式长度限制;目录与权限未知",
|
||||
effect,
|
||||
[save],
|
||||
)
|
||||
spec(
|
||||
"Apply Text Template (mtb)",
|
||||
"template",
|
||||
"文件名前缀模板",
|
||||
"STRING",
|
||||
"空字符串",
|
||||
"模板文本",
|
||||
"多行,无显式长度范围",
|
||||
(
|
||||
"保存tmp/video/video_{var_1}-{var_2}。准确包对kwargs按"
|
||||
"{键}逐字替换;源6/13连var_1/var_2,输出到10前缀。不执行替换;原前端未声"
|
||||
"明,动态口恢复/UE次序未知。"
|
||||
),
|
||||
[template],
|
||||
)
|
||||
spec(
|
||||
"SaveAudio",
|
||||
"filename_prefix",
|
||||
"旁路音频保存前缀",
|
||||
"STRING",
|
||||
"audio/ComfyUI",
|
||||
"路径/前缀",
|
||||
"schema无显式长度范围;动态目录权限未知",
|
||||
(
|
||||
"仅保存tmp/audio一个值;audioUI是源输入口但没有第二个保存值,不补空串。1."
|
||||
"AUDIO→36且mode4,准确core SaveAudio调用FLAC输出描述符;未试"
|
||||
"听/写入,不代表10最终视频有音轨。"
|
||||
),
|
||||
[audio, audiohelper],
|
||||
)
|
||||
names = {
|
||||
"FloatConstant": ["value"],
|
||||
"INTConstant": ["value"],
|
||||
"SetNode": ["name"],
|
||||
"GetNode": ["name"],
|
||||
"LayerUtility: PurgeVRAM": ["purge_cache", "purge_models"],
|
||||
"easy forLoopStart": ["total"],
|
||||
"MathExpression|pysssss": ["expression"],
|
||||
"SaveImageKJ": ["filename_prefix", "output_folder", "caption_file_extension"],
|
||||
"Apply Text Template (mtb)": ["template"],
|
||||
"SaveAudio": ["filename_prefix"],
|
||||
}
|
||||
fields = []
|
||||
comments = []
|
||||
zeros = []
|
||||
linked = {
|
||||
(8, "image_load_cap"),
|
||||
(8, "skip_first_images"),
|
||||
(10, "frame_rate"),
|
||||
(10, "filename_prefix"),
|
||||
(1, "force_rate"),
|
||||
(25, "force_rate"),
|
||||
(25, "frame_load_cap"),
|
||||
(25, "skip_first_frames"),
|
||||
(19, "total"),
|
||||
}
|
||||
for i, n in enumerate(graph["nodes"]):
|
||||
ptr = f"/nodes/{i}/widgets_values"
|
||||
vals = n.get("widgets_values")
|
||||
if n["type"] == "Note":
|
||||
comments.append(
|
||||
dict(
|
||||
node_id=str(n["id"]),
|
||||
pointer=ptr,
|
||||
scope="root",
|
||||
text=vals[0],
|
||||
meaning="完整源注释,仅作者说明,不是执行证明。",
|
||||
)
|
||||
)
|
||||
continue
|
||||
if not vals:
|
||||
zeros.append(
|
||||
dict(
|
||||
node_id=str(n["id"]),
|
||||
class_type=n["type"],
|
||||
effect="原缺widgets_values键;提供方/版本未知,不模拟动态组开关。"
|
||||
if "widgets_values" not in n
|
||||
else "原{}零位置;不同于缺键/[]。"
|
||||
if isinstance(vals, dict)
|
||||
else "原[]零位置;不补参数。",
|
||||
)
|
||||
)
|
||||
continue
|
||||
for k, v in vals.items() if isinstance(vals, dict) else enumerate(vals):
|
||||
name = k if isinstance(vals, dict) else names[n["type"]][k]
|
||||
s = specs[n["type"], name].copy()
|
||||
if (n["id"], name) in linked:
|
||||
s["role"] = "linked_saved_value"
|
||||
fields.append(
|
||||
{
|
||||
**s,
|
||||
"node_id": str(n["id"]),
|
||||
"scope": "root",
|
||||
"class_type": n["type"],
|
||||
"pointer": ptr + "/" + str(k),
|
||||
"value": v,
|
||||
"json_type": type(v).__name__,
|
||||
"execution_note": f"原mode={n['mode']};"
|
||||
+ ("旁路,不模拟执行。" if n["mode"] == 4 else "活动保存态,不等于实际已执行。")
|
||||
+ "源声明不是目标安装证明;未构造prompt。",
|
||||
}
|
||||
)
|
||||
assert (
|
||||
len(fields) == 50
|
||||
and len(comments) == 2
|
||||
and sum(isinstance(f["value"], dict) for f in fields) == 4
|
||||
)
|
||||
overview = (
|
||||
"这张图当前把文件夹中的图片批次合成为视频,便于按分镜手动选帧后再合成。活动8文件夹→10合"
|
||||
"成,6/13常量覆盖跳过数和数量上限,18覆盖播放帧率,5模板覆盖前缀。视频抽帧/循环组m"
|
||||
"ode4旁路,不能称当前直接截取视频;音频未接合成。Set/Get身份、原前端/UE恢复、"
|
||||
"目录素材和实际效果未知;仅参考说明,转换关闭、未实跑。"
|
||||
)
|
||||
flow = [
|
||||
overview,
|
||||
(
|
||||
"活动物理链8.IMAGE→10.images;6保存1126经边19覆盖8.skip_fi"
|
||||
"rst_images,13保存44经边20覆盖8.image_load_cap。两个常量另"
|
||||
"经11/25接5.var_1/var_2;模板tmp/video/video_{var_1"
|
||||
"}-{var_2}经21覆盖10保存前缀video/ComfyUI。不访问E盘,不把目录图"
|
||||
"像称为当前直接视频截取。"
|
||||
),
|
||||
(
|
||||
"18保存16(JSON int,源出口FLOAT分开)经23覆盖10保存30,也经26接旁"
|
||||
"路1.force_rate。10无audio/VAE/meta_batch线;16不是同步"
|
||||
"或源时长保证。H264/yuv420p/crf19/save_output=true、sa"
|
||||
"ve_metadata=false/trimfalse/pingpongfalse按准确V"
|
||||
"HS1.7.7解释;元数据false不等于没有独立首帧PNG。历史预览16不当当前运行结果"
|
||||
"。"
|
||||
),
|
||||
(
|
||||
"视频组mode4:1.IMAGE空出口,frame_count→19.initial_va"
|
||||
"lue1、VHS info槽3→27;27.frame_count→22.ceil(a /"
|
||||
" b)→19.total,27.FPS→25.force_rate;19.index→24"
|
||||
".a*b→25.skip;Get30到两式b与25.cap。25.IMAGE→26.Sav"
|
||||
"eImageKJ,frame_count→20,19.flow→20→28.PurgeVR"
|
||||
"AM。只保留物理线,不模拟旁路、循环或求值。"
|
||||
),
|
||||
(
|
||||
"21保存200→Set29[每批截取帧数],Get30同名但提供方/版本均未声明,身份/解"
|
||||
"析未证,不能假定可靠取200。不开展已收敛旧别名历史调查;不推循环次数、起点或分段长度。"
|
||||
),
|
||||
(
|
||||
"1/25保存同视频名、cap200,skip0/200;25的force/skip/cap"
|
||||
"有外线覆盖。1.AUDIO→36.SaveAudio且mode4;10.audio未接,最"
|
||||
"终视频不保证声音。SaveAudio只有tmp/audio一个保存值,audioUI源口没"
|
||||
"有第二保存值,不补空串,不称已试听或写入。"
|
||||
),
|
||||
(
|
||||
"26保存tmp/image/ComfyUI、空output_folder、.txt;cap"
|
||||
"tion未接。准确KJ实现相对/空目录走output,绝对路径另处理;PNG按计数名保存,"
|
||||
"caption非None才写标注。不声称实际.txt/目录/图像存在。28准确实现无条件c"
|
||||
"lear_memory且purge_cache参数未使用,purge_models控制卸载"
|
||||
";本轮不执行显存清理。"
|
||||
),
|
||||
(
|
||||
"四个完整历史对象仅文本保留,含旧E盘与tmp/video产物、工作流PNG及输入引用;不去"
|
||||
"重、不递归凑位置,不请求api/view或媒体。Info27={}、LoopEnd20=["
|
||||
"]与Bypasser15缺键分别零保存;组匹配1|2仅源属性,不证明当前动态作用。"
|
||||
),
|
||||
(
|
||||
"根22节点24边,无子图,无frontendVersion;workflowRendere"
|
||||
"rVersion=LG不是版本。UE7.5.1/7.5.2及缺version分别保留,空连"
|
||||
"接声明不证明无回调。EasyUse1.3.4、MTB0.5.4、VHS1.7.7固定准确包"
|
||||
"字节,Git绑定未知;不借近版本。无模型节点,不编模型依赖;目标安装、目录权限、素材尺寸、"
|
||||
"实际帧率/编码器/效果待核。"
|
||||
),
|
||||
(
|
||||
"两Note31(mode4)循环次数向上取整、35(mode0)在截取的帧图像中,按照分镜"
|
||||
"头选取帧图像合成完整保留;注释不是执行证明。155完整定稿0/必要实跑0/新增转换0,保持"
|
||||
"全停用未检查。"
|
||||
),
|
||||
]
|
||||
for e in graph["links"]:
|
||||
flow.append("原边 root " + json.dumps(e, ensure_ascii=False))
|
||||
for n in graph["nodes"]:
|
||||
flow.append(
|
||||
"原节点 root "
|
||||
+ json.dumps(
|
||||
{
|
||||
k: n[k]
|
||||
for k in ["id", "type", "mode", "inputs", "outputs", "properties"]
|
||||
if k in n
|
||||
},
|
||||
ensure_ascii=False,
|
||||
)
|
||||
)
|
||||
return dict(
|
||||
source_path=path,
|
||||
source_sha1=hashlib.sha1(raw).hexdigest(),
|
||||
source_sha256=hashlib.sha256(raw).hexdigest(),
|
||||
canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),
|
||||
notice="准确版本仅参考;活动文件夹合成、视频循环旁路,身份/宿主恢复/效果未知,转换关闭、未实跑。",
|
||||
user_overview=overview,
|
||||
versions=[
|
||||
(
|
||||
"KJ79f529a84a8c20fe5dcdfa984c6be7a94102c014;La"
|
||||
"yerStyle3b17c7f488006c872f4cb3d6b37029a9464f1"
|
||||
"d7b;CustomScripts f2838ed5e59de4d73cde5c98354"
|
||||
"b87a8d3200190。"
|
||||
),
|
||||
"VHS1.7.7/EasyUse1.3.4/MTB0.5.4准确发布包SHA及成员另列,Git绑定未知,不套近版本。",
|
||||
(
|
||||
"core0.6.0准确tag→e4c61d75555036fa28b6bb34e5fd67"
|
||||
"b007c9f391;无宿主前端声明。Set/Get/Bypasser身份未知,UE版本仅"
|
||||
"源文本。"
|
||||
),
|
||||
],
|
||||
counts=dict(
|
||||
saved_fields=50,
|
||||
source_nodes=22,
|
||||
physical_edges=24,
|
||||
source_notes=2,
|
||||
history_objects=4,
|
||||
linked_saved_fields=9,
|
||||
frontend_only=4,
|
||||
final_scalars=0,
|
||||
final_prompt_constructed=False,
|
||||
),
|
||||
fields=fields,
|
||||
sources=refs,
|
||||
comments=comments,
|
||||
flow=flow,
|
||||
flow_evidence=list(range(len(refs))),
|
||||
zero_saved_nodes=zeros,
|
||||
steps=[
|
||||
overview,
|
||||
"操作1:先核活动文件夹与旁路视频分支,保持停用,不切组、不运行循环。",
|
||||
"操作2:核跳过/上限/帧率/前缀外线,保存值不是最终值或真实产物。",
|
||||
"操作3:分开读取4历史对象与2完整注释,不访问目录/视频/音频或旧预览。",
|
||||
"常见问题:合成音频未接;Set/Get不能可靠取200;.txt扩展名不保证标注写入;原前端/UE/编码器/效果待核。",
|
||||
],
|
||||
)
|
||||
@@ -0,0 +1,607 @@
|
||||
[
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"sha256": "05b717e5a181346bec26b4de00a54dcaeb63ef64ccc4463f55b4c09510f9e929",
|
||||
"purpose": "Runtime trust allowlist"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
|
||||
"sha256": "39b11527c7af466c94b351c905d11f7ffb4aefddbf00d5fcf8e35d632c29adc4",
|
||||
"purpose": "One source review block"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_storyboard_fixed_document.py",
|
||||
"sha256": "a67d742ea705f470fd91aae864a3c31dc071512589fd44104fcd73afd6cae031",
|
||||
"purpose": "Runtime trust allowlist"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/.gitignore",
|
||||
"sha256": "862263fa1f46c20f0d1e4dac5ffcc75abd55c08211b2c3864c5f8764b9d87793",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/actual-手动按分镜视频截取.json",
|
||||
"sha256": "0d16e2cc9c7964220dec148a9cac6fb4f5f42c1c3520fb133c9638d8dd85dad9",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/audit-summary.json",
|
||||
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/backend-final.txt",
|
||||
"sha256": "d6929bfd2eeec15918b11baead8605203656df041b937d5ccb7c6617e8c8a301",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/backend-initial.txt",
|
||||
"sha256": "962c220f02609551a16d423c6c9e65f6bde29e27beb57b4b99cc948c829647f0",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/backend-second.txt",
|
||||
"sha256": "a7e5e49b526b8b89af322c4048cb4956e375723af22859e088619820ad71ee0e",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/boundaries.json",
|
||||
"sha256": "23794eb349dca5be72883cda99818856d688f2d176c1d7f3691e31f4744fa531",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/bounded-investigation.json",
|
||||
"sha256": "9863a0c89cadc11b3f8bbe8eaafd131b84e4f02d4038a62d2ce103f9e6ade91e",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/browser-final.txt",
|
||||
"sha256": "9773dc1cf5657dc0d97e9142d2163232b361b6e254b2e8f45b2ae36be4ca10cc",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/browser-initial.txt",
|
||||
"sha256": "9773dc1cf5657dc0d97e9142d2163232b361b6e254b2e8f45b2ae36be4ca10cc",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/browser-results.json",
|
||||
"sha256": "6d2f6674efdb774e99e4e5bc1f6c1ac9978f9927949fb14833c39a2f271f1db0",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/build-final.txt",
|
||||
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/build-initial.txt",
|
||||
"sha256": "c00444fef525c4c1ed8a45e13530a1c95be11554e0ee19ff95f40e5dab717cee",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/build_definition.py",
|
||||
"sha256": "666c84e0664a77feac74a09aca1938f89021edcbe0eecebdaa373f3ed50cb4cc",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/check_code.py",
|
||||
"sha256": "05ac741dbf38a962748462619fc7b121477ffff8ee841c36f285c8da7a8e1967",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/definition-0.json",
|
||||
"sha256": "32490e25cd866e34a2dc69ed5d74d34c9b85b7c19be807b8f11861ea5ce0987b",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/delivery-summary.md",
|
||||
"sha256": "17b60442173df2e0c96d97261664d2f6d35f4a97cf30f599bc050d8792f4ff12",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/development-notes.txt",
|
||||
"sha256": "4cbe28052f55592ceee6cabb8488162c2b9544b03812ef3c5b23c641bf4da691",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch-additional.txt",
|
||||
"sha256": "f7c4877785814c6628661f3f19f203c01a2b7d797a6c18f927333794465ea0cf",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch-helpers-second.txt",
|
||||
"sha256": "b20deb9914f36fe21b71b38a4b3f22f36768e357af5968940b2fe1d030d04abf",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch-helpers.txt",
|
||||
"sha256": "7ea2523666f049a5a0b5116264468cd7166a03dc528596c8908cd390b7c9523d",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch-initial.txt",
|
||||
"sha256": "0ae7f343bf9fe261cf9925b90a68f7b7b56c43db050dab14cbf7f96c5e83c577",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch_additional.py",
|
||||
"sha256": "8a574c335a878b067ceb0bba2b4eb1de41a021421ae1df31d925a057cca989ee",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch_helpers.py",
|
||||
"sha256": "0fc39af917287f7b64317bdee02cec60a224507b15646ea62a80203db2c424a4",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch_sources.py",
|
||||
"sha256": "32cb42a208fc65568dba4d4877b21a1b3160ee6f6a2e8012e16a2f85ef95e386",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fixed-source-index.json",
|
||||
"sha256": "ccc192af85d76c8293c38081ea013a5ec1a7f3bad6381a3ed9bad3b92ad508c3",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/format-final.txt",
|
||||
"sha256": "811e323b70518c91fa91f39493c31d0ce553003f9104e292e404a6aa8a943320",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/frozen-resource-check.json",
|
||||
"sha256": "0ac34b45127b704bd09e1aa4f96e35172e04786d003f9f834998752080b5a65c",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/import-protection.json",
|
||||
"sha256": "b7615ed9208148a56754a391ab4757972ab88207f4d171c7144c1e564311a29d",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/lint-final.txt",
|
||||
"sha256": "f13a665b53482d1dceeb38f992ce3c317dd520fd0bfcecb96e398c69cd24f7b0",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/lint-fix.txt",
|
||||
"sha256": "713fa1fa5ae0fbad60272c3d7f734d03a6466c4063dfd1de2b46956ba8f1225f",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/lint-initial.txt",
|
||||
"sha256": "9790a8c642282002bca1c1a801200ab879873b3becdba06ebebfef2c582f76a6",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/lint-second.txt",
|
||||
"sha256": "d688e889d87d99cb223820bb5e7b5e18e5b46864411184bd46ab48fd924d35a0",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/lint-third.txt",
|
||||
"sha256": "f13a665b53482d1dceeb38f992ce3c317dd520fd0bfcecb96e398c69cd24f7b0",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/npm-ci.txt",
|
||||
"sha256": "99aec36e74054441a1e4c2ee0d37b5e5cbe2e3ce61938cf82941f876a338315b",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/package-check.json",
|
||||
"sha256": "e62bb2945250ba8b4725e80c3d5bdb7135d5ad8c2f5cbada7a30a7a7366098dd",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/pins.json",
|
||||
"sha256": "e0c12f1df962be7f927eafc7d164d4be84e7eb2ec3a03895b0ed5d160342024b",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/pr-before.json",
|
||||
"sha256": "4cef6638bc79d58002c9d99a73c00a5972d521cb0c2cbb89ea9c24ee166e0e26",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/python-check-files.json",
|
||||
"sha256": "239a4dd80fb29738593125ff6896d390a3f4b996b38b3a6c9f242354330061f4",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/rebuild-fifth.txt",
|
||||
"sha256": "48ad7af34457a07dfc0be28c86ed734ab7606c2c0ce375d0f0ae7481e9c7a722",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/rebuild-final.txt",
|
||||
"sha256": "18dda0b2b809e0653277427f2f660455944b0e3b592d8cebf3ba16edecd23d5d",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/rebuild-fourth.txt",
|
||||
"sha256": "a4bbc46c2168ee60d81fb6c92f71fe5b5a90242d477c16540223fe6e44b1500f",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/rebuild-initial.txt",
|
||||
"sha256": "27221d00c968ef1ff08cadabc8dc86f71f80918e12e872d923fef99e6bce6643",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/rebuild-second.txt",
|
||||
"sha256": "8e7bca3df85f802d6d0ba5dbf8b723dc304813a35dd98d9fc50fdd179c056873",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/rebuild-third.txt",
|
||||
"sha256": "18dda0b2b809e0653277427f2f660455944b0e3b592d8cebf3ba16edecd23d5d",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/rebuild.py",
|
||||
"sha256": "59c7cf1496c04fd82491cc7fc2f45ef1191a2234b5b03d58ac5cd4edb92301dd",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/recompute-final.txt",
|
||||
"sha256": "8c9fef075953c37bc375133ecdefb0bb479bd351b7e3b993adad8dbbd03a7299",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/recompute-initial.txt",
|
||||
"sha256": "2c0bee73e3cea5f699299dae88fab54110815e3531541e1c31880cfae79b306c",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/recompute.py",
|
||||
"sha256": "cbdc2353a594ed75104309d930da178bb151eda8d9100123718a62c7e7e42d4b",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/render_report.py",
|
||||
"sha256": "ef237655267d5c5db9501f7c5574d0465f3046ae46d274c3701da1f8727edb32",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/repeat-final.txt",
|
||||
"sha256": "1c4de890cacc8abbcb119c86e6ebbea50780922b17bc7883685bfe4e0b261a96",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/repeat.py",
|
||||
"sha256": "292f7c76a7270abcd68b659e3c67290d04224d8baf564fc08ef4367562eecde3",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/repeatability.json",
|
||||
"sha256": "aec7d476696aac1592d393c3a21da9ef754c0146d874f1dad8db999781517bb3",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/request-counts.txt",
|
||||
"sha256": "e203c3d99085c20a429a8bbbc3e27908dfc2ec4a085448b06772e526547d25d7",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/request_counts.py",
|
||||
"sha256": "16fb2ba598a5b58f0704cc4535bfdd1d6ba8ade927db81f7f48875b23b83b020",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/review-delta.json",
|
||||
"sha256": "31656c238e350310f965fef989a7666bcfffd5ddc768448e7952a418b8259da2",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/screenshots/1440-17-10-frame_rate.png",
|
||||
"sha256": "445818a95f429dc0e3ef86ce65ec4c6ebd4706988572437901b27f87fbb67dad",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/screenshots/1440-17-branch-flow.png",
|
||||
"sha256": "529701529eb35d74b3141baa749a8ddbbd2799715978d601176476bb68ae5558",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/screenshots/1440-17-default.png",
|
||||
"sha256": "951e2f836a6e307a3de24b7465cbfb484c966195bd2d92240f80a7fdc6c916f1",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/screenshots/390-17-default.png",
|
||||
"sha256": "261a9a262f842e1b8ed1a179ec41d3a2ba59f429503d5dd6fdb34b4a4a0cfe46",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/screenshots/390-17-note.png",
|
||||
"sha256": "ca1a0b8fc04a1e9105965ce85f01a9a75ea38647f53753fe9e3eaf0c59cda848",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/server-request-accounting.json",
|
||||
"sha256": "bb170694c6900edbaf3f877a317c3bbeb5693292030fc68fc3bc4f6ecb2bc823",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/service-0.txt",
|
||||
"sha256": "acaa5b18450a63814fe6a7294d6d7bf90165060d7104899d8cd9627cf5b3cf84",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/service-1.txt",
|
||||
"sha256": "64bcf8c2604af730aefcd833a87ee03c1eeb893482f3e959c5cac9522419ecb9",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/service-stop.json",
|
||||
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/source-check-final.txt",
|
||||
"sha256": "a5d638672425c889073e12539bacae24be71e215b841d705977f3642ba505bbc",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/source-check-initial.txt",
|
||||
"sha256": "bbb0fb83e09d0504f3bfb96d6c6ae3dda8a90658b743bee789b8128dea329b44",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/source-check.json",
|
||||
"sha256": "5cce46827fc2ba93bfbb034d4b756eafa560cae76fbf1e27c89e78cb63949e08",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/staged-diff-check.txt",
|
||||
"sha256": "e6120b2d885348d513978caeda67ad72eb581d5ba82b2bd554e005e8936c8e73",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/tested-files.json",
|
||||
"sha256": "0c42a7dc619fe632515131aa86e834abdbfb8227e8241bca3dac56669438108c",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/validation-commands.txt",
|
||||
"sha256": "b638145b94765a2bbeb4495639e0c657be4bd3b5653f3a791d9b87407a61246b",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/verify_sources.py",
|
||||
"sha256": "7fe93e321487c7add6ab5dfd7ee08b17782bf42cd44afaafb804e66995ae3927",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/visual-review.txt",
|
||||
"sha256": "7e1f42c0589ec39c3f0b6f6968ec14e6e9bf6743547d537421da85a19106cc8c",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/comfy-mtb-version.json",
|
||||
"sha256": "f6960f4c4f653cbcbe23679841a17ba800c94d7127e32f292c26f8e5dda30c38",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/comfyui-easy-use-version.json",
|
||||
"sha256": "4d34c973f4465e3c9b1e3321604e893bbd359eeeadd71e88a85abb4dd425d033",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core-tag.json",
|
||||
"sha256": "d83b85e246899bbf32d3f37c18fa6578ad40e220e0eef12278c0ed1a34c67402",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core-tree.json",
|
||||
"sha256": "634fe5801ce8e37b9de348d92050d9f7c55a66979abd335b3bb36a5ca167ff37",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__comfy_api__latest___io.py",
|
||||
"sha256": "9ae0d719957a3d31472d4c9de0ff9635db074e222903055bab880b26c295ed86",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__comfy_api__latest___ui.py",
|
||||
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__comfy_extras__nodes_audio.py",
|
||||
"sha256": "a77d1b33d2a445322c5b88bba1ecb4cd60a50b7fc46253ffa74db3aacb89505f",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__folder_paths.py",
|
||||
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__nodes.py",
|
||||
"sha256": "1d8eb523db6753a01a9bdd8efface14a76ff91babb2be434a98ea2a1a757b894",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/easy-package-index.json",
|
||||
"sha256": "814f9f08a44f89dfcf1007b32e9a4e5d76a99ed71ed4f06763ed2cec3b1b29f4",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/easy__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/easy____init__.py",
|
||||
"sha256": "d225b7157796aa5f015bb28bfa6cee8e3048fb810a45e988122ea3b365bdde22",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/easy__py__nodes__logic.py",
|
||||
"sha256": "9ac063949597687c1788e2015b4f2330fe986b94d394c9e8063e3e7cc798b0a1",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/easy__pyproject.toml",
|
||||
"sha256": "123745784e7e332be08f29a4fc90d96393af25262c3b4e8cfc806cfaa91799d8",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj-tree.json",
|
||||
"sha256": "90afc84358d03d3917eb94b584b616f0a1fdc213e86f388aac6745e61f22db9a",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj____init__.py",
|
||||
"sha256": "cd120dd79ee58c4b299ab03ef4ab6d0e68adfbc3df3499d9e1c22692f2ae1b0f",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj__nodes__image_nodes.py",
|
||||
"sha256": "b246133148284461f161529f9e846bb0d32420eedf990f5315f21e73f80d75d4",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj__nodes__nodes.py",
|
||||
"sha256": "9745bff6abba6229272820e8b401c909c2b33e87ca68e2bf42c946cefbf9dd30",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer-tree.json",
|
||||
"sha256": "9fda0de2cf4d0f310899bf097332cb3615c02ed32a8bb4bd19215b831b2ab230",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer__LICENSE",
|
||||
"sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer____init__.py",
|
||||
"sha256": "952d1d20b52a8d9d544c12adad99a7ab633bd7dc9db4a352972eb127e10eb4a0",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer__py__imagefunc.py",
|
||||
"sha256": "7722b4fcdb50398987bee2032fd0afe7fbe7880f142982f2bbe8dbdc774940f0",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer__py__purge_vram.py",
|
||||
"sha256": "52a910b44f5a63f3e41bc6d4b756977b5b47d2591198fd1b200c2058807dd215",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/math-tree.json",
|
||||
"sha256": "a20ac14784fbf05876201952fdbd99510a0000e4a7f0d90b42f9fbdd2eb95b43",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/math__LICENSE",
|
||||
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/math____init__.py",
|
||||
"sha256": "ced0aa0ea33f81d7d97b59b66ff0abc77b068bd17183f42480875e71708a0684",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/math__py__math_expression.py",
|
||||
"sha256": "687dca7acec29da95c5153a9a386e29450d8f42106180b46c0dfece085b44857",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb-package-index.json",
|
||||
"sha256": "64c43747e724e777b9608fdc161a09c3af82eae88466477abedf0628ab98c3dd",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__LICENSE",
|
||||
"sha256": "5f8107313a20aa2a35fd7cc877b4e526ed852e3b8ad761b19f3e4abed8508bb9",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb____init__.py",
|
||||
"sha256": "140c463336a1251e674e15623452b6d0f1c82e85d3b7e1272d32f68856b16fa6",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__log.py",
|
||||
"sha256": "ebee2327a46276b027c23ade757f22869ce1577e0996675a7f176a7ade2e0f09",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__nodes__graph_utils.py",
|
||||
"sha256": "9ffb664380050ce39885ed508722a540105e12594cc6670fb8015c7b53dcbfa7",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__pyproject.toml",
|
||||
"sha256": "d6f354766a928079ffb85d996b82bb3db517e2246e2216471aadf0a6d03f324d",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__web__comfy_shared.js",
|
||||
"sha256": "a8256d20124f1b73f5bb3544cbce320296fdb520d187665f7a8cd97123ceee58",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__web__mtb_ui.js",
|
||||
"sha256": "5d5c686d8c7646bccc8efa74ba6815d4f4a65b310cf0d3760399ec55e0fbdf67",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__web__mtb_widgets.js",
|
||||
"sha256": "fc2aa9b9d7fe493bed98341074038904cd5c994dbbfb081cbd2c8626bc731757",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__wiki__nodes__nodes-apply-text-template.md",
|
||||
"sha256": "f2926be6da3ba5ff0ab992da0ff2baf1404904561ac65867ee50a72e8428f6e8",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/sources.json",
|
||||
"sha256": "115157b8b8434684e439b8f1515b0aff5b1c307ce87b2aadccdb9d96c68acf71",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/vhs-package-index.json",
|
||||
"sha256": "3a12ff186d30171e79041cf7988ed2686e3faf99552c42cfa5ff417978db2722",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/vhs__videohelpersuite__load_images_nodes.py",
|
||||
"sha256": "275fa08acf4ee3163c6d403abea5ef7d088b0a6afbd705d9b0d55623818ffdc4",
|
||||
"purpose": "Exact upstream text/identity, never executed"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/手动分镜视频截取固定参考中文说明.md",
|
||||
"sha256": "381d30f2d20f76ac6956075a0c6a3a59d21e549338911ebf2b7628b11bbbaf3f",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "e2e/run-storyboard-document.py",
|
||||
"sha256": "ea3b1d35e662155d030900c2955fa828e8a0a25257ca11f6f12bea72171b3e96",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
},
|
||||
{
|
||||
"path": "e2e/storyboard-document.mjs",
|
||||
"sha256": "27857e8ddab373551e6801943ebc342e28eedc80c3c979680718cf8a73cb5389",
|
||||
"purpose": "Editorial verification/document/evidence"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,40 @@
|
||||
"""Check changed authored Python only; upstream originals remain byte-for-byte."""
|
||||
|
||||
import json
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
FILES = [
|
||||
"calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"calliope-backend/tests/test_storyboard_fixed_document.py",
|
||||
"e2e/run-storyboard-document.py",
|
||||
] + [str(p.relative_to(ROOT)) for p in sorted(OUT.glob("*.py"))]
|
||||
|
||||
|
||||
def main():
|
||||
for command in [["check"], ["format", "--check"]]:
|
||||
subprocess.run(
|
||||
[
|
||||
"uv",
|
||||
"run",
|
||||
"--project",
|
||||
"calliope-backend",
|
||||
"--offline",
|
||||
"ruff",
|
||||
*command,
|
||||
"--config",
|
||||
"calliope-backend/pyproject.toml",
|
||||
*FILES,
|
||||
],
|
||||
cwd=ROOT,
|
||||
check=True,
|
||||
)
|
||||
subprocess.run(["node", "--check", "e2e/storyboard-document.mjs"], cwd=ROOT, check=True)
|
||||
(OUT / "python-check-files.json").write_text(json.dumps(FILES, indent=2) + "\n")
|
||||
print("PASS", len(FILES), "authored Python files and one JS syntax check")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
本轮“手动按分镜视频截取”固定参考中文说明已接入实际doc_json、GET及既有抽屉。新增50非注释顶层保存位置(46标量+4完整历史对象)与2完整源注释;旧27图838位置+19注释、其余155审校对象逐对象不变。28图888+21仅参考展示,155完整定稿0、必要实跑0、新增转换0,全量目标未完成。
|
||||
|
||||
代码边界:原PR #25、原分支agent/agent/a64a969a6a44、base main;真实旧库基线2a82f1f4de16e6694ce800b0d51c98a47351bb24。生产只改fixed_document.py的一条显式受信路径/digest和source_reviews.json本图块。163原件、191冻结资源、28 profiles/9候选/六差分、转换/registry/output/client/worker/资格和Drawer整文件保持。case06仍排除,无新依赖/样式/执行入口。
|
||||
|
||||
具体内容:22节点24双向端点、10活动/12旁路,Info={}、LoopEnd=[]、Bypasser缺键分开。活动8文件夹图片→10合成;6保存1126覆盖8.skip,13保存44覆盖8.cap,18的JSON int16/源FLOAT分开并覆盖10保存30;5模板与var_1/var_2物理线覆盖合成前缀。视频组mode4及循环/算式仅源结构,不模拟旁路、表达式或循环,不假定Set/Get可靠取200。10无audio/VAE/meta_batch线;SaveAudio只有tmp/audio一个保存值,不补audioUI空串。SaveImageKJ空目录及caption条件、PurgeVRAM无条件clear_memory且purge_cache参数未用,均按准确实现保留限制。4完整历史对象不证明当前产物,save_metadata=false不等于无首帧PNG。两Note全文可读;无宿主前端声明、LG非版本,UE版本及身份/动态恢复未知分别保留;无模型节点,不编模型依赖。
|
||||
|
||||
来源:17准确Git文本、23准确发布包文本,共40个唯一文本;core0.6.0准确tag→e4c61d75555036fa28b6bb34e5fd67b007c9f391、四Git树固定。42条精确行号/commit/SHA引用;9个VHS1.7.7成员复用reverse-reference,另从同一准确包固定LoadImagesPath。EasyUse1.3.4、MTB0.5.4、VHS1.7.7包SHA与成员固定,Git绑定未知;不套近版本。local_file以docs/hel-892/storyboard-document-evidence为基准。bounded-investigation.json列精确集合与未知,不无限搜索历史。
|
||||
|
||||
本轮验证:296后台通过(283本图专项+13库回归),覆盖逐位置值/类型/文本摘要拒绝、身份/模式/端点、零/缺键、历史缓存/音频缺位及源绑定;真实旧代码隔离库仅1updated/154skipped/1excluded,其余154整行不变;重导155skip、回退精确恢复、再导1update;升级前后用户编辑各1conflict,29列整行保护。新155/排除1、16/139和1217/3660/294保持,停用未检查、定稿实跑时间戳空。wheel/sdist三资源字节、双次确定性、14本轮自写Python Ruff check/format与JS语法通过。开发失败与修正日志保留;历史5个后台业务失败及旧I001仅沿用证据,未机械复跑无关全套,不称全仓绿。
|
||||
|
||||
浏览:1440/390共1422检查通过(758新图+648旧27摘要+2汇总+14共享)。核50位置/2注释、默认折叠、活动/旁路/前缀帧率外线、历史和未知、焦点/迟到/重试/旧空错绑定回退/无横溢;5截图实际目验。浏览固定97+轮询10;服务固定92含就绪1+轮询10,禁止请求0,字体CSS本地拦截。finally停两服务并核8247/5173释放。最终浏览脚本随后仅更正首行计数注释,JS语法复核,逻辑和截图未改。
|
||||
|
||||
复现入口:validation-commands.txt含本图专项及完整本地检查。主要报告:source-check.json、review-delta.json、import-protection.json、package-check.json、frozen-resource-check.json、repeatability.json、browser-results.json及server-request-accounting.json;actual-手动按分镜视频截取.json为实际库导出,完整中文另附。tested-files.json给出验证输入与代码摘要;final-head.json由最终Git/PR核准后随附件交付,含完整逐文件差分与摘要。
|
||||
|
||||
剩余真实环境待办:宿主前端/UE恢复、Set/Get与Bypasser身份、目标节点安装/目录素材/真实FPS/编码器/实际效果未核。145UI仍9参考候选/136关闭。155全量完成并审核后才发布。不索取机器窗口、不连接目标、不停TTS、不启ComfyUI、不提交prompt、不执行插件/表达式/循环/清显存/模型/媒体/ffmpeg、不下载权重素材字体、不付费、不写在线库、不合并部署。交总管功能+界面一次审核,不派额度耗尽总工。
|
||||
@@ -0,0 +1,10 @@
|
||||
本轮开发非零结果全部保留,不覆盖历史日志。
|
||||
1. rebuild-initial/second/fourth/fifth:初始引用结束行超出准确文本实际行数;按原件实际行界修正,third/final通过。
|
||||
2. backend-initial:新增整库保护测试直接读取旧块comments键,旧块部分无该键;改为通过build_document核对真实source_notes合计19,不改变旧块。295通过/1失败→最终296通过。
|
||||
3. lint-initial/second:新草稿长行、缩进、导入及未用变量;仅格式化本轮自写代码并修复,third/final14文件全过;上游原件不格式化。
|
||||
4. fetch_additional初选按文件名提取,含4项非必要辅助/嵌套许可;最终收窄显式路径,来源清单移除并清理自有未引用文件,原包成员目录保留收件轨迹。
|
||||
5. fetch_helpers追加改为幂等去重;可选重取需按validation-commands所述三步,不只运行第一步。
|
||||
6. 初轮浏览成功,但来源引用细化后重跑最终浏览;最终证据只引用browser-final及复制的结果/服务日志/截图。
|
||||
7. old baseline全后台5既有业务失败及旧I001沿用既有证据,本轮未重跑无关全套,不称全仓全绿。
|
||||
8. 全差分whitespace检查非零仅准确上游原字节和保留的初始失败日志;自写代码/最终产物范围检查通过,完整诊断摘要与逐文件计数见staged-diff-check.txt。不格式化上游。
|
||||
9. 首次提交因新checkout无Git user身份失败,未产生提交;沿用原PR最近提交的leefer/hello@shengshentech.com,仅git -c单次参数,不修改全局或共享配置。
|
||||
@@ -0,0 +1 @@
|
||||
PASS 36 exact texts; package Git bindings unknown
|
||||
@@ -0,0 +1 @@
|
||||
PASS 44 texts
|
||||
@@ -0,0 +1 @@
|
||||
PASS 41 texts
|
||||
@@ -0,0 +1,5 @@
|
||||
comfyui-easy-use {"changelog":"","createdAt":"2025-10-15T13:34:43.350536Z","dependencies":["diffusers","accelerate","clip_interrogator\u003e=0.6.0","sentencepiece","lark","onnxruntime","spandrel","opencv-python-headless","matplotlib","peft"],"deprecated":false,"downloadUrl":"https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip","id":"d6cbf9fb-bb40-4d51-9559-1bac0c6c965e","node_id":"comfyui-easy-use","status":"NodeVersionStatusActive","supported_accelerators":[],"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":[],"tags":[],"version":"1.3.4"}
|
||||
|
||||
comfy-mtb {"changelog":"","createdAt":"2025-05-22T23:35:20.117593Z","dependencies":["qrcode","cachetools","onnxruntime-gpu","requirements-parserx","rembg","imageio_ffmpeg","rich","rich_argparse","matplotlib","pillow"],"deprecated":false,"downloadUrl":"https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip","id":"cee541d7-b679-4903-bd82-a15d3fc81d3d","node_id":"comfy-mtb","status":"NodeVersionStatusActive","supported_accelerators":null,"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":null,"tags":[],"version":"0.5.4"}
|
||||
|
||||
core {"ref":"refs/tags/v0.6.0","node_id":"REF_kwDOIygeJrByZWZzL3RhZ3MvdjAuNi4w","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/refs/tags/v0.6.0","object":{"sha":"e4c61d75555036fa28b6bb34e5fd67b007c9f391","type":"commit","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/e4c61d75555036fa28b6bb34e5fd67b007c9f391"}}
|
||||
@@ -0,0 +1,115 @@
|
||||
"""Bounded release members and exact core tag, no plugin execution."""
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
import zipfile
|
||||
|
||||
from fetch_sources import REF, fetch
|
||||
|
||||
|
||||
def main():
|
||||
d = json.loads((REF / "sources.json").read_bytes())
|
||||
entries = d["sources"]
|
||||
for id, key, words in [
|
||||
("comfyui-easy-use", "easy", ["logic.py", "__init__.py", "LICENSE", "pyproject.toml"]),
|
||||
("comfy-mtb", "mtb", ["text.py", "__init__.py", "LICENSE", "pyproject.toml"]),
|
||||
("comfyui-videohelpersuite", "vhs", ["load_images_nodes.py"]),
|
||||
]:
|
||||
url = (
|
||||
json.loads((REF / (id + "-version.json")).read_bytes())["downloadUrl"]
|
||||
if key != "vhs"
|
||||
else "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip"
|
||||
)
|
||||
raw = fetch(url)
|
||||
digest = hashlib.sha256(raw).hexdigest()
|
||||
if key == "vhs":
|
||||
assert digest == "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1"
|
||||
with zipfile.ZipFile(io.BytesIO(raw)) as z:
|
||||
selected = [
|
||||
n for n in z.namelist() if any(n == w or n.endswith("/" + w) for w in words)
|
||||
]
|
||||
# Root registration and only the chosen implementation.
|
||||
selected = [
|
||||
n
|
||||
for n in selected
|
||||
if n in words or n in ["py/nodes/logic.py", "videohelpersuite/load_images_nodes.py"]
|
||||
]
|
||||
(REF / (key + "-package-index.json")).write_text(
|
||||
json.dumps(
|
||||
dict(url=url, sha256=digest, members=z.namelist(), selected=selected),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
for n in selected:
|
||||
data = z.read(n)
|
||||
name = key + "__" + n.replace("/", "__")
|
||||
(REF / name).write_bytes(data)
|
||||
entries.append(
|
||||
dict(
|
||||
id=key,
|
||||
file=n,
|
||||
local_file=name,
|
||||
url=url,
|
||||
commit="发布包SHA256:" + digest,
|
||||
sha256=hashlib.sha256(data).hexdigest(),
|
||||
git_commit_binding="unknown",
|
||||
)
|
||||
)
|
||||
commit = json.loads((REF / "core-tag.json").read_bytes())["object"]["sha"]
|
||||
repo = "Comfy-Org/ComfyUI"
|
||||
raw = fetch(f"https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1")
|
||||
(REF / "core-tree.json").write_bytes(raw)
|
||||
blobs = {x["path"]: x["sha"] for x in json.loads(raw)["tree"] if x["type"] == "blob"}
|
||||
for file in ["comfy_extras/nodes_audio.py", "nodes.py", "folder_paths.py", "LICENSE"]:
|
||||
url = f"https://raw.githubusercontent.com/{repo}/{commit}/{file}"
|
||||
raw = fetch(url)
|
||||
name = "core__" + file.replace("/", "__")
|
||||
(REF / name).write_bytes(raw)
|
||||
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
assert blob == blobs[file]
|
||||
entries.append(
|
||||
dict(
|
||||
id="core",
|
||||
file=file,
|
||||
local_file=name,
|
||||
url=url,
|
||||
commit=commit,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=blob,
|
||||
)
|
||||
)
|
||||
# necessary LayerStyle helper; never import.
|
||||
e = next(e for e in entries if e["id"] == "layer")
|
||||
file = "py/imagefunc.py"
|
||||
url = e["url"].rsplit("/", 1)[0] + "/py/imagefunc.py" if e["file"] == "__init__.py" else ""
|
||||
url = (
|
||||
"https://raw.githubusercontent.com/chflame163/"
|
||||
"ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b3"
|
||||
"7029a9464f1d7b/"
|
||||
) + file
|
||||
raw = fetch(url)
|
||||
name = "layer__py__imagefunc.py"
|
||||
(REF / name).write_bytes(raw)
|
||||
tree = json.loads((REF / "layer-tree.json").read_bytes())
|
||||
blob = next(x["sha"] for x in tree["tree"] if x["path"] == file)
|
||||
assert hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest() == blob
|
||||
entries.append(
|
||||
dict(
|
||||
id="layer",
|
||||
file=file,
|
||||
local_file=name,
|
||||
url=url,
|
||||
commit=e["commit"],
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=blob,
|
||||
)
|
||||
)
|
||||
(REF / "sources.json").write_text(json.dumps(d, ensure_ascii=False, indent=2) + "\n")
|
||||
print("PASS", len(entries), "exact texts; package Git bindings unknown")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,87 @@
|
||||
"""Fetch a bounded template module and audio helper descriptor chain as text."""
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
import zipfile
|
||||
|
||||
from fetch_sources import REF, fetch
|
||||
|
||||
|
||||
def main():
|
||||
d = json.loads((REF / "sources.json").read_bytes())
|
||||
es = [
|
||||
e
|
||||
for e in d["sources"]
|
||||
if not (
|
||||
e["id"] == "mtb"
|
||||
and e["file"]
|
||||
in [
|
||||
"nodes/graph_utils.py",
|
||||
"nodes/constant.py",
|
||||
"log.py",
|
||||
"web/mtb_ui.js",
|
||||
"web/mtb_widgets.js",
|
||||
"web/comfy_shared.js",
|
||||
"wiki/nodes/nodes-apply-text-template.md",
|
||||
]
|
||||
)
|
||||
and not (
|
||||
e["id"] == "core"
|
||||
and e["file"] in ["comfy_api/latest/_ui.py", "comfy_api/latest/_io.py"]
|
||||
)
|
||||
]
|
||||
d["sources"] = es
|
||||
meta = json.loads((REF / "mtb-package-index.json").read_bytes())
|
||||
raw = fetch(meta["url"])
|
||||
assert hashlib.sha256(raw).hexdigest() == meta["sha256"]
|
||||
with zipfile.ZipFile(io.BytesIO(raw)) as z:
|
||||
for n in [
|
||||
"nodes/graph_utils.py",
|
||||
"log.py",
|
||||
"web/mtb_ui.js",
|
||||
"web/mtb_widgets.js",
|
||||
"web/comfy_shared.js",
|
||||
"wiki/nodes/nodes-apply-text-template.md",
|
||||
]:
|
||||
data = z.read(n)
|
||||
name = "mtb__" + n.replace("/", "__")
|
||||
(REF / name).write_bytes(data)
|
||||
es.append(
|
||||
dict(
|
||||
id="mtb",
|
||||
file=n,
|
||||
local_file=name,
|
||||
url=meta["url"],
|
||||
commit="发布包SHA256:" + meta["sha256"],
|
||||
sha256=hashlib.sha256(data).hexdigest(),
|
||||
git_commit_binding="unknown",
|
||||
)
|
||||
)
|
||||
commit = json.loads((REF / "core-tag.json").read_bytes())["object"]["sha"]
|
||||
tree = json.loads((REF / "core-tree.json").read_bytes())
|
||||
blobs = {x["path"]: x["sha"] for x in tree["tree"] if x["type"] == "blob"}
|
||||
for file in ["comfy_api/latest/_ui.py", "comfy_api/latest/_io.py"]:
|
||||
url = f"https://raw.githubusercontent.com/Comfy-Org/ComfyUI/{commit}/{file}"
|
||||
raw = fetch(url)
|
||||
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
assert blob == blobs[file]
|
||||
name = "core__" + file.replace("/", "__")
|
||||
(REF / name).write_bytes(raw)
|
||||
es.append(
|
||||
dict(
|
||||
id="core",
|
||||
file=file,
|
||||
local_file=name,
|
||||
url=url,
|
||||
commit=commit,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=blob,
|
||||
)
|
||||
)
|
||||
(REF / "sources.json").write_text(json.dumps(d, ensure_ascii=False, indent=2) + "\n")
|
||||
print("PASS", len(es), "texts")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,86 @@
|
||||
"""Fetch only exact textual sources, never import upstream implementations."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
REF = OUT.parent / "storyboard-reference"
|
||||
PINS = {
|
||||
"kj": (
|
||||
"kijai/ComfyUI-KJNodes",
|
||||
"79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
["__init__.py", "nodes/nodes.py", "nodes/image_nodes.py", "LICENSE"],
|
||||
),
|
||||
"layer": (
|
||||
"chflame163/ComfyUI_LayerStyle",
|
||||
"3b17c7f488006c872f4cb3d6b37029a9464f1d7b",
|
||||
["__init__.py", "py/purge_vram.py", "LICENSE"],
|
||||
),
|
||||
"math": (
|
||||
"pythongosssss/ComfyUI-Custom-Scripts",
|
||||
"f2838ed5e59de4d73cde5c98354b87a8d3200190",
|
||||
["__init__.py", "py/math_expression.py", "LICENSE"],
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
def fetch(url):
|
||||
with urllib.request.urlopen(
|
||||
urllib.request.Request(url, headers={"User-Agent": "HEL-892-text-review"}), timeout=35
|
||||
) as r:
|
||||
return r.read()
|
||||
|
||||
|
||||
def main():
|
||||
entries = []
|
||||
for key, (repo, commit, files) in PINS.items():
|
||||
tree = fetch(f"https://api.github.com/repos/{repo}/git/trees/{commit}?recursive=1")
|
||||
(REF / (key + "-tree.json")).write_bytes(tree)
|
||||
t = json.loads(tree)
|
||||
assert t["sha"] == commit and not t["truncated"]
|
||||
blobs = {x["path"]: x["sha"] for x in t["tree"] if x["type"] == "blob"}
|
||||
for file in files:
|
||||
if file not in blobs:
|
||||
print("MISSING", key, file, [p for p in blobs if "purge" in p.lower()])
|
||||
continue
|
||||
url = f"https://raw.githubusercontent.com/{repo}/{commit}/{file}"
|
||||
raw = fetch(url)
|
||||
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
assert blob == blobs[file]
|
||||
name = key + "__" + file.replace("/", "__")
|
||||
(REF / name).write_bytes(raw)
|
||||
entries.append(
|
||||
dict(
|
||||
id=key,
|
||||
file=file,
|
||||
local_file=name,
|
||||
url=url,
|
||||
commit=commit,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=blob,
|
||||
)
|
||||
)
|
||||
# Reuse exact VHS1.7.7 members only, including package hash and unknown Git binding.
|
||||
for e in json.loads((OUT.parent / "reverse-reference/sources.json").read_bytes())["sources"]:
|
||||
if e["id"] == "vhs":
|
||||
entries.append({**e, "local_file": "../reverse-reference/" + e["local_file"]})
|
||||
(REF / "sources.json").write_text(
|
||||
json.dumps({"sources": entries}, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
for id, version in [("comfyui-easy-use", "1.3.4"), ("comfy-mtb", "0.5.4")]:
|
||||
url = f"https://api.comfy.org/nodes/{id}/versions/{version}"
|
||||
try:
|
||||
raw = fetch(url)
|
||||
(REF / (id + "-version.json")).write_bytes(raw)
|
||||
print(id, raw.decode()[:1200])
|
||||
except Exception as exc:
|
||||
print(id, type(exc).__name__, str(exc))
|
||||
raw = fetch("https://api.github.com/repos/Comfy-Org/ComfyUI/git/ref/tags/v0.6.0")
|
||||
(REF / "core-tag.json").write_bytes(raw)
|
||||
print("core", raw.decode())
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,632 @@
|
||||
[
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_video_nodes.py",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__videohelpersuite__load_video_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
22,
|
||||
168
|
||||
],
|
||||
"claim": "1.7.7加载格式、采样和尺寸条件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_video_nodes.py",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__videohelpersuite__load_video_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
293,
|
||||
477
|
||||
],
|
||||
"claim": "加载实现和schema;不执行媒体"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_images_nodes.py",
|
||||
"local_file": "../storyboard-reference/vhs__videohelpersuite__load_images_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "275fa08acf4ee3163c6d403abea5ef7d088b0a6afbd705d9b0d55623818ffdc4",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
15,
|
||||
126
|
||||
],
|
||||
"claim": "目录读取、图像尺寸匹配和批次;不访问E盘"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_images_nodes.py",
|
||||
"local_file": "../storyboard-reference/vhs__videohelpersuite__load_images_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "275fa08acf4ee3163c6d403abea5ef7d088b0a6afbd705d9b0d55623818ffdc4",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
165,
|
||||
206
|
||||
],
|
||||
"claim": "路径加载具名schema,cap/skip/nth"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/utils.py",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__videohelpersuite__utils.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
137,
|
||||
155
|
||||
],
|
||||
"claim": "按文件名排序、过滤、跳过和间隔"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
234,
|
||||
420
|
||||
],
|
||||
"claim": "1.7.7合成schema、目录和首帧PNG条件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
420,
|
||||
625
|
||||
],
|
||||
"claim": "视频编码、音频条件和中间文件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "video_formats/h264-mp4.json",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__video_formats__h264-mp4.json",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
1,
|
||||
15
|
||||
],
|
||||
"claim": "H264/CRF/像素及音频模板"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
48,
|
||||
165
|
||||
],
|
||||
"claim": "格式模板、元数据参数条件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
940,
|
||||
970
|
||||
],
|
||||
"claim": "VideoInfoLoaded五出口与loaded_键"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
1020,
|
||||
1050
|
||||
],
|
||||
"claim": "VHS准确四类节点注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
41,
|
||||
168
|
||||
],
|
||||
"claim": "同包保存恢复;不证明未知宿主及UE次序"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
915,
|
||||
970
|
||||
],
|
||||
"claim": "历史预览缓存回调,非实际媒体"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "kj",
|
||||
"file": "nodes/nodes.py",
|
||||
"local_file": "../storyboard-reference/kj__nodes__nodes.py",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/79f529a84a8c20fe5dcdfa984c6be7a94102c014/nodes/nodes.py",
|
||||
"commit": "79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
"sha256": "9745bff6abba6229272820e8b401c909c2b33e87ca68e2bf42c946cefbf9dd30",
|
||||
"git_blob_sha1": "372c8518a77b20fa808de3b70736ceb8dde0092e",
|
||||
"lines": [
|
||||
31,
|
||||
59
|
||||
],
|
||||
"claim": "INTConstant与FloatConstant默认范围及舍入"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "kj",
|
||||
"file": "nodes/image_nodes.py",
|
||||
"local_file": "../storyboard-reference/kj__nodes__image_nodes.py",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/79f529a84a8c20fe5dcdfa984c6be7a94102c014/nodes/image_nodes.py",
|
||||
"commit": "79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
"sha256": "b246133148284461f161529f9e846bb0d32420eedf990f5315f21e73f80d75d4",
|
||||
"git_blob_sha1": "aac70d4770f5428a7e3f6bd9a10d50a821987199",
|
||||
"lines": [
|
||||
3235,
|
||||
3321
|
||||
],
|
||||
"claim": "SaveImageKJ目录、PNG及caption条件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "kj",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../storyboard-reference/kj____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/79f529a84a8c20fe5dcdfa984c6be7a94102c014/__init__.py",
|
||||
"commit": "79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
"sha256": "cd120dd79ee58c4b299ab03ef4ab6d0e68adfbc3df3499d9e1c22692f2ae1b0f",
|
||||
"git_blob_sha1": "2a7f73e2e801713b9d2782031cb2040dba02b819",
|
||||
"lines": [
|
||||
1,
|
||||
120
|
||||
],
|
||||
"claim": "KJ节点映射配置"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "kj",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../storyboard-reference/kj____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/79f529a84a8c20fe5dcdfa984c6be7a94102c014/__init__.py",
|
||||
"commit": "79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
"sha256": "cd120dd79ee58c4b299ab03ef4ab6d0e68adfbc3df3499d9e1c22692f2ae1b0f",
|
||||
"git_blob_sha1": "2a7f73e2e801713b9d2782031cb2040dba02b819",
|
||||
"lines": [
|
||||
232,
|
||||
246
|
||||
],
|
||||
"claim": "KJ配置生成准确注册映射"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "layer",
|
||||
"file": "py/purge_vram.py",
|
||||
"local_file": "../storyboard-reference/layer__py__purge_vram.py",
|
||||
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/py/purge_vram.py",
|
||||
"commit": "3b17c7f488006c872f4cb3d6b37029a9464f1d7b",
|
||||
"sha256": "52a910b44f5a63f3e41bc6d4b756977b5b47d2591198fd1b200c2058807dd215",
|
||||
"git_blob_sha1": "2777233ea435d3d32da7db12eda83700cae71365",
|
||||
"lines": [
|
||||
8,
|
||||
37
|
||||
],
|
||||
"claim": "PurgeVRAM默认true,clear_memory无条件、模型清理有条件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "layer",
|
||||
"file": "py/purge_vram.py",
|
||||
"local_file": "../storyboard-reference/layer__py__purge_vram.py",
|
||||
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/py/purge_vram.py",
|
||||
"commit": "3b17c7f488006c872f4cb3d6b37029a9464f1d7b",
|
||||
"sha256": "52a910b44f5a63f3e41bc6d4b756977b5b47d2591198fd1b200c2058807dd215",
|
||||
"git_blob_sha1": "2777233ea435d3d32da7db12eda83700cae71365",
|
||||
"lines": [
|
||||
72,
|
||||
80
|
||||
],
|
||||
"claim": "PurgeVRAM准确注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "layer",
|
||||
"file": "py/imagefunc.py",
|
||||
"local_file": "../storyboard-reference/layer__py__imagefunc.py",
|
||||
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/py/imagefunc.py",
|
||||
"commit": "3b17c7f488006c872f4cb3d6b37029a9464f1d7b",
|
||||
"sha256": "7722b4fcdb50398987bee2032fd0afe7fbe7880f142982f2bbe8dbdc774940f0",
|
||||
"git_blob_sha1": "f9ec0adfb653837a96802584b5ef36dfce4034ce",
|
||||
"lines": [
|
||||
2123,
|
||||
2130
|
||||
],
|
||||
"claim": "clear_memory的GC及CUDA可用条件;不执行"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "math",
|
||||
"file": "py/math_expression.py",
|
||||
"local_file": "../storyboard-reference/math__py__math_expression.py",
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/f2838ed5e59de4d73cde5c98354b87a8d3200190/py/math_expression.py",
|
||||
"commit": "f2838ed5e59de4d73cde5c98354b87a8d3200190",
|
||||
"sha256": "687dca7acec29da95c5153a9a386e29450d8f42106180b46c0dfece085b44857",
|
||||
"git_blob_sha1": "4a41655b6876a077338040b0099c4d4e8c9dbcd2",
|
||||
"lines": [
|
||||
15,
|
||||
59
|
||||
],
|
||||
"claim": "运算符及ceil函数注册;只读不求值"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "math",
|
||||
"file": "py/math_expression.py",
|
||||
"local_file": "../storyboard-reference/math__py__math_expression.py",
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/f2838ed5e59de4d73cde5c98354b87a8d3200190/py/math_expression.py",
|
||||
"commit": "f2838ed5e59de4d73cde5c98354b87a8d3200190",
|
||||
"sha256": "687dca7acec29da95c5153a9a386e29450d8f42106180b46c0dfece085b44857",
|
||||
"git_blob_sha1": "4a41655b6876a077338040b0099c4d4e8c9dbcd2",
|
||||
"lines": [
|
||||
98,
|
||||
126
|
||||
],
|
||||
"claim": "表达式schema、无显式默认及INT/FLOAT出口"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "math",
|
||||
"file": "py/math_expression.py",
|
||||
"local_file": "../storyboard-reference/math__py__math_expression.py",
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/f2838ed5e59de4d73cde5c98354b87a8d3200190/py/math_expression.py",
|
||||
"commit": "f2838ed5e59de4d73cde5c98354b87a8d3200190",
|
||||
"sha256": "687dca7acec29da95c5153a9a386e29450d8f42106180b46c0dfece085b44857",
|
||||
"git_blob_sha1": "4a41655b6876a077338040b0099c4d4e8c9dbcd2",
|
||||
"lines": [
|
||||
245,
|
||||
251
|
||||
],
|
||||
"claim": "MathExpression准确注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "easy",
|
||||
"file": "py/nodes/logic.py",
|
||||
"local_file": "../storyboard-reference/easy__py__nodes__logic.py",
|
||||
"url": "https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip",
|
||||
"commit": "发布包SHA256:75ed4b6cb1977ee678bc19c30162d69f16cd1cc1c560f3173b090e955a0f7627",
|
||||
"sha256": "9ac063949597687c1788e2015b4f2330fe986b94d394c9e8063e3e7cc798b0a1",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
800,
|
||||
903
|
||||
],
|
||||
"claim": "1.3.4循环schema、初始索引及图展开条件;不模拟循环"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "easy",
|
||||
"file": "py/nodes/logic.py",
|
||||
"local_file": "../storyboard-reference/easy__py__nodes__logic.py",
|
||||
"url": "https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip",
|
||||
"commit": "发布包SHA256:75ed4b6cb1977ee678bc19c30162d69f16cd1cc1c560f3173b090e955a0f7627",
|
||||
"sha256": "9ac063949597687c1788e2015b4f2330fe986b94d394c9e8063e3e7cc798b0a1",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
1738,
|
||||
1745
|
||||
],
|
||||
"claim": "循环准确注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "mtb",
|
||||
"file": "nodes/graph_utils.py",
|
||||
"local_file": "../storyboard-reference/mtb__nodes__graph_utils.py",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "9ffb664380050ce39885ed508722a540105e12594cc6670fb8015c7b53dcbfa7",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
113,
|
||||
141
|
||||
],
|
||||
"claim": "0.5.4模板schema及按kwargs字面替换,不计算本图结果"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "mtb",
|
||||
"file": "nodes/graph_utils.py",
|
||||
"local_file": "../storyboard-reference/mtb__nodes__graph_utils.py",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "9ffb664380050ce39885ed508722a540105e12594cc6670fb8015c7b53dcbfa7",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
870,
|
||||
882
|
||||
],
|
||||
"claim": "模板__nodes__模块列表"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "mtb",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../storyboard-reference/mtb____init__.py",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "140c463336a1251e674e15623452b6d0f1c82e85d3b7e1272d32f68856b16fa6",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
190,
|
||||
205
|
||||
],
|
||||
"claim": "MTB显示名注册规则"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "mtb",
|
||||
"file": "log.py",
|
||||
"local_file": "../storyboard-reference/mtb__log.py",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "ebee2327a46276b027c23ade757f22869ce1577e0996675a7f176a7ade2e0f09",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
77,
|
||||
87
|
||||
],
|
||||
"claim": "MTB类名去前缀及驼峰显示名"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "mtb",
|
||||
"file": "web/mtb_widgets.js",
|
||||
"local_file": "../storyboard-reference/mtb__web__mtb_widgets.js",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "fc2aa9b9d7fe493bed98341074038904cd5c994dbbfb081cbd2c8626bc731757",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
1168,
|
||||
1171
|
||||
],
|
||||
"claim": "同包模板动态var_输入恢复;未知宿主及UE次序"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "core",
|
||||
"file": "comfy_extras/nodes_audio.py",
|
||||
"local_file": "../storyboard-reference/core__comfy_extras__nodes_audio.py",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/comfy_extras/nodes_audio.py",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "a77d1b33d2a445322c5b88bba1ecb4cd60a50b7fc46253ffa74db3aacb89505f",
|
||||
"git_blob_sha1": "c7916443caedf88ec04b90695a19e29be2d9259d",
|
||||
"lines": [
|
||||
603,
|
||||
626
|
||||
],
|
||||
"claim": "SaveAudio准确扩展注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "core",
|
||||
"file": "comfy_api/latest/_ui.py",
|
||||
"local_file": "../storyboard-reference/core__comfy_api__latest___ui.py",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/comfy_api/latest/_ui.py",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
|
||||
"git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa",
|
||||
"lines": [
|
||||
27,
|
||||
76
|
||||
],
|
||||
"claim": "音频文件描述符和output目录分派"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "mtb",
|
||||
"file": "web/comfy_shared.js",
|
||||
"local_file": "../storyboard-reference/mtb__web__comfy_shared.js",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "a8256d20124f1b73f5bb3544cbce320296fdb520d187665f7a8cd97123ceee58",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
377,
|
||||
445
|
||||
],
|
||||
"claim": "模板动态连接setup与恢复回调"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "core",
|
||||
"file": "comfy_extras/nodes_audio.py",
|
||||
"local_file": "../storyboard-reference/core__comfy_extras__nodes_audio.py",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/comfy_extras/nodes_audio.py",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "a77d1b33d2a445322c5b88bba1ecb4cd60a50b7fc46253ffa74db3aacb89505f",
|
||||
"git_blob_sha1": "c7916443caedf88ec04b90695a19e29be2d9259d",
|
||||
"lines": [
|
||||
120,
|
||||
141
|
||||
],
|
||||
"claim": "core0.6.0 SaveAudio具名schema及FLAC输出调用"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "core",
|
||||
"file": "comfy_api/latest/_ui.py",
|
||||
"local_file": "../storyboard-reference/core__comfy_api__latest___ui.py",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/comfy_api/latest/_ui.py",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
|
||||
"git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa",
|
||||
"lines": [
|
||||
260,
|
||||
390
|
||||
],
|
||||
"claim": "AudioSaveHelper计数名/目录、编码和输出描述符;不读取音频"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "kj",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../storyboard-reference/kj__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/kijai/ComfyUI-KJNodes/79f529a84a8c20fe5dcdfa984c6be7a94102c014/LICENSE",
|
||||
"commit": "79f529a84a8c20fe5dcdfa984c6be7a94102c014",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"lines": [
|
||||
1,
|
||||
674
|
||||
],
|
||||
"claim": "准确提交或发布包许可原文"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "layer",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../storyboard-reference/layer__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/chflame163/ComfyUI_LayerStyle/3b17c7f488006c872f4cb3d6b37029a9464f1d7b/LICENSE",
|
||||
"commit": "3b17c7f488006c872f4cb3d6b37029a9464f1d7b",
|
||||
"sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0",
|
||||
"git_blob_sha1": "e2568121d079845a006a2935286b89d1721e9559",
|
||||
"lines": [
|
||||
1,
|
||||
21
|
||||
],
|
||||
"claim": "准确提交或发布包许可原文"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "math",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../storyboard-reference/math__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/pythongosssss/ComfyUI-Custom-Scripts/f2838ed5e59de4d73cde5c98354b87a8d3200190/LICENSE",
|
||||
"commit": "f2838ed5e59de4d73cde5c98354b87a8d3200190",
|
||||
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c",
|
||||
"git_blob_sha1": "acf31806a2507192169eca2137ea9ceb7685f51c",
|
||||
"lines": [
|
||||
1,
|
||||
21
|
||||
],
|
||||
"claim": "准确提交或发布包许可原文"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "easy",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../storyboard-reference/easy__LICENSE",
|
||||
"url": "https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip",
|
||||
"commit": "发布包SHA256:75ed4b6cb1977ee678bc19c30162d69f16cd1cc1c560f3173b090e955a0f7627",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
1,
|
||||
674
|
||||
],
|
||||
"claim": "准确提交或发布包许可原文"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "mtb",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../storyboard-reference/mtb__LICENSE",
|
||||
"url": "https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip",
|
||||
"commit": "发布包SHA256:f5e0bb7631fdfa0f858da9a121beec55ed6389b5c442ccd2a91d8866f2ea28c1",
|
||||
"sha256": "5f8107313a20aa2a35fd7cc877b4e526ed852e3b8ad761b19f3e4abed8508bb9",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
1,
|
||||
21
|
||||
],
|
||||
"claim": "准确提交或发布包许可原文"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "core",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../storyboard-reference/core__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/e4c61d75555036fa28b6bb34e5fd67b007c9f391/LICENSE",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"lines": [
|
||||
1,
|
||||
674
|
||||
],
|
||||
"claim": "准确提交或发布包许可原文"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"id": "vhs",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../storyboard-reference/../reverse-reference/vhs__LICENSE",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_commit_binding": "unknown",
|
||||
"lines": [
|
||||
1,
|
||||
674
|
||||
],
|
||||
"claim": "准确提交或发布包许可原文"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1 @@
|
||||
1 file reformatted, 13 files left unchanged
|
||||
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"base": "2a82f1f4de16e6694ce800b0d51c98a47351bb24",
|
||||
"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,69 @@
|
||||
{
|
||||
"base": "2a82f1f4de16e6694ce800b0d51c98a47351bb24",
|
||||
"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": 50,
|
||||
"new_notes": 2,
|
||||
"old_saved": 838,
|
||||
"old_notes": 19,
|
||||
"overviews": 28,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
All checks passed!
|
||||
14 files already formatted
|
||||
PASS 14 authored Python files and one JS syntax check
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,55 @@
|
||||
F841 Local variable `info` is assigned to but never used
|
||||
--> docs/hel-892/storyboard-document-evidence/build_definition.py:66:5
|
||||
|
|
||||
64 | fmt = ref("vhs", "video_formats/h264-mp4.json", 1, 15, "H264/CRF/像素及音频模板")
|
||||
65 | meta = ref("vhs", "videohelpersuite/nodes.py", 48, 165, "格式模板、元数据参数条件")
|
||||
66 | info = ref("vhs", "videohelpersuite/nodes.py", 940, 970, "VideoInfoLoaded五出口与loaded_键")
|
||||
| ^^^^
|
||||
67 | reg = ref("vhs", "videohelpersuite/nodes.py", 1020, 1050, "VHS准确四类节点注册")
|
||||
68 | js = ref("vhs", "web/js/VHS.core.js", 41, 168, "同包保存恢复;不证明未知宿主及UE次序")
|
||||
|
|
||||
help: Remove assignment to unused variable `info`
|
||||
|
||||
E501 Line too long (123 > 100)
|
||||
--> docs/hel-892/storyboard-document-evidence/build_definition.py:462:65
|
||||
|
|
||||
460 | "图片输出目录",
|
||||
461 | "output",
|
||||
462 | "保存空字符串;准确实现只有绝对路径走指定目录,否则走ComfyUI output及前缀路径。不把空串补成默认,不访问目录。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^
|
||||
463 | ),
|
||||
464 | (
|
||||
|
|
||||
|
||||
E501 Line too long (124 > 100)
|
||||
--> docs/hel-892/storyboard-document-evidence/build_definition.py:468:76
|
||||
|
|
||||
466 | "标注扩展名",
|
||||
467 | ".txt",
|
||||
468 | "保存.txt但caption未接。准确实现仅caption is not None才写标注;不能声称本图输出.txt。PNG仍按图像保存路径处理。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
469 | ),
|
||||
470 | ]:
|
||||
|
|
||||
|
||||
E501 Line too long (101 > 100)
|
||||
--> docs/hel-892/storyboard-document-evidence/fetch_additional.py:32:101
|
||||
|
|
||||
30 | n for n in z.namelist() if any(n == w or n.endswith("/" + w) for w in words)
|
||||
31 | ]
|
||||
32 | # __init__ only package root and py/nodes registration relevant to chosen implementation.
|
||||
| ^
|
||||
33 | selected = [n for n in selected if n.count("/") < 3]
|
||||
34 | (REF / (key + "-package-index.json")).write_text(
|
||||
|
|
||||
|
||||
Found 4 errors.
|
||||
No fixes available (1 hidden fix can be enabled with the `--unsafe-fixes` option).
|
||||
Traceback (most recent call last):
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/check_code.py", line 40, in <module>
|
||||
main()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/check_code.py", line 18, in main
|
||||
subprocess.run(
|
||||
File "/usr/lib/python3.10/subprocess.py", line 526, in run
|
||||
raise CalledProcessError(retcode, process.args,
|
||||
subprocess.CalledProcessError: Command '['uv', 'run', '--project', 'calliope-backend', '--offline', 'ruff', 'check', '--config', 'calliope-backend/pyproject.toml', 'calliope-backend/src/calliope/comfyui/fixed_document.py', 'calliope-backend/tests/test_storyboard_fixed_document.py', 'e2e/run-storyboard-document.py', 'docs/hel-892/storyboard-document-evidence/build_definition.py', 'docs/hel-892/storyboard-document-evidence/check_code.py', 'docs/hel-892/storyboard-document-evidence/fetch_additional.py', 'docs/hel-892/storyboard-document-evidence/fetch_helpers.py', 'docs/hel-892/storyboard-document-evidence/fetch_sources.py', 'docs/hel-892/storyboard-document-evidence/rebuild.py', 'docs/hel-892/storyboard-document-evidence/recompute.py', 'docs/hel-892/storyboard-document-evidence/render_report.py', 'docs/hel-892/storyboard-document-evidence/repeat.py', 'docs/hel-892/storyboard-document-evidence/request_counts.py', 'docs/hel-892/storyboard-document-evidence/verify_sources.py']' returned non-zero exit status 1.
|
||||
@@ -0,0 +1,3 @@
|
||||
All checks passed!
|
||||
14 files already formatted
|
||||
PASS 14 authored Python files and one JS syntax check
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
added 255 packages, and audited 256 packages in 1s
|
||||
|
||||
59 packages are looking for funding
|
||||
run `npm fund` for details
|
||||
|
||||
found 0 vulnerabilities
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"file": "fixed_document.py",
|
||||
"sha256": "05b717e5a181346bec26b4de00a54dcaeb63ef64ccc4463f55b4c09510f9e929",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 28
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "39b11527c7af466c94b351c905d11f7ffb4aefddbf00d5fcf8e35d632c29adc4",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 28
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 28
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json": "982b2326c129d00da6e1a2d0f1f843f09f3e9963cf3ac85f3d19691ef9e7b5ec"
|
||||
}
|
||||
@@ -0,0 +1,220 @@
|
||||
{
|
||||
"number": 25,
|
||||
"state": "open",
|
||||
"merged": false,
|
||||
"html_url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25",
|
||||
"head": {
|
||||
"label": "agent/agent/a64a969a6a44",
|
||||
"ref": "agent/agent/a64a969a6a44",
|
||||
"sha": "2a82f1f4de16e6694ce800b0d51c98a47351bb24",
|
||||
"repo_id": 41,
|
||||
"repo": {
|
||||
"id": 41,
|
||||
"owner": {
|
||||
"id": 1,
|
||||
"login": "leefer",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "白栖知",
|
||||
"email": "2298888111@qq.com",
|
||||
"avatar_url": "http://gitea.xbay.cc/avatars/91b54124de25997159e246521e39a411c269d223991e40f108233dd43810b64c",
|
||||
"html_url": "http://gitea.xbay.cc/leefer",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2026-07-21T22:34:43+08:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 1,
|
||||
"username": "leefer"
|
||||
},
|
||||
"name": "aigc-home",
|
||||
"full_name": "leefer/aigc-home",
|
||||
"description": "AIGC工作台",
|
||||
"empty": false,
|
||||
"private": false,
|
||||
"fork": false,
|
||||
"template": false,
|
||||
"mirror": false,
|
||||
"size": 40555,
|
||||
"language": "",
|
||||
"languages_url": "https://gitea.xbay.cc/api/v1/repos/leefer/aigc-home/languages",
|
||||
"html_url": "http://gitea.xbay.cc/leefer/aigc-home",
|
||||
"url": "https://gitea.xbay.cc/api/v1/repos/leefer/aigc-home",
|
||||
"link": "",
|
||||
"ssh_url": "ssh://git@192.168.200.36:222/leefer/aigc-home.git",
|
||||
"clone_url": "http://gitea.xbay.cc/leefer/aigc-home.git",
|
||||
"original_url": "",
|
||||
"website": "",
|
||||
"stars_count": 0,
|
||||
"forks_count": 0,
|
||||
"watchers_count": 1,
|
||||
"branch_count": 84,
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 11,
|
||||
"release_counter": 0,
|
||||
"default_branch": "main",
|
||||
"archived": false,
|
||||
"created_at": "2026-09-27T15:54:10+08:00",
|
||||
"updated_at": "2026-10-30T21:59:59+08:00",
|
||||
"archived_at": "1970-01-01T08:00:00+08:00",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": true
|
||||
},
|
||||
"has_code": true,
|
||||
"has_issues": true,
|
||||
"internal_tracker": {
|
||||
"enable_time_tracker": true,
|
||||
"allow_only_contributors_to_track_time": true,
|
||||
"enable_issue_dependencies": true
|
||||
},
|
||||
"has_wiki": true,
|
||||
"has_pull_requests": true,
|
||||
"has_projects": true,
|
||||
"projects_mode": "all",
|
||||
"has_releases": true,
|
||||
"has_packages": true,
|
||||
"has_actions": true,
|
||||
"ignore_whitespace_conflicts": false,
|
||||
"allow_merge_commits": true,
|
||||
"allow_rebase": true,
|
||||
"allow_rebase_explicit": true,
|
||||
"allow_squash_merge": true,
|
||||
"allow_fast_forward_only_merge": true,
|
||||
"allow_merge_update": true,
|
||||
"allow_rebase_update": true,
|
||||
"allow_manual_merge": false,
|
||||
"autodetect_manual_merge": false,
|
||||
"default_delete_branch_after_merge": false,
|
||||
"default_merge_style": "merge",
|
||||
"default_update_style": "merge",
|
||||
"default_allow_maintainer_edit": true,
|
||||
"avatar_url": "",
|
||||
"internal": false,
|
||||
"mirror_interval": "",
|
||||
"object_format_name": "sha1",
|
||||
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||
"mirror_last_sync_at": "0001-01-01T00:00:00Z",
|
||||
"topics": [],
|
||||
"licenses": [
|
||||
"MIT"
|
||||
]
|
||||
}
|
||||
},
|
||||
"base": {
|
||||
"label": "main",
|
||||
"ref": "main",
|
||||
"sha": "1fc8bdb8bb2a88ccace6f21a507fd77bcf22f532",
|
||||
"repo_id": 41,
|
||||
"repo": {
|
||||
"id": 41,
|
||||
"owner": {
|
||||
"id": 1,
|
||||
"login": "leefer",
|
||||
"login_name": "",
|
||||
"source_id": 0,
|
||||
"full_name": "白栖知",
|
||||
"email": "2298888111@qq.com",
|
||||
"avatar_url": "http://gitea.xbay.cc/avatars/91b54124de25997159e246521e39a411c269d223991e40f108233dd43810b64c",
|
||||
"html_url": "http://gitea.xbay.cc/leefer",
|
||||
"language": "",
|
||||
"is_admin": false,
|
||||
"last_login": "0001-01-01T00:00:00Z",
|
||||
"created": "2026-07-21T22:34:43+08:00",
|
||||
"restricted": false,
|
||||
"active": false,
|
||||
"prohibit_login": false,
|
||||
"location": "",
|
||||
"website": "",
|
||||
"description": "",
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 1,
|
||||
"username": "leefer"
|
||||
},
|
||||
"name": "aigc-home",
|
||||
"full_name": "leefer/aigc-home",
|
||||
"description": "AIGC工作台",
|
||||
"empty": false,
|
||||
"private": false,
|
||||
"fork": false,
|
||||
"template": false,
|
||||
"mirror": false,
|
||||
"size": 40555,
|
||||
"language": "",
|
||||
"languages_url": "https://gitea.xbay.cc/api/v1/repos/leefer/aigc-home/languages",
|
||||
"html_url": "http://gitea.xbay.cc/leefer/aigc-home",
|
||||
"url": "https://gitea.xbay.cc/api/v1/repos/leefer/aigc-home",
|
||||
"link": "",
|
||||
"ssh_url": "ssh://git@192.168.200.36:222/leefer/aigc-home.git",
|
||||
"clone_url": "http://gitea.xbay.cc/leefer/aigc-home.git",
|
||||
"original_url": "",
|
||||
"website": "",
|
||||
"stars_count": 0,
|
||||
"forks_count": 0,
|
||||
"watchers_count": 1,
|
||||
"branch_count": 84,
|
||||
"open_issues_count": 0,
|
||||
"open_pr_counter": 11,
|
||||
"release_counter": 0,
|
||||
"default_branch": "main",
|
||||
"archived": false,
|
||||
"created_at": "2026-09-27T15:54:10+08:00",
|
||||
"updated_at": "2026-10-30T21:59:59+08:00",
|
||||
"archived_at": "1970-01-01T08:00:00+08:00",
|
||||
"permissions": {
|
||||
"admin": false,
|
||||
"push": false,
|
||||
"pull": true
|
||||
},
|
||||
"has_code": true,
|
||||
"has_issues": true,
|
||||
"internal_tracker": {
|
||||
"enable_time_tracker": true,
|
||||
"allow_only_contributors_to_track_time": true,
|
||||
"enable_issue_dependencies": true
|
||||
},
|
||||
"has_wiki": true,
|
||||
"has_pull_requests": true,
|
||||
"has_projects": true,
|
||||
"projects_mode": "all",
|
||||
"has_releases": true,
|
||||
"has_packages": true,
|
||||
"has_actions": true,
|
||||
"ignore_whitespace_conflicts": false,
|
||||
"allow_merge_commits": true,
|
||||
"allow_rebase": true,
|
||||
"allow_rebase_explicit": true,
|
||||
"allow_squash_merge": true,
|
||||
"allow_fast_forward_only_merge": true,
|
||||
"allow_merge_update": true,
|
||||
"allow_rebase_update": true,
|
||||
"allow_manual_merge": false,
|
||||
"autodetect_manual_merge": false,
|
||||
"default_delete_branch_after_merge": false,
|
||||
"default_merge_style": "merge",
|
||||
"default_update_style": "merge",
|
||||
"default_allow_maintainer_edit": true,
|
||||
"avatar_url": "",
|
||||
"internal": false,
|
||||
"mirror_interval": "",
|
||||
"object_format_name": "sha1",
|
||||
"mirror_updated": "0001-01-01T00:00:00Z",
|
||||
"mirror_last_sync_at": "0001-01-01T00:00:00Z",
|
||||
"topics": [],
|
||||
"licenses": [
|
||||
"MIT"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
[
|
||||
"calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"calliope-backend/tests/test_storyboard_fixed_document.py",
|
||||
"e2e/run-storyboard-document.py",
|
||||
"docs/hel-892/storyboard-document-evidence/build_definition.py",
|
||||
"docs/hel-892/storyboard-document-evidence/check_code.py",
|
||||
"docs/hel-892/storyboard-document-evidence/fetch_additional.py",
|
||||
"docs/hel-892/storyboard-document-evidence/fetch_helpers.py",
|
||||
"docs/hel-892/storyboard-document-evidence/fetch_sources.py",
|
||||
"docs/hel-892/storyboard-document-evidence/rebuild.py",
|
||||
"docs/hel-892/storyboard-document-evidence/recompute.py",
|
||||
"docs/hel-892/storyboard-document-evidence/render_report.py",
|
||||
"docs/hel-892/storyboard-document-evidence/repeat.py",
|
||||
"docs/hel-892/storyboard-document-evidence/request_counts.py",
|
||||
"docs/hel-892/storyboard-document-evidence/verify_sources.py"
|
||||
]
|
||||
@@ -0,0 +1,12 @@
|
||||
Traceback (most recent call last):
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 64, in <module>
|
||||
main()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 28, in main
|
||||
reviews, previous = build_all()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 19, in build_all
|
||||
block = build(i)
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/build_definition.py", line 53, in build
|
||||
ref('core','comfy_extras/nodes_audio.py',603,628,'SaveAudio准确扩展注册')
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/build_definition.py", line 20, in ref
|
||||
assert 1<=first<=last<=len(data.decode().splitlines())
|
||||
AssertionError
|
||||
@@ -0,0 +1 @@
|
||||
PASS one definition; other 155 reviews and old 27 blocks unchanged
|
||||
@@ -0,0 +1,12 @@
|
||||
Traceback (most recent call last):
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 64, in <module>
|
||||
main()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 28, in main
|
||||
reviews, previous = build_all()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 19, in build_all
|
||||
block = build(i)
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/build_definition.py", line 53, in build
|
||||
ref('core','comfy_extras/nodes_audio.py',603,630,'SaveAudio准确扩展注册')
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/build_definition.py", line 20, in ref
|
||||
assert 1<=first<=last<=len(data.decode().splitlines())
|
||||
AssertionError
|
||||
@@ -0,0 +1,12 @@
|
||||
Traceback (most recent call last):
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 64, in <module>
|
||||
main()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 28, in main
|
||||
reviews, previous = build_all()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 19, in build_all
|
||||
block = build(i)
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/build_definition.py", line 26, in build
|
||||
image_schema=ref('vhs','videohelpersuite/load_images_nodes.py',165,211,'路径加载具名schema,cap/skip/nth')
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/build_definition.py", line 20, in ref
|
||||
assert 1<=first<=last<=len(data.decode().splitlines())
|
||||
AssertionError
|
||||
@@ -0,0 +1,12 @@
|
||||
Traceback (most recent call last):
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 64, in <module>
|
||||
main()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 28, in main
|
||||
reviews, previous = build_all()
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/rebuild.py", line 19, in build_all
|
||||
block = build(i)
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/build_definition.py", line 40, in build
|
||||
ref('layer','py/purge_vram.py',76,84,'PurgeVRAM准确注册')
|
||||
File "/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-fcd4d0ccc2ab/workdir/aigc-home/docs/hel-892/storyboard-document-evidence/build_definition.py", line 20, in ref
|
||||
assert 1<=first<=last<=len(data.decode().splitlines())
|
||||
AssertionError
|
||||
@@ -0,0 +1 @@
|
||||
PASS one definition; other 155 reviews and old 27 blocks unchanged
|
||||
@@ -0,0 +1,64 @@
|
||||
"Add one reviewed definition; preserve every other review object exactly."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
from build_definition import OUT, PATHS, REPO, build, canonical
|
||||
|
||||
BASE = "2a82f1f4de16e6694ce800b0d51c98a47351bb24"
|
||||
RESOURCE = "calliope-backend/src/calliope/comfyui/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"
|
||||
)
|
||||
# Explicit maintenance of the code-owned allowlist, never trust runtime caller digests.
|
||||
module = REPO / ("calliope-backend/src/calliope/comfyui/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 + 40]) + "\n" for i in range(0, len(path), 40)
|
||||
)
|
||||
+ " ): "
|
||||
+ repr(digest)
|
||||
+ ",",
|
||||
)
|
||||
module.write_text(text)
|
||||
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
|
||||
print(("PASS one definition; other 155 reviews and old 27 blocks unchanged"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS exact identities, bytes and lines {'git_texts': 17, 'package_texts': 23}
|
||||
PASS actual 2a82f1f upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 28 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS exact identities, bytes and lines {'git_texts': 17, 'package_texts': 27}
|
||||
PASS actual 2a82f1f upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 28 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,330 @@
|
||||
"Actual 2a82f1f upgrade, one-row protection/rollback, frozen boundaries and packages."
|
||||
|
||||
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
|
||||
|
||||
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 build --project calliop"
|
||||
"e-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) == 27
|
||||
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()) == 838
|
||||
for p, d in DEFINITIONS.items():
|
||||
assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d
|
||||
write(
|
||||
"review-delta.json",
|
||||
dict(
|
||||
base=BASE,
|
||||
changed_paths=PATHS,
|
||||
other_reviews_unchanged=155,
|
||||
old_blocks_unchanged=27,
|
||||
old_saved=838,
|
||||
old_notes=19,
|
||||
new_saved=50,
|
||||
new_notes=2,
|
||||
total_documents=28,
|
||||
total_saved=888,
|
||||
total_notes=21,
|
||||
),
|
||||
)
|
||||
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/manifest.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" 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 description=? 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(dict(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")
|
||||
assert without["steps"] == old_doc["steps"][:-3] + fixed["steps"]
|
||||
without["steps"] = old_doc["steps"]
|
||||
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
|
||||
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",
|
||||
dict(
|
||||
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=50,
|
||||
new_notes=2,
|
||||
old_saved=838,
|
||||
old_notes=19,
|
||||
overviews=28,
|
||||
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")
|
||||
assert current == old_reviews
|
||||
boundaries = json.loads(
|
||||
(REPO / ("docs/hel-892/h3-document-evidence/unchanged-boundaries.json")).read_bytes()
|
||||
)
|
||||
paths = (
|
||||
[f["path"] for f in boundaries["files"]]
|
||||
+ boundaries["frozen_conversion_and_audits"]
|
||||
+ ["calliope-backend/src/calliope/comfyui/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(dict(path=p, sha256=hashlib.sha256(raw).hexdigest()))
|
||||
ui = "calliope-web/src/lib/components/WorkflowDocumentDrawer.svelte"
|
||||
drawer_bytes = (REPO / ui).read_bytes()
|
||||
assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO)
|
||||
|
||||
write(
|
||||
"boundaries.json",
|
||||
dict(
|
||||
base=BASE,
|
||||
files=kept,
|
||||
originals=163,
|
||||
old_twenty_seven_blocks_unchanged=True,
|
||||
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("\0")
|
||||
.split("\0")
|
||||
)
|
||||
frozen = [
|
||||
p
|
||||
for p in tracked
|
||||
if p.startswith(("example_ComfyUI_workflows/", "docs/hel-892/supplied-api/"))
|
||||
or p.startswith("calliope-backend/src/calliope/comfyui/")
|
||||
and p not in [RESOURCE, ("calliope-backend/src/calliope/comfyui/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",
|
||||
dict(
|
||||
base=BASE,
|
||||
files=[
|
||||
dict(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/comfyui" / 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(
|
||||
dict(
|
||||
file=name,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
wheel=True,
|
||||
sdist=True,
|
||||
definitions=28,
|
||||
)
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(
|
||||
"PASS actual 2a82f1f upgrade1/skip154, repe"
|
||||
"at155, rollback1, edits1/29cols, fresh155,"
|
||||
" 1217/3660/294, 28 definitions, frozen bou"
|
||||
"ndaries, wheel/sdist"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,114 @@
|
||||
"Readable complete Chinese definitions and fixed source index from delivered data."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def main():
|
||||
lines = [
|
||||
"# 手动分镜视频截取固定参考中文说明",
|
||||
"",
|
||||
"新增50非注释位置+2完整源注释;旧27图838位置+19注释逐对象不变。28图888+21仅参考展示。155完整定稿0/实跑0/新增转换0。",
|
||||
"",
|
||||
(
|
||||
"来源local_file以docs/hel-892/storyboard-document"
|
||||
"-evidence为基准;源SHA/全图摘要/定义摘要绑定;不加载上游代码、媒体或链接。"
|
||||
),
|
||||
"",
|
||||
]
|
||||
index = []
|
||||
for i in range(1):
|
||||
b = json.loads((OUT / f"definition-{i}.json").read_bytes())
|
||||
lines += [
|
||||
"## " + Path(b["source_path"]).stem,
|
||||
"",
|
||||
b["user_overview"],
|
||||
"",
|
||||
b["notice"],
|
||||
"",
|
||||
"源路径:`" + b["source_path"] + "`",
|
||||
"",
|
||||
"SHA1:" + b["source_sha1"],
|
||||
"",
|
||||
"原字节SHA256:" + b["source_sha256"],
|
||||
"",
|
||||
"规范全图SHA256:" + b["canonical_sha256"],
|
||||
"",
|
||||
*[v + "\n" for v in b["versions"]],
|
||||
"### 具体连线与处理条件",
|
||||
"",
|
||||
*[v + "\n" for v in b["flow"]],
|
||||
"### 使用与核对",
|
||||
"",
|
||||
*[v + "\n" for v in b["steps"]],
|
||||
"### 逐保存位置说明",
|
||||
"",
|
||||
]
|
||||
for j, f in enumerate(b["fields"], 1):
|
||||
lines += [
|
||||
f"#### {j}. 节点{f['node_id']} · {f['label']}({f['field']})",
|
||||
"",
|
||||
f["effect"],
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
f"类:{f['class_type']};JSON类型:{f['json_type']};角色:{f['role']}。",
|
||||
"",
|
||||
"源位置:`" + f["pointer"] + "`",
|
||||
"",
|
||||
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
|
||||
"",
|
||||
"范围/条件:" + f["limits"],
|
||||
"",
|
||||
f["execution_note"],
|
||||
"",
|
||||
"依据:",
|
||||
]
|
||||
for k in f["evidence"]:
|
||||
e = b["sources"][k]
|
||||
lines += [
|
||||
f"- [{k}] {e['claim']};{e['file']} {e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"commit {e['commit']};SHA256 {e['sha256']};{e['url']}"
|
||||
]
|
||||
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"],
|
||||
"",
|
||||
"```text",
|
||||
n["text"],
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
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']};{e['file']} 第{e['lines'][0]}~{e['lines'][1]}行;"
|
||||
f"提交{e['commit']};SHA256 {e['sha256']};{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 @@
|
||||
PASS deterministic definitions and rendered artifacts: zero difference
|
||||
@@ -0,0 +1,42 @@
|
||||
"Compare deterministic definitions and rendered artifacts without repeating unrelated tests."
|
||||
|
||||
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(
|
||||
dict(
|
||||
definitions=28,
|
||||
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 and rendered artifacts: zero difference"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"definitions": 28,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_render_equal": true,
|
||||
"resource_sha256": "87c08f7a056743ac3fc62162d5bca9c4b99c8882f3aae903debc158a78005fee",
|
||||
"artifacts": {
|
||||
"fixed-source-index.json": "ccc192af85d76c8293c38081ea013a5ec1a7f3bad6381a3ed9bad3b92ad508c3",
|
||||
"手动分镜视频截取固定参考中文说明.md": "381d30f2d20f76ac6956075a0c6a3a59d21e549338911ebf2b7628b11bbbaf3f"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"total": 102, "fixed_count": 92, "polling_count": 10, "paths": {"/api/workflows": 3, "/api/workflows/17": 4, "/api/workflows/4": 4, "/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/jobs": 10, "/api/settings": 1, "/api/workflows/156": 1, "/api/workflows/157": 1}, "readiness_included": 1, "reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。"}
|
||||
@@ -0,0 +1,39 @@
|
||||
"""Count actual local server GETs separately from browser intercepted requests."""
|
||||
|
||||
import collections
|
||||
import json
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def main():
|
||||
text = (OUT / "service-0.txt").read_text()
|
||||
gets = re.findall(r'"GET ([^ ]+) HTTP/', text)
|
||||
polling = [p for p in gets if p in ["/api/jobs", "/api/events"]]
|
||||
result = dict(
|
||||
total=len(gets),
|
||||
fixed_count=len(gets) - len(polling),
|
||||
polling_count=len(polling),
|
||||
paths=dict(collections.Counter(gets)),
|
||||
readiness_included=1,
|
||||
reason=(
|
||||
"就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,"
|
||||
"服务日志只含真正到后端者,不机械等同。"
|
||||
"轮询可随计时边界±1,禁止请求始终零容忍。"
|
||||
),
|
||||
)
|
||||
browser = json.loads((OUT / "browser-results.json").read_bytes())
|
||||
assert browser["errors"] == []
|
||||
assert all(r["method"] == "GET" for r in browser["requests"])
|
||||
assert all(not p.startswith("/api/view") for p in gets)
|
||||
assert abs(result["polling_count"] - browser["request_accounting"]["polling_count"]) <= 1
|
||||
(OUT / "server-request-accounting.json").write_text(
|
||||
json.dumps(result, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print(json.dumps(result, ensure_ascii=False))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"base": "2a82f1f4de16e6694ce800b0d51c98a47351bb24",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json"
|
||||
],
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 27,
|
||||
"old_saved": 838,
|
||||
"old_notes": 19,
|
||||
"new_saved": 50,
|
||||
"new_notes": 2,
|
||||
"total_documents": 28,
|
||||
"total_saved": 888,
|
||||
"total_notes": 21
|
||||
}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 294 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 402 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 282 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 94 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 95 KiB |
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"total": 102,
|
||||
"fixed_count": 92,
|
||||
"polling_count": 10,
|
||||
"paths": {
|
||||
"/api/workflows": 3,
|
||||
"/api/workflows/17": 4,
|
||||
"/api/workflows/4": 4,
|
||||
"/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/jobs": 10,
|
||||
"/api/settings": 1,
|
||||
"/api/workflows/156": 1,
|
||||
"/api/workflows/157": 1
|
||||
},
|
||||
"readiness_included": 1,
|
||||
"reason": "就绪GET单列1;浏览记录含Node直连及Playwright本地拦截的GET,服务日志只含真正到后端者,不机械等同。轮询可随计时边界±1,禁止请求始终零容忍。"
|
||||
}
|
||||
@@ -0,0 +1,111 @@
|
||||
INFO: Started server process [692997]
|
||||
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:35390 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35404 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35392 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35422 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:35412 - "GET /api/settings HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35426 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35430 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:35446 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44878 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44884 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44898 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44910 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44920 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44930 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44934 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44944 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44948 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44960 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44970 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44986 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44996 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45008 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45024 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51330 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51332 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51344 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51352 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51366 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51380 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51384 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51386 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51396 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51412 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51428 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51436 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51442 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51452 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51462 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:51470 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:51472 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:37942 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37954 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37956 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37970 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37986 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:37998 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:38012 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38020 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38032 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:38038 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38050 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38054 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38064 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38072 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38074 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38084 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38096 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38100 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38108 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38110 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:38118 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56424 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56434 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56446 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56458 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56462 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56470 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56482 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56494 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56502 - "GET /api/workflows/156 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56518 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:56526 - "GET /api/workflows/157 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56540 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:56546 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:56562 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [692997]
|
||||
@@ -0,0 +1,4 @@
|
||||
|
||||
VITE v6.4.3 ready in 274 ms
|
||||
|
||||
➜ Local: http://127.0.0.1:5173/
|
||||
@@ -0,0 +1 @@
|
||||
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
|
||||
@@ -0,0 +1 @@
|
||||
PASS exact identities, bytes and lines {'git_texts': 17, 'package_texts': 23}
|
||||
@@ -0,0 +1 @@
|
||||
PASS exact identities, bytes and lines {'git_texts': 17, 'package_texts': 27}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"git_texts": 17,
|
||||
"package_texts": 23,
|
||||
"citations": 42,
|
||||
"tag": "refs/tags/v0.6.0",
|
||||
"commit": "e4c61d75555036fa28b6bb34e5fd67b007c9f391",
|
||||
"package_git_binding": "unknown",
|
||||
"all_pass": true,
|
||||
"local_file_base": "docs/hel-892/storyboard-document-evidence"
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"full_exit": 2,
|
||||
"full_diagnostics_sha256": "6797c3eee6ff0deca3c42ee4c14ca27153ed7a8b0d7360e9a89cc1f424afc445",
|
||||
"original_and_preserved_initial_log_issues": {
|
||||
"docs/hel-892/storyboard-document-evidence/backend-initial.txt": 2,
|
||||
"docs/hel-892/storyboard-reference/easy____init__.py": 1,
|
||||
"docs/hel-892/storyboard-reference/easy__py__nodes__logic.py": 1,
|
||||
"docs/hel-892/storyboard-reference/kj__nodes__image_nodes.py": 322,
|
||||
"docs/hel-892/storyboard-reference/kj__nodes__nodes.py": 179,
|
||||
"docs/hel-892/storyboard-reference/layer____init__.py": 48,
|
||||
"docs/hel-892/storyboard-reference/layer__py__imagefunc.py": 2553,
|
||||
"docs/hel-892/storyboard-reference/math__py__math_expression.py": 1,
|
||||
"docs/hel-892/storyboard-reference/vhs__videohelpersuite__load_images_nodes.py": 5
|
||||
},
|
||||
"authored_scope_exit": 0,
|
||||
"authored_scope_output": "",
|
||||
"reason": "Exact upstream bytes and preserved initial failure output remain untouched; authored source and final outputs checked separately."
|
||||
}
|
||||
@@ -0,0 +1,269 @@
|
||||
{
|
||||
"scope": "Final verification inputs, authored code, exact upstream text and metadata identities; this is a byte manifest, not a claim that upstream code was executed.",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"sha256": "05b717e5a181346bec26b4de00a54dcaeb63ef64ccc4463f55b4c09510f9e929"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
|
||||
"sha256": "39b11527c7af466c94b351c905d11f7ffb4aefddbf00d5fcf8e35d632c29adc4"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_storyboard_fixed_document.py",
|
||||
"sha256": "a67d742ea705f470fd91aae864a3c31dc071512589fd44104fcd73afd6cae031"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_workflow_library.py",
|
||||
"sha256": "e8dc9acd466cad8f057770962e7830cb2b56a4a6bc534bd581f1e19f514dc057"
|
||||
},
|
||||
{
|
||||
"path": "calliope-web/src/lib/components/WorkflowDocumentDrawer.svelte",
|
||||
"sha256": "3e3c7602bae3a031e7fb1c38792f8ba5a1f37172e7b8850d304502ea1be010c1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/reverse-reference/vhs__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/reverse-reference/vhs____init__.py",
|
||||
"sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/reverse-reference/vhs__pyproject.toml",
|
||||
"sha256": "10c69eeae93c21cdfc22cb63f39ba4ce83bcd459725fcf6beb0298276541a1c2"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/reverse-reference/vhs__video_formats__h264-mp4.json",
|
||||
"sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/reverse-reference/vhs__videohelpersuite__load_video_nodes.py",
|
||||
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/reverse-reference/vhs__videohelpersuite__nodes.py",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/reverse-reference/vhs__videohelpersuite__utils.py",
|
||||
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/reverse-reference/vhs__web__js__VHS.core.js",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/reverse-reference/vhs__web__js__videoinfo.js",
|
||||
"sha256": "29db4800fe2b86303619bd1768b97aabdad0fe300db93da7135bdffa43f07970"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/build_definition.py",
|
||||
"sha256": "666c84e0664a77feac74a09aca1938f89021edcbe0eecebdaa373f3ed50cb4cc"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/check_code.py",
|
||||
"sha256": "05ac741dbf38a962748462619fc7b121477ffff8ee841c36f285c8da7a8e1967"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch_additional.py",
|
||||
"sha256": "8a574c335a878b067ceb0bba2b4eb1de41a021421ae1df31d925a057cca989ee"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch_helpers.py",
|
||||
"sha256": "0fc39af917287f7b64317bdee02cec60a224507b15646ea62a80203db2c424a4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/fetch_sources.py",
|
||||
"sha256": "32cb42a208fc65568dba4d4877b21a1b3160ee6f6a2e8012e16a2f85ef95e386"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/rebuild.py",
|
||||
"sha256": "59c7cf1496c04fd82491cc7fc2f45ef1191a2234b5b03d58ac5cd4edb92301dd"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/recompute.py",
|
||||
"sha256": "cbdc2353a594ed75104309d930da178bb151eda8d9100123718a62c7e7e42d4b"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/render_report.py",
|
||||
"sha256": "ef237655267d5c5db9501f7c5574d0465f3046ae46d274c3701da1f8727edb32"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/repeat.py",
|
||||
"sha256": "292f7c76a7270abcd68b659e3c67290d04224d8baf564fc08ef4367562eecde3"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/request_counts.py",
|
||||
"sha256": "16fb2ba598a5b58f0704cc4535bfdd1d6ba8ade927db81f7f48875b23b83b020"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-document-evidence/verify_sources.py",
|
||||
"sha256": "7fe93e321487c7add6ab5dfd7ee08b17782bf42cd44afaafb804e66995ae3927"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core-tag.json",
|
||||
"sha256": "d83b85e246899bbf32d3f37c18fa6578ad40e220e0eef12278c0ed1a34c67402"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core-tree.json",
|
||||
"sha256": "634fe5801ce8e37b9de348d92050d9f7c55a66979abd335b3bb36a5ca167ff37"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__comfy_api__latest___io.py",
|
||||
"sha256": "9ae0d719957a3d31472d4c9de0ff9635db074e222903055bab880b26c295ed86"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__comfy_api__latest___ui.py",
|
||||
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__comfy_extras__nodes_audio.py",
|
||||
"sha256": "a77d1b33d2a445322c5b88bba1ecb4cd60a50b7fc46253ffa74db3aacb89505f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__folder_paths.py",
|
||||
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/core__nodes.py",
|
||||
"sha256": "1d8eb523db6753a01a9bdd8efface14a76ff91babb2be434a98ea2a1a757b894"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/easy__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/easy____init__.py",
|
||||
"sha256": "d225b7157796aa5f015bb28bfa6cee8e3048fb810a45e988122ea3b365bdde22"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/easy__py__nodes__logic.py",
|
||||
"sha256": "9ac063949597687c1788e2015b4f2330fe986b94d394c9e8063e3e7cc798b0a1"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/easy__pyproject.toml",
|
||||
"sha256": "123745784e7e332be08f29a4fc90d96393af25262c3b4e8cfc806cfaa91799d8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj-tree.json",
|
||||
"sha256": "90afc84358d03d3917eb94b584b616f0a1fdc213e86f388aac6745e61f22db9a"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj__LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj____init__.py",
|
||||
"sha256": "cd120dd79ee58c4b299ab03ef4ab6d0e68adfbc3df3499d9e1c22692f2ae1b0f"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj__nodes__image_nodes.py",
|
||||
"sha256": "b246133148284461f161529f9e846bb0d32420eedf990f5315f21e73f80d75d4"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/kj__nodes__nodes.py",
|
||||
"sha256": "9745bff6abba6229272820e8b401c909c2b33e87ca68e2bf42c946cefbf9dd30"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer-tree.json",
|
||||
"sha256": "9fda0de2cf4d0f310899bf097332cb3615c02ed32a8bb4bd19215b831b2ab230"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer__LICENSE",
|
||||
"sha256": "5db9f53ef698ae099810ef003ef0668f644ebf4ffc041d5a2fffdaafc81569b0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer____init__.py",
|
||||
"sha256": "952d1d20b52a8d9d544c12adad99a7ab633bd7dc9db4a352972eb127e10eb4a0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer__py__imagefunc.py",
|
||||
"sha256": "7722b4fcdb50398987bee2032fd0afe7fbe7880f142982f2bbe8dbdc774940f0"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/layer__py__purge_vram.py",
|
||||
"sha256": "52a910b44f5a63f3e41bc6d4b756977b5b47d2591198fd1b200c2058807dd215"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/math-tree.json",
|
||||
"sha256": "a20ac14784fbf05876201952fdbd99510a0000e4a7f0d90b42f9fbdd2eb95b43"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/math__LICENSE",
|
||||
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/math____init__.py",
|
||||
"sha256": "ced0aa0ea33f81d7d97b59b66ff0abc77b068bd17183f42480875e71708a0684"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/math__py__math_expression.py",
|
||||
"sha256": "687dca7acec29da95c5153a9a386e29450d8f42106180b46c0dfece085b44857"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__LICENSE",
|
||||
"sha256": "5f8107313a20aa2a35fd7cc877b4e526ed852e3b8ad761b19f3e4abed8508bb9"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb____init__.py",
|
||||
"sha256": "140c463336a1251e674e15623452b6d0f1c82e85d3b7e1272d32f68856b16fa6"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__log.py",
|
||||
"sha256": "ebee2327a46276b027c23ade757f22869ce1577e0996675a7f176a7ade2e0f09"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__nodes__graph_utils.py",
|
||||
"sha256": "9ffb664380050ce39885ed508722a540105e12594cc6670fb8015c7b53dcbfa7"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__pyproject.toml",
|
||||
"sha256": "d6f354766a928079ffb85d996b82bb3db517e2246e2216471aadf0a6d03f324d"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__web__comfy_shared.js",
|
||||
"sha256": "a8256d20124f1b73f5bb3544cbce320296fdb520d187665f7a8cd97123ceee58"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__web__mtb_ui.js",
|
||||
"sha256": "5d5c686d8c7646bccc8efa74ba6815d4f4a65b310cf0d3760399ec55e0fbdf67"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__web__mtb_widgets.js",
|
||||
"sha256": "fc2aa9b9d7fe493bed98341074038904cd5c994dbbfb081cbd2c8626bc731757"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/mtb__wiki__nodes__nodes-apply-text-template.md",
|
||||
"sha256": "f2926be6da3ba5ff0ab992da0ff2baf1404904561ac65867ee50a72e8428f6e8"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/storyboard-reference/vhs__videohelpersuite__load_images_nodes.py",
|
||||
"sha256": "275fa08acf4ee3163c6d403abea5ef7d088b0a6afbd705d9b0d55623818ffdc4"
|
||||
},
|
||||
{
|
||||
"path": "e2e/run-storyboard-document.py",
|
||||
"sha256": "ea3b1d35e662155d030900c2955fa828e8a0a25257ca11f6f12bea72171b3e96"
|
||||
},
|
||||
{
|
||||
"path": "e2e/storyboard-document.mjs",
|
||||
"sha256": "27857e8ddab373551e6801943ebc342e28eedc80c3c979680718cf8a73cb5389"
|
||||
},
|
||||
{
|
||||
"path": "e2e/workflow-document-server.py",
|
||||
"sha256": "539c54c1eafe6644cba117cf5550af918c97b48aef4b29d2c6378881204742e2"
|
||||
},
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/手动按分镜视频截取.json",
|
||||
"sha256": "381bb5f3a6e2788d0dd3ee9594a97eaedb153611194d4f8fdde420cf47814132"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
# 仓库根执行,锁定既有依赖;不执行上游/模型/媒体,不连接目标。
|
||||
# 所有Python命令使用PYTHONDONTWRITEBYTECODE=1,防止再次入库字节缓存。
|
||||
PYTHONDONTWRITEBYTECODE=1 uv sync --project calliope-backend --frozen --extra dev --python 3.11 --offline
|
||||
npm ci --prefix calliope-web --ignore-scripts --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/storyboard-document-evidence/verify_sources.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/storyboard-document-evidence/rebuild.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_storyboard_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/storyboard-document-evidence/check_code.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/storyboard-document-evidence/recompute.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/storyboard-document-evidence/repeat.py
|
||||
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 uv run --project calliope-backend --offline python e2e/run-storyboard-document.py
|
||||
# runner同步结束并finally停两个服务;浏览产物在.local-evidence/storyboard-document/browser。
|
||||
# 将browser-results.json/service-stop.json复制本目录,将service-0.log复制为service-0.txt后核对请求计数:
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/storyboard-document-evidence/request_counts.py
|
||||
# 可选联网重取本图准确文本(只文本,tag与tree原件另附;不搜索历史或较新版本):
|
||||
# 依次执行fetch_sources.py、fetch_additional.py、fetch_helpers.py可重取全部40文本。
|
||||
# 首步重建来源清单;其后两步补准确包成员/音频帮助链。只核包字节,不宣称Git绑定。
|
||||
# 示例报告:review-delta.json / import-protection.json / source-check.json /
|
||||
# package-check.json / repeatability.json / browser-results.json
|
||||
@@ -0,0 +1,57 @@
|
||||
"Verify exact Git blobs, package-member hashes and editorial source lines offline."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REF, build
|
||||
|
||||
|
||||
def main():
|
||||
es = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
counts = {"git_texts": 0, "package_texts": 0}
|
||||
for e in es:
|
||||
raw = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
if e.get("git_commit_binding") == "unknown":
|
||||
assert e["commit"].startswith("发布包SHA256:") and len(e["commit"].split(":")[1]) == 64
|
||||
counts["package_texts"] += 1
|
||||
else:
|
||||
tree = json.loads((REF / (e["id"] + "-tree.json")).read_bytes())
|
||||
assert tree["sha"] == e["commit"] and not tree["truncated"]
|
||||
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
assert (
|
||||
blob
|
||||
== e["git_blob_sha1"]
|
||||
== next(x["sha"] for x in tree["tree"] if x["path"] == e["file"])
|
||||
)
|
||||
counts["git_texts"] += 1
|
||||
tag = json.loads((REF / "core-tag.json").read_bytes())
|
||||
assert tag["object"]["type"] == "commit" and tag["object"]["sha"] == next(
|
||||
e["commit"] for e in es if e["id"] == "core"
|
||||
)
|
||||
b = build()
|
||||
for e in b["sources"]:
|
||||
raw = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
|
||||
(OUT / "source-check.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
**counts,
|
||||
citations=len(b["sources"]),
|
||||
tag=tag["ref"],
|
||||
commit=tag["object"]["sha"],
|
||||
package_git_binding="unknown",
|
||||
all_pass=True,
|
||||
local_file_base="docs/hel-892/storyboard-document-evidence",
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("PASS exact identities, bytes and lines", counts)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1 @@
|
||||
实际目验本轮5张截图:1440-17-default.png、390-17-default.png、1440-17-branch-flow.png、1440-17-10-frame_rate.png、390-17-note.png。默认用途中文、未定稿/未实跑与关闭状态可见;默认技术和源记录折叠;活动文件夹/旁路循环、10保存30及18外线16、历史与身份未知可读;两尺寸未见横向溢出。参数来源在滚动抽屉内展开,截图底部裁切是视口边界,脚本已核滚动区和完整内容;未修改Drawer或样式。
|
||||
@@ -0,0 +1 @@
|
||||
{"changelog":"","createdAt":"2025-05-22T23:35:20.117593Z","dependencies":["qrcode","cachetools","onnxruntime-gpu","requirements-parserx","rembg","imageio_ffmpeg","rich","rich_argparse","matplotlib","pillow"],"deprecated":false,"downloadUrl":"https://cdn.comfy.org/mel/comfy-mtb/0.5.4/node.zip","id":"cee541d7-b679-4903-bd82-a15d3fc81d3d","node_id":"comfy-mtb","status":"NodeVersionStatusActive","supported_accelerators":null,"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":null,"tags":[],"version":"0.5.4"}
|
||||
@@ -0,0 +1 @@
|
||||
{"changelog":"","createdAt":"2025-10-15T13:34:43.350536Z","dependencies":["diffusers","accelerate","clip_interrogator\u003e=0.6.0","sentencepiece","lark","onnxruntime","spandrel","opencv-python-headless","matplotlib","peft"],"deprecated":false,"downloadUrl":"https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip","id":"d6cbf9fb-bb40-4d51-9559-1bac0c6c965e","node_id":"comfyui-easy-use","status":"NodeVersionStatusActive","supported_accelerators":[],"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":[],"tags":[],"version":"1.3.4"}
|
||||
@@ -0,0 +1 @@
|
||||
{"ref":"refs/tags/v0.6.0","node_id":"REF_kwDOIygeJrByZWZzL3RhZ3MvdjAuNi4w","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/refs/tags/v0.6.0","object":{"sha":"e4c61d75555036fa28b6bb34e5fd67b007c9f391","type":"commit","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/e4c61d75555036fa28b6bb34e5fd67b007c9f391"}}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,674 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
<program> Copyright (C) <year> <name of author>
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<https://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,475 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import os
|
||||
import random
|
||||
import uuid
|
||||
from io import BytesIO
|
||||
|
||||
import av
|
||||
import numpy as np
|
||||
import torch
|
||||
try:
|
||||
import torchaudio
|
||||
TORCH_AUDIO_AVAILABLE = True
|
||||
except:
|
||||
TORCH_AUDIO_AVAILABLE = False
|
||||
from PIL import Image as PILImage
|
||||
from PIL.PngImagePlugin import PngInfo
|
||||
|
||||
import folder_paths
|
||||
|
||||
# used for image preview
|
||||
from comfy.cli_args import args
|
||||
from ._io import ComfyNode, FolderType, Image, _UIOutput
|
||||
|
||||
|
||||
class SavedResult(dict):
|
||||
def __init__(self, filename: str, subfolder: str, type: FolderType):
|
||||
super().__init__(filename=filename, subfolder=subfolder,type=type.value)
|
||||
|
||||
@property
|
||||
def filename(self) -> str:
|
||||
return self["filename"]
|
||||
|
||||
@property
|
||||
def subfolder(self) -> str:
|
||||
return self["subfolder"]
|
||||
|
||||
@property
|
||||
def type(self) -> FolderType:
|
||||
return FolderType(self["type"])
|
||||
|
||||
|
||||
class SavedImages(_UIOutput):
|
||||
"""A UI output class to represent one or more saved images, potentially animated."""
|
||||
def __init__(self, results: list[SavedResult], is_animated: bool = False):
|
||||
super().__init__()
|
||||
self.results = results
|
||||
self.is_animated = is_animated
|
||||
|
||||
def as_dict(self) -> dict:
|
||||
data = {"images": self.results}
|
||||
if self.is_animated:
|
||||
data["animated"] = (True,)
|
||||
return data
|
||||
|
||||
|
||||
class SavedAudios(_UIOutput):
|
||||
"""UI wrapper around one or more audio files on disk (FLAC / MP3 / Opus)."""
|
||||
def __init__(self, results: list[SavedResult]):
|
||||
super().__init__()
|
||||
self.results = results
|
||||
|
||||
def as_dict(self) -> dict:
|
||||
return {"audio": self.results}
|
||||
|
||||
|
||||
def _get_directory_by_folder_type(folder_type: FolderType) -> str:
|
||||
if folder_type == FolderType.input:
|
||||
return folder_paths.get_input_directory()
|
||||
if folder_type == FolderType.output:
|
||||
return folder_paths.get_output_directory()
|
||||
return folder_paths.get_temp_directory()
|
||||
|
||||
|
||||
class ImageSaveHelper:
|
||||
"""A helper class with static methods to handle image saving and metadata."""
|
||||
|
||||
@staticmethod
|
||||
def _convert_tensor_to_pil(image_tensor: torch.Tensor) -> PILImage.Image:
|
||||
"""Converts a single torch tensor to a PIL Image."""
|
||||
return PILImage.fromarray(np.clip(255.0 * image_tensor.cpu().numpy(), 0, 255).astype(np.uint8))
|
||||
|
||||
@staticmethod
|
||||
def _create_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None:
|
||||
"""Creates a PngInfo object with prompt and extra_pnginfo."""
|
||||
if args.disable_metadata or cls is None or not cls.hidden:
|
||||
return None
|
||||
metadata = PngInfo()
|
||||
if cls.hidden.prompt:
|
||||
metadata.add_text("prompt", json.dumps(cls.hidden.prompt))
|
||||
if cls.hidden.extra_pnginfo:
|
||||
for x in cls.hidden.extra_pnginfo:
|
||||
metadata.add_text(x, json.dumps(cls.hidden.extra_pnginfo[x]))
|
||||
return metadata
|
||||
|
||||
@staticmethod
|
||||
def _create_animated_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None:
|
||||
"""Creates a PngInfo object with prompt and extra_pnginfo for animated PNGs (APNG)."""
|
||||
if args.disable_metadata or cls is None or not cls.hidden:
|
||||
return None
|
||||
metadata = PngInfo()
|
||||
if cls.hidden.prompt:
|
||||
metadata.add(
|
||||
b"comf",
|
||||
"prompt".encode("latin-1", "strict")
|
||||
+ b"\0"
|
||||
+ json.dumps(cls.hidden.prompt).encode("latin-1", "strict"),
|
||||
after_idat=True,
|
||||
)
|
||||
if cls.hidden.extra_pnginfo:
|
||||
for x in cls.hidden.extra_pnginfo:
|
||||
metadata.add(
|
||||
b"comf",
|
||||
x.encode("latin-1", "strict")
|
||||
+ b"\0"
|
||||
+ json.dumps(cls.hidden.extra_pnginfo[x]).encode("latin-1", "strict"),
|
||||
after_idat=True,
|
||||
)
|
||||
return metadata
|
||||
|
||||
@staticmethod
|
||||
def _create_webp_metadata(pil_image: PILImage.Image, cls: type[ComfyNode] | None) -> PILImage.Exif:
|
||||
"""Creates EXIF metadata bytes for WebP images."""
|
||||
exif_data = pil_image.getexif()
|
||||
if args.disable_metadata or cls is None or cls.hidden is None:
|
||||
return exif_data
|
||||
if cls.hidden.prompt is not None:
|
||||
exif_data[0x0110] = "prompt:{}".format(json.dumps(cls.hidden.prompt)) # EXIF 0x0110 = Model
|
||||
if cls.hidden.extra_pnginfo is not None:
|
||||
inital_exif_tag = 0x010F # EXIF 0x010f = Make
|
||||
for key, value in cls.hidden.extra_pnginfo.items():
|
||||
exif_data[inital_exif_tag] = "{}:{}".format(key, json.dumps(value))
|
||||
inital_exif_tag -= 1
|
||||
return exif_data
|
||||
|
||||
@staticmethod
|
||||
def save_images(
|
||||
images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, compress_level = 4,
|
||||
) -> list[SavedResult]:
|
||||
"""Saves a batch of images as individual PNG files."""
|
||||
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
|
||||
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
|
||||
)
|
||||
results = []
|
||||
metadata = ImageSaveHelper._create_png_metadata(cls)
|
||||
for batch_number, image_tensor in enumerate(images):
|
||||
img = ImageSaveHelper._convert_tensor_to_pil(image_tensor)
|
||||
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
|
||||
file = f"{filename_with_batch_num}_{counter:05}_.png"
|
||||
img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=compress_level)
|
||||
results.append(SavedResult(file, subfolder, folder_type))
|
||||
counter += 1
|
||||
return results
|
||||
|
||||
@staticmethod
|
||||
def get_save_images_ui(images, filename_prefix: str, cls: type[ComfyNode] | None, compress_level=4) -> SavedImages:
|
||||
"""Saves a batch of images and returns a UI object for the node output."""
|
||||
return SavedImages(
|
||||
ImageSaveHelper.save_images(
|
||||
images,
|
||||
filename_prefix=filename_prefix,
|
||||
folder_type=FolderType.output,
|
||||
cls=cls,
|
||||
compress_level=compress_level,
|
||||
)
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
def save_animated_png(
|
||||
images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, fps: float, compress_level: int
|
||||
) -> SavedResult:
|
||||
"""Saves a batch of images as a single animated PNG."""
|
||||
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
|
||||
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
|
||||
)
|
||||
pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images]
|
||||
metadata = ImageSaveHelper._create_animated_png_metadata(cls)
|
||||
file = f"{filename}_{counter:05}_.png"
|
||||
save_path = os.path.join(full_output_folder, file)
|
||||
pil_images[0].save(
|
||||
save_path,
|
||||
pnginfo=metadata,
|
||||
compress_level=compress_level,
|
||||
save_all=True,
|
||||
duration=int(1000.0 / fps),
|
||||
append_images=pil_images[1:],
|
||||
)
|
||||
return SavedResult(file, subfolder, folder_type)
|
||||
|
||||
@staticmethod
|
||||
def get_save_animated_png_ui(
|
||||
images, filename_prefix: str, cls: type[ComfyNode] | None, fps: float, compress_level: int
|
||||
) -> SavedImages:
|
||||
"""Saves an animated PNG and returns a UI object for the node output."""
|
||||
result = ImageSaveHelper.save_animated_png(
|
||||
images,
|
||||
filename_prefix=filename_prefix,
|
||||
folder_type=FolderType.output,
|
||||
cls=cls,
|
||||
fps=fps,
|
||||
compress_level=compress_level,
|
||||
)
|
||||
return SavedImages([result], is_animated=len(images) > 1)
|
||||
|
||||
@staticmethod
|
||||
def save_animated_webp(
|
||||
images,
|
||||
filename_prefix: str,
|
||||
folder_type: FolderType,
|
||||
cls: type[ComfyNode] | None,
|
||||
fps: float,
|
||||
lossless: bool,
|
||||
quality: int,
|
||||
method: int,
|
||||
) -> SavedResult:
|
||||
"""Saves a batch of images as a single animated WebP."""
|
||||
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
|
||||
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
|
||||
)
|
||||
pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images]
|
||||
pil_exif = ImageSaveHelper._create_webp_metadata(pil_images[0], cls)
|
||||
file = f"{filename}_{counter:05}_.webp"
|
||||
pil_images[0].save(
|
||||
os.path.join(full_output_folder, file),
|
||||
save_all=True,
|
||||
duration=int(1000.0 / fps),
|
||||
append_images=pil_images[1:],
|
||||
exif=pil_exif,
|
||||
lossless=lossless,
|
||||
quality=quality,
|
||||
method=method,
|
||||
)
|
||||
return SavedResult(file, subfolder, folder_type)
|
||||
|
||||
@staticmethod
|
||||
def get_save_animated_webp_ui(
|
||||
images,
|
||||
filename_prefix: str,
|
||||
cls: type[ComfyNode] | None,
|
||||
fps: float,
|
||||
lossless: bool,
|
||||
quality: int,
|
||||
method: int,
|
||||
) -> SavedImages:
|
||||
"""Saves an animated WebP and returns a UI object for the node output."""
|
||||
result = ImageSaveHelper.save_animated_webp(
|
||||
images,
|
||||
filename_prefix=filename_prefix,
|
||||
folder_type=FolderType.output,
|
||||
cls=cls,
|
||||
fps=fps,
|
||||
lossless=lossless,
|
||||
quality=quality,
|
||||
method=method,
|
||||
)
|
||||
return SavedImages([result], is_animated=len(images) > 1)
|
||||
|
||||
|
||||
class AudioSaveHelper:
|
||||
"""A helper class with static methods to handle audio saving and metadata."""
|
||||
_OPUS_RATES = [8000, 12000, 16000, 24000, 48000]
|
||||
|
||||
@staticmethod
|
||||
def save_audio(
|
||||
audio: dict,
|
||||
filename_prefix: str,
|
||||
folder_type: FolderType,
|
||||
cls: type[ComfyNode] | None,
|
||||
format: str = "flac",
|
||||
quality: str = "128k",
|
||||
) -> list[SavedResult]:
|
||||
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
|
||||
filename_prefix, _get_directory_by_folder_type(folder_type)
|
||||
)
|
||||
|
||||
metadata = {}
|
||||
if not args.disable_metadata and cls is not None:
|
||||
if cls.hidden.prompt is not None:
|
||||
metadata["prompt"] = json.dumps(cls.hidden.prompt)
|
||||
if cls.hidden.extra_pnginfo is not None:
|
||||
for x in cls.hidden.extra_pnginfo:
|
||||
metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x])
|
||||
|
||||
results = []
|
||||
for batch_number, waveform in enumerate(audio["waveform"].cpu()):
|
||||
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
|
||||
file = f"{filename_with_batch_num}_{counter:05}_.{format}"
|
||||
output_path = os.path.join(full_output_folder, file)
|
||||
|
||||
# Use original sample rate initially
|
||||
sample_rate = audio["sample_rate"]
|
||||
|
||||
# Handle Opus sample rate requirements
|
||||
if format == "opus":
|
||||
if sample_rate > 48000:
|
||||
sample_rate = 48000
|
||||
elif sample_rate not in AudioSaveHelper._OPUS_RATES:
|
||||
# Find the next highest supported rate
|
||||
for rate in sorted(AudioSaveHelper._OPUS_RATES):
|
||||
if rate > sample_rate:
|
||||
sample_rate = rate
|
||||
break
|
||||
if sample_rate not in AudioSaveHelper._OPUS_RATES: # Fallback if still not supported
|
||||
sample_rate = 48000
|
||||
|
||||
# Resample if necessary
|
||||
if sample_rate != audio["sample_rate"]:
|
||||
if not TORCH_AUDIO_AVAILABLE:
|
||||
raise Exception("torchaudio is not available; cannot resample audio.")
|
||||
waveform = torchaudio.functional.resample(waveform, audio["sample_rate"], sample_rate)
|
||||
|
||||
# Create output with specified format
|
||||
output_buffer = BytesIO()
|
||||
output_container = av.open(output_buffer, mode="w", format=format)
|
||||
|
||||
# Set metadata on the container
|
||||
for key, value in metadata.items():
|
||||
output_container.metadata[key] = value
|
||||
|
||||
layout = "mono" if waveform.shape[0] == 1 else "stereo"
|
||||
# Set up the output stream with appropriate properties
|
||||
if format == "opus":
|
||||
out_stream = output_container.add_stream("libopus", rate=sample_rate, layout=layout)
|
||||
if quality == "64k":
|
||||
out_stream.bit_rate = 64000
|
||||
elif quality == "96k":
|
||||
out_stream.bit_rate = 96000
|
||||
elif quality == "128k":
|
||||
out_stream.bit_rate = 128000
|
||||
elif quality == "192k":
|
||||
out_stream.bit_rate = 192000
|
||||
elif quality == "320k":
|
||||
out_stream.bit_rate = 320000
|
||||
elif format == "mp3":
|
||||
out_stream = output_container.add_stream("libmp3lame", rate=sample_rate, layout=layout)
|
||||
if quality == "V0":
|
||||
# TODO i would really love to support V3 and V5 but there doesn't seem to be a way to set the qscale level, the property below is a bool
|
||||
out_stream.codec_context.qscale = 1
|
||||
elif quality == "128k":
|
||||
out_stream.bit_rate = 128000
|
||||
elif quality == "320k":
|
||||
out_stream.bit_rate = 320000
|
||||
else: # format == "flac":
|
||||
out_stream = output_container.add_stream("flac", rate=sample_rate, layout=layout)
|
||||
|
||||
frame = av.AudioFrame.from_ndarray(
|
||||
waveform.movedim(0, 1).reshape(1, -1).float().numpy(),
|
||||
format="flt",
|
||||
layout=layout,
|
||||
)
|
||||
frame.sample_rate = sample_rate
|
||||
frame.pts = 0
|
||||
output_container.mux(out_stream.encode(frame))
|
||||
|
||||
# Flush encoder
|
||||
output_container.mux(out_stream.encode(None))
|
||||
|
||||
# Close containers
|
||||
output_container.close()
|
||||
|
||||
# Write the output to file
|
||||
output_buffer.seek(0)
|
||||
with open(output_path, "wb") as f:
|
||||
f.write(output_buffer.getbuffer())
|
||||
|
||||
results.append(SavedResult(file, subfolder, folder_type))
|
||||
counter += 1
|
||||
|
||||
return results
|
||||
|
||||
@staticmethod
|
||||
def get_save_audio_ui(
|
||||
audio, filename_prefix: str, cls: type[ComfyNode] | None, format: str = "flac", quality: str = "128k",
|
||||
) -> SavedAudios:
|
||||
"""Save and instantly wrap for UI."""
|
||||
return SavedAudios(
|
||||
AudioSaveHelper.save_audio(
|
||||
audio,
|
||||
filename_prefix=filename_prefix,
|
||||
folder_type=FolderType.output,
|
||||
cls=cls,
|
||||
format=format,
|
||||
quality=quality,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
class PreviewImage(_UIOutput):
|
||||
def __init__(self, image: Image.Type, animated: bool = False, cls: type[ComfyNode] = None, **kwargs):
|
||||
self.values = ImageSaveHelper.save_images(
|
||||
image,
|
||||
filename_prefix="ComfyUI_temp_" + ''.join(random.choice("abcdefghijklmnopqrstupvxyz") for _ in range(5)),
|
||||
folder_type=FolderType.temp,
|
||||
cls=cls,
|
||||
compress_level=1,
|
||||
)
|
||||
self.animated = animated
|
||||
|
||||
def as_dict(self):
|
||||
return {
|
||||
"images": self.values,
|
||||
"animated": (self.animated,)
|
||||
}
|
||||
|
||||
|
||||
class PreviewMask(PreviewImage):
|
||||
def __init__(self, mask: PreviewMask.Type, animated: bool=False, cls: ComfyNode=None, **kwargs):
|
||||
preview = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])).movedim(1, -1).expand(-1, -1, -1, 3)
|
||||
super().__init__(preview, animated, cls, **kwargs)
|
||||
|
||||
|
||||
class PreviewAudio(_UIOutput):
|
||||
def __init__(self, audio: dict, cls: type[ComfyNode] = None, **kwargs):
|
||||
self.values = AudioSaveHelper.save_audio(
|
||||
audio,
|
||||
filename_prefix="ComfyUI_temp_" + "".join(random.choice("abcdefghijklmnopqrstuvwxyz") for _ in range(5)),
|
||||
folder_type=FolderType.temp,
|
||||
cls=cls,
|
||||
format="flac",
|
||||
quality="128k",
|
||||
)
|
||||
|
||||
def as_dict(self) -> dict:
|
||||
return {"audio": self.values}
|
||||
|
||||
|
||||
class PreviewVideo(_UIOutput):
|
||||
def __init__(self, values: list[SavedResult | dict], **kwargs):
|
||||
self.values = values
|
||||
|
||||
def as_dict(self):
|
||||
return {"images": self.values, "animated": (True,)}
|
||||
|
||||
|
||||
class PreviewUI3D(_UIOutput):
|
||||
def __init__(self, model_file, camera_info, **kwargs):
|
||||
self.model_file = model_file
|
||||
self.camera_info = camera_info
|
||||
self.bg_image_path = None
|
||||
bg_image = kwargs.get("bg_image", None)
|
||||
if bg_image is not None:
|
||||
img_array = (bg_image[0].cpu().numpy() * 255).astype(np.uint8)
|
||||
img = PILImage.fromarray(img_array)
|
||||
temp_dir = folder_paths.get_temp_directory()
|
||||
filename = f"bg_{uuid.uuid4().hex}.png"
|
||||
bg_image_path = os.path.join(temp_dir, filename)
|
||||
img.save(bg_image_path, compress_level=1)
|
||||
self.bg_image_path = f"temp/{filename}"
|
||||
|
||||
def as_dict(self):
|
||||
return {"result": [self.model_file, self.camera_info, self.bg_image_path]}
|
||||
|
||||
|
||||
class PreviewText(_UIOutput):
|
||||
def __init__(self, value: str, **kwargs):
|
||||
self.value = value
|
||||
|
||||
def as_dict(self):
|
||||
return {"text": (self.value,)}
|
||||
|
||||
|
||||
__all__ = [
|
||||
"SavedResult",
|
||||
"SavedImages",
|
||||
"SavedAudios",
|
||||
"ImageSaveHelper",
|
||||
"AudioSaveHelper",
|
||||
"PreviewImage",
|
||||
"PreviewMask",
|
||||
"PreviewAudio",
|
||||
"PreviewVideo",
|
||||
"PreviewUI3D",
|
||||
"PreviewText",
|
||||
]
|
||||
@@ -0,0 +1,626 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import av
|
||||
import torchaudio
|
||||
import torch
|
||||
import comfy.model_management
|
||||
import folder_paths
|
||||
import os
|
||||
import hashlib
|
||||
import node_helpers
|
||||
import logging
|
||||
from typing_extensions import override
|
||||
from comfy_api.latest import ComfyExtension, IO, UI
|
||||
|
||||
class EmptyLatentAudio(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="EmptyLatentAudio",
|
||||
display_name="Empty Latent Audio",
|
||||
category="latent/audio",
|
||||
inputs=[
|
||||
IO.Float.Input("seconds", default=47.6, min=1.0, max=1000.0, step=0.1),
|
||||
IO.Int.Input(
|
||||
"batch_size", default=1, min=1, max=4096, tooltip="The number of latent images in the batch."
|
||||
),
|
||||
],
|
||||
outputs=[IO.Latent.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, seconds, batch_size) -> IO.NodeOutput:
|
||||
length = round((seconds * 44100 / 2048) / 2) * 2
|
||||
latent = torch.zeros([batch_size, 64, length], device=comfy.model_management.intermediate_device())
|
||||
return IO.NodeOutput({"samples":latent, "type": "audio"})
|
||||
|
||||
generate = execute # TODO: remove
|
||||
|
||||
|
||||
class ConditioningStableAudio(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="ConditioningStableAudio",
|
||||
category="conditioning",
|
||||
inputs=[
|
||||
IO.Conditioning.Input("positive"),
|
||||
IO.Conditioning.Input("negative"),
|
||||
IO.Float.Input("seconds_start", default=0.0, min=0.0, max=1000.0, step=0.1),
|
||||
IO.Float.Input("seconds_total", default=47.0, min=0.0, max=1000.0, step=0.1),
|
||||
],
|
||||
outputs=[
|
||||
IO.Conditioning.Output(display_name="positive"),
|
||||
IO.Conditioning.Output(display_name="negative"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, positive, negative, seconds_start, seconds_total) -> IO.NodeOutput:
|
||||
positive = node_helpers.conditioning_set_values(positive, {"seconds_start": seconds_start, "seconds_total": seconds_total})
|
||||
negative = node_helpers.conditioning_set_values(negative, {"seconds_start": seconds_start, "seconds_total": seconds_total})
|
||||
return IO.NodeOutput(positive, negative)
|
||||
|
||||
append = execute # TODO: remove
|
||||
|
||||
|
||||
class VAEEncodeAudio(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="VAEEncodeAudio",
|
||||
display_name="VAE Encode Audio",
|
||||
category="latent/audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio"),
|
||||
IO.Vae.Input("vae"),
|
||||
],
|
||||
outputs=[IO.Latent.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, vae, audio) -> IO.NodeOutput:
|
||||
sample_rate = audio["sample_rate"]
|
||||
if 44100 != sample_rate:
|
||||
waveform = torchaudio.functional.resample(audio["waveform"], sample_rate, 44100)
|
||||
else:
|
||||
waveform = audio["waveform"]
|
||||
|
||||
t = vae.encode(waveform.movedim(1, -1))
|
||||
return IO.NodeOutput({"samples":t})
|
||||
|
||||
encode = execute # TODO: remove
|
||||
|
||||
|
||||
class VAEDecodeAudio(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="VAEDecodeAudio",
|
||||
display_name="VAE Decode Audio",
|
||||
category="latent/audio",
|
||||
inputs=[
|
||||
IO.Latent.Input("samples"),
|
||||
IO.Vae.Input("vae"),
|
||||
],
|
||||
outputs=[IO.Audio.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, vae, samples) -> IO.NodeOutput:
|
||||
audio = vae.decode(samples["samples"]).movedim(-1, 1)
|
||||
std = torch.std(audio, dim=[1,2], keepdim=True) * 5.0
|
||||
std[std < 1.0] = 1.0
|
||||
audio /= std
|
||||
return IO.NodeOutput({"waveform": audio, "sample_rate": 44100})
|
||||
|
||||
decode = execute # TODO: remove
|
||||
|
||||
|
||||
class SaveAudio(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="SaveAudio",
|
||||
display_name="Save Audio (FLAC)",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio"),
|
||||
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
|
||||
],
|
||||
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
||||
is_output_node=True,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio, filename_prefix="ComfyUI", format="flac") -> IO.NodeOutput:
|
||||
return IO.NodeOutput(
|
||||
ui=UI.AudioSaveHelper.get_save_audio_ui(audio, filename_prefix=filename_prefix, cls=cls, format=format)
|
||||
)
|
||||
|
||||
save_flac = execute # TODO: remove
|
||||
|
||||
|
||||
class SaveAudioMP3(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="SaveAudioMP3",
|
||||
display_name="Save Audio (MP3)",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio"),
|
||||
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
|
||||
IO.Combo.Input("quality", options=["V0", "128k", "320k"], default="V0"),
|
||||
],
|
||||
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
||||
is_output_node=True,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio, filename_prefix="ComfyUI", format="mp3", quality="128k") -> IO.NodeOutput:
|
||||
return IO.NodeOutput(
|
||||
ui=UI.AudioSaveHelper.get_save_audio_ui(
|
||||
audio, filename_prefix=filename_prefix, cls=cls, format=format, quality=quality
|
||||
)
|
||||
)
|
||||
|
||||
save_mp3 = execute # TODO: remove
|
||||
|
||||
|
||||
class SaveAudioOpus(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="SaveAudioOpus",
|
||||
display_name="Save Audio (Opus)",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio"),
|
||||
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
|
||||
IO.Combo.Input("quality", options=["64k", "96k", "128k", "192k", "320k"], default="128k"),
|
||||
],
|
||||
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
||||
is_output_node=True,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio, filename_prefix="ComfyUI", format="opus", quality="V3") -> IO.NodeOutput:
|
||||
return IO.NodeOutput(
|
||||
ui=UI.AudioSaveHelper.get_save_audio_ui(
|
||||
audio, filename_prefix=filename_prefix, cls=cls, format=format, quality=quality
|
||||
)
|
||||
)
|
||||
|
||||
save_opus = execute # TODO: remove
|
||||
|
||||
|
||||
class PreviewAudio(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="PreviewAudio",
|
||||
display_name="Preview Audio",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio"),
|
||||
],
|
||||
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
|
||||
is_output_node=True,
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio) -> IO.NodeOutput:
|
||||
return IO.NodeOutput(ui=UI.PreviewAudio(audio, cls=cls))
|
||||
|
||||
save_flac = execute # TODO: remove
|
||||
|
||||
|
||||
def f32_pcm(wav: torch.Tensor) -> torch.Tensor:
|
||||
"""Convert audio to float 32 bits PCM format."""
|
||||
if wav.dtype.is_floating_point:
|
||||
return wav
|
||||
elif wav.dtype == torch.int16:
|
||||
return wav.float() / (2 ** 15)
|
||||
elif wav.dtype == torch.int32:
|
||||
return wav.float() / (2 ** 31)
|
||||
raise ValueError(f"Unsupported wav dtype: {wav.dtype}")
|
||||
|
||||
def load(filepath: str) -> tuple[torch.Tensor, int]:
|
||||
with av.open(filepath) as af:
|
||||
if not af.streams.audio:
|
||||
raise ValueError("No audio stream found in the file.")
|
||||
|
||||
stream = af.streams.audio[0]
|
||||
sr = stream.codec_context.sample_rate
|
||||
n_channels = stream.channels
|
||||
|
||||
frames = []
|
||||
length = 0
|
||||
for frame in af.decode(streams=stream.index):
|
||||
buf = torch.from_numpy(frame.to_ndarray())
|
||||
if buf.shape[0] != n_channels:
|
||||
buf = buf.view(-1, n_channels).t()
|
||||
|
||||
frames.append(buf)
|
||||
length += buf.shape[1]
|
||||
|
||||
if not frames:
|
||||
raise ValueError("No audio frames decoded.")
|
||||
|
||||
wav = torch.cat(frames, dim=1)
|
||||
wav = f32_pcm(wav)
|
||||
return wav, sr
|
||||
|
||||
class LoadAudio(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
input_dir = folder_paths.get_input_directory()
|
||||
files = folder_paths.filter_files_content_types(os.listdir(input_dir), ["audio", "video"])
|
||||
return IO.Schema(
|
||||
node_id="LoadAudio",
|
||||
display_name="Load Audio",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Combo.Input("audio", upload=IO.UploadType.audio, options=sorted(files)),
|
||||
],
|
||||
outputs=[IO.Audio.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio) -> IO.NodeOutput:
|
||||
audio_path = folder_paths.get_annotated_filepath(audio)
|
||||
waveform, sample_rate = load(audio_path)
|
||||
audio = {"waveform": waveform.unsqueeze(0), "sample_rate": sample_rate}
|
||||
return IO.NodeOutput(audio)
|
||||
|
||||
@classmethod
|
||||
def fingerprint_inputs(cls, audio):
|
||||
image_path = folder_paths.get_annotated_filepath(audio)
|
||||
m = hashlib.sha256()
|
||||
with open(image_path, 'rb') as f:
|
||||
m.update(f.read())
|
||||
return m.digest().hex()
|
||||
|
||||
@classmethod
|
||||
def validate_inputs(cls, audio):
|
||||
if not folder_paths.exists_annotated_filepath(audio):
|
||||
return "Invalid audio file: {}".format(audio)
|
||||
return True
|
||||
|
||||
load = execute # TODO: remove
|
||||
|
||||
|
||||
class RecordAudio(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="RecordAudio",
|
||||
display_name="Record Audio",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Custom("AUDIO_RECORD").Input("audio"),
|
||||
],
|
||||
outputs=[IO.Audio.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio) -> IO.NodeOutput:
|
||||
audio_path = folder_paths.get_annotated_filepath(audio)
|
||||
|
||||
waveform, sample_rate = load(audio_path)
|
||||
audio = {"waveform": waveform.unsqueeze(0), "sample_rate": sample_rate}
|
||||
return IO.NodeOutput(audio)
|
||||
|
||||
load = execute # TODO: remove
|
||||
|
||||
|
||||
class TrimAudioDuration(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="TrimAudioDuration",
|
||||
display_name="Trim Audio Duration",
|
||||
description="Trim audio tensor into chosen time range.",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio"),
|
||||
IO.Float.Input(
|
||||
"start_index",
|
||||
default=0.0,
|
||||
min=-0xffffffffffffffff,
|
||||
max=0xffffffffffffffff,
|
||||
step=0.01,
|
||||
tooltip="Start time in seconds, can be negative to count from the end (supports sub-seconds).",
|
||||
),
|
||||
IO.Float.Input(
|
||||
"duration",
|
||||
default=60.0,
|
||||
min=0.0,
|
||||
step=0.01,
|
||||
tooltip="Duration in seconds",
|
||||
),
|
||||
],
|
||||
outputs=[IO.Audio.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio, start_index, duration) -> IO.NodeOutput:
|
||||
waveform = audio["waveform"]
|
||||
sample_rate = audio["sample_rate"]
|
||||
audio_length = waveform.shape[-1]
|
||||
|
||||
if start_index < 0:
|
||||
start_frame = audio_length + int(round(start_index * sample_rate))
|
||||
else:
|
||||
start_frame = int(round(start_index * sample_rate))
|
||||
start_frame = max(0, min(start_frame, audio_length - 1))
|
||||
|
||||
end_frame = start_frame + int(round(duration * sample_rate))
|
||||
end_frame = max(0, min(end_frame, audio_length))
|
||||
|
||||
if start_frame >= end_frame:
|
||||
raise ValueError("AudioTrim: Start time must be less than end time and be within the audio length.")
|
||||
|
||||
return IO.NodeOutput({"waveform": waveform[..., start_frame:end_frame], "sample_rate": sample_rate})
|
||||
|
||||
trim = execute # TODO: remove
|
||||
|
||||
|
||||
class SplitAudioChannels(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="SplitAudioChannels",
|
||||
display_name="Split Audio Channels",
|
||||
description="Separates the audio into left and right channels.",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio"),
|
||||
],
|
||||
outputs=[
|
||||
IO.Audio.Output(display_name="left"),
|
||||
IO.Audio.Output(display_name="right"),
|
||||
],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio) -> IO.NodeOutput:
|
||||
waveform = audio["waveform"]
|
||||
sample_rate = audio["sample_rate"]
|
||||
|
||||
if waveform.shape[1] != 2:
|
||||
raise ValueError("AudioSplit: Input audio has only one channel.")
|
||||
|
||||
left_channel = waveform[..., 0:1, :]
|
||||
right_channel = waveform[..., 1:2, :]
|
||||
|
||||
return IO.NodeOutput({"waveform": left_channel, "sample_rate": sample_rate}, {"waveform": right_channel, "sample_rate": sample_rate})
|
||||
|
||||
separate = execute # TODO: remove
|
||||
|
||||
|
||||
def match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2):
|
||||
if sample_rate_1 != sample_rate_2:
|
||||
if sample_rate_1 > sample_rate_2:
|
||||
waveform_2 = torchaudio.functional.resample(waveform_2, sample_rate_2, sample_rate_1)
|
||||
output_sample_rate = sample_rate_1
|
||||
logging.info(f"Resampling audio2 from {sample_rate_2}Hz to {sample_rate_1}Hz for merging.")
|
||||
else:
|
||||
waveform_1 = torchaudio.functional.resample(waveform_1, sample_rate_1, sample_rate_2)
|
||||
output_sample_rate = sample_rate_2
|
||||
logging.info(f"Resampling audio1 from {sample_rate_1}Hz to {sample_rate_2}Hz for merging.")
|
||||
else:
|
||||
output_sample_rate = sample_rate_1
|
||||
return waveform_1, waveform_2, output_sample_rate
|
||||
|
||||
|
||||
class AudioConcat(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="AudioConcat",
|
||||
display_name="Audio Concat",
|
||||
description="Concatenates the audio1 to audio2 in the specified direction.",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio1"),
|
||||
IO.Audio.Input("audio2"),
|
||||
IO.Combo.Input(
|
||||
"direction",
|
||||
options=['after', 'before'],
|
||||
default="after",
|
||||
tooltip="Whether to append audio2 after or before audio1.",
|
||||
)
|
||||
],
|
||||
outputs=[IO.Audio.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio1, audio2, direction) -> IO.NodeOutput:
|
||||
waveform_1 = audio1["waveform"]
|
||||
waveform_2 = audio2["waveform"]
|
||||
sample_rate_1 = audio1["sample_rate"]
|
||||
sample_rate_2 = audio2["sample_rate"]
|
||||
|
||||
if waveform_1.shape[1] == 1:
|
||||
waveform_1 = waveform_1.repeat(1, 2, 1)
|
||||
logging.info("AudioConcat: Converted mono audio1 to stereo by duplicating the channel.")
|
||||
if waveform_2.shape[1] == 1:
|
||||
waveform_2 = waveform_2.repeat(1, 2, 1)
|
||||
logging.info("AudioConcat: Converted mono audio2 to stereo by duplicating the channel.")
|
||||
|
||||
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
|
||||
|
||||
if direction == 'after':
|
||||
concatenated_audio = torch.cat((waveform_1, waveform_2), dim=2)
|
||||
elif direction == 'before':
|
||||
concatenated_audio = torch.cat((waveform_2, waveform_1), dim=2)
|
||||
|
||||
return IO.NodeOutput({"waveform": concatenated_audio, "sample_rate": output_sample_rate})
|
||||
|
||||
concat = execute # TODO: remove
|
||||
|
||||
|
||||
class AudioMerge(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="AudioMerge",
|
||||
display_name="Audio Merge",
|
||||
description="Combine two audio tracks by overlaying their waveforms.",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio1"),
|
||||
IO.Audio.Input("audio2"),
|
||||
IO.Combo.Input(
|
||||
"merge_method",
|
||||
options=["add", "mean", "subtract", "multiply"],
|
||||
tooltip="The method used to combine the audio waveforms.",
|
||||
)
|
||||
],
|
||||
outputs=[IO.Audio.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio1, audio2, merge_method) -> IO.NodeOutput:
|
||||
waveform_1 = audio1["waveform"]
|
||||
waveform_2 = audio2["waveform"]
|
||||
sample_rate_1 = audio1["sample_rate"]
|
||||
sample_rate_2 = audio2["sample_rate"]
|
||||
|
||||
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
|
||||
|
||||
length_1 = waveform_1.shape[-1]
|
||||
length_2 = waveform_2.shape[-1]
|
||||
|
||||
if length_2 > length_1:
|
||||
logging.info(f"AudioMerge: Trimming audio2 from {length_2} to {length_1} samples to match audio1 length.")
|
||||
waveform_2 = waveform_2[..., :length_1]
|
||||
elif length_2 < length_1:
|
||||
logging.info(f"AudioMerge: Padding audio2 from {length_2} to {length_1} samples to match audio1 length.")
|
||||
pad_shape = list(waveform_2.shape)
|
||||
pad_shape[-1] = length_1 - length_2
|
||||
pad_tensor = torch.zeros(pad_shape, dtype=waveform_2.dtype, device=waveform_2.device)
|
||||
waveform_2 = torch.cat((waveform_2, pad_tensor), dim=-1)
|
||||
|
||||
if merge_method == "add":
|
||||
waveform = waveform_1 + waveform_2
|
||||
elif merge_method == "subtract":
|
||||
waveform = waveform_1 - waveform_2
|
||||
elif merge_method == "multiply":
|
||||
waveform = waveform_1 * waveform_2
|
||||
elif merge_method == "mean":
|
||||
waveform = (waveform_1 + waveform_2) / 2
|
||||
|
||||
max_val = waveform.abs().max()
|
||||
if max_val > 1.0:
|
||||
waveform = waveform / max_val
|
||||
|
||||
return IO.NodeOutput({"waveform": waveform, "sample_rate": output_sample_rate})
|
||||
|
||||
merge = execute # TODO: remove
|
||||
|
||||
|
||||
class AudioAdjustVolume(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="AudioAdjustVolume",
|
||||
display_name="Audio Adjust Volume",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Audio.Input("audio"),
|
||||
IO.Int.Input(
|
||||
"volume",
|
||||
default=1,
|
||||
min=-100,
|
||||
max=100,
|
||||
tooltip="Volume adjustment in decibels (dB). 0 = no change, +6 = double, -6 = half, etc",
|
||||
)
|
||||
],
|
||||
outputs=[IO.Audio.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, audio, volume) -> IO.NodeOutput:
|
||||
if volume == 0:
|
||||
return IO.NodeOutput(audio)
|
||||
waveform = audio["waveform"]
|
||||
sample_rate = audio["sample_rate"]
|
||||
|
||||
gain = 10 ** (volume / 20)
|
||||
waveform = waveform * gain
|
||||
|
||||
return IO.NodeOutput({"waveform": waveform, "sample_rate": sample_rate})
|
||||
|
||||
adjust_volume = execute # TODO: remove
|
||||
|
||||
|
||||
class EmptyAudio(IO.ComfyNode):
|
||||
@classmethod
|
||||
def define_schema(cls):
|
||||
return IO.Schema(
|
||||
node_id="EmptyAudio",
|
||||
display_name="Empty Audio",
|
||||
category="audio",
|
||||
inputs=[
|
||||
IO.Float.Input(
|
||||
"duration",
|
||||
default=60.0,
|
||||
min=0.0,
|
||||
max=0xffffffffffffffff,
|
||||
step=0.01,
|
||||
tooltip="Duration of the empty audio clip in seconds",
|
||||
),
|
||||
IO.Int.Input(
|
||||
"sample_rate",
|
||||
default=44100,
|
||||
tooltip="Sample rate of the empty audio clip.",
|
||||
min=1,
|
||||
max=192000,
|
||||
),
|
||||
IO.Int.Input(
|
||||
"channels",
|
||||
default=2,
|
||||
min=1,
|
||||
max=2,
|
||||
tooltip="Number of audio channels (1 for mono, 2 for stereo).",
|
||||
),
|
||||
],
|
||||
outputs=[IO.Audio.Output()],
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def execute(cls, duration, sample_rate, channels) -> IO.NodeOutput:
|
||||
num_samples = int(round(duration * sample_rate))
|
||||
waveform = torch.zeros((1, channels, num_samples), dtype=torch.float32)
|
||||
return IO.NodeOutput({"waveform": waveform, "sample_rate": sample_rate})
|
||||
|
||||
create_empty_audio = execute # TODO: remove
|
||||
|
||||
|
||||
class AudioExtension(ComfyExtension):
|
||||
@override
|
||||
async def get_node_list(self) -> list[type[IO.ComfyNode]]:
|
||||
return [
|
||||
EmptyLatentAudio,
|
||||
VAEEncodeAudio,
|
||||
VAEDecodeAudio,
|
||||
SaveAudio,
|
||||
SaveAudioMP3,
|
||||
SaveAudioOpus,
|
||||
LoadAudio,
|
||||
PreviewAudio,
|
||||
ConditioningStableAudio,
|
||||
RecordAudio,
|
||||
TrimAudioDuration,
|
||||
SplitAudioChannels,
|
||||
AudioConcat,
|
||||
AudioMerge,
|
||||
AudioAdjustVolume,
|
||||
EmptyAudio,
|
||||
]
|
||||
|
||||
async def comfy_entrypoint() -> AudioExtension:
|
||||
return AudioExtension()
|
||||
@@ -0,0 +1,496 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import time
|
||||
import mimetypes
|
||||
import logging
|
||||
from typing import Literal, List
|
||||
from collections.abc import Collection
|
||||
|
||||
from comfy.cli_args import args
|
||||
|
||||
supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
|
||||
|
||||
folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {}
|
||||
|
||||
# --base-directory - Resets all default paths configured in folder_paths with a new base path
|
||||
if args.base_directory:
|
||||
base_path = os.path.abspath(args.base_directory)
|
||||
else:
|
||||
base_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
models_dir = os.path.join(base_path, "models")
|
||||
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
|
||||
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
|
||||
|
||||
folder_names_and_paths["loras"] = ([os.path.join(models_dir, "loras")], supported_pt_extensions)
|
||||
folder_names_and_paths["vae"] = ([os.path.join(models_dir, "vae")], supported_pt_extensions)
|
||||
folder_names_and_paths["text_encoders"] = ([os.path.join(models_dir, "text_encoders"), os.path.join(models_dir, "clip")], supported_pt_extensions)
|
||||
folder_names_and_paths["diffusion_models"] = ([os.path.join(models_dir, "unet"), os.path.join(models_dir, "diffusion_models")], supported_pt_extensions)
|
||||
folder_names_and_paths["clip_vision"] = ([os.path.join(models_dir, "clip_vision")], supported_pt_extensions)
|
||||
folder_names_and_paths["style_models"] = ([os.path.join(models_dir, "style_models")], supported_pt_extensions)
|
||||
folder_names_and_paths["embeddings"] = ([os.path.join(models_dir, "embeddings")], supported_pt_extensions)
|
||||
folder_names_and_paths["diffusers"] = ([os.path.join(models_dir, "diffusers")], ["folder"])
|
||||
folder_names_and_paths["vae_approx"] = ([os.path.join(models_dir, "vae_approx")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["controlnet"] = ([os.path.join(models_dir, "controlnet"), os.path.join(models_dir, "t2i_adapter")], supported_pt_extensions)
|
||||
folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["latent_upscale_models"] = ([os.path.join(models_dir, "latent_upscale_models")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
|
||||
|
||||
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
|
||||
|
||||
folder_names_and_paths["model_patches"] = ([os.path.join(models_dir, "model_patches")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["audio_encoders"] = ([os.path.join(models_dir, "audio_encoders")], supported_pt_extensions)
|
||||
|
||||
output_directory = os.path.join(base_path, "output")
|
||||
temp_directory = os.path.join(base_path, "temp")
|
||||
input_directory = os.path.join(base_path, "input")
|
||||
user_directory = os.path.join(base_path, "user")
|
||||
|
||||
filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
|
||||
class CacheHelper:
|
||||
"""
|
||||
Helper class for managing file list cache data.
|
||||
"""
|
||||
def __init__(self):
|
||||
self.cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
self.active = False
|
||||
|
||||
def get(self, key: str, default=None) -> tuple[list[str], dict[str, float], float]:
|
||||
if not self.active:
|
||||
return default
|
||||
return self.cache.get(key, default)
|
||||
|
||||
def set(self, key: str, value: tuple[list[str], dict[str, float], float]) -> None:
|
||||
if self.active:
|
||||
self.cache[key] = value
|
||||
|
||||
def clear(self):
|
||||
self.cache.clear()
|
||||
|
||||
def __enter__(self):
|
||||
self.active = True
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
self.active = False
|
||||
self.clear()
|
||||
|
||||
cache_helper = CacheHelper()
|
||||
|
||||
extension_mimetypes_cache = {
|
||||
"webp" : "image",
|
||||
"fbx" : "model",
|
||||
}
|
||||
|
||||
def map_legacy(folder_name: str) -> str:
|
||||
legacy = {"unet": "diffusion_models",
|
||||
"clip": "text_encoders"}
|
||||
return legacy.get(folder_name, folder_name)
|
||||
|
||||
if not os.path.exists(input_directory):
|
||||
try:
|
||||
os.makedirs(input_directory)
|
||||
except:
|
||||
logging.error("Failed to create input directory")
|
||||
|
||||
def set_output_directory(output_dir: str) -> None:
|
||||
global output_directory
|
||||
output_directory = output_dir
|
||||
|
||||
def set_temp_directory(temp_dir: str) -> None:
|
||||
global temp_directory
|
||||
temp_directory = temp_dir
|
||||
|
||||
def set_input_directory(input_dir: str) -> None:
|
||||
global input_directory
|
||||
input_directory = input_dir
|
||||
|
||||
def get_output_directory() -> str:
|
||||
global output_directory
|
||||
return output_directory
|
||||
|
||||
def get_temp_directory() -> str:
|
||||
global temp_directory
|
||||
return temp_directory
|
||||
|
||||
def get_input_directory() -> str:
|
||||
global input_directory
|
||||
return input_directory
|
||||
|
||||
def get_user_directory() -> str:
|
||||
return user_directory
|
||||
|
||||
def set_user_directory(user_dir: str) -> None:
|
||||
global user_directory
|
||||
user_directory = user_dir
|
||||
|
||||
|
||||
# System User Protection - Protects system directories from HTTP endpoint access
|
||||
# System Users are internal-only users that cannot be accessed via HTTP endpoints.
|
||||
# They use the '__' prefix convention (similar to Python's private member convention).
|
||||
SYSTEM_USER_PREFIX = "__"
|
||||
|
||||
|
||||
def get_system_user_directory(name: str = "system") -> str:
|
||||
"""
|
||||
Get the path to a System User directory.
|
||||
|
||||
System User directories (prefixed with '__') are only accessible via internal API,
|
||||
not through HTTP endpoints. Use this for storing system-internal data that
|
||||
should not be exposed to users.
|
||||
|
||||
Args:
|
||||
name: System user name (e.g., "system", "cache"). Must be alphanumeric
|
||||
with underscores allowed, but cannot start with underscore.
|
||||
|
||||
Returns:
|
||||
Absolute path to the system user directory.
|
||||
|
||||
Raises:
|
||||
ValueError: If name is empty, invalid, or starts with underscore.
|
||||
|
||||
Example:
|
||||
>>> get_system_user_directory("cache")
|
||||
'/path/to/user/__cache'
|
||||
"""
|
||||
if not name or not isinstance(name, str):
|
||||
raise ValueError("System user name cannot be empty")
|
||||
if not name.replace("_", "").isalnum():
|
||||
raise ValueError(f"Invalid system user name: '{name}'")
|
||||
if name.startswith("_"):
|
||||
raise ValueError("System user name should not start with underscore")
|
||||
return os.path.join(get_user_directory(), f"{SYSTEM_USER_PREFIX}{name}")
|
||||
|
||||
|
||||
def get_public_user_directory(user_id: str) -> str | None:
|
||||
"""
|
||||
Get the path to a Public User directory for HTTP endpoint access.
|
||||
|
||||
This function provides structural security by returning None for any
|
||||
System User (prefixed with '__'). All HTTP endpoints should use this
|
||||
function instead of directly constructing user paths.
|
||||
|
||||
Args:
|
||||
user_id: User identifier from HTTP request.
|
||||
|
||||
Returns:
|
||||
Absolute path to the user directory, or None if user_id is invalid
|
||||
or refers to a System User.
|
||||
|
||||
Example:
|
||||
>>> get_public_user_directory("default")
|
||||
'/path/to/user/default'
|
||||
>>> get_public_user_directory("__system")
|
||||
None
|
||||
"""
|
||||
if not user_id or not isinstance(user_id, str):
|
||||
return None
|
||||
if user_id.startswith(SYSTEM_USER_PREFIX):
|
||||
return None
|
||||
return os.path.join(get_user_directory(), user_id)
|
||||
|
||||
|
||||
#NOTE: used in http server so don't put folders that should not be accessed remotely
|
||||
def get_directory_by_type(type_name: str) -> str | None:
|
||||
if type_name == "output":
|
||||
return get_output_directory()
|
||||
if type_name == "temp":
|
||||
return get_temp_directory()
|
||||
if type_name == "input":
|
||||
return get_input_directory()
|
||||
return None
|
||||
|
||||
def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> list[str]:
|
||||
"""
|
||||
Example:
|
||||
files = os.listdir(folder_paths.get_input_directory())
|
||||
videos = filter_files_content_types(files, ["video"])
|
||||
|
||||
Note:
|
||||
- 'model' in MIME context refers to 3D models, not files containing trained weights and parameters
|
||||
"""
|
||||
global extension_mimetypes_cache
|
||||
result = []
|
||||
for file in files:
|
||||
extension = file.split('.')[-1]
|
||||
if extension not in extension_mimetypes_cache:
|
||||
mime_type, _ = mimetypes.guess_type(file, strict=False)
|
||||
if not mime_type:
|
||||
continue
|
||||
content_type = mime_type.split('/')[0]
|
||||
extension_mimetypes_cache[extension] = content_type
|
||||
else:
|
||||
content_type = extension_mimetypes_cache[extension]
|
||||
|
||||
if content_type in content_types:
|
||||
result.append(file)
|
||||
return result
|
||||
|
||||
# determine base_dir rely on annotation if name is 'filename.ext [annotation]' format
|
||||
# otherwise use default_path as base_dir
|
||||
def annotated_filepath(name: str) -> tuple[str, str | None]:
|
||||
if name.endswith("[output]"):
|
||||
base_dir = get_output_directory()
|
||||
name = name[:-9]
|
||||
elif name.endswith("[input]"):
|
||||
base_dir = get_input_directory()
|
||||
name = name[:-8]
|
||||
elif name.endswith("[temp]"):
|
||||
base_dir = get_temp_directory()
|
||||
name = name[:-7]
|
||||
else:
|
||||
return name, None
|
||||
|
||||
return name, base_dir
|
||||
|
||||
|
||||
def get_annotated_filepath(name: str, default_dir: str | None=None) -> str:
|
||||
name, base_dir = annotated_filepath(name)
|
||||
|
||||
if base_dir is None:
|
||||
if default_dir is not None:
|
||||
base_dir = default_dir
|
||||
else:
|
||||
base_dir = get_input_directory() # fallback path
|
||||
|
||||
return os.path.join(base_dir, name)
|
||||
|
||||
|
||||
def exists_annotated_filepath(name) -> bool:
|
||||
name, base_dir = annotated_filepath(name)
|
||||
|
||||
if base_dir is None:
|
||||
base_dir = get_input_directory() # fallback path
|
||||
|
||||
filepath = os.path.join(base_dir, name)
|
||||
return os.path.exists(filepath)
|
||||
|
||||
|
||||
def add_model_folder_path(folder_name: str, full_folder_path: str, is_default: bool = False) -> None:
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name in folder_names_and_paths:
|
||||
paths, _exts = folder_names_and_paths[folder_name]
|
||||
if full_folder_path in paths:
|
||||
if is_default and paths[0] != full_folder_path:
|
||||
# If the path to the folder is not the first in the list, move it to the beginning.
|
||||
paths.remove(full_folder_path)
|
||||
paths.insert(0, full_folder_path)
|
||||
else:
|
||||
if is_default:
|
||||
paths.insert(0, full_folder_path)
|
||||
else:
|
||||
paths.append(full_folder_path)
|
||||
else:
|
||||
folder_names_and_paths[folder_name] = ([full_folder_path], set())
|
||||
|
||||
def get_folder_paths(folder_name: str) -> list[str]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
return folder_names_and_paths[folder_name][0][:]
|
||||
|
||||
def recursive_search(directory: str, excluded_dir_names: list[str] | None=None) -> tuple[list[str], dict[str, float]]:
|
||||
if not os.path.isdir(directory):
|
||||
return [], {}
|
||||
|
||||
if excluded_dir_names is None:
|
||||
excluded_dir_names = []
|
||||
|
||||
result = []
|
||||
dirs = {}
|
||||
|
||||
# Attempt to add the initial directory to dirs with error handling
|
||||
try:
|
||||
dirs[directory] = os.path.getmtime(directory)
|
||||
except FileNotFoundError:
|
||||
logging.warning(f"Warning: Unable to access {directory}. Skipping this path.")
|
||||
|
||||
logging.debug("recursive file list on directory {}".format(directory))
|
||||
dirpath: str
|
||||
subdirs: list[str]
|
||||
filenames: list[str]
|
||||
|
||||
for dirpath, subdirs, filenames in os.walk(directory, followlinks=True, topdown=True):
|
||||
subdirs[:] = [d for d in subdirs if d not in excluded_dir_names]
|
||||
for file_name in filenames:
|
||||
try:
|
||||
relative_path = os.path.relpath(os.path.join(dirpath, file_name), directory)
|
||||
result.append(relative_path)
|
||||
except:
|
||||
logging.warning(f"Warning: Unable to access {file_name}. Skipping this file.")
|
||||
continue
|
||||
|
||||
for d in subdirs:
|
||||
path: str = os.path.join(dirpath, d)
|
||||
try:
|
||||
dirs[path] = os.path.getmtime(path)
|
||||
except FileNotFoundError:
|
||||
logging.warning(f"Warning: Unable to access {path}. Skipping this path.")
|
||||
continue
|
||||
logging.debug("found {} files".format(len(result)))
|
||||
return result, dirs
|
||||
|
||||
def filter_files_extensions(files: Collection[str], extensions: Collection[str]) -> list[str]:
|
||||
return sorted(list(filter(lambda a: os.path.splitext(a)[-1].lower() in extensions or len(extensions) == 0, files)))
|
||||
|
||||
|
||||
|
||||
def get_full_path(folder_name: str, filename: str) -> str | None:
|
||||
"""
|
||||
Get the full path of a file in a folder, has to be a file
|
||||
"""
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name not in folder_names_and_paths:
|
||||
return None
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
filename = os.path.relpath(os.path.join("/", filename), "/")
|
||||
for x in folders[0]:
|
||||
full_path = os.path.join(x, filename)
|
||||
if os.path.isfile(full_path):
|
||||
return full_path
|
||||
elif os.path.islink(full_path):
|
||||
logging.warning("WARNING path {} exists but doesn't link anywhere, skipping.".format(full_path))
|
||||
|
||||
return None
|
||||
|
||||
|
||||
def get_full_path_or_raise(folder_name: str, filename: str) -> str:
|
||||
"""
|
||||
Get the full path of a file in a folder, has to be a file
|
||||
"""
|
||||
full_path = get_full_path(folder_name, filename)
|
||||
if full_path is None:
|
||||
raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.")
|
||||
return full_path
|
||||
|
||||
|
||||
def get_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
global folder_names_and_paths
|
||||
output_list = set()
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
output_folders = {}
|
||||
for x in folders[0]:
|
||||
files, folders_all = recursive_search(x, excluded_dir_names=[".git"])
|
||||
output_list.update(filter_files_extensions(files, folders[1]))
|
||||
output_folders = {**output_folders, **folders_all}
|
||||
|
||||
return sorted(list(output_list)), output_folders, time.perf_counter()
|
||||
|
||||
def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float] | None:
|
||||
strong_cache = cache_helper.get(folder_name)
|
||||
if strong_cache is not None:
|
||||
return strong_cache
|
||||
|
||||
global filename_list_cache
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name not in filename_list_cache:
|
||||
return None
|
||||
out = filename_list_cache[folder_name]
|
||||
|
||||
for x in out[1]:
|
||||
time_modified = out[1][x]
|
||||
folder = x
|
||||
if os.path.getmtime(folder) != time_modified:
|
||||
return None
|
||||
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
for x in folders[0]:
|
||||
if os.path.isdir(x):
|
||||
if x not in out[1]:
|
||||
return None
|
||||
|
||||
return out
|
||||
|
||||
def get_filename_list(folder_name: str) -> list[str]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
out = cached_filename_list_(folder_name)
|
||||
if out is None:
|
||||
out = get_filename_list_(folder_name)
|
||||
global filename_list_cache
|
||||
filename_list_cache[folder_name] = out
|
||||
cache_helper.set(folder_name, out)
|
||||
return list(out[0])
|
||||
|
||||
def get_save_image_path(filename_prefix: str, output_dir: str, image_width=0, image_height=0) -> tuple[str, str, int, str, str]:
|
||||
def map_filename(filename: str) -> tuple[int, str]:
|
||||
prefix_len = len(os.path.basename(filename_prefix))
|
||||
prefix = filename[:prefix_len + 1]
|
||||
try:
|
||||
digits = int(filename[prefix_len + 1:].split('_')[0])
|
||||
except:
|
||||
digits = 0
|
||||
return digits, prefix
|
||||
|
||||
def compute_vars(input: str, image_width: int, image_height: int) -> str:
|
||||
input = input.replace("%width%", str(image_width))
|
||||
input = input.replace("%height%", str(image_height))
|
||||
now = time.localtime()
|
||||
input = input.replace("%year%", str(now.tm_year))
|
||||
input = input.replace("%month%", str(now.tm_mon).zfill(2))
|
||||
input = input.replace("%day%", str(now.tm_mday).zfill(2))
|
||||
input = input.replace("%hour%", str(now.tm_hour).zfill(2))
|
||||
input = input.replace("%minute%", str(now.tm_min).zfill(2))
|
||||
input = input.replace("%second%", str(now.tm_sec).zfill(2))
|
||||
return input
|
||||
|
||||
if "%" in filename_prefix:
|
||||
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
|
||||
|
||||
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
|
||||
filename = os.path.basename(os.path.normpath(filename_prefix))
|
||||
|
||||
full_output_folder = os.path.join(output_dir, subfolder)
|
||||
|
||||
if os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) != output_dir:
|
||||
err = "**** ERROR: Saving image outside the output folder is not allowed." + \
|
||||
"\n full_output_folder: " + os.path.abspath(full_output_folder) + \
|
||||
"\n output_dir: " + output_dir + \
|
||||
"\n commonpath: " + os.path.commonpath((output_dir, os.path.abspath(full_output_folder)))
|
||||
logging.error(err)
|
||||
raise Exception(err)
|
||||
|
||||
try:
|
||||
counter = max(filter(lambda a: os.path.normcase(a[1][:-1]) == os.path.normcase(filename) and a[1][-1] == "_", map(map_filename, os.listdir(full_output_folder))))[0] + 1
|
||||
except ValueError:
|
||||
counter = 1
|
||||
except FileNotFoundError:
|
||||
os.makedirs(full_output_folder, exist_ok=True)
|
||||
counter = 1
|
||||
return full_output_folder, filename, counter, subfolder, filename_prefix
|
||||
|
||||
def get_input_subfolders() -> list[str]:
|
||||
"""Returns a list of all subfolder paths in the input directory, recursively.
|
||||
|
||||
Returns:
|
||||
List of folder paths relative to the input directory, excluding the root directory
|
||||
"""
|
||||
input_dir = get_input_directory()
|
||||
folders = []
|
||||
|
||||
try:
|
||||
if not os.path.exists(input_dir):
|
||||
return []
|
||||
|
||||
for root, dirs, _ in os.walk(input_dir):
|
||||
rel_path = os.path.relpath(root, input_dir)
|
||||
if rel_path != ".": # Only include non-root directories
|
||||
# Normalize path separators to forward slashes
|
||||
folders.append(rel_path.replace(os.sep, '/'))
|
||||
|
||||
return sorted(folders)
|
||||
except FileNotFoundError:
|
||||
return []
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,205 @@
|
||||
{
|
||||
"url": "https://cdn.comfy.org/yolain/comfyui-easy-use/1.3.4/node.zip",
|
||||
"sha256": "75ed4b6cb1977ee678bc19c30162d69f16cd1cc1c560f3173b090e955a0f7627",
|
||||
"members": [
|
||||
".github/FUNDING.yml",
|
||||
".github/workflows/publish.yml",
|
||||
".gitignore",
|
||||
".gitmodules",
|
||||
"ComfyUI-Easy-Use-Frontend/",
|
||||
"LICENSE",
|
||||
"README.ZH_CN.md",
|
||||
"README.md",
|
||||
"__init__.py",
|
||||
"install.bat",
|
||||
"install.sh",
|
||||
"locales/en/main.json",
|
||||
"locales/en/nodeDefs.json",
|
||||
"locales/en/settings.json",
|
||||
"locales/fr/main.json",
|
||||
"locales/fr/settings.json",
|
||||
"locales/ja/main.json",
|
||||
"locales/ja/settings.json",
|
||||
"locales/ko/main.json",
|
||||
"locales/ko/settings.json",
|
||||
"locales/ru/main.json",
|
||||
"locales/ru/settings.json",
|
||||
"locales/zh/main.json",
|
||||
"locales/zh/nodeDefs.json",
|
||||
"locales/zh/settings.json",
|
||||
"prestartup_script.py",
|
||||
"py/__init__.py",
|
||||
"py/config.py",
|
||||
"py/libs/add_resources.py",
|
||||
"py/libs/adv_encode.py",
|
||||
"py/libs/api/bizyair.py",
|
||||
"py/libs/api/fluxai.py",
|
||||
"py/libs/api/stability.py",
|
||||
"py/libs/cache.py",
|
||||
"py/libs/chooser.py",
|
||||
"py/libs/colorfix.py",
|
||||
"py/libs/conditioning.py",
|
||||
"py/libs/controlnet.py",
|
||||
"py/libs/dynthres_core.py",
|
||||
"py/libs/easing.py",
|
||||
"py/libs/gradual_latent_hires_fix.py",
|
||||
"py/libs/image.py",
|
||||
"py/libs/lllite.py",
|
||||
"py/libs/loader.py",
|
||||
"py/libs/log.py",
|
||||
"py/libs/messages.py",
|
||||
"py/libs/model.py",
|
||||
"py/libs/sampler.py",
|
||||
"py/libs/styleAlign.py",
|
||||
"py/libs/translate.py",
|
||||
"py/libs/utils.py",
|
||||
"py/libs/wildcards.py",
|
||||
"py/libs/xyplot.py",
|
||||
"py/modules/ben/model.py",
|
||||
"py/modules/bitsandbytes_NF4/__init__.py",
|
||||
"py/modules/briaai/__init__.py",
|
||||
"py/modules/briaai/rembg.py",
|
||||
"py/modules/brushnet/__init__.py",
|
||||
"py/modules/brushnet/config/brushnet.json",
|
||||
"py/modules/brushnet/config/brushnet_xl.json",
|
||||
"py/modules/brushnet/config/powerpaint.json",
|
||||
"py/modules/brushnet/model.py",
|
||||
"py/modules/brushnet/model_patch.py",
|
||||
"py/modules/brushnet/powerpaint_utils.py",
|
||||
"py/modules/brushnet/unet_2d_blocks.py",
|
||||
"py/modules/brushnet/unet_2d_condition.py",
|
||||
"py/modules/dit/__init__.py",
|
||||
"py/modules/dit/config.py",
|
||||
"py/modules/dit/pixArt/LICENSE-Pixart",
|
||||
"py/modules/dit/pixArt/__init__.py",
|
||||
"py/modules/dit/pixArt/config.py",
|
||||
"py/modules/dit/pixArt/diffusers_convert.py",
|
||||
"py/modules/dit/pixArt/loader.py",
|
||||
"py/modules/dit/pixArt/models/PixArt.py",
|
||||
"py/modules/dit/pixArt/models/PixArtMS.py",
|
||||
"py/modules/dit/pixArt/models/PixArt_blocks.py",
|
||||
"py/modules/dit/pixArt/models/__init__.py",
|
||||
"py/modules/dit/pixArt/models/pixart_controlnet.py",
|
||||
"py/modules/dit/pixArt/models/utils.py",
|
||||
"py/modules/dit/utils.py",
|
||||
"py/modules/fooocus/__init__.py",
|
||||
"py/modules/human_parsing/__init__.py",
|
||||
"py/modules/human_parsing/parsing_api.py",
|
||||
"py/modules/human_parsing/run_parsing.py",
|
||||
"py/modules/human_parsing/simple_extractor_dataset.py",
|
||||
"py/modules/human_parsing/transforms.py",
|
||||
"py/modules/ic_light/__init__.py",
|
||||
"py/modules/ipadapter/__init__.py",
|
||||
"py/modules/ipadapter/attention_processor.py",
|
||||
"py/modules/ipadapter/flux/__init__.py",
|
||||
"py/modules/ipadapter/flux/layers.py",
|
||||
"py/modules/ipadapter/flux/math.py",
|
||||
"py/modules/ipadapter/sd3/__init__.py",
|
||||
"py/modules/ipadapter/sd3/joinblock.py",
|
||||
"py/modules/ipadapter/sd3/resampler.py",
|
||||
"py/modules/ipadapter/utils.py",
|
||||
"py/modules/kolors/__init__.py",
|
||||
"py/modules/kolors/chatglm/__init__.py",
|
||||
"py/modules/kolors/chatglm/config_chatglm.json",
|
||||
"py/modules/kolors/chatglm/configuration_chatglm.py",
|
||||
"py/modules/kolors/chatglm/modeling_chatglm.py",
|
||||
"py/modules/kolors/chatglm/quantization.py",
|
||||
"py/modules/kolors/chatglm/tokenization_chatglm.py",
|
||||
"py/modules/kolors/chatglm/tokenizer/tokenizer.model",
|
||||
"py/modules/kolors/chatglm/tokenizer/tokenizer_config.json",
|
||||
"py/modules/kolors/chatglm/tokenizer/vocab.txt",
|
||||
"py/modules/kolors/clip_vision_config_vitl_336.json",
|
||||
"py/modules/kolors/loader.py",
|
||||
"py/modules/kolors/model_patch.py",
|
||||
"py/modules/kolors/text_encode.py",
|
||||
"py/modules/layer_diffuse/__init__.py",
|
||||
"py/modules/layer_diffuse/attension_sharing.py",
|
||||
"py/modules/layer_diffuse/model.py",
|
||||
"py/nodes/adapter.py",
|
||||
"py/nodes/api.py",
|
||||
"py/nodes/deprecated.py",
|
||||
"py/nodes/fix.py",
|
||||
"py/nodes/image.py",
|
||||
"py/nodes/inpaint.py",
|
||||
"py/nodes/loaders.py",
|
||||
"py/nodes/logic.py",
|
||||
"py/nodes/pipe.py",
|
||||
"py/nodes/preSampling.py",
|
||||
"py/nodes/prompt.py",
|
||||
"py/nodes/samplers.py",
|
||||
"py/nodes/seed.py",
|
||||
"py/nodes/util.py",
|
||||
"py/nodes/xyplot.py",
|
||||
"py/routes.py",
|
||||
"py/server.py",
|
||||
"pyproject.toml",
|
||||
"repair_dependency_list.txt",
|
||||
"requirements.txt",
|
||||
"resources/OpenSans-Medium.ttf",
|
||||
"resources/fooocus_styles.json",
|
||||
"resources/mmb-preset.custom.txt.example",
|
||||
"resources/mmb-preset.txt",
|
||||
"resources/portrait_prompt.json",
|
||||
"tools/combine_autocomplete.py",
|
||||
"tools/convert_locale_format.py",
|
||||
"web_version/v1/css/account.css",
|
||||
"web_version/v1/css/chooser.css",
|
||||
"web_version/v1/css/contextmenu.css",
|
||||
"web_version/v1/css/dropdown.css",
|
||||
"web_version/v1/css/easy.css",
|
||||
"web_version/v1/css/groupmap.css",
|
||||
"web_version/v1/css/index.css",
|
||||
"web_version/v1/css/modelinfo.css",
|
||||
"web_version/v1/css/selector.css",
|
||||
"web_version/v1/css/sliderControl.css",
|
||||
"web_version/v1/css/theme.css",
|
||||
"web_version/v1/css/toast.css",
|
||||
"web_version/v1/css/toolbar.css",
|
||||
"web_version/v1/js/bookmark.js",
|
||||
"web_version/v1/js/common/dropdown.js",
|
||||
"web_version/v1/js/common/i18n.js",
|
||||
"web_version/v1/js/common/icon.js",
|
||||
"web_version/v1/js/common/model.js",
|
||||
"web_version/v1/js/common/toast.js",
|
||||
"web_version/v1/js/common/utils.js",
|
||||
"web_version/v1/js/easy/easy.js",
|
||||
"web_version/v1/js/easy/easyAccount.js",
|
||||
"web_version/v1/js/easy/easyContextMenu.js",
|
||||
"web_version/v1/js/easy/easyDynamicWidgets.js",
|
||||
"web_version/v1/js/easy/easyExtraMenu.js",
|
||||
"web_version/v1/js/easy/easyInterface.js",
|
||||
"web_version/v1/js/easy/easyQuick.js",
|
||||
"web_version/v1/js/easy/easySaveImage.js",
|
||||
"web_version/v1/js/easy/easySeg.js",
|
||||
"web_version/v1/js/easy/easySelector.js",
|
||||
"web_version/v1/js/easy/easySliderControl.js",
|
||||
"web_version/v1/js/easy/easySuggestion.js",
|
||||
"web_version/v1/js/easy/easyWidgets.js",
|
||||
"web_version/v1/js/easy/easyXYPlot.js",
|
||||
"web_version/v1/js/getset.js",
|
||||
"web_version/v1/js/image.js",
|
||||
"web_version/v1/js/image_chooser/chooser.js",
|
||||
"web_version/v1/js/image_chooser/messaging.js",
|
||||
"web_version/v1/js/image_chooser/preview.js",
|
||||
"web_version/v1/js/image_chooser/prompt.js",
|
||||
"web_version/v1/js/image_chooser/state.js",
|
||||
"web_version/v1/js/poseEditor.js",
|
||||
"web_version/v1/js/seed.js",
|
||||
"web_version/v1/lib/fabric.js",
|
||||
"web_version/v2/assets/extensions-D7E6yQLT.js",
|
||||
"web_version/v2/assets/lodash-CZi7izHi.js",
|
||||
"web_version/v2/assets/primeuix-DTi4O4TO.js",
|
||||
"web_version/v2/assets/primevue-CkFdRR_N.js",
|
||||
"web_version/v2/assets/vendor-BWlTOcRr.js",
|
||||
"web_version/v2/assets/vue-DAoaJb2i.js",
|
||||
"web_version/v2/assets/vueuse-CqzKat4r.js",
|
||||
"web_version/v2/easyuse.js"
|
||||
],
|
||||
"selected": [
|
||||
"LICENSE",
|
||||
"__init__.py",
|
||||
"py/__init__.py",
|
||||
"py/nodes/logic.py",
|
||||
"pyproject.toml"
|
||||
]
|
||||
}
|
||||
@@ -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,95 @@
|
||||
__version__ = "1.3.4"
|
||||
|
||||
import yaml
|
||||
import json
|
||||
import os
|
||||
import folder_paths
|
||||
import importlib
|
||||
|
||||
cwd_path = os.path.dirname(os.path.realpath(__file__))
|
||||
comfy_path = folder_paths.base_path
|
||||
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {}
|
||||
|
||||
importlib.import_module('.py.routes', __name__)
|
||||
importlib.import_module('.py.server', __name__)
|
||||
nodes_list = ["util", "seed", "prompt", "loaders", "adapter", "inpaint", "preSampling", "samplers", "fix", "pipe", "xyplot", "image", "logic", "api", "deprecated"]
|
||||
for module_name in nodes_list:
|
||||
imported_module = importlib.import_module(".py.nodes.{}".format(module_name), __name__)
|
||||
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **imported_module.NODE_DISPLAY_NAME_MAPPINGS}
|
||||
|
||||
#Wildcards
|
||||
from .py.libs.wildcards import read_wildcard_dict
|
||||
wildcards_path = os.path.join(os.path.dirname(__file__), "wildcards")
|
||||
if not os.path.exists(wildcards_path):
|
||||
os.mkdir(wildcards_path)
|
||||
|
||||
# Add custom wildcards example
|
||||
example_path = os.path.join(wildcards_path, "example.txt")
|
||||
if not os.path.exists(example_path):
|
||||
with open(example_path, 'w') as f:
|
||||
text = "blue\nred\nyellow\ngreen\nbrown\npink\npurple\norange\nblack\nwhite"
|
||||
f.write(text)
|
||||
read_wildcard_dict(wildcards_path)
|
||||
|
||||
#Styles
|
||||
styles_path = os.path.join(os.path.dirname(__file__), "styles")
|
||||
samples_path = os.path.join(os.path.dirname(__file__), "styles", "samples")
|
||||
if os.path.exists(styles_path):
|
||||
if not os.path.exists(samples_path):
|
||||
os.mkdir(samples_path)
|
||||
else:
|
||||
os.mkdir(styles_path)
|
||||
os.mkdir(samples_path)
|
||||
|
||||
# Add custom styles example
|
||||
example_path = os.path.join(styles_path, "your_styles.json.example")
|
||||
if not os.path.exists(example_path):
|
||||
import json
|
||||
data = [
|
||||
{
|
||||
"name": "Example Style",
|
||||
"name_cn": "示例样式",
|
||||
"prompt": "(masterpiece), (best quality), (ultra-detailed), {prompt} ",
|
||||
"negative_prompt": "text, watermark, logo"
|
||||
},
|
||||
]
|
||||
# Write to file
|
||||
with open(example_path, 'w', encoding='utf-8') as f:
|
||||
json.dump(data, f, indent=4, ensure_ascii=False)
|
||||
|
||||
|
||||
web_default_version = 'v2'
|
||||
# web directory
|
||||
config_path = os.path.join(cwd_path, "config.yaml")
|
||||
if os.path.isfile(config_path):
|
||||
with open(config_path, 'r') as f:
|
||||
data = yaml.load(f, Loader=yaml.FullLoader)
|
||||
if data and "WEB_VERSION" in data:
|
||||
directory = f"web_version/{data['WEB_VERSION']}"
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
elif web_default_version != 'v1':
|
||||
if not data:
|
||||
data = {'WEB_VERSION': web_default_version}
|
||||
elif 'WEB_VERSION' not in data:
|
||||
data = {**data, 'WEB_VERSION': web_default_version}
|
||||
with open(config_path, 'w') as f:
|
||||
yaml.dump(data, f)
|
||||
directory = f"web_version/{web_default_version}"
|
||||
else:
|
||||
directory = f"web_version/v1"
|
||||
if not os.path.exists(os.path.join(cwd_path, directory)):
|
||||
print(f"web root {data['WEB_VERSION']} not found, using default")
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
else:
|
||||
directory = f"web_version/{web_default_version}"
|
||||
WEB_DIRECTORY = directory
|
||||
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS', "WEB_DIRECTORY"]
|
||||
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] server: \033[0mv{__version__} \033[92mLoaded\033[0m')
|
||||
print(f'\033[34m[ComfyUI-Easy-Use] web root: \033[0m{os.path.join(cwd_path, directory)} \033[92mLoaded\033[0m')
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
[project]
|
||||
name = "comfyui-easy-use"
|
||||
description = "To enhance the usability of ComfyUI, optimizations and integrations have been implemented for several commonly used nodes."
|
||||
version = "1.3.4"
|
||||
license = { file = "LICENSE" }
|
||||
dependencies = ["diffusers", "accelerate", "clip_interrogator>=0.6.0", "sentencepiece", "lark", "onnxruntime", "spandrel", "opencv-python-headless", "matplotlib", "peft"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/yolain/ComfyUI-Easy-Use"
|
||||
# Used by Comfy Registry https://comfyregistry.org
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "yolain"
|
||||
DisplayName = "ComfyUI-Easy-Use"
|
||||
Icon = ""
|
||||
File diff suppressed because one or more lines are too long
@@ -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,262 @@
|
||||
from .nodes.nodes import *
|
||||
from .nodes.curve_nodes import *
|
||||
from .nodes.batchcrop_nodes import *
|
||||
from .nodes.audioscheduler_nodes import *
|
||||
from .nodes.image_nodes import *
|
||||
from .nodes.intrinsic_lora_nodes import *
|
||||
from .nodes.mask_nodes import *
|
||||
from .nodes.model_optimization_nodes import *
|
||||
from .nodes.lora_nodes import *
|
||||
NODE_CONFIG = {
|
||||
#constants
|
||||
"BOOLConstant": {"class": BOOLConstant, "name": "BOOL Constant"},
|
||||
"INTConstant": {"class": INTConstant, "name": "INT Constant"},
|
||||
"FloatConstant": {"class": FloatConstant, "name": "Float Constant"},
|
||||
"StringConstant": {"class": StringConstant, "name": "String Constant"},
|
||||
"StringConstantMultiline": {"class": StringConstantMultiline, "name": "String Constant Multiline"},
|
||||
#conditioning
|
||||
"ConditioningMultiCombine": {"class": ConditioningMultiCombine, "name": "Conditioning Multi Combine"},
|
||||
"ConditioningSetMaskAndCombine": {"class": ConditioningSetMaskAndCombine, "name": "ConditioningSetMaskAndCombine"},
|
||||
"ConditioningSetMaskAndCombine3": {"class": ConditioningSetMaskAndCombine3, "name": "ConditioningSetMaskAndCombine3"},
|
||||
"ConditioningSetMaskAndCombine4": {"class": ConditioningSetMaskAndCombine4, "name": "ConditioningSetMaskAndCombine4"},
|
||||
"ConditioningSetMaskAndCombine5": {"class": ConditioningSetMaskAndCombine5, "name": "ConditioningSetMaskAndCombine5"},
|
||||
"CondPassThrough": {"class": CondPassThrough},
|
||||
#masking
|
||||
"DrawMaskOnImage": {"class": DrawMaskOnImage, "name": "Draw Mask On Image"},
|
||||
"DownloadAndLoadCLIPSeg": {"class": DownloadAndLoadCLIPSeg, "name": "(Down)load CLIPSeg"},
|
||||
"BatchCLIPSeg": {"class": BatchCLIPSeg, "name": "Batch CLIPSeg"},
|
||||
"BlockifyMask": {"class": BlockifyMask, "name": "Blockify Mask"},
|
||||
"ColorToMask": {"class": ColorToMask, "name": "Color To Mask"},
|
||||
"CreateGradientMask": {"class": CreateGradientMask, "name": "Create Gradient Mask"},
|
||||
"CreateTextMask": {"class": CreateTextMask, "name": "Create Text Mask"},
|
||||
"CreateAudioMask": {"class": CreateAudioMask, "name": "Create Audio Mask"},
|
||||
"CreateFadeMask": {"class": CreateFadeMask, "name": "Create Fade Mask"},
|
||||
"CreateFadeMaskAdvanced": {"class": CreateFadeMaskAdvanced, "name": "Create Fade Mask Advanced"},
|
||||
"CreateFluidMask": {"class": CreateFluidMask, "name": "Create Fluid Mask"},
|
||||
"CreateShapeMask": {"class": CreateShapeMask, "name": "Create Shape Mask"},
|
||||
"CreateVoronoiMask": {"class": CreateVoronoiMask, "name": "Create Voronoi Mask"},
|
||||
"CreateMagicMask": {"class": CreateMagicMask, "name": "Create Magic Mask"},
|
||||
"GetMaskSizeAndCount": {"class": GetMaskSizeAndCount, "name": "Get Mask Size & Count"},
|
||||
"GrowMaskWithBlur": {"class": GrowMaskWithBlur, "name": "Grow Mask With Blur"},
|
||||
"MaskBatchMulti": {"class": MaskBatchMulti, "name": "Mask Batch Multi"},
|
||||
"OffsetMask": {"class": OffsetMask, "name": "Offset Mask"},
|
||||
"RemapMaskRange": {"class": RemapMaskRange, "name": "Remap Mask Range"},
|
||||
"ResizeMask": {"class": ResizeMask, "name": "Resize Mask"},
|
||||
"RoundMask": {"class": RoundMask, "name": "Round Mask"},
|
||||
"SeparateMasks": {"class": SeparateMasks, "name": "Separate Masks"},
|
||||
"ConsolidateMasksKJ": {"class": ConsolidateMasksKJ, "name": "Consolidate Masks"},
|
||||
#images
|
||||
"AddLabel": {"class": AddLabel, "name": "Add Label"},
|
||||
"ColorMatch": {"class": ColorMatch, "name": "Color Match"},
|
||||
"ImageTensorList": {"class": ImageTensorList, "name": "Image Tensor List"},
|
||||
"CrossFadeImages": {"class": CrossFadeImages, "name": "Cross Fade Images"},
|
||||
"CrossFadeImagesMulti": {"class": CrossFadeImagesMulti, "name": "Cross Fade Images Multi"},
|
||||
"GetImagesFromBatchIndexed": {"class": GetImagesFromBatchIndexed, "name": "Get Images From Batch Indexed"},
|
||||
"GetImageRangeFromBatch": {"class": GetImageRangeFromBatch, "name": "Get Image or Mask Range From Batch"},
|
||||
"GetLatentRangeFromBatch": {"class": GetLatentRangeFromBatch, "name": "Get Latent Range From Batch"},
|
||||
"GetLatentSizeAndCount": {"class": GetLatentSizeAndCount, "name": "Get Latent Size & Count"},
|
||||
"GetImageSizeAndCount": {"class": GetImageSizeAndCount, "name": "Get Image Size & Count"},
|
||||
"FastPreview": {"class": FastPreview, "name": "Fast Preview"},
|
||||
"ImageBatchFilter": {"class": ImageBatchFilter, "name": "Image Batch Filter"},
|
||||
"ImageAndMaskPreview": {"class": ImageAndMaskPreview},
|
||||
"ImageAddMulti": {"class": ImageAddMulti, "name": "Image Add Multi"},
|
||||
"ImageBatchJoinWithTransition": {"class": ImageBatchJoinWithTransition, "name": "Image Batch Join With Transition"},
|
||||
"ImageBatchMulti": {"class": ImageBatchMulti, "name": "Image Batch Multi"},
|
||||
"ImageBatchRepeatInterleaving": {"class": ImageBatchRepeatInterleaving},
|
||||
"ImageBatchTestPattern": {"class": ImageBatchTestPattern, "name": "Image Batch Test Pattern"},
|
||||
"ImageConcanate": {"class": ImageConcanate, "name": "Image Concatenate"},
|
||||
"ImageConcatFromBatch": {"class": ImageConcatFromBatch, "name": "Image Concatenate From Batch"},
|
||||
"ImageConcatMulti": {"class": ImageConcatMulti, "name": "Image Concatenate Multi"},
|
||||
"ImageCropByMask": {"class": ImageCropByMask, "name": "Image Crop By Mask"},
|
||||
"ImageCropByMaskAndResize": {"class": ImageCropByMaskAndResize, "name": "Image Crop By Mask And Resize"},
|
||||
"ImageCropByMaskBatch": {"class": ImageCropByMaskBatch, "name": "Image Crop By Mask Batch"},
|
||||
"ImageUncropByMask": {"class": ImageUncropByMask, "name": "Image Uncrop By Mask"},
|
||||
"ImageBatchExtendWithOverlap": {"class": ImageBatchExtendWithOverlap, "name": "Image Batch Extend With Overlap"},
|
||||
"ImageGrabPIL": {"class": ImageGrabPIL, "name": "Image Grab PIL"},
|
||||
"ImageGridComposite2x2": {"class": ImageGridComposite2x2, "name": "Image Grid Composite 2x2"},
|
||||
"ImageGridComposite3x3": {"class": ImageGridComposite3x3, "name": "Image Grid Composite 3x3"},
|
||||
"ImageGridtoBatch": {"class": ImageGridtoBatch, "name": "Image Grid To Batch"},
|
||||
"ImageNoiseAugmentation": {"class": ImageNoiseAugmentation, "name": "Image Noise Augmentation"},
|
||||
"ImageNormalize_Neg1_To_1": {"class": ImageNormalize_Neg1_To_1, "name": "Image Normalize -1 to 1"},
|
||||
"ImagePass": {"class": ImagePass},
|
||||
"ImagePadKJ": {"class": ImagePadKJ, "name": "ImagePad KJ"},
|
||||
"ImagePadForOutpaintMasked": {"class": ImagePadForOutpaintMasked, "name": "Image Pad For Outpaint Masked"},
|
||||
"ImagePadForOutpaintTargetSize": {"class": ImagePadForOutpaintTargetSize, "name": "Image Pad For Outpaint Target Size"},
|
||||
"ImagePrepForICLora": {"class": ImagePrepForICLora, "name": "Image Prep For ICLora"},
|
||||
"ImageResizeKJ": {"class": ImageResizeKJ, "name": "Resize Image (deprecated)"},
|
||||
"ImageResizeKJv2": {"class": ImageResizeKJv2, "name": "Resize Image v2"},
|
||||
"ImageUpscaleWithModelBatched": {"class": ImageUpscaleWithModelBatched, "name": "Image Upscale With Model Batched"},
|
||||
"InsertImagesToBatchIndexed": {"class": InsertImagesToBatchIndexed, "name": "Insert Images To Batch Indexed"},
|
||||
"InsertLatentToIndexed": {"class": InsertLatentToIndex, "name": "Insert Latent To Index"},
|
||||
"LoadAndResizeImage": {"class": LoadAndResizeImage, "name": "Load & Resize Image"},
|
||||
"LoadImagesFromFolderKJ": {"class": LoadImagesFromFolderKJ, "name": "Load Images From Folder (KJ)"},
|
||||
"LoadVideosFromFolder": {"class": LoadVideosFromFolder, "name": "Load Videos From Folder"},
|
||||
"MergeImageChannels": {"class": MergeImageChannels, "name": "Merge Image Channels"},
|
||||
"PadImageBatchInterleaved": {"class": PadImageBatchInterleaved, "name": "Pad Image Batch Interleaved"},
|
||||
"PreviewAnimation": {"class": PreviewAnimation, "name": "Preview Animation"},
|
||||
"RemapImageRange": {"class": RemapImageRange, "name": "Remap Image Range"},
|
||||
"ReverseImageBatch": {"class": ReverseImageBatch, "name": "Reverse Image Batch"},
|
||||
"ReplaceImagesInBatch": {"class": ReplaceImagesInBatch, "name": "Replace Images In Batch"},
|
||||
"SaveImageWithAlpha": {"class": SaveImageWithAlpha, "name": "Save Image With Alpha"},
|
||||
"SaveImageKJ": {"class": SaveImageKJ, "name": "Save Image KJ"},
|
||||
"ShuffleImageBatch": {"class": ShuffleImageBatch, "name": "Shuffle Image Batch"},
|
||||
"SplitImageChannels": {"class": SplitImageChannels, "name": "Split Image Channels"},
|
||||
"TransitionImagesMulti": {"class": TransitionImagesMulti, "name": "Transition Images Multi"},
|
||||
"TransitionImagesInBatch": {"class": TransitionImagesInBatch, "name": "Transition Images In Batch"},
|
||||
#batch cropping
|
||||
"BatchCropFromMask": {"class": BatchCropFromMask, "name": "Batch Crop From Mask"},
|
||||
"BatchCropFromMaskAdvanced": {"class": BatchCropFromMaskAdvanced, "name": "Batch Crop From Mask Advanced"},
|
||||
"FilterZeroMasksAndCorrespondingImages": {"class": FilterZeroMasksAndCorrespondingImages},
|
||||
"InsertImageBatchByIndexes": {"class": InsertImageBatchByIndexes, "name": "Insert Image Batch By Indexes"},
|
||||
"BatchUncrop": {"class": BatchUncrop, "name": "Batch Uncrop"},
|
||||
"BatchUncropAdvanced": {"class": BatchUncropAdvanced, "name": "Batch Uncrop Advanced"},
|
||||
"SplitBboxes": {"class": SplitBboxes, "name": "Split Bboxes"},
|
||||
"BboxToInt": {"class": BboxToInt, "name": "Bbox To Int"},
|
||||
"BboxVisualize": {"class": BboxVisualize, "name": "Bbox Visualize"},
|
||||
#noise
|
||||
"GenerateNoise": {"class": GenerateNoise, "name": "Generate Noise"},
|
||||
"FlipSigmasAdjusted": {"class": FlipSigmasAdjusted, "name": "Flip Sigmas Adjusted"},
|
||||
"InjectNoiseToLatent": {"class": InjectNoiseToLatent, "name": "Inject Noise To Latent"},
|
||||
"CustomSigmas": {"class": CustomSigmas, "name": "Custom Sigmas"},
|
||||
#utility
|
||||
"StringToFloatList": {"class": StringToFloatList, "name": "String to Float List"},
|
||||
"WidgetToString": {"class": WidgetToString, "name": "Widget To String"},
|
||||
"SaveStringKJ": {"class": SaveStringKJ, "name": "Save String KJ"},
|
||||
"DummyOut": {"class": DummyOut, "name": "Dummy Out"},
|
||||
"GetLatentsFromBatchIndexed": {"class": GetLatentsFromBatchIndexed, "name": "Get Latents From Batch Indexed"},
|
||||
"ScaleBatchPromptSchedule": {"class": ScaleBatchPromptSchedule, "name": "Scale Batch Prompt Schedule"},
|
||||
"CameraPoseVisualizer": {"class": CameraPoseVisualizer, "name": "Camera Pose Visualizer"},
|
||||
"AppendStringsToList": {"class": AppendStringsToList, "name": "Append Strings To List"},
|
||||
"JoinStrings": {"class": JoinStrings, "name": "Join Strings"},
|
||||
"JoinStringMulti": {"class": JoinStringMulti, "name": "Join String Multi"},
|
||||
"SimpleCalculatorKJ": {"class": SimpleCalculatorKJ, "name": "Simple Calculator KJ"},
|
||||
"SomethingToString": {"class": SomethingToString, "name": "Something To String"},
|
||||
"Sleep": {"class": Sleep, "name": "Sleep"},
|
||||
"VRAM_Debug": {"class": VRAM_Debug, "name": "VRAM Debug"},
|
||||
"EmptyLatentImagePresets": {"class": EmptyLatentImagePresets, "name": "Empty Latent Image Presets"},
|
||||
"EmptyLatentImageCustomPresets": {"class": EmptyLatentImageCustomPresets, "name": "Empty Latent Image Custom Presets"},
|
||||
"ModelPassThrough": {"class": ModelPassThrough, "name": "ModelPass"},
|
||||
"ModelSaveKJ": {"class": ModelSaveKJ, "name": "Model Save KJ"},
|
||||
"SetShakkerLabsUnionControlNetType": {"class": SetShakkerLabsUnionControlNetType, "name": "Set Shakker Labs Union ControlNet Type"},
|
||||
"StyleModelApplyAdvanced": {"class": StyleModelApplyAdvanced, "name": "Style Model Apply Advanced"},
|
||||
"DiffusionModelSelector": {"class": DiffusionModelSelector, "name": "Diffusion Model Selector"},
|
||||
"LazySwitchKJ": {"class": LazySwitchKJ, "name": "Lazy Switch KJ"},
|
||||
#audioscheduler stuff
|
||||
"NormalizedAmplitudeToMask": {"class": NormalizedAmplitudeToMask},
|
||||
"NormalizedAmplitudeToFloatList": {"class": NormalizedAmplitudeToFloatList},
|
||||
"OffsetMaskByNormalizedAmplitude": {"class": OffsetMaskByNormalizedAmplitude},
|
||||
"ImageTransformByNormalizedAmplitude": {"class": ImageTransformByNormalizedAmplitude},
|
||||
"AudioConcatenate": {"class": AudioConcatenate},
|
||||
#curve nodes
|
||||
"SplineEditor": {"class": SplineEditor, "name": "Spline Editor"},
|
||||
"CreateShapeImageOnPath": {"class": CreateShapeImageOnPath, "name": "Create Shape Image On Path"},
|
||||
"CreateShapeMaskOnPath": {"class": CreateShapeMaskOnPath, "name": "Create Shape Mask On Path"},
|
||||
"CreateTextOnPath": {"class": CreateTextOnPath, "name": "Create Text On Path"},
|
||||
"CreateGradientFromCoords": {"class": CreateGradientFromCoords, "name": "Create Gradient From Coords"},
|
||||
"CutAndDragOnPath": {"class": CutAndDragOnPath, "name": "Cut And Drag On Path"},
|
||||
"GradientToFloat": {"class": GradientToFloat, "name": "Gradient To Float"},
|
||||
"WeightScheduleExtend": {"class": WeightScheduleExtend, "name": "Weight Schedule Extend"},
|
||||
"MaskOrImageToWeight": {"class": MaskOrImageToWeight, "name": "Mask Or Image To Weight"},
|
||||
"WeightScheduleConvert": {"class": WeightScheduleConvert, "name": "Weight Schedule Convert"},
|
||||
"FloatToMask": {"class": FloatToMask, "name": "Float To Mask"},
|
||||
"FloatToSigmas": {"class": FloatToSigmas, "name": "Float To Sigmas"},
|
||||
"SigmasToFloat": {"class": SigmasToFloat, "name": "Sigmas To Float"},
|
||||
"PlotCoordinates": {"class": PlotCoordinates, "name": "Plot Coordinates"},
|
||||
"InterpolateCoords": {"class": InterpolateCoords, "name": "Interpolate Coords"},
|
||||
"PointsEditor": {"class": PointsEditor, "name": "Points Editor"},
|
||||
#experimental
|
||||
"SoundReactive": {"class": SoundReactive, "name": "Sound Reactive"},
|
||||
"StableZero123_BatchSchedule": {"class": StableZero123_BatchSchedule, "name": "Stable Zero123 Batch Schedule"},
|
||||
"SV3D_BatchSchedule": {"class": SV3D_BatchSchedule, "name": "SV3D Batch Schedule"},
|
||||
"LoadResAdapterNormalization": {"class": LoadResAdapterNormalization},
|
||||
"Superprompt": {"class": Superprompt, "name": "Superprompt"},
|
||||
"GLIGENTextBoxApplyBatchCoords": {"class": GLIGENTextBoxApplyBatchCoords},
|
||||
"Intrinsic_lora_sampling": {"class": Intrinsic_lora_sampling, "name": "Intrinsic Lora Sampling"},
|
||||
"CheckpointPerturbWeights": {"class": CheckpointPerturbWeights, "name": "CheckpointPerturbWeights"},
|
||||
"Screencap_mss": {"class": Screencap_mss, "name": "Screencap mss"},
|
||||
"WebcamCaptureCV2": {"class": WebcamCaptureCV2, "name": "Webcam Capture CV2"},
|
||||
"DifferentialDiffusionAdvanced": {"class": DifferentialDiffusionAdvanced, "name": "Differential Diffusion Advanced"},
|
||||
"DiTBlockLoraLoader": {"class": DiTBlockLoraLoader, "name": "DiT Block Lora Loader"},
|
||||
"FluxBlockLoraSelect": {"class": FluxBlockLoraSelect, "name": "Flux Block Lora Select"},
|
||||
"HunyuanVideoBlockLoraSelect": {"class": HunyuanVideoBlockLoraSelect, "name": "Hunyuan Video Block Lora Select"},
|
||||
"Wan21BlockLoraSelect": {"class": Wan21BlockLoraSelect, "name": "Wan21 Block Lora Select"},
|
||||
"CustomControlNetWeightsFluxFromList": {"class": CustomControlNetWeightsFluxFromList, "name": "Custom ControlNet Weights Flux From List"},
|
||||
"CheckpointLoaderKJ": {"class": CheckpointLoaderKJ, "name": "CheckpointLoaderKJ"},
|
||||
"DiffusionModelLoaderKJ": {"class": DiffusionModelLoaderKJ, "name": "Diffusion Model Loader KJ"},
|
||||
"TorchCompileModelFluxAdvanced": {"class": TorchCompileModelFluxAdvanced, "name": "TorchCompileModelFluxAdvanced"},
|
||||
"TorchCompileModelFluxAdvancedV2": {"class": TorchCompileModelFluxAdvancedV2, "name": "TorchCompileModelFluxAdvancedV2"},
|
||||
"TorchCompileModelHyVideo": {"class": TorchCompileModelHyVideo, "name": "TorchCompileModelHyVideo"},
|
||||
"TorchCompileVAE": {"class": TorchCompileVAE, "name": "TorchCompileVAE"},
|
||||
"TorchCompileControlNet": {"class": TorchCompileControlNet, "name": "TorchCompileControlNet"},
|
||||
"PatchModelPatcherOrder": {"class": PatchModelPatcherOrder, "name": "Patch Model Patcher Order"},
|
||||
"TorchCompileLTXModel": {"class": TorchCompileLTXModel, "name": "TorchCompileLTXModel"},
|
||||
"TorchCompileCosmosModel": {"class": TorchCompileCosmosModel, "name": "TorchCompileCosmosModel"},
|
||||
"TorchCompileModelQwenImage": {"class": TorchCompileModelQwenImage, "name": "TorchCompileModelQwenImage"},
|
||||
"TorchCompileModelWanVideo": {"class": TorchCompileModelWanVideo, "name": "TorchCompileModelWanVideo"},
|
||||
"TorchCompileModelWanVideoV2": {"class": TorchCompileModelWanVideoV2, "name": "TorchCompileModelWanVideoV2"},
|
||||
"PathchSageAttentionKJ": {"class": PathchSageAttentionKJ, "name": "Patch Sage Attention KJ"},
|
||||
"LeapfusionHunyuanI2VPatcher": {"class": LeapfusionHunyuanI2V, "name": "Leapfusion Hunyuan I2V Patcher"},
|
||||
"VAELoaderKJ": {"class": VAELoaderKJ, "name": "VAELoader KJ"},
|
||||
"VAEDecodeLoopKJ": {"class": VAEDecodeLoopKJ, "name": "VAE Decode Loop KJ"},
|
||||
"ScheduledCFGGuidance": {"class": ScheduledCFGGuidance, "name": "Scheduled CFG Guidance"},
|
||||
"ApplyRifleXRoPE_HunuyanVideo": {"class": ApplyRifleXRoPE_HunuyanVideo, "name": "Apply RifleXRoPE HunuyanVideo"},
|
||||
"ApplyRifleXRoPE_WanVideo": {"class": ApplyRifleXRoPE_WanVideo, "name": "Apply RifleXRoPE WanVideo"},
|
||||
"WanVideoTeaCacheKJ": {"class": WanVideoTeaCacheKJ, "name": "WanVideo Tea Cache (native)"},
|
||||
"WanVideoEnhanceAVideoKJ": {"class": WanVideoEnhanceAVideoKJ, "name": "WanVideo Enhance A Video (native)"},
|
||||
"SkipLayerGuidanceWanVideo": {"class": SkipLayerGuidanceWanVideo, "name": "Skip Layer Guidance WanVideo"},
|
||||
"TimerNodeKJ": {"class": TimerNodeKJ, "name": "Timer Node KJ"},
|
||||
"HunyuanVideoEncodeKeyframesToCond": {"class": HunyuanVideoEncodeKeyframesToCond, "name": "HunyuanVideo Encode Keyframes To Cond"},
|
||||
"CFGZeroStarAndInit": {"class": CFGZeroStarAndInit, "name": "CFG Zero Star/Init"},
|
||||
"ModelPatchTorchSettings": {"class": ModelPatchTorchSettings, "name": "Model Patch Torch Settings"},
|
||||
"WanVideoNAG": {"class": WanVideoNAG, "name": "WanVideoNAG"},
|
||||
"GGUFLoaderKJ": {"class": GGUFLoaderKJ, "name": "GGUF Loader KJ"},
|
||||
"LatentInpaintTTM": {"class": LatentInpaintTTM, "name": "Latent Inpaint TTM"},
|
||||
"NABLA_AttentionKJ": {"class": NABLA_AttentionKJ, "name": "NABLA Attention KJ"},
|
||||
"TorchCompileModelAdvanced": {"class": TorchCompileModelAdvanced, "name": "TorchCompileModelAdvanced"},
|
||||
"StartRecordCUDAMemoryHistory": {"class": StartRecordCUDAMemoryHistory, "name": "Start Recording CUDAMemory History"},
|
||||
"EndRecordCUDAMemoryHistory": {"class": EndRecordCUDAMemoryHistory, "name": "End Recording CUDAMemory History"},
|
||||
"VisualizeCUDAMemoryHistory": {"class": VisualizeCUDAMemoryHistory, "name": "Visualize CUDAMemory History"},
|
||||
|
||||
#instance diffusion
|
||||
"CreateInstanceDiffusionTracking": {"class": CreateInstanceDiffusionTracking},
|
||||
"AppendInstanceDiffusionTracking": {"class": AppendInstanceDiffusionTracking},
|
||||
"DrawInstanceDiffusionTracking": {"class": DrawInstanceDiffusionTracking},
|
||||
|
||||
#lora
|
||||
"LoraExtractKJ": {"class": LoraExtractKJ, "name": "LoraExtractKJ"},
|
||||
"LoraReduceRankKJ": {"class": LoraReduceRank, "name": "LoraReduceRank"},
|
||||
|
||||
#tracks
|
||||
"GetTrackRange": {"class": GetTrackRange, "name": "Get Track Range"},
|
||||
"AddNoiseToTrackPath": {"class": AddNoiseToTrackPath, "name": "Add Noise To Track"},
|
||||
}
|
||||
|
||||
def generate_node_mappings(node_config):
|
||||
node_class_mappings = {}
|
||||
node_display_name_mappings = {}
|
||||
|
||||
for node_name, node_info in node_config.items():
|
||||
node_class_mappings[node_name] = node_info["class"]
|
||||
node_display_name_mappings[node_name] = node_info.get("name", node_info["class"].__name__)
|
||||
|
||||
return node_class_mappings, node_display_name_mappings
|
||||
|
||||
NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS = generate_node_mappings(NODE_CONFIG)
|
||||
|
||||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
||||
|
||||
WEB_DIRECTORY = "./web"
|
||||
|
||||
from aiohttp import web
|
||||
from server import PromptServer
|
||||
from pathlib import Path
|
||||
|
||||
if hasattr(PromptServer, "instance"):
|
||||
try:
|
||||
# NOTE: we add an extra static path to avoid comfy mechanism
|
||||
# that loads every script in web.
|
||||
PromptServer.instance.app.add_routes(
|
||||
[web.static("/kjweb_async", (Path(__file__).parent.absolute() / "kjweb_async").as_posix())]
|
||||
)
|
||||
except:
|
||||
pass
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2024 chflame163
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
@@ -0,0 +1,48 @@
|
||||
import importlib.util
|
||||
import os
|
||||
import sys
|
||||
import json
|
||||
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {}
|
||||
|
||||
python = sys.executable
|
||||
|
||||
def get_ext_dir(subpath=None, mkdir=False):
|
||||
dir = os.path.dirname(__file__)
|
||||
if subpath is not None:
|
||||
dir = os.path.join(dir, subpath)
|
||||
|
||||
dir = os.path.abspath(dir)
|
||||
|
||||
if mkdir and not os.path.exists(dir):
|
||||
os.makedirs(dir)
|
||||
return dir
|
||||
|
||||
def serialize(obj):
|
||||
if isinstance(obj, (str, int, float, bool, list, dict, type(None))):
|
||||
return obj
|
||||
return str(obj) # 转为字符串
|
||||
|
||||
|
||||
py = get_ext_dir("py")
|
||||
files = os.listdir(py)
|
||||
all_nodes = {}
|
||||
for file in files:
|
||||
if not file.endswith(".py"):
|
||||
continue
|
||||
name = os.path.splitext(file)[0]
|
||||
imported_module = importlib.import_module(".py.{}".format(name), __name__)
|
||||
try:
|
||||
NODE_CLASS_MAPPINGS = {**NODE_CLASS_MAPPINGS, **imported_module.NODE_CLASS_MAPPINGS}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {**NODE_DISPLAY_NAME_MAPPINGS, **imported_module.NODE_DISPLAY_NAME_MAPPINGS}
|
||||
serialized_CLASS_MAPPINGS = {k: serialize(v) for k, v in imported_module.NODE_CLASS_MAPPINGS.items()}
|
||||
serialized_DISPLAY_NAME_MAPPINGS = {k: serialize(v) for k, v in imported_module.NODE_DISPLAY_NAME_MAPPINGS.items()}
|
||||
all_nodes[file]={"NODE_CLASS_MAPPINGS": serialized_CLASS_MAPPINGS, "NODE_DISPLAY_NAME_MAPPINGS": serialized_DISPLAY_NAME_MAPPINGS}
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
WEB_DIRECTORY = "./js"
|
||||
|
||||
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user