HEL-892: document original-frame interpolation and unconnected upscale branch
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -15,6 +15,11 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
|
||||
|
||||
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
|
||||
DEFINITIONS = {
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频"
|
||||
"分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).js"
|
||||
"on"
|
||||
): "a95080890fe2b6dbfd4acd6a8e1552199ed2da43a28f28758746a4d7b5a05ac0",
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频"
|
||||
"分离-视频截取合并-图像视频放大/高清放大/图像放大比较.json"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,253 @@
|
||||
"""Interpolation comparison source identity, inactive lengths and fail-closed bindings."""
|
||||
|
||||
import ast
|
||||
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/simple-vfi-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=SOURCE, review=REVIEW):
|
||||
return build_document(PATH, source, None, None, [], 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_position_type_scope_citations_and_no_fabricated_named_values(f):
|
||||
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
||||
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
||||
assert f["scope"] == "root" and "named_value" not in f and "named_pointer" not in f
|
||||
for key in [
|
||||
"effect",
|
||||
"label",
|
||||
"schema_default",
|
||||
"unit",
|
||||
"limits",
|
||||
"execution_note",
|
||||
"role",
|
||||
"type",
|
||||
]:
|
||||
assert f[key]
|
||||
for i in f["evidence"]:
|
||||
e = BLOCK["sources"][i]
|
||||
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())
|
||||
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
container = pointer(s, parent)
|
||||
container[int(key) if isinstance(container, list) else key] = "forged"
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i", range(10))
|
||||
@pytest.mark.parametrize("variant", ["mode", "identity"])
|
||||
def test_each_node_state_and_identity_is_bound(i, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "mode":
|
||||
s["nodes"][i]["mode"] = 2
|
||||
else:
|
||||
s["nodes"][i]["properties"]["ver"] = "forged"
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("i", range(10))
|
||||
@pytest.mark.parametrize("variant", ["record", "input", "output"])
|
||||
def test_all_physical_endpoints_bound(i, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
eid, src, slot, dst, inp, _ = s["links"][i]
|
||||
ns = {n["id"]: n for n in s["nodes"]}
|
||||
if variant == "record":
|
||||
s["links"][i][3] = 99999
|
||||
elif variant == "input":
|
||||
ns[dst]["inputs"][inp]["link"] = 99999
|
||||
else:
|
||||
ns[src]["outputs"][slot]["links"] = []
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"variant",
|
||||
[
|
||||
"named",
|
||||
"frontend",
|
||||
"ue",
|
||||
"empty_list",
|
||||
"missing",
|
||||
"empty",
|
||||
"path",
|
||||
"source_sha",
|
||||
"citation",
|
||||
"overview",
|
||||
"unconnected",
|
||||
"history",
|
||||
"type",
|
||||
],
|
||||
)
|
||||
def test_specific_boundaries_cannot_be_retrusted(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 == "named":
|
||||
ns[146]["widgets_values_named"] = {"Number": 4}
|
||||
elif variant == "frontend":
|
||||
s["extra"]["frontendVersion"] = "new"
|
||||
elif variant == "ue":
|
||||
ns[104]["properties"]["ue_properties"]["version"] = "new"
|
||||
elif variant == "empty_list":
|
||||
ns[136]["widgets_values"] = None
|
||||
elif variant in ["missing", "empty"]:
|
||||
r["fixed_version_document"] = {} if variant == "empty" else None
|
||||
assert not doc(s, r)["fixed_version"]["matched"]
|
||||
return
|
||||
elif variant == "path":
|
||||
b["source_path"] = "wrong"
|
||||
elif variant == "source_sha":
|
||||
r["source_sha"] = "wrong"
|
||||
elif variant == "citation":
|
||||
b["sources"][0]["sha256"] = "wrong"
|
||||
elif variant == "overview":
|
||||
b["user_overview"] = "wrong"
|
||||
elif variant == "unconnected":
|
||||
ns[103]["outputs"][0]["links"] = [337]
|
||||
elif variant == "history":
|
||||
ns[124]["widgets_values"]["videopreview"]["params"]["fullpath"] = "new"
|
||||
else:
|
||||
ns[146]["widgets_values"][0] = "4"
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
def test_independent_inventory_and_actual_unconnected_branch():
|
||||
assert doc()["fixed_version"]["matched"]
|
||||
assert len(SOURCE["nodes"]) == len(SOURCE["links"]) == 10 and "definitions" not in SOURCE
|
||||
expected = [
|
||||
f"/nodes/{i}/widgets_values/{j}"
|
||||
for i, n in enumerate(SOURCE["nodes"])
|
||||
for j in (
|
||||
list(n["widgets_values"])
|
||||
if isinstance(n["widgets_values"], dict)
|
||||
else range(len(n["widgets_values"]))
|
||||
)
|
||||
]
|
||||
assert expected == [f["pointer"] for f in BLOCK["fields"]] and len(expected) == 37
|
||||
ns = {n["id"]: n for n in SOURCE["nodes"]}
|
||||
for eid, src, slot, dst, inp, _ in SOURCE["links"]:
|
||||
assert ns[dst]["inputs"][inp]["link"] == eid
|
||||
assert eid in ns[src]["outputs"][slot]["links"]
|
||||
assert ns[103]["outputs"][0]["links"] == []
|
||||
assert [(e[1], e[3]) for e in SOURCE["links"]] == [
|
||||
(123, 136),
|
||||
(136, 103),
|
||||
(137, 104),
|
||||
(104, 124),
|
||||
(123, 124),
|
||||
(146, 104),
|
||||
(149, 123),
|
||||
(156, 103),
|
||||
(155, 124),
|
||||
(136, 137),
|
||||
]
|
||||
assert [n["node_id"] for n in BLOCK["zero_saved_nodes"]] == ["136", "137"]
|
||||
assert not BLOCK["comments"]
|
||||
assert sum(isinstance(f["value"], dict) for f in BLOCK["fields"]) == 2
|
||||
assert all(n["mode"] == 0 for n in SOURCE["nodes"])
|
||||
|
||||
|
||||
def test_static_implementation_conditions_without_upstream_execution():
|
||||
ref = OUT.parent / "simple-vfi-reference"
|
||||
literal = (ref / "literals__nodes.py").read_text()
|
||||
tree = ast.parse(literal)
|
||||
for name, method, cast in [
|
||||
("IntLiteral", "to_int", "int"),
|
||||
("FloatLiteral", "to_float", "float"),
|
||||
]:
|
||||
cls = next(n for n in tree.body if isinstance(n, ast.ClassDef) and n.name == name)
|
||||
fn = next(n for n in cls.body if isinstance(n, ast.FunctionDef) and n.name == method)
|
||||
calls = [
|
||||
n for n in ast.walk(fn) if isinstance(n, ast.Call) and isinstance(n.func, ast.Name)
|
||||
]
|
||||
assert any(c.func.id == cast for c in calls)
|
||||
assert any(isinstance(n, ast.Raise) for n in ast.walk(fn))
|
||||
rife = (ref / "rife__vfi_models__rife____init__.py").read_text()
|
||||
assert '"rife49.pth": "4.7"' in rife and '"default":True' in rife
|
||||
arch = (ref / "rife__vfi_models__rife__rife_arch.py").read_text()
|
||||
assert 'if not fastmode and self.arch_ver in ["4.0", "4.2", "4.3"]:' in arch
|
||||
loop = (ref / "rife__vfi_utils.py").read_text()
|
||||
assert "range(len(frames) - 1)" in loop and "range(1, multiplier)" in loop
|
||||
cr = (ref / "cr__nodes__functions_upscale.py").read_text()
|
||||
assert "if mode == 'rescale':" in cr and "if supersample == 'true':" in cr
|
||||
assert "int(original_width * factor)" in cr and "new_width * 8" in cr
|
||||
fields = {(f["node_id"], f["field"]): f for f in BLOCK["fields"]}
|
||||
assert (
|
||||
fields["146", "Number"]["json_type"] == "int"
|
||||
and fields["146", "Number"]["type"] == "STRING"
|
||||
)
|
||||
for nid in ["149", "155", "156"]:
|
||||
assert fields[nid, "Number"]["json_type"] == "str"
|
||||
assert fields["103", "rescale_factor"]["value"] == 2.0000000000000004
|
||||
assert fields["103", "supersample"]["value"] == "true"
|
||||
assert "未接" in BLOCK["user_overview"] or "没有接入" in BLOCK["user_overview"]
|
||||
assert all(
|
||||
fields[n, k]["role"] == "linked_cache"
|
||||
for n, k in [
|
||||
("104", "multiplier"),
|
||||
("123", "force_rate"),
|
||||
("103", "rescale_factor"),
|
||||
("124", "frame_rate"),
|
||||
]
|
||||
)
|
||||
|
||||
|
||||
def test_old_34_blocks_and_all_other_reviews_frozen():
|
||||
p = "calliope-backend/src/calliope/comfyui/source_reviews.json"
|
||||
old = json.loads(subprocess.check_output(["git", "show", "8afc7af:" + p], cwd=REPO))
|
||||
now = json.loads((REPO / p).read_bytes())
|
||||
now[PATH].pop("fixed_version_document")
|
||||
assert now == old and len(DEFINITIONS) == 35
|
||||
blocks = [r["fixed_version_document"] for r in old.values() if "fixed_version_document" in r]
|
||||
assert (
|
||||
len(blocks) == 34
|
||||
and sum(len(b["fields"]) for b in blocks) == 1069
|
||||
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
|
||||
)
|
||||
== 25
|
||||
)
|
||||
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,2 @@
|
||||
PASS authored changes git diff --cached --check.
|
||||
Exact upstream reference texts excluded: original trailing whitespace/EOF retained to preserve SHA/blob/archive member bytes.
|
||||
@@ -0,0 +1,728 @@
|
||||
{
|
||||
"base": "8afc7af7c5dd0d18932a09976af059fa6768c0ba",
|
||||
"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_thirty_four_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"
|
||||
}
|
||||
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,910 @@
|
||||
"Static source-bound explanation of the original-frame interpolation chain."
|
||||
|
||||
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 / "simple-vfi-reference"
|
||||
PATHS = [
|
||||
(
|
||||
"example_ComfyUI_workflows/0-基础"
|
||||
"处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放"
|
||||
"大/视频模型放大插帧(简单快速版).json"
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
def canonical(v):
|
||||
return json.dumps(v, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
|
||||
|
||||
|
||||
def build(index=0):
|
||||
raw = (REPO / PATHS[index]).read_bytes()
|
||||
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()), (file, first, last)
|
||||
refs.append(
|
||||
{
|
||||
**e,
|
||||
"local_file": "../simple-vfi-reference/" + e["local_file"],
|
||||
"lines": [first, last],
|
||||
"claim": claim,
|
||||
}
|
||||
)
|
||||
return len(refs) - 1
|
||||
|
||||
literal = ref(
|
||||
"literals",
|
||||
"nodes.py",
|
||||
11,
|
||||
58,
|
||||
("Int/Float准确STRING schema、int/float解析和失败抛错;不执行解析"),
|
||||
)
|
||||
ref("literals", "__init__.py", 1, 12, "Int/Float准确注册;初始化含startup hook,未执行")
|
||||
cr = ref(
|
||||
"cr",
|
||||
"nodes/nodes_upscale.py",
|
||||
19,
|
||||
75,
|
||||
("CR模型放大后按原图尺寸重采样;schema默认范围和当前rescale分支"),
|
||||
)
|
||||
resize = ref(
|
||||
"cr",
|
||||
"nodes/functions_upscale.py",
|
||||
27,
|
||||
86,
|
||||
("模型路径/设备、OOM分块及rescale/resize、字符串supersample和最终尺寸"),
|
||||
)
|
||||
ref("cr", "node_mappings.py", 1, 15, "CR模块导入注册入口;ImportError条件未执行")
|
||||
ref("cr", "node_mappings.py", 118, 125, "CR Upscale Image准确注册")
|
||||
ref("cr", "__init__.py", 1, 25, "CR包注册入口")
|
||||
rife = ref(
|
||||
"rife",
|
||||
"vfi_models/rife/__init__.py",
|
||||
11,
|
||||
107,
|
||||
"RIFE模型名/架构映射、schema/函数缺省差别及推理参数传递",
|
||||
)
|
||||
loop = ref(
|
||||
"rife", "vfi_utils.py", 124, 256, "相邻帧插值/末帧、可选跳帧状态与缓存清理条件;未运行"
|
||||
)
|
||||
download = ref("rife", "vfi_utils.py", 65, 109, "权重不存在时自动下载条件;本轮禁止执行/下载")
|
||||
arch = ref(
|
||||
"rife",
|
||||
"vfi_models/rife/rife_arch.py",
|
||||
370,
|
||||
585,
|
||||
("准确IFNet的ensemble分支及仅4.0/4.2/4.3采用非fast残差路径"),
|
||||
)
|
||||
ref("rife", "__init__.py", 13, 41, "RIFE类导入及映射注册")
|
||||
impact = ref(
|
||||
"impact",
|
||||
"modules/impact/util_nodes.py",
|
||||
389,
|
||||
402,
|
||||
("IMAGE批次逐张保留批次维,返回list/OUTPUT_IS_LIST=True;零控件"),
|
||||
)
|
||||
ref("impact", "__init__.py", 49, 49, "Impact util_nodes导入")
|
||||
ref("impact", "__init__.py", 230, 230, "ImpactImageBatchToImageList注册")
|
||||
essentials = ref(
|
||||
"essentials",
|
||||
"image.py",
|
||||
171,
|
||||
198,
|
||||
("INPUT_IS_LIST=True,按第一项尺寸bicubic/center对齐后cat批次"),
|
||||
)
|
||||
ref("essentials", "image.py", 1621, 1621, "ImageListToBatch+准确注册")
|
||||
ref("essentials", "__init__.py", 1, 20, "IMAGE_CLASS_MAPPINGS合入包注册")
|
||||
ref(
|
||||
"essentials",
|
||||
"pyproject.toml",
|
||||
1,
|
||||
15,
|
||||
("源cnr_id与包名同为comfyui_essentials;发布者matteo/仓库cubiq分列,不推目标安装"),
|
||||
)
|
||||
front = ref(
|
||||
"litegraph",
|
||||
"package/dist/litegraph.es.js",
|
||||
3780,
|
||||
3834,
|
||||
("前端1.23.0锁定litegraph0.15.15位置恢复/序列化;不证明UE组合恢复"),
|
||||
)
|
||||
string = ref(
|
||||
"frontend",
|
||||
("src/composables/widgets/useStringWidget.ts"),
|
||||
94,
|
||||
120,
|
||||
"STRING无后端显式默认时前端空串;不把源JSON整数改为字符串",
|
||||
)
|
||||
ref("frontend", "package.json", 1, 10, "源声明frontend1.23.0与准确tag包版本")
|
||||
ref(
|
||||
"frontend",
|
||||
"package-lock.json",
|
||||
950,
|
||||
955,
|
||||
("精确前端锁文件;完整字节绑定含litegraph0.15.15及integrity"),
|
||||
)
|
||||
load = ref(
|
||||
"vhs",
|
||||
"videohelpersuite/load_video_nodes.py",
|
||||
423,
|
||||
473,
|
||||
"上传目录枚举、schema/输出槽/路径验证",
|
||||
)
|
||||
sampling = ref(
|
||||
"vhs",
|
||||
"videohelpersuite/load_video_nodes.py",
|
||||
24,
|
||||
168,
|
||||
"格式表、尺寸对齐、重采样/跳帧/抽帧/帧数上限",
|
||||
)
|
||||
loadrun = ref(
|
||||
"vhs",
|
||||
"videohelpersuite/load_video_nodes.py",
|
||||
293,
|
||||
420,
|
||||
"内存限制、VAE/格式条件、懒音频裁切及返回",
|
||||
)
|
||||
audio = ref(
|
||||
"vhs", "videohelpersuite/utils.py", 207, 252, "懒音频首次访问时ffmpeg提取;未访问不加载"
|
||||
)
|
||||
utils = ref("vhs", "videohelpersuite/utils.py", 20, 56, "BIGMAX/DIMMAX与floatOrInt类型")
|
||||
combine = ref(
|
||||
"vhs", "videohelpersuite/nodes.py", 234, 340, "合成schema、可选输入、输出目录选择"
|
||||
)
|
||||
formats = ref("vhs", "videohelpersuite/nodes.py", 45, 135, "格式动态枚举/额外控件默认/模板替换")
|
||||
combinewrite = ref(
|
||||
"vhs", "videohelpersuite/nodes.py", 340, 394, "首帧workflow PNG写入与保存目录条件"
|
||||
)
|
||||
combineloop = ref("vhs", "videohelpersuite/nodes.py", 441, 494, "pingpong/循环/FFmpeg帧率参数")
|
||||
mux = ref(
|
||||
"vhs",
|
||||
"videohelpersuite/nodes.py",
|
||||
558,
|
||||
625,
|
||||
"可用音频才混流;trim控制apad、shortest、返回历史预览",
|
||||
)
|
||||
metadata = ref(
|
||||
"vhs", "videohelpersuite/nodes.py", 140, 163, "save_metadata条件写临时元数据并交FFmpeg"
|
||||
)
|
||||
vhsreg = ref(
|
||||
"vhs", "videohelpersuite/nodes.py", 1023, 1030, "VHS_LoadVideo和VHS_VideoCombine真实注册"
|
||||
)
|
||||
vhsinit = ref("vhs", "__init__.py", 1, 9, "包注册入口与WEB_DIRECTORY")
|
||||
fmt = ref(
|
||||
"vhs", "video_formats/h264-mp4.json", 1, 15, "h264-mp4编码器/像素格式/CRF/元数据/裁切默认"
|
||||
)
|
||||
restore = ref(
|
||||
"vhs", "web/js/VHS.core.js", 41, 168, "按键恢复/回调,序列化全部控件值;不等于实际运行输入"
|
||||
)
|
||||
loadformat = ref(
|
||||
"vhs", "web/js/VHS.core.js", 648, 720, "加载format动态回调、reset条件及控件选项调整"
|
||||
)
|
||||
ref("vhs", "web/js/VHS.core.js", 721, 824, "上传按钮值/回调与video引用分离,不当服务端参数")
|
||||
fmtjs = ref("vhs", "web/js/VHS.core.js", 1222, 1282, "合成格式回调动态重建编码控件")
|
||||
previewjs = ref(
|
||||
"vhs", "web/js/VHS.core.js", 915, 970, "历史videopreview控件状态;本轮仅纯文本,不请求媒体"
|
||||
)
|
||||
ref("vhs", "web/js/VHS.core.js", 1870, 1873, "VHS_节点准确useKVState注册钩子;未执行")
|
||||
for key in ["rife", "essentials", "impact", "vhs", "frontend", "litegraph"]:
|
||||
e = next(e for e in entries if e["id"] == key and "LICENSE" in e["file"])
|
||||
ref(
|
||||
key,
|
||||
e["file"],
|
||||
1,
|
||||
len((REF / e["local_file"]).read_text().splitlines()),
|
||||
"准确原件许可文本;发布包Git绑定未知",
|
||||
)
|
||||
# Spec rows copied from the same exact VHS1.7.7 release and edited for this source.
|
||||
specs = {}
|
||||
|
||||
def spec(cls, name, label, typ, default, unit, limits, effect, evidence, role="scalar"):
|
||||
specs[cls, name] = dict(
|
||||
field=name,
|
||||
label=label,
|
||||
type=typ,
|
||||
schema_default=default,
|
||||
unit=unit,
|
||||
limits=limits,
|
||||
effect=effect,
|
||||
evidence=evidence,
|
||||
role=role,
|
||||
)
|
||||
|
||||
load_specs = [
|
||||
(
|
||||
"video",
|
||||
"输入视频文件引用",
|
||||
"COMBO",
|
||||
"input目录视频动态枚举,无固定默认",
|
||||
"文件名",
|
||||
"webm/mp4/mkv/gif/mov;实际目录列表未知",
|
||||
("保存WanVideo_SCAIL_00009-audio.mp4,仅引用名;未读文件,-audio不证明有音轨。"),
|
||||
),
|
||||
(
|
||||
"force_rate",
|
||||
"强制加载采样帧率",
|
||||
"FLOAT/INT(floatOrInt)",
|
||||
"0",
|
||||
"帧/秒",
|
||||
"0~60,step1,0不强制",
|
||||
(
|
||||
(
|
||||
"源缓存JSON int0由149.Int经边327覆盖;其保"
|
||||
"存字符串16,准确解析规则为int(Number)。静态预期"
|
||||
"采样16fps,但解析/恢复未实际验证。"
|
||||
)
|
||||
+ ("合成外接155.Float保存字符串60,不能由16×4和60保证时长或音画同步。")
|
||||
),
|
||||
),
|
||||
(
|
||||
"custom_width",
|
||||
"自定义加载宽度",
|
||||
"INT",
|
||||
"0",
|
||||
"像素",
|
||||
"0~8192;0不指定,受格式dim影响",
|
||||
("源0;两宽高均0先取素材尺寸,但AnimateDiff按8倍数近似对齐,不保证原尺寸或输出宽度。"),
|
||||
),
|
||||
(
|
||||
"custom_height",
|
||||
"自定义加载高度",
|
||||
"INT",
|
||||
"0",
|
||||
"像素",
|
||||
"0~8192;0不指定,单边指定则按比例算另一边",
|
||||
"源0;与宽度/格式共同计算并按dim对齐;实际素材尺寸未读取。",
|
||||
),
|
||||
(
|
||||
"frame_load_cap",
|
||||
"加载帧数上限",
|
||||
"INT",
|
||||
"0",
|
||||
"帧",
|
||||
"0~2**53-1,step1;0不设此上限",
|
||||
("源0不设控件帧数上限,仍受素材、可用内存及格式约束,不是零帧或保证全片成功。"),
|
||||
),
|
||||
(
|
||||
"skip_first_frames",
|
||||
"跳过起始采样帧",
|
||||
"INT",
|
||||
"0",
|
||||
"采样帧",
|
||||
"0~2**53-1,step1",
|
||||
(
|
||||
"源0不跳过;源码按采样后的计数判定,懒音频起点为skip乘t"
|
||||
"arget_frame_time,不当原始帧索引。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"select_every_nth",
|
||||
"间隔抽取采样帧",
|
||||
"INT",
|
||||
"1",
|
||||
"采样间隔",
|
||||
"1~2**53-1,step1",
|
||||
(
|
||||
"源1保留每个采样位置;大于1才间隔取帧,音频裁切时长和loa"
|
||||
"ded_fps有对应计算,不反转声音。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"format",
|
||||
"加载格式约束",
|
||||
"COMBO",
|
||||
"AnimateDiff",
|
||||
"格式名",
|
||||
("内置None/AnimateDiff/Mochi/LTXV/Hunyuan/Cosmos/Wan及外部扩展;目标动态列表未知"),
|
||||
(
|
||||
("保存AnimateDiff,固定内置target_rate8、dim=(8,")
|
||||
+ ("0,512,512),无frames约束。Python使用dim,不直接将f")
|
||||
+ "orce_rate改8;JS回调有条件reset,不能据此重写保存0/0/"
|
||||
"0。"
|
||||
),
|
||||
),
|
||||
]
|
||||
for name, label, typ, default, unit, limits, effect in load_specs:
|
||||
spec(
|
||||
"VHS_LoadVideo",
|
||||
name,
|
||||
label,
|
||||
typ,
|
||||
default,
|
||||
unit,
|
||||
limits,
|
||||
effect,
|
||||
[load, sampling, loadrun, audio, utils, restore, loadformat, vhsreg, vhsinit],
|
||||
)
|
||||
combine_specs = [
|
||||
(
|
||||
"frame_rate",
|
||||
"合成播放帧率",
|
||||
"FLOAT/INT(floatOrInt)",
|
||||
"8",
|
||||
"帧/秒",
|
||||
"min1,step1,schema无max",
|
||||
(
|
||||
(
|
||||
"源缓存JSON int60由155.Float经边333覆盖"
|
||||
";155保存字符串60,按float规则解析后传FFmpeg"
|
||||
"画面-r;未运行解析。"
|
||||
)
|
||||
+ "不证明原片FPS或与直连声音同步。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"loop_count",
|
||||
"合成画面循环次数",
|
||||
"INT",
|
||||
"0",
|
||||
"次数",
|
||||
"0~100,step1",
|
||||
"源0,视频分支不追加loop滤镜;不套GIF的循环语义,实际时长未知。",
|
||||
),
|
||||
(
|
||||
"filename_prefix",
|
||||
"输出文件名前缀",
|
||||
"STRING",
|
||||
"AnimateDiff",
|
||||
"相对前缀",
|
||||
"由folder_paths路径规则及计数决定;实际目录权限未知",
|
||||
("源video/ComfyUI,save_output=true时在输出目录下分配名称,非历史E盘路径绑定。"),
|
||||
),
|
||||
(
|
||||
"format",
|
||||
"合成编码格式",
|
||||
"COMBO",
|
||||
"schema首项image/gif;函数缺省image/gif",
|
||||
"格式名",
|
||||
"image/gif、image/webp和动态video格式列表",
|
||||
(
|
||||
"源video/h264-mp4采用包内libx264/A"
|
||||
"AC mp4规则;动态回调产生pix_fmt/crf等额"
|
||||
"外项,不证明目标编码器存在。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"pix_fmt",
|
||||
"编码像素格式",
|
||||
"COMBO",
|
||||
"首项yuv420p",
|
||||
"编码格式",
|
||||
"yuv420p/yuv420p10le",
|
||||
("源yuv420p,传给libx264的-pix_fmt,颜色变换按包内bt709滤镜,实际画质未知。"),
|
||||
),
|
||||
(
|
||||
"crf",
|
||||
"H264质量控制数值",
|
||||
"INT",
|
||||
"19",
|
||||
"CRF数值",
|
||||
"schema 0~100,step1;编码器接受范围/效果仍需环境验证",
|
||||
("源19传-crf;通常调节质量/体积,但不把schema上限当目标libx264有效范围或效果承诺。"),
|
||||
),
|
||||
(
|
||||
"save_metadata",
|
||||
"保存编码元数据",
|
||||
"BOOLEAN",
|
||||
"true",
|
||||
"布尔",
|
||||
"true/false;格式模板与FFmpeg分支条件",
|
||||
(
|
||||
("源false,格式模板转字符串False关闭此编码metadata分支;不承诺视频完全无元")
|
||||
+ ("数据。首帧workflow PNG另受VHS_MetadataImage控制")
|
||||
+ ",不能把两个开关混同。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"trim_to_audio",
|
||||
"合成时按音频裁切开关",
|
||||
"BOOLEAN",
|
||||
"false",
|
||||
"布尔",
|
||||
"仅有可取waveform且走视频音频混流分支时生效",
|
||||
(
|
||||
("源false不是关闭音频;固定实现保留apad=whole_dur(画面时长")
|
||||
+ ("+1)并用-shortest。true移除apad。音轨不存在/提取失败可能")
|
||||
+ "跳过混流,未验证实际同步。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"pingpong",
|
||||
"合成往返帧序开关",
|
||||
"BOOLEAN",
|
||||
"false",
|
||||
"布尔",
|
||||
"true/false;视频meta_batch旁路条件另有限制",
|
||||
"源false不在合成器追加往返帧;本图没有Reverse节点。",
|
||||
),
|
||||
(
|
||||
"save_output",
|
||||
"合成保存目录选择",
|
||||
"BOOLEAN",
|
||||
"true",
|
||||
"布尔",
|
||||
"true输出目录,false临时目录;均可能写文件",
|
||||
(
|
||||
("源true选择output目录;会产生视频并可能写首帧workflow PN")
|
||||
+ ("G、临时元数据,有音频可另写-audio文件。当前仅GET浏览,没有图执行文")
|
||||
+ "件副作用。"
|
||||
),
|
||||
),
|
||||
]
|
||||
for name, label, typ, default, unit, limits, effect in combine_specs:
|
||||
spec(
|
||||
"VHS_VideoCombine",
|
||||
name,
|
||||
label,
|
||||
typ,
|
||||
default,
|
||||
unit,
|
||||
limits,
|
||||
effect,
|
||||
[combine, formats, fmt, combinewrite, combineloop, mux, metadata, fmtjs, restore],
|
||||
)
|
||||
for cls in ["VHS_LoadVideo", "VHS_VideoCombine"]:
|
||||
spec(
|
||||
cls,
|
||||
"videopreview",
|
||||
"历史视频预览完整对象",
|
||||
"前端历史状态",
|
||||
"无服务端默认",
|
||||
"结构对象",
|
||||
"嵌套值和JSON类型原样;不递归计入保存位置",
|
||||
(
|
||||
("原hidden/paused/params完整保留,仅历史缓存。DOM控件s")
|
||||
+ ("erialize=false但包内useKVState仍保存w.value;")
|
||||
+ ("合成缓存的E盘fullpath、60fps、workflow PNG和-au")
|
||||
+ ("dio文件名不是当前产物/音轨证明;加载缓存同样不是实际参数执行证据。不读盘")
|
||||
+ "、不请求api/view或媒体。"
|
||||
),
|
||||
[previewjs, restore, mux],
|
||||
"frontend_history",
|
||||
)
|
||||
# Array positions below are reference schema associations, never named saved values.
|
||||
rife_rows = [
|
||||
(
|
||||
"ckpt_name",
|
||||
"插帧模型文件",
|
||||
"rife47.pth",
|
||||
"模型名",
|
||||
("准确枚举rife40/41/42/43/44/45/46/47/48/49.pth及sudo测试模型"),
|
||||
(
|
||||
"保存rife49.pth映射架构4.7,不把49当架构4.9"
|
||||
"。模型需真实权重,缺文件时helper尝试下载;本轮不执行、"
|
||||
"不下载、不证明安装。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"clear_cache_after_n_frames",
|
||||
"处理多少相邻帧后清缓存",
|
||||
"10",
|
||||
"相邻帧对计数",
|
||||
"INT 1~1000",
|
||||
(
|
||||
"保存30;循环每处理一对未跳过的相邻帧累加,达到30调用so"
|
||||
"ft_empty_cache并归零,最后另清一次;不是输出帧"
|
||||
"数/显存保证,本轮未清缓存。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"multiplier",
|
||||
"插帧倍率缓存",
|
||||
"2",
|
||||
"倍率",
|
||||
"INT min1;schema无max",
|
||||
(
|
||||
("缓存4由146.Int经边325覆盖,146源JSON int4但STRING ")
|
||||
+ ("schema,解析/恢复未测。循环每对补multiplier-1帧再追加末帧;无")
|
||||
+ "跳帧时静态(N-1)×M+1,不保证总帧恰为N×4或同步。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"fast_mode",
|
||||
"快速模式开关",
|
||||
"schema true;函数缺省false",
|
||||
"布尔",
|
||||
"true/false;取决于准确模型架构",
|
||||
(
|
||||
("保存false;传IFNet fastmode。非fast额外context/u")
|
||||
+ ("net残差仅架构4.0/4.2/4.3启用,当前rife49映射4.7不走此额外")
|
||||
+ "路径;不能承诺当前false更高画质。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"ensemble",
|
||||
"双向融合开关",
|
||||
"schema true;函数缺省false",
|
||||
"布尔",
|
||||
"true/false;准确IFNet各架构分支不同",
|
||||
(
|
||||
"保存true;4.7分支执行交换两帧和反向时间/流的额外推断"
|
||||
"与融合,具体算法按准确源码;未实测质量或速度。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"scale_factor",
|
||||
"RIFE内部流计算缩放",
|
||||
"1.0",
|
||||
"内部尺度",
|
||||
"枚举0.25/0.5/1.0/2.0/4.0",
|
||||
(
|
||||
"源JSON int1,schema数值枚举含float1.0"
|
||||
";生成scale_list=[8/s,4/s,2/s,1/s"
|
||||
"]传模型,不是把最终画面放大1倍的输出尺寸设置。"
|
||||
),
|
||||
),
|
||||
]
|
||||
for name, label, default, unit, limits, effect in rife_rows:
|
||||
spec(
|
||||
"RIFE VFI",
|
||||
name,
|
||||
label,
|
||||
"BOOLEAN"
|
||||
if name in ["fast_mode", "ensemble"]
|
||||
else "INT"
|
||||
if name in ["multiplier", "clear_cache_after_n_frames"]
|
||||
else "COMBO",
|
||||
default,
|
||||
unit,
|
||||
limits,
|
||||
effect,
|
||||
[rife, loop, arch, download, front],
|
||||
)
|
||||
cr_rows = [
|
||||
(
|
||||
"upscale_model",
|
||||
"旁支超分模型",
|
||||
"无固定默认;upscale_models目录枚举",
|
||||
"文件名",
|
||||
"依赖实际目录/模型结构",
|
||||
(
|
||||
("保存RealESRGAN_x4plus.pth;模型自身scale先用于模型放大")
|
||||
+ (",之后按原图尺寸重采样。文件名不证明模型装好或倍率真实;103输出links=[")
|
||||
+ "],未接成片链,不保证该旁支会执行。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"mode",
|
||||
"旁支尺寸模式",
|
||||
"schema首项rescale;函数rescale",
|
||||
"枚举",
|
||||
"rescale/resize",
|
||||
(
|
||||
("保存rescale按原始宽高乘rescale_factor取整,不按模型输出尺寸")
|
||||
+ ("再乘2;resize才用resize_width和rounding_modulu")
|
||||
+ "s。输出未接成片链。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"rescale_factor",
|
||||
"旁支最终缩放倍率缓存",
|
||||
"2",
|
||||
"倍率",
|
||||
"FLOAT 0.01~16.0,step0.01",
|
||||
(
|
||||
("原浮点2.0000000000000004保持原样,边332由156.Float")
|
||||
+ ("覆盖,其保存字符串2按float规则解析;当前rescale按原宽高乘外线倍率取")
|
||||
+ "整,未实测。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"resize_width",
|
||||
"旁支固定宽度缓存",
|
||||
"1024",
|
||||
"像素",
|
||||
"INT 1~48000,step1",
|
||||
("保存1024;当前rescale不采用此宽度,resize才按宽度及原比例算高并向上倍数对齐。"),
|
||||
),
|
||||
(
|
||||
"resampling_method",
|
||||
"旁支重采样方法",
|
||||
"schema首项lanczos;函数lanczos",
|
||||
"枚举",
|
||||
"lanczos/nearest/bilinear/bicubic",
|
||||
("保存lanczos,用于PIL最终重采样和supersample中间处理,不是模型名,不保证画质。"),
|
||||
),
|
||||
(
|
||||
"supersample",
|
||||
"旁支中间超采样",
|
||||
"schema首项字符串true;函数字符串true",
|
||||
"字符串枚举",
|
||||
"字符串true/false;不是JSON bool",
|
||||
(
|
||||
"保存字符串true,准确代码比较supersample =="
|
||||
" true字符串时先重采样至目标两轴8倍,再缩到目标尺寸;不"
|
||||
"是最终8倍超分,可能额外耗资源但未估算/执行。"
|
||||
),
|
||||
),
|
||||
(
|
||||
"rounding_modulus",
|
||||
"旁支宽高倍数对齐",
|
||||
"8",
|
||||
"像素倍数",
|
||||
"INT 8~1024,step8",
|
||||
(
|
||||
"保存8;只在resize分支把宽高向上取倍数,当前resca"
|
||||
"le分支不采用;模型分块512/32及OOM减tile是另外"
|
||||
"机制。"
|
||||
),
|
||||
),
|
||||
]
|
||||
for name, label, default, unit, limits, effect in cr_rows:
|
||||
spec(
|
||||
"CR Upscale Image",
|
||||
name,
|
||||
label,
|
||||
"FLOAT"
|
||||
if name == "rescale_factor"
|
||||
else "INT"
|
||||
if name in ["resize_width", "rounding_modulus"]
|
||||
else "COMBO",
|
||||
default,
|
||||
unit,
|
||||
limits,
|
||||
effect,
|
||||
[cr, resize, front],
|
||||
)
|
||||
fields = []
|
||||
zero = []
|
||||
for i, n in enumerate(graph["nodes"]):
|
||||
values = n["widgets_values"]
|
||||
if values == []:
|
||||
ev = impact if n["id"] == 136 else essentials
|
||||
zero.append(
|
||||
dict(
|
||||
node_id=str(n["id"]),
|
||||
class_type=n["type"],
|
||||
pointer=f"/nodes/{i}/widgets_values",
|
||||
effect="源保存空[],零位置;"
|
||||
+ (
|
||||
"逐张切片为list后分别接CR旁支与137。"
|
||||
if n["id"] == 136
|
||||
else (
|
||||
"接136原始帧list,按首项宽高对齐并拼批次,送104插帧"
|
||||
";不是接103放大结果。"
|
||||
)
|
||||
),
|
||||
evidence=[ev],
|
||||
)
|
||||
)
|
||||
continue
|
||||
if n["type"] in ["Int", "Float"]:
|
||||
kind = n["type"]
|
||||
effect = {
|
||||
146: (
|
||||
("保存JSON int4而schema输入STRING;int(Number)成功")
|
||||
+ ("才输出INT,失败抛Invalid value provided for INT")
|
||||
+ ",无回退默认。边325覆盖104.multiplier。"
|
||||
),
|
||||
149: (
|
||||
"保存字符串16;int(Number)成功才输出INT,失败"
|
||||
"抛错不回退;边327覆盖123.force_rate缓存0;"
|
||||
"不当原视频FPS。"
|
||||
),
|
||||
155: (
|
||||
("保存字符串60;float(Number)成功才输出FLOAT,失败抛Inval")
|
||||
+ ("id value provided for FLOAT不回退;边333覆盖124")
|
||||
+ ".frame_rate缓存60;不保证音画同步。"
|
||||
),
|
||||
156: (
|
||||
("保存字符串2;float(Number)成功才输出FLOAT,失败抛错无默认回退")
|
||||
+ (";边332覆盖103.rescale_factor缓存2.00000000000")
|
||||
+ "00004;103输出未接,不保证执行。"
|
||||
),
|
||||
}[n["id"]]
|
||||
spec(
|
||||
kind,
|
||||
"Number",
|
||||
"常量" + ("整数" if kind == "Int" else "浮点") + "文本输入",
|
||||
"STRING",
|
||||
"后端未声明default;准确前端STRING缺省空串",
|
||||
"传给下游后由其定义单位",
|
||||
"无schema数值范围;int/float转换失败抛错;不执行表达式",
|
||||
effect,
|
||||
[literal, string, front],
|
||||
)
|
||||
keys = (
|
||||
list(values)
|
||||
if isinstance(values, dict)
|
||||
else [r[0] for r in rife_rows]
|
||||
if n["type"] == "RIFE VFI"
|
||||
else [r[0] for r in cr_rows]
|
||||
if n["type"] == "CR Upscale Image"
|
||||
else ["Number"]
|
||||
)
|
||||
assert len(keys) == len(values)
|
||||
for j, key in enumerate(keys):
|
||||
v = values[key] if isinstance(values, dict) else values[j]
|
||||
ptr = f"/nodes/{i}/widgets_values/{key if isinstance(values, dict) else j}"
|
||||
inp = next(
|
||||
(k for k, x in enumerate(n["inputs"]) if x.get("widget", {}).get("name") == key),
|
||||
None,
|
||||
)
|
||||
link = n["inputs"][inp].get("link") if inp is not None else None
|
||||
f = {
|
||||
**specs[n["type"], key],
|
||||
"node_id": str(n["id"]),
|
||||
"scope": "root",
|
||||
"class_type": n["type"],
|
||||
"pointer": ptr,
|
||||
"input_pointer": f"/nodes/{i}/inputs/{inp}" if inp is not None else ptr,
|
||||
"value": v,
|
||||
"json_type": type(v).__name__,
|
||||
"execution_note": "源mode0;"
|
||||
+ (f"边{link}覆盖缓存;" if link is not None else "无输入边覆盖此保存项;")
|
||||
+ (
|
||||
"实际前端1.23.0与UE7.4.1组合恢复/宿主/目标安装"
|
||||
"未知,未构造prompt、未执行解析/模型/媒体。"
|
||||
),
|
||||
}
|
||||
if link is not None:
|
||||
f["role"] = "linked_cache"
|
||||
fields.append(f)
|
||||
assert len(fields) == 37 and len(zero) == 2
|
||||
overview = (
|
||||
("这张图把视频原始画面拆成列表再重组,送RIFE插帧后合成视频,音频直接从加载器进")
|
||||
+ ("入合成。RealESRGAN放大旁支的输出没有接入成片链,不能称已将模型放大结果")
|
||||
+ ("插帧成片,也不保证未接旁支会执行。输入采样与输出帧率分别外接16和60的保存文本")
|
||||
+ ",实际解析、时长、音轨和同步未知;只供参考,转换与生成保持关闭。"
|
||||
)
|
||||
flow = [
|
||||
overview,
|
||||
(
|
||||
"10节点/10物理边,全mode0,无子图/Note;37顶"
|
||||
"层保存位置=35标量含字符串+2完整videopreview"
|
||||
"对象,136/137空[]各零位置。"
|
||||
),
|
||||
(
|
||||
("画面链123.LoadVideo槽0→136.BatchToList;136分别")
|
||||
+ ("→103.CR Upscale及137.ImageListToBatch+;13")
|
||||
+ ("7→104.RIFE→124.Combine。103.IMAGE links=[")
|
||||
+ "]、show_help亦未接;不补线,不保证依赖遍历会执行旁支。"
|
||||
),
|
||||
(
|
||||
("136准确OUTPUT_IS_LIST=True,每次image[i:i+1]保")
|
||||
+ ("留单张批次维;137准确INPUT_IS_LIST=True按首张尺寸对不一致项")
|
||||
+ ("bicubic/center后cat。传给RIFE的是原始帧重组,不是103输出")
|
||||
+ ("。源cnr_id comfyui_essentials与发布包名一致,Regis")
|
||||
+ ("try下载所有者matteo,包内Repository是cubiq/ComfyU")
|
||||
+ "I_essentials;来源层次分列,不证明目标安装。"
|
||||
),
|
||||
(
|
||||
("四常量:146保存JSON int4而STRING schema,149保存字符")
|
||||
+ ("串16;155保存字符串60、156保存字符串2。准确Int/Float仅int")
|
||||
+ ("(Number)/float(Number),失败抛错无默认回退。STRING准")
|
||||
+ "确前端默认空串;不运行转换或表达式,不将源类型归一化。"
|
||||
),
|
||||
(
|
||||
("边325:146→104.multiplier覆盖缓存4;327:149→123")
|
||||
+ (".force_rate覆盖0;332:156→103.rescale_facto")
|
||||
+ ("r覆盖2.0000000000000004;333:155→124.frame_")
|
||||
+ ("rate覆盖60。四组缓存与外线均保留,连线类型INT到floatOrInt/F")
|
||||
+ "LOAT入口不等于实际恢复/执行已验证。"
|
||||
),
|
||||
(
|
||||
("RIFE保存rife49.pth/30/4/false/true/JSON in")
|
||||
+ ("t1;rife49映射架构4.7。optional_interpolation_")
|
||||
+ ("states未接,无状态跳帧时静态循环(N-1)×multiplier+1,不能")
|
||||
+ ("由16×4与60保证时长相同或同步。fast=false在4.7不启用仅4.0/")
|
||||
+ ("4.2/4.3的context/unet额外路径;ensemble=true走4")
|
||||
+ ".7反向融合。scale_factor仅内部流尺度;未推理/清缓存/下载。"
|
||||
),
|
||||
(
|
||||
("CR七值保留RealESRGAN_x4plus.pth/rescale/2.00")
|
||||
+ ("00000000000004/1024/lanczos/字符串true/8。先模")
|
||||
+ ("型放大,再基于原尺寸乘rescale倍率取整;当前不采用resize_width")
|
||||
+ ("及rounding_modulus。字符串true先做目标两轴8倍中间重采样再缩")
|
||||
+ ("回,非JSON bool/最终8倍。模型倍率/目标尺寸/真实效果分开;输出未接成")
|
||||
+ "片链。"
|
||||
),
|
||||
(
|
||||
("123保存cap0/skip0/nth1、宽高0/0、AnimateDiff、源")
|
||||
+ ("文件名;force_rate缓存0由149覆盖。AnimateDiff dim按")
|
||||
+ ("8倍数近似对齐,内置target_rate8不等于Python强制改为8。图无上")
|
||||
+ ("传按钮保存项,不制造。123.frame_count未接、video_info ")
|
||||
+ "links=[];meta_batch/vae未接。"
|
||||
),
|
||||
(
|
||||
("音频边319从123槽2直连124.audio,不经RIFE/CR;懒音轨访问时")
|
||||
+ ("才提取,素材名-audio不证明音轨存在。实际源FPS、声音长度、画面帧数及同步")
|
||||
+ "未知,不读取素材或探测。"
|
||||
),
|
||||
(
|
||||
("124保存H264/yuv420p/crf19、save_metadata=fa")
|
||||
+ ("lse/trim=false/pingpong=false/save_outpu")
|
||||
+ ("t=true;正式output目录MP4,libx264与AAC需目标支持。VH")
|
||||
+ ("S_MetadataImage=true控制首帧workflow PNG,独立于")
|
||||
+ ("编码元数据false;音轨可取才另混-audio.mp4,trimfalse保留")
|
||||
+ ("apad并-shortest,不能保证同步。VHS_KeepIntermedia")
|
||||
+ ("te=true保留中间文件。静态返回ui.gifs及result((save_o")
|
||||
+ ("utput,output_files),);输出VHS_FILENAMES未连下")
|
||||
+ "游。"
|
||||
),
|
||||
(
|
||||
("两个videopreview完整历史对象各一位置,不拆嵌套计数;input视频名")
|
||||
+ ("与output E盘路径、ComfUI_00004-audio.mp4、work")
|
||||
+ ("flow PNG和缓存60皆非本次产物,不请求URL/媒体。VHS准确JS us")
|
||||
+ ("eKVState恢复/序列化按键及动态格式控件,LiteGraph按位置;UE7")
|
||||
+ (".4.1及空ue_links/links_added_by_ue不证明没有覆盖,")
|
||||
+ "组合恢复未知,不重开UE调查。"
|
||||
),
|
||||
(
|
||||
("身份分层:节点VHS1.7.7准确发布包与图extra的f24f4e10f448")
|
||||
+ ("913eb8c0d8ce5ff6190a8be84454分别记录;RIFE节点1")
|
||||
+ (".0.7与图级c336f7184cb1ac1243381e725fea1ad2c")
|
||||
+ ("0a10c09冲突分列,不能当同一安装事实。frontend1.23.0准确ta")
|
||||
+ ("g及锁定LiteGraph0.15.15;ComfyLiterals与CR完整提")
|
||||
+ ("交准确绑定。Impact8.25.1/Essentials1.1.0发布包Git")
|
||||
+ "绑定未知。"
|
||||
),
|
||||
(
|
||||
("图级core0.3.12/fastblend6677d656f030d34568")
|
||||
+ ("4e3c2680b0cddb2680c307在本图无对应节点,只保留历史元数据,")
|
||||
+ ("不编造依赖。CR及ComfyLiterals准确提交树未发现LICENSE/CO")
|
||||
+ ("PYING;固定README/源码头信息,许可文本缺失仍未知,不借最新版。真实宿")
|
||||
+ "主扩展、依赖、模型、素材、设备/资源耗时和效果均未知。"
|
||||
),
|
||||
(
|
||||
("旧34块1069位置+25注释逐对象冻结;新增37位置/0注释,现35图1106")
|
||||
+ ("+25仅参考。155停用未检查、完整定稿0/必要实跑0/新增转换0;16/139")
|
||||
+ ("、1217/3660/294及145UI9参考候选136关闭保持,case06排")
|
||||
+ "除。"
|
||||
),
|
||||
*["原边 root " + json.dumps(e, ensure_ascii=False) for e in graph["links"]],
|
||||
]
|
||||
versions = [
|
||||
e["id"] + "→" + e["commit"] for e in json.loads((REF / "identities.json").read_bytes())
|
||||
]
|
||||
for key in ["vhs", "rife", "impact", "essentials", "litegraph"]:
|
||||
e = next(e for e in entries if e["id"] == key)
|
||||
versions.append(key + "→" + e["commit"] + ";包到Git绑定未知")
|
||||
return dict(
|
||||
source_path=PATHS[index],
|
||||
source_sha1=hashlib.sha1(raw).hexdigest(),
|
||||
source_sha256=hashlib.sha256(raw).hexdigest(),
|
||||
canonical_sha256=hashlib.sha256(canonical(graph)).hexdigest(),
|
||||
notice=(
|
||||
"仅固定来源参考;原帧插帧链与未接放大旁支分开,实际恢复/环境"
|
||||
"/时长/音画同步及效果未知,转换关闭、未实跑。"
|
||||
),
|
||||
user_overview=overview,
|
||||
versions=versions,
|
||||
counts=dict(
|
||||
saved_fields=37,
|
||||
source_nodes=10,
|
||||
physical_edges=10,
|
||||
source_notes=0,
|
||||
history_objects=2,
|
||||
linked_saved_fields=4,
|
||||
frontend_only=2,
|
||||
final_scalars=0,
|
||||
final_prompt_constructed=False,
|
||||
),
|
||||
fields=fields,
|
||||
sources=refs,
|
||||
comments=[],
|
||||
flow=flow,
|
||||
flow_evidence=list(range(len(refs))),
|
||||
zero_saved_nodes=zero,
|
||||
boundaries=[],
|
||||
steps=[
|
||||
overview,
|
||||
("操作1:只读核对原帧插帧链和103未接出口,保留停用,不上传/处理素材,不补线。"),
|
||||
(
|
||||
"操作2:核准准确节点/前端与UE组合、四常量类型及外线覆盖,"
|
||||
"再核素材/模型/编码依赖;未获真实验证不放行。"
|
||||
),
|
||||
("操作3:全量完成并审核前仅读参考说明;不构造prompt、不运行解析/上游插件/模型/媒体。"),
|
||||
],
|
||||
)
|
||||
@@ -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
@@ -0,0 +1,232 @@
|
||||
E501 Line too long (140 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:239:76
|
||||
|
|
||||
237 | …
|
||||
238 | …
|
||||
239 | … 保存字符串16,准确解析规则为int(Number)。静态预期采样16fps,但解析/恢复未实际验证。"
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
240 | …6×4和60保证时长或音画同步。"
|
||||
241 | …
|
||||
|
|
||||
|
||||
E501 Line too long (120 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:340:79
|
||||
|
|
||||
338 | "min1,step1,schema无max",
|
||||
339 | (
|
||||
340 | "源缓存JSON int60由155.Float经边333覆盖;155保存字符串60,按float规则解析后传FFmpeg画面-r;未运行解析。"
|
||||
| ^^^^^^^^^^^^^^^^^^^
|
||||
341 | "不证明原片FPS或与直连声音同步。"
|
||||
342 | ),
|
||||
|
|
||||
|
||||
E501 Line too long (172 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:497:78
|
||||
|
|
||||
495 | …
|
||||
496 | …
|
||||
497 | … 解析/恢复未测。循环每对补multiplier-1帧再追加末帧;无跳帧时静态(N-1)×M+1,不保证总帧恰为N×4或同步。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
498 | …
|
||||
499 | …
|
||||
|
|
||||
|
||||
E501 Line too long (153 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:505:83
|
||||
|
|
||||
503 | …
|
||||
504 | …
|
||||
505 | …net残差仅架构4.0/4.2/4.3启用,当前rife49映射4.7不走此额外路径;不能承诺当前false更高画质。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
506 | …
|
||||
507 | …
|
||||
|
|
||||
|
||||
E501 Line too long (131 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:521:83
|
||||
|
|
||||
519 | "内部尺度",
|
||||
520 | "枚举0.25/0.5/1.0/2.0/4.0",
|
||||
521 | "源JSON int1,schema数值枚举含float1.0;生成scale_list=[8/s,4/s,2/s,1/s]传模型,不是把最终画面放大1倍的输出尺寸设置。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
522 | ),
|
||||
523 | ]
|
||||
|
|
||||
|
||||
E501 Line too long (155 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:587:70
|
||||
|
|
||||
585 | …
|
||||
586 | …
|
||||
587 | … 串时先重采样至目标两轴8倍,再缩到目标尺寸;不是最终8倍超分,可能额外耗资源但未估算/执行。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
588 | …
|
||||
589 | …
|
||||
|
|
||||
|
||||
E501 Line too long (102 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:629:73
|
||||
|
|
||||
627 | "逐张切片为list后分别接CR旁支与137。"
|
||||
628 | if n["id"] == 136
|
||||
629 | else "接136原始帧list,按首项宽高对齐并拼批次,送104插帧;不是接103放大结果。"
|
||||
| ^
|
||||
630 | ),
|
||||
631 | evidence=[ev],
|
||||
|
|
||||
|
||||
E501 Line too long (158 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:638:86
|
||||
|
|
||||
636 | …
|
||||
637 | …
|
||||
638 | …er)成功才输出INT,失败抛Invalid value provided for INT,无回退默认。边325覆盖104.multiplier。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
639 | … 败抛错不回退;边327覆盖123.force_rate缓存0;不当原视频FPS。",
|
||||
640 | …T,失败抛Invalid value provided for FLOAT不回退;边333覆盖124.frame_rate缓存60;不保证音画同步。",
|
||||
|
|
||||
|
||||
E501 Line too long (125 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:639:78
|
||||
|
|
||||
637 | … effect = {
|
||||
638 | … 146: "保存JSON int4而schema输入STRING;int(Number)成功才输出INT,失败抛Invalid value provided for INT,无回退默认。边325覆…
|
||||
639 | … 149: "保存字符串16;int(Number)成功才输出INT,失败抛错不回退;边327覆盖123.force_rate缓存0;不当原视频FPS。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
640 | … 155: "保存字符串60;float(Number)成功才输出FLOAT,失败抛Invalid value provided for FLOAT不回退;边333覆盖124.frame_rate缓存…
|
||||
641 | … 156: "保存字符串2;float(Number)成功才输出FLOAT,失败抛错无默认回退;边332覆盖103.rescale_factor缓存2.0000000000000004;10…
|
||||
|
|
||||
|
||||
E501 Line too long (161 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:640:86
|
||||
|
|
||||
638 | …)成功才输出INT,失败抛Invalid value provided for INT,无回退默认。边325覆盖104.multiplier。",
|
||||
639 | … 抛错不回退;边327覆盖123.force_rate缓存0;不当原视频FPS。",
|
||||
640 | … 失败抛Invalid value provided for FLOAT不回退;边333覆盖124.frame_rate缓存60;不保证音画同步。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
641 | … 败抛错无默认回退;边332覆盖103.rescale_factor缓存2.0000000000000004;103输出未接,不保证执行。",
|
||||
642 | …
|
||||
|
|
||||
|
||||
E501 Line too long (163 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:641:76
|
||||
|
|
||||
639 | … 错不回退;边327覆盖123.force_rate缓存0;不当原视频FPS。",
|
||||
640 | … 败抛Invalid value provided for FLOAT不回退;边333覆盖124.frame_rate缓存60;不保证音画同步。",
|
||||
641 | … 败抛错无默认回退;边332覆盖103.rescale_factor缓存2.0000000000000004;103输出未接,不保证执行。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
642 | …
|
||||
643 | …
|
||||
|
|
||||
|
||||
E501 Line too long (108 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:683:72
|
||||
|
|
||||
681 | "execution_note": "源mode0;"
|
||||
682 | + (f"边{link}覆盖缓存;" if link is not None else "无输入边覆盖此保存项;")
|
||||
683 | + "实际前端1.23.0与UE7.4.1组合恢复/宿主/目标安装未知,未构造prompt、未执行解析/模型/媒体。",
|
||||
| ^^^^^^^^
|
||||
684 | }
|
||||
685 | if link is not None:
|
||||
|
|
||||
|
||||
E501 Line too long (303 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:689:61
|
||||
|
|
||||
687 | …
|
||||
688 | …
|
||||
689 | … 成。RealESRGAN放大旁支的输出没有接入成片链,不能称已将模型放大结果插帧成片,也不保证未接旁支会执行。输入采样与输出帧率分别外接16和60的保存文本,实际解析、时长、音轨和同步未知;只供参考,转换与生成保持关闭。"
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
690 | …
|
||||
691 | …
|
||||
|
|
||||
|
||||
E501 Line too long (195 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:693:92
|
||||
|
|
||||
691 | …
|
||||
692 | … videopreview对象,136/137空[]各零位置。",
|
||||
693 | …ListToBatch+;137→104.RIFE→124.Combine。103.IMAGE links=[]、show_help亦未接;不补线,不保证依赖遍历会执行旁支。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
694 | …IS_LIST=True按首张尺寸对不一致项bicubic/center后cat。传给RIFE的是原始帧重组,不是103输出。源cnr_id comfyui_essentials与发布包名一致…
|
||||
695 | …、156保存字符串2。准确Int/Float仅int(Number)/float(Number),失败抛错无默认回退。STRING准确前端默认空串;不运行转换或表达式,不将源…
|
||||
|
|
||||
|
||||
E501 Line too long (315 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:694:83
|
||||
|
|
||||
692 | …w对象,136/137空[]各零位置。",
|
||||
693 | … 137→104.RIFE→124.Combine。103.IMAGE links=[]、show_help亦未接;不补线,不保证依赖遍历会执行旁支。",
|
||||
694 | … 首张尺寸对不一致项bicubic/center后cat。传给RIFE的是原始帧重组,不是103输出。源cnr_id comfyui_essentials与发布包名一致,Registry下载所有者matteo,包内Repository是cubiq/ComfyUI_essentials;来源层次分列,不证明目标安装。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
695 | … 2。准确Int/Float仅int(Number)/float(Number),失败抛错无默认回退。STRING准确前端默认空串;不运行转换或表达式,不将源类型归一化。",
|
||||
696 | …_factor覆盖2.0000000000000004;333:155→124.frame_rate覆盖60。四组缓存与外线均保留,连线类型INT到floatOrInt/FLOAT入口不等于实际恢复/执行已验证。",
|
||||
|
|
||||
|
||||
E501 Line too long (226 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:695:75
|
||||
|
|
||||
693 | … 137→104.RIFE→124.Combine。103.IMAGE links=[]、show_help亦未接;不补线,不保证依赖遍历会执行旁支。",
|
||||
694 | … 首张尺寸对不一致项bicubic/center后cat。传给RIFE的是原始帧重组,不是103输出。源cnr_id comfyui_essentials与发布包名一致,Registry下载所…
|
||||
695 | … 2。准确Int/Float仅int(Number)/float(Number),失败抛错无默认回退。STRING准确前端默认空串;不运行转换或表达式,不将源类型归一化。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
696 | …_factor覆盖2.0000000000000004;333:155→124.frame_rate覆盖60。四组缓存与外线均保留,连线类型INT到floatOrInt/FLOAT入口不等于实际恢复/执…
|
||||
697 | …n_states未接,无状态跳帧时静态循环(N-1)×multiplier+1,不能由16×4与60保证时长相同或同步。fast=false在4.7不启用仅4.0/4.2/4.3的context/une…
|
||||
|
|
||||
|
||||
E501 Line too long (317 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:697:93
|
||||
|
|
||||
695 | … 2。准确Int/Float仅int(Number)/float(Number),失败抛错无默认回退。STRING准确前端默认空串;不运行转换或表达式,不将源类型归一化。",
|
||||
696 | …_factor覆盖2.0000000000000004;333:155→124.frame_rate覆盖60。四组缓存与外线均保留,连线类型INT到floatOrInt/FLOAT入口不等于实际恢复/执行已验证。",
|
||||
697 | …n_states未接,无状态跳帧时静态循环(N-1)×multiplier+1,不能由16×4与60保证时长相同或同步。fast=false在4.7不启用仅4.0/4.2/4.3的context/unet额外路径;ensemble=true走4.7反向融合。scale_factor仅内部流尺度;未推理/清缓存/下载。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
698 | … 模型放大,再基于原尺寸乘rescale倍率取整;当前不采用resize_width及rounding_modulus。字符串true先做目标两轴8倍中间重采样再缩回,非JSON bool/最终8倍。模型倍率/目标尺寸/真实效果分开;输出未接成片链。",
|
||||
699 | …ateDiff dim按8倍数近似对齐,内置target_rate8不等于Python强制改为8。图无上传按钮保存项,不制造。123.frame_count未接、video_info links=[];meta_batch/vae未接。",
|
||||
|
|
||||
|
||||
E501 Line too long (294 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:698:91
|
||||
|
|
||||
696 | …factor覆盖2.0000000000000004;333:155→124.frame_rate覆盖60。四组缓存与外线均保留,连线类型INT到floatOrInt/FLOAT入口不等于实际恢复/执行已验证。",
|
||||
697 | …_states未接,无状态跳帧时静态循环(N-1)×multiplier+1,不能由16×4与60保证时长相同或同步。fast=false在4.7不启用仅4.0/4.2/4.3的context/unet额外路径;ensemble=true走4.7反向融合。scale_factor仅内部流尺度;未…
|
||||
698 | … 模型放大,再基于原尺寸乘rescale倍率取整;当前不采用resize_width及rounding_modulus。字符串true先做目标两轴8倍中间重采样再缩回,非JSON bool/最终8倍。模型倍率/目标尺寸/真实效果分开;输出未接成片链。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
699 | …teDiff dim按8倍数近似对齐,内置target_rate8不等于Python强制改为8。图无上传按钮保存项,不制造。123.frame_count未接、video_info links=[];meta_batch/vae未接。",
|
||||
700 | … 在。实际源FPS、声音长度、画面帧数及同步未知,不读取素材或探测。",
|
||||
|
|
||||
|
||||
E501 Line too long (254 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:699:83
|
||||
|
|
||||
697 | …n_states未接,无状态跳帧时静态循环(N-1)×multiplier+1,不能由16×4与60保证时长相同或同步。fast=false在4.7不启用仅4.0/4.2/4.3的context/unet额外路径;ensemble=true走4.…
|
||||
698 | … 模型放大,再基于原尺寸乘rescale倍率取整;当前不采用resize_width及rounding_modulus。字符串true先做目标两轴8倍中间重采样再缩回,非JSON bool/最终8倍。模型倍率/目标尺…
|
||||
699 | …ateDiff dim按8倍数近似对齐,内置target_rate8不等于Python强制改为8。图无上传按钮保存项,不制造。123.frame_count未接、video_info links=[];meta_batch/vae未接。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
700 | … 存在。实际源FPS、声音长度、画面帧数及同步未知,不读取素材或探测。",
|
||||
701 | …rue;正式output目录MP4,libx264与AAC需目标支持。VHS_MetadataImage=true控制首帧workflow PNG,独立于编码元数据false;音轨可取才另混-audio.mp4,trimfalse保留apad并-sho…
|
||||
|
|
||||
|
||||
E501 Line too long (402 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:701:97
|
||||
|
|
||||
699 | …ateDiff dim按8倍数近似对齐,内置target_rate8不等于Python强制改为8。图无上传按钮保存项,不制造。123.frame_count未接、video_info links=[];meta_batch/vae未接。",
|
||||
700 | … 存在。实际源FPS、声音长度、画面帧数及同步未知,不读取素材或探测。",
|
||||
701 | …rue;正式output目录MP4,libx264与AAC需目标支持。VHS_MetadataImage=true控制首帧workflow PNG,独立于编码元数据false;音轨可取才另混-audio.mp4,trimfalse保留apad并-shortest,不能保证同步。VHS_KeepIntermediate=true保留中间文件。静态返回ui.gifs及result((save_output,output_files),);输出VHS_FILENAMES未连下游。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^…^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
702 | …I_00004-audio.mp4、workflow PNG和缓存60皆非本次产物,不请求URL/媒体。VHS准确JS useKVState恢复/序列化按键及动态格式控件,LiteGraph按位置;UE7.4.1及空ue_links/links_added_by_ue不证明没有覆盖,组合恢复未知,不重开UE调查。",
|
||||
703 | … 记录;RIFE节点1.0.7与图级c336f7184cb1ac1243381e725fea1ad2c0a10c09冲突分列,不能当同一安装事实。frontend1.23.0准确tag及锁定LiteGraph0.15.15;ComfyLiterals与CR完整提交准确绑定。Impact8.25.1/Essentials1.1.0发布包Git绑定未知。",
|
||||
|
|
||||
|
||||
E501 Line too long (315 > 100)
|
||||
--> docs/hel-892/simple-vfi-document-evidence/build_definition.py:702:73
|
||||
|
|
||||
700 | … 存在。实际源FPS、声音长度、画面帧数及同步未知,不读取素材或探测。",
|
||||
701 | …rue;正式output目录MP4,libx264与AAC需目标支持。VHS_MetadataImage=true控制首帧workflow PNG,独立于编码元数据false;音轨可取才另混-audio.mp4,trimfalse保留apad并-shortest,不能保证同步。VHS_KeepIntermediate=true保留中间文件。…
|
||||
702 | …I_00004-audio.mp4、workflow PNG和缓存60皆非本次产物,不请求URL/媒体。VHS准确JS useKVState恢复/序列化按键及动态格式控件,LiteGraph按位置;UE7.4.1及空ue_links/links_added_by_ue不证明没有覆盖,组合恢复未知,不重开UE调查。",
|
||||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
703 | … 记录;RIFE节点1.0.7与图级c336f7184cb1ac1243381e725fea1ad2c0a10c09冲突分列,不能当同一安装事实。frontend1.23.0准确tag及锁定LiteGraph0.15.15;ComfyLiterals与CR完整提交准确绑定。Impact8.25.1/Essentials1.1.0发布包Git绑定未知。",
|
||||
704 | … 历史元数据,不编造依赖。CR及ComfyLiterals准确提交树未发现LICENSE/COPYING;固定README/源码头信息,许可文本缺失仍未知,不借最新版。真实宿主扩展、依赖、模型、素材、设备/资源耗时和效果均未知。",
|
||||
|
|
||||
|
||||
Found 21 errors.
|
||||
@@ -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_simple_vfi_fixed_document.py",
|
||||
"e2e/run-simple-vfi-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/simple-vfi-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,11 @@
|
||||
第54批仅“视频模型放大插帧(简单快速版)”:37顶层位置(35标量含字符串+2完整历史对象)、0源注释,已接入实际doc_json/GET/既有Drawer。旧34块1069位置+25注释逐对象不变,现35图1106+25仅供参考。155完整定稿0/必要实跑0/新增转换0,全量未完成。
|
||||
|
||||
原帧链123→136→137→104→124;136另接103,103放大输出links=[]未接成片链,不保证旁支执行。音频123槽2直连124。四常量原始JSON类型/STRING schema/int-float解析规则与四处外线覆盖缓存独立保留;RIFE映射4.7、fast分支条件、相邻帧插值/末帧规则、CR字符串true及当前rescale不采用resize宽度/对齐分别说明。两个完整历史预览不当当前产物;不由16×4和60保证时长或同步。
|
||||
|
||||
准确frontend1.23.0及锁定LiteGraph0.15.15、ComfyLiterals/CR完整提交、VHS1.7.7/RIFE1.0.7/Impact8.25.1/Essentials1.1.0准确包与40固定文本/49精确行引用已核字节、Git blob/tag/tree或包SHA。VHS/RIFE节点版本与图级历史提交分层,包到Git未知;Essentials发布者matteo/仓库cubiq与源id分列。CR及ComfyLiterals准确树缺许可文件,许可未知;不借最新版。UE7.4.1及空扩展边不证明无覆盖,组合恢复未知。local_file基准docs/hel-892/simple-vfi-document-evidence。
|
||||
|
||||
本次190后台通过(177专项+13库回归);14自写Python Ruff/format与JS语法通过。离线wheel/sdist实际资源字节、双次定义重建/渲染确定性通过。真实8afc7af旧代码隔离库1更新/154跳过,其余154条29列整行不变;幂等155跳过、精确回退1、再升级1,升级前后用户编辑各1冲突/29列整行保护。155停用未检查/时间戳空、16/139、1217/3660/294保持,case06排除。163原件/191冻结资源/28profiles/9候选hash/六差分/执行资格及Drawer整文件不动。
|
||||
|
||||
最终1440/390浏览1374通过(542本图+816旧34概要+2汇总+14共享);逐位置/来源/默认折叠、错绑定/旧空doc/迟到重试/焦点/无横溢通过;5张截图实际目验,仅附件交付。固定/轮询/拦截/就绪见独立请求记账;禁止请求0。finally停两服务,8247/5173释放。开发失败修正保留;未跑无关全后台/全前端/冻结转换,不引用历史测试数为本次,不称全仓全绿。
|
||||
|
||||
完整中文为../视频模型放大插帧(简单快速版)固定参考中文说明.md,实际doc为actual-视频模型放大插帧(简单快速版).json,固定原件/许可在../simple-vfi-reference,复现命令validation-commands.txt。真实目标/恢复/模型素材/编码器/资源耗时/产物效果和音画同步仍未测。未连目标、不停TTS、不启ComfyUI、不执行上游插件/解析表达式/模型/媒体/ffmpeg/缓存清理/GPU、不下载模型素材字体运行库、不加依赖付费、不写在线库、不合并部署。全量完成并审核后才发布。
|
||||
@@ -0,0 +1,11 @@
|
||||
开发失败与修正记录(本批)
|
||||
|
||||
- 初次按常见名称读取许可文件时准确CR/ComfyLiterals树无LICENSE,检索失败;改为固定准确完整树/README/源码头,明确许可文本缺失未知。未借其他版本许可。
|
||||
- GitHub API返回403 rate limit,后续复用已取得的准确tag/tree并核blob,未绕过认证或改用最新版本。
|
||||
- Essentials注册URL以.tar.gz结尾,实际字节是PK ZIP;初次按gzip读取失败,改按真实ZIP容器读取/核SHA及成员,未安装执行。
|
||||
- 构建初期CR/RIFE/STRING引用行尾越界触发断言;独立检查文件行数后修正,最终全部引用边界及SHA通过。
|
||||
- 初次专项20失败/170通过:测试辅助篡改器把VHS真实字典键误当数组整数索引,修正测试按真实容器选择键;产品保持失败关闭,最终190通过。
|
||||
- 初次Ruff检查发现文本显示宽度超限、未用upload变量与格式问题;断行辅助工具曾造成相邻括号字符串语法错误,已修正。完整初次日志保留,最终14自写Python Ruff/format及JS语法通过。最终双次构建/渲染与资源摘要一致。
|
||||
- 首次浏览1374通过;随后仅把锁文件引用改为确切950~955行并补VHS注册钩子出处,重建/专项/包/保护及浏览在最终数据上重跑。没有产品样式变更或线上生成。
|
||||
|
||||
- 暂存全差分检查报告上游原件尾空格/EOF空行;未修改原件,保留准确SHA/blob/包成员字节。自写改动单独git diff --cached --check通过,原件未纳入Ruff范围。
|
||||
@@ -0,0 +1,83 @@
|
||||
"""Read pinned frontend widget and locked LiteGraph source text without execution."""
|
||||
|
||||
import base64
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
import tarfile
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
REF = Path(__file__).resolve().parent.parent / "simple-vfi-reference"
|
||||
|
||||
|
||||
def get(url):
|
||||
with urllib.request.urlopen(url, timeout=40) as r:
|
||||
return r.read(5000001)
|
||||
|
||||
|
||||
def main():
|
||||
data = json.loads((REF / "sources.json").read_bytes())
|
||||
entries = [e for e in data["sources"] if e["id"] != "litegraph"]
|
||||
e = next(e for e in entries if e["id"] == "frontend")
|
||||
rev = e["commit"]
|
||||
file = "src/composables/widgets/useStringWidget.ts"
|
||||
tree = json.loads((REF / "frontend-tree.json").read_bytes())
|
||||
blob = next(x["sha"] for x in tree["tree"] if x["path"] == file)
|
||||
url = f"https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/{rev}/{file}"
|
||||
raw = get(url)
|
||||
assert hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest() == blob
|
||||
name = "frontend__" + file.replace("/", "__")
|
||||
(REF / name).write_bytes(raw)
|
||||
entries = [e for e in entries if not (e["id"] == "frontend" and e["file"] == file)]
|
||||
entries.append(
|
||||
dict(
|
||||
id="frontend",
|
||||
file=file,
|
||||
local_file=name,
|
||||
url=url,
|
||||
commit=rev,
|
||||
git_blob_sha1=blob,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
)
|
||||
)
|
||||
lock = json.loads((REF / "frontend__package-lock.json").read_bytes())["packages"][
|
||||
"node_modules/@comfyorg/litegraph"
|
||||
]
|
||||
raw = get(lock["resolved"])
|
||||
assert "sha512-" + base64.b64encode(hashlib.sha512(raw).digest()).decode() == lock["integrity"]
|
||||
(REF / "litegraph-source.tgz").write_bytes(raw)
|
||||
sha = hashlib.sha256(raw).hexdigest()
|
||||
with tarfile.open(fileobj=io.BytesIO(raw), mode="r:gz") as t:
|
||||
(REF / "litegraph-members.json").write_text(json.dumps(t.getnames(), indent=2) + "\n")
|
||||
for file in [
|
||||
"package/src/LGraphNode.ts",
|
||||
"package/dist/litegraph.es.js",
|
||||
"package/LICENSE",
|
||||
"package/package.json",
|
||||
]:
|
||||
if file not in t.getnames():
|
||||
print("MISSING", file)
|
||||
continue
|
||||
b = t.extractfile(file).read()
|
||||
name = "litegraph__" + file.replace("/", "__")
|
||||
(REF / name).write_bytes(b)
|
||||
entries.append(
|
||||
dict(
|
||||
id="litegraph",
|
||||
file=file,
|
||||
local_file=name,
|
||||
url=lock["resolved"],
|
||||
commit="npm0.15.15包SHA256:" + sha,
|
||||
git_commit_binding="unknown",
|
||||
package_sha256=sha,
|
||||
sha256=hashlib.sha256(b).hexdigest(),
|
||||
)
|
||||
)
|
||||
(REF / "sources.json").write_text(
|
||||
json.dumps(dict(sources=entries), ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,89 @@
|
||||
"""Bounded exact release text retrieval; no import, installation or execution."""
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
import urllib.request
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
|
||||
REF = Path(__file__).resolve().parent.parent / "simple-vfi-reference"
|
||||
|
||||
|
||||
def main():
|
||||
entries = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
entries = [e for e in entries if e["id"] not in ["rife", "essentials", "impact", "vhs"]]
|
||||
for key, wanted in {
|
||||
"rife": [
|
||||
"__init__.py",
|
||||
"vfi_models/rife/__init__.py",
|
||||
"vfi_models/rife/rife_arch.py",
|
||||
"vfi_utils.py",
|
||||
"LICENSE",
|
||||
"pyproject.toml",
|
||||
],
|
||||
"essentials": ["__init__.py", "image.py", "LICENSE", "pyproject.toml"],
|
||||
"impact": ["__init__.py", "modules/impact/util_nodes.py", "LICENSE.txt", "pyproject.toml"],
|
||||
"vhs": [
|
||||
"__init__.py",
|
||||
"videohelpersuite/nodes.py",
|
||||
"videohelpersuite/load_video_nodes.py",
|
||||
"videohelpersuite/utils.py",
|
||||
"web/js/VHS.core.js",
|
||||
"video_formats/h264-mp4.json",
|
||||
"LICENSE",
|
||||
"pyproject.toml",
|
||||
],
|
||||
}.items():
|
||||
if key == "impact":
|
||||
raw = (REF.parent / "resize-compare-reference/impact-source.zip").read_bytes()
|
||||
meta = json.loads(
|
||||
(REF.parent / "resize-compare-reference/impact-registry.json").read_bytes()
|
||||
)
|
||||
elif key == "vhs":
|
||||
raw = (REF.parent / "reverse-reference/vhs-1.7.7.zip").read_bytes()
|
||||
meta = json.loads((REF.parent / "reverse-reference/vhs-registry.json").read_bytes())
|
||||
else:
|
||||
meta = json.loads((REF / (key + "-registry.json")).read_bytes())
|
||||
archive = REF / (key + ("-source.tar.gz" if key == "essentials" else "-source.zip"))
|
||||
if archive.exists():
|
||||
raw = archive.read_bytes()
|
||||
else:
|
||||
with urllib.request.urlopen(meta["downloadUrl"], timeout=40) as r:
|
||||
raw = r.read(20000001)
|
||||
assert len(raw) < 20000000
|
||||
(REF / (key + ("-source.tar.gz" if key == "essentials" else "-source.zip"))).write_bytes(
|
||||
raw
|
||||
)
|
||||
(REF / (key + "-registry.json")).write_text(json.dumps(meta, indent=2) + "\n")
|
||||
sha = hashlib.sha256(raw).hexdigest()
|
||||
with zipfile.ZipFile(io.BytesIO(raw)) as z:
|
||||
names = z.namelist()
|
||||
(REF / (key + "-members.json")).write_text(json.dumps(names, indent=2) + "\n")
|
||||
for file in wanted:
|
||||
if file not in names:
|
||||
print("MISSING", key, file)
|
||||
continue
|
||||
b = z.read(file)
|
||||
name = key + "__" + file.replace("/", "__")
|
||||
(REF / name).write_bytes(b)
|
||||
entries.append(
|
||||
dict(
|
||||
id=key,
|
||||
file=file,
|
||||
local_file=name,
|
||||
url=meta["downloadUrl"],
|
||||
commit="发布包SHA256:" + sha,
|
||||
git_commit_binding="unknown",
|
||||
package_sha256=sha,
|
||||
sha256=hashlib.sha256(b).hexdigest(),
|
||||
)
|
||||
)
|
||||
print(key, sha)
|
||||
(REF / "sources.json").write_text(
|
||||
json.dumps(dict(sources=entries), ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,107 @@
|
||||
"""Fetch exact bounded text only; never load or execute upstream code."""
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import urllib.request
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
from pathlib import Path
|
||||
|
||||
REF = Path(__file__).resolve().parent.parent / "simple-vfi-reference"
|
||||
SPECS = {
|
||||
"literals": (
|
||||
"M1kep/ComfyLiterals",
|
||||
"bdddb08ca82d90d75d97b1d437a652e0284a32ac",
|
||||
["__init__.py", "nodes.py", "README.md"],
|
||||
),
|
||||
"cr": (
|
||||
"Suzie1/ComfyUI_Comfyroll_CustomNodes",
|
||||
"d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
[
|
||||
"__init__.py",
|
||||
"nodes/nodes_upscale.py",
|
||||
"nodes/functions_upscale.py",
|
||||
"node_mappings.py",
|
||||
"README.md",
|
||||
],
|
||||
),
|
||||
"frontend": (
|
||||
"Comfy-Org/ComfyUI_frontend",
|
||||
"v1.23.0",
|
||||
[
|
||||
"package.json",
|
||||
"package-lock.json",
|
||||
"src/scripts/widgets.ts",
|
||||
"src/scripts/app.ts",
|
||||
"src/extensions/core/widgetInputs.ts",
|
||||
"LICENSE",
|
||||
],
|
||||
),
|
||||
}
|
||||
|
||||
|
||||
def get(url):
|
||||
with urllib.request.urlopen(url, timeout=40) as r:
|
||||
b = r.read(3000001)
|
||||
assert len(b) < 3000000
|
||||
return b
|
||||
|
||||
|
||||
def one(item):
|
||||
key, (repo, rev, files) = item
|
||||
if rev.startswith("v"):
|
||||
b = (
|
||||
(REF / f"{key}-tag.json").read_bytes()
|
||||
if (REF / f"{key}-tag.json").exists()
|
||||
else get(f"https://api.github.com/repos/{repo}/git/ref/tags/{rev}")
|
||||
)
|
||||
(REF / f"{key}-tag.json").write_bytes(b)
|
||||
obj = json.loads(b)["object"]
|
||||
if obj["type"] == "tag":
|
||||
b = get(obj["url"])
|
||||
(REF / f"{key}-tag-object.json").write_bytes(b)
|
||||
obj = json.loads(b)["object"]
|
||||
rev = obj["sha"]
|
||||
b = (
|
||||
(REF / f"{key}-tree.json").read_bytes()
|
||||
if (REF / f"{key}-tree.json").exists()
|
||||
else get(f"https://api.github.com/repos/{repo}/git/trees/{rev}?recursive=1")
|
||||
)
|
||||
(REF / f"{key}-tree.json").write_bytes(b)
|
||||
t = json.loads(b)
|
||||
assert t["sha"] == rev and not t["truncated"]
|
||||
entries = []
|
||||
for file in files:
|
||||
blob = next(x["sha"] for x in t["tree"] if x["path"] == file)
|
||||
url = f"https://raw.githubusercontent.com/{repo}/{rev}/{file}"
|
||||
b = get(url)
|
||||
assert hashlib.sha1(b"blob " + str(len(b)).encode() + b"\0" + b).hexdigest() == blob
|
||||
name = key + "__" + file.replace("/", "__")
|
||||
(REF / name).write_bytes(b)
|
||||
entries.append(
|
||||
dict(
|
||||
id=key,
|
||||
file=file,
|
||||
local_file=name,
|
||||
url=url,
|
||||
commit=rev,
|
||||
sha256=hashlib.sha256(b).hexdigest(),
|
||||
git_blob_sha1=blob,
|
||||
)
|
||||
)
|
||||
return dict(id=key, repo=repo, commit=rev), entries
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
with ThreadPoolExecutor(max_workers=4) as pool:
|
||||
rows = list(pool.map(one, SPECS.items()))
|
||||
(REF / "identities.json").write_text(json.dumps([r[0] for r in rows], indent=2) + "\n")
|
||||
(REF / "sources.json").write_text(
|
||||
json.dumps(dict(sources=[e for r in rows for e in r[1]]), indent=2) + "\n"
|
||||
)
|
||||
for key, node, version in [
|
||||
("rife", "comfyui-frame-interpolation", "1.0.7"),
|
||||
("essentials", "comfyui_essentials", "1.1.0"),
|
||||
]:
|
||||
b = get(f"https://api.comfy.org/nodes/{node}/versions/{version}")
|
||||
(REF / f"{key}-registry.json").write_bytes(b)
|
||||
print(key, b[:450])
|
||||
@@ -0,0 +1,668 @@
|
||||
{
|
||||
"base": "8afc7af7c5dd0d18932a09976af059fa6768c0ba",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"bytes": 10144,
|
||||
"sha256": "9ca287f653442405c7aca9bec000604145a943f7b51834545a6fa79767f39766",
|
||||
"purpose": "新图代码拥有的说明摘要白名单"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
|
||||
"bytes": 4297492,
|
||||
"sha256": "c93bc8538f79271f8caa117fd97ca5cd5fed8e5840df45637fb1d8b16e93c8de",
|
||||
"purpose": "仅新增本图37位置固定参考说明,旧34块不变"
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_simple_vfi_fixed_document.py",
|
||||
"bytes": 9502,
|
||||
"sha256": "917abfde84ae80c9c874427cd657a7f4a8e29ab26ad107870026281263f1c6de",
|
||||
"purpose": "新图代码拥有的说明摘要白名单"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/actual-视频模型放大插帧(简单快速版).json",
|
||||
"bytes": 118692,
|
||||
"sha256": "f81c3256d56a1f5afd7b0ac2a7cfede15810f5d8ed0202d5eeb427e7fa4c4b01",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/audit-summary.json",
|
||||
"bytes": 797,
|
||||
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/authored-diff-check.txt",
|
||||
"bytes": 175,
|
||||
"sha256": "9f1f2b73e5ab1f1c09a617ab5e68240b06a2d2900361922a25da31cb2129a243",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/boundaries.json",
|
||||
"bytes": 38633,
|
||||
"sha256": "89a10f6517f6b94a67ae336f841517467db660bf774049be4cc4b5acdc83f913",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/browser-final.txt",
|
||||
"bytes": 73890,
|
||||
"sha256": "760ce2e10024cb955a4f2d1bf39180e73c9831c015174357d58492bc39b2e512",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/browser-initial.txt",
|
||||
"bytes": 73890,
|
||||
"sha256": "760ce2e10024cb955a4f2d1bf39180e73c9831c015174357d58492bc39b2e512",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/browser-results.json",
|
||||
"bytes": 90577,
|
||||
"sha256": "a76679b1e3179591fc32e212ecdb00f4e292ac673e3dd79b126301a227927e9c",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/build-final.txt",
|
||||
"bytes": 0,
|
||||
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/build_definition.py",
|
||||
"bytes": 36626,
|
||||
"sha256": "59f6c5a24bfb1922eff0b25d114b71ef2c07f948e6a178cedf56ef8293ba6ddd",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/check-code-final.txt",
|
||||
"bytes": 100,
|
||||
"sha256": "f13a665b53482d1dceeb38f992ce3c317dd520fd0bfcecb96e398c69cd24f7b0",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/check-code-initial.txt",
|
||||
"bytes": 74988,
|
||||
"sha256": "9b9564bc85c88271b28847160f59fed414a3faa4e5769c1d67a48a352b515dbf",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/check-code-stage2.txt",
|
||||
"bytes": 17861,
|
||||
"sha256": "9c1a480b085f38f78a2e5a38e68b0954d5a6de4d74c9aeb81f2159981a4808df",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/check_code.py",
|
||||
"bytes": 1224,
|
||||
"sha256": "0e6cf080b4a2826e0a9501942a67753301b11fe6fe59bc62571d21999dade6c7",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/definition-0.json",
|
||||
"bytes": 78444,
|
||||
"sha256": "6dd31086b9c12c97deffc905fbdff0116e5a6e1e60ef7cd5541446bc9305a998",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/delivery-summary.md",
|
||||
"bytes": 2950,
|
||||
"sha256": "f7e4a700935ec26e69eb86f973720ff2e8881ef4abc4bba08a8230ebde4b7bef",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/development-corrections.md",
|
||||
"bytes": 1559,
|
||||
"sha256": "8c0035c22c9340b8ace5f07c476b2325b32dfd82c2d4f00d7935b8c7ab2f2cd0",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/fetch_frontend.py",
|
||||
"bytes": 2966,
|
||||
"sha256": "270b904f456365a31761df6ba874d083c321499e2040f61aa03a1617794c1d75",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/fetch_packages.py",
|
||||
"bytes": 3480,
|
||||
"sha256": "9f18326ab0a8bb692eeb08eaf7e9f55dd081685e7513e8fad60a80782947d2ef",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/fetch_sources.py",
|
||||
"bytes": 3471,
|
||||
"sha256": "deea896873eae9af106127c635299b34b2444f204a1e767f62be0616feff8f9d",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/fixed-source-index.json",
|
||||
"bytes": 40223,
|
||||
"sha256": "b9a47813b575aa01e6599afad37daf584606ae1391818c6a21aa00960beef977",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/frozen-resource-check.json",
|
||||
"bytes": 40348,
|
||||
"sha256": "0bd2d046aab12102c7970dc19daff93dfe33b5497b7ea643fa590100cb1bc94c",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/import-protection.json",
|
||||
"bytes": 1270,
|
||||
"sha256": "ed7f84a378a95b63c4af1a91613b1fbfc429a2b961945daaa617300c7621482e",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/package-check.json",
|
||||
"bytes": 550,
|
||||
"sha256": "4400cd3c6cd299954ed9a4d9c45bfd19559cd0761cce264d4169ffc9e0af47c1",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/pins.json",
|
||||
"bytes": 247,
|
||||
"sha256": "83f8ffc084e7e44f87a331c4a9485a980c27babb74dc5235d2b1ff4399e2515d",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/pr-baseline.json",
|
||||
"bytes": 239,
|
||||
"sha256": "21d0fa8fb651bcf0ba48a921885ce9ddde92afceaad14122d9d65f73d95c8b65",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/pytest-final.txt",
|
||||
"bytes": 880,
|
||||
"sha256": "244d5336fba967bfbefd51d9d5153fe12607a9b7eaff8c459f6e924fa3a2716c",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/pytest-initial.txt",
|
||||
"bytes": 22835,
|
||||
"sha256": "0025a0649e72e9142375e8df2e1e2120e5d70a1e3d9a7a4852107a288af9c33d",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/python-check-files.json",
|
||||
"bytes": 853,
|
||||
"sha256": "0203288de0f0d3f630af8e69a1deb781f255276765658a89342368f2a903062b",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/rebuild.py",
|
||||
"bytes": 2448,
|
||||
"sha256": "717f7f685ec7ac02aad7e852906c1b3121a07199b5b8f1a6aa15dc53be75740c",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/recompute-final.txt",
|
||||
"bytes": 232,
|
||||
"sha256": "fb8485e1c9a3dba28cfdb590c91f9a9e0be604ac24305d77e2521fdfb1293947",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/recompute-initial.txt",
|
||||
"bytes": 232,
|
||||
"sha256": "fa78c149f1527baf56f66bdc44f499fec1b7d9a03c9d6043550bcc748ced409b",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/recompute.py",
|
||||
"bytes": 12279,
|
||||
"sha256": "7a1bf9f6e27f08e4cd54f1c0605cb79c46972afeb3b7b09ba67d8f755e2f78cb",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/render_report.py",
|
||||
"bytes": 4506,
|
||||
"sha256": "7d7b7a3dcc220d1858220b9714b2692793c0fc0c65a01aa913eb10f00eeb16bf",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/repeat.py",
|
||||
"bytes": 1310,
|
||||
"sha256": "732c4e5155af352bac9645b42211e23aef9ec5975b514c7ab9425d262b2c48ca",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/repeatability.json",
|
||||
"bytes": 446,
|
||||
"sha256": "b6478c34ab1907f2a501c890c8ce44470cfd179b18af1f8d7549b5698ae4cda1",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/request_counts.py",
|
||||
"bytes": 1385,
|
||||
"sha256": "982d4859e01e9a3e3ef9746fc8b7f447b4ea63fbdf414f13de3bbaaaedd2d58f",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/review-delta.json",
|
||||
"bytes": 470,
|
||||
"sha256": "285120170405b2745a2cff11c14ca96f5791ed690036b2a42e5489c0c71bb984",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/ruff-initial.txt",
|
||||
"bytes": 74988,
|
||||
"sha256": "9b9564bc85c88271b28847160f59fed414a3faa4e5769c1d67a48a352b515dbf",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/server-request-accounting.json",
|
||||
"bytes": 1418,
|
||||
"sha256": "bcaa0e0e00cf6b6a4e1815aa04a4a49d8a57cda4222ad4587df24590e0a5a249",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/service-0.txt",
|
||||
"bytes": 8788,
|
||||
"sha256": "d69aa17fc190644a4a46f0db513dd714cbc2936b02be7a60eac19cfdb227f03d",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/service-stop.json",
|
||||
"bytes": 65,
|
||||
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/source-check.json",
|
||||
"bytes": 658,
|
||||
"sha256": "c247a66c88375cb510ae26a968d47bb4088a45ecf7134906c49e14e4c89323f6",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/validation-commands.txt",
|
||||
"bytes": 2151,
|
||||
"sha256": "0ced191237cff58fe7fe57371ef96ea8b8d2929920d91b67c713b598c16600f1",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-document-evidence/verify_sources.py",
|
||||
"bytes": 4478,
|
||||
"sha256": "16598c5c55a4d182eb237c54965c16ffa0d7265de4603f5861900f7253e49cd4",
|
||||
"purpose": "本批构建/来源/保护/包/浏览/差集证据及复现工具"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/cr-tree.json",
|
||||
"bytes": 41246,
|
||||
"sha256": "e92e91b113baf9afe3d49b36f5481153f55fff9513b0a0c4eb7e20cd184783d2",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/cr__README.md",
|
||||
"bytes": 8745,
|
||||
"sha256": "75856e8291e8d17f5553256d4641088237e3d737770a5b3358e95892d3fcac62",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/cr____init__.py",
|
||||
"bytes": 1781,
|
||||
"sha256": "f5648f54dad6044763ac2f5f75bb26ec7f24bb43a8c4a6f6be62e523efee2ff6",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/cr__node_mappings.py",
|
||||
"bytes": 24479,
|
||||
"sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/cr__nodes__functions_upscale.py",
|
||||
"bytes": 3891,
|
||||
"sha256": "6d15ba3e9d9cfc77bab1eebe770c20bcde00256a0ee181f93b9b422865133ab1",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/cr__nodes__nodes_upscale.py",
|
||||
"bytes": 8770,
|
||||
"sha256": "f583b134f0e6b1463e86b31b0f5aa8158ff79a4ac9b847c7a8954d9892bb60e5",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/essentials-members.json",
|
||||
"bytes": 443,
|
||||
"sha256": "ab46c1bff4758c7154116ce39f239517daabe4a12ede6469f6ad17a7b88add1b",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/essentials-registry.json",
|
||||
"bytes": 559,
|
||||
"sha256": "9e336f64cd1fe4d0ca9542d016e849f3c03223326c5ba509133fd833240f60d2",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/essentials-source.tar.gz",
|
||||
"bytes": 60651,
|
||||
"sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/essentials__LICENSE",
|
||||
"bytes": 1072,
|
||||
"sha256": "ee6e5ac8e76903e8052ae64bf4ffefb0637d216e3c8fbc6065ec8fa4c576f8d5",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/essentials____init__.py",
|
||||
"bytes": 1360,
|
||||
"sha256": "4c3e4377a3a3c62592ddbbc78f24d2fe1171cf560f9eda393c872257320ece14",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/essentials__image.py",
|
||||
"bytes": 63108,
|
||||
"sha256": "f31084cd23ff87e8e46e85f7c864e7de9ba398ffaf31f79850d04f48ea28e192",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/essentials__pyproject.toml",
|
||||
"bytes": 498,
|
||||
"sha256": "1214c1dfc74e36facd99ba1d3aae55581780be06075d52ffd3cc0f9e5a9cb82d",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/frontend-tag.json",
|
||||
"bytes": 357,
|
||||
"sha256": "dad4eecd84d8c47f4a345032fec19923238c3c92fe35a1e7945560b578ffe79f",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/frontend-tree.json",
|
||||
"bytes": 307893,
|
||||
"sha256": "8aead9399066dae4ef8c936d22e03a0a4589a66596a3615f1974781f2b5b909e",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/frontend__LICENSE",
|
||||
"bytes": 35149,
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/frontend__package-lock.json",
|
||||
"bytes": 637746,
|
||||
"sha256": "69ef63cb797d33667714507f0dc3d482898f69d4ed20816d7bcd8f5b8f63a217",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/frontend__package.json",
|
||||
"bytes": 3916,
|
||||
"sha256": "779859b44ef43fa6c7967e933757eb45c1310f1c9a1dc2a5939814beee657df5",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/frontend__src__composables__widgets__useStringWidget.ts",
|
||||
"bytes": 3548,
|
||||
"sha256": "768a772862314723552dbdf1d5e50fe4d505edd002f94cfefdb2d53ed4b0ed04",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/frontend__src__extensions__core__widgetInputs.ts",
|
||||
"bytes": 17861,
|
||||
"sha256": "998f0f5e517080c2ea778f4e9c37723db174bb195a6f6960dfd6827a8fb49d4d",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/frontend__src__scripts__app.ts",
|
||||
"bytes": 52879,
|
||||
"sha256": "c1a9217d3ef3e16e4b7bebe000b796083c5ac97f098fff7e64566046418455c9",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/frontend__src__scripts__widgets.ts",
|
||||
"bytes": 9717,
|
||||
"sha256": "c0dbe60dd08111e6c589c4dfa86ad9be73b4a30007153aa6ac428600deda204e",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/identities.json",
|
||||
"bytes": 390,
|
||||
"sha256": "d9aa522e74ea93df77239b8290d528c4a1d7c60f2958b8ee11bd7d7514aabad8",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/impact-members.json",
|
||||
"bytes": 2470,
|
||||
"sha256": "a9e623c3c642258d64663e69ab2ce583ad93963f718c7471c6d7fa8c2a03ed06",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/impact-registry.json",
|
||||
"bytes": 641,
|
||||
"sha256": "da095ef4cd6412c7e24f724a7eb6a865c4a7906b318f5c5a442d4a78073ec0e1",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/impact-source.zip",
|
||||
"bytes": 2554889,
|
||||
"sha256": "f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/impact__LICENSE.txt",
|
||||
"bytes": 35149,
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/impact____init__.py",
|
||||
"bytes": 21951,
|
||||
"sha256": "c28bb39a58fff73b476f3304e26ef5d57e3d5bec7069f86b0b0f69a9528195c0",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/impact__modules__impact__util_nodes.py",
|
||||
"bytes": 23393,
|
||||
"sha256": "e83abc1f31c8bc38db14d8088694c528e6bf772acb7d0ed4963ca855ba5e04f2",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/impact__pyproject.toml",
|
||||
"bytes": 638,
|
||||
"sha256": "a272c2fe9df7252eb4b7d61a53ccc897d231157525695377a44a7e2bace8587f",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/litegraph-members.json",
|
||||
"bytes": 3269,
|
||||
"sha256": "58c79c2aada7f270dae3897e86a3214cf2fb394edf1d2fadbec13e058ee39744",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/litegraph-source.tgz",
|
||||
"bytes": 735521,
|
||||
"sha256": "ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/litegraph__package__LICENSE",
|
||||
"bytes": 1077,
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/litegraph__package__dist__litegraph.es.js",
|
||||
"bytes": 521809,
|
||||
"sha256": "6242fb80a52ce2989ab89e1d87103a0c174c783ebdca0b5359fedc360726bd40",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/litegraph__package__package.json",
|
||||
"bytes": 2080,
|
||||
"sha256": "7a9758d292a422fcec9af33159b54da11c90114722b3eb786dd19224b8103241",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/literals-tree.json",
|
||||
"bytes": 1946,
|
||||
"sha256": "821cc953754bde0a3609138526f458fa791e3df40ea587ae8f0cb00edc57cc27",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/literals__README.md",
|
||||
"bytes": 144,
|
||||
"sha256": "8c65bb80eb814a838c5e2c34dfd698d46358ef8e1b6b5ca1b26f42fe765d039a",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/literals____init__.py",
|
||||
"bytes": 560,
|
||||
"sha256": "f354a716dca76fa3bf1ffc9f7f09b249c7cf9d946d4fba5c501e562b384ea4fe",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/literals__nodes.py",
|
||||
"bytes": 2919,
|
||||
"sha256": "10e60e8520e8477326201e26d2e2c1fcc6f7ce519c5401a591050552e6e5203c",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/rife-members.json",
|
||||
"bytes": 2760,
|
||||
"sha256": "b2175e003c935e9668609fcca4407890031d4eb1f5daaee5f448092edfa51768",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/rife-registry.json",
|
||||
"bytes": 513,
|
||||
"sha256": "ee397e33610707dbd8010f8af186c1e1a619f0d96f786ec3ee0c8f326c51b74f",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/rife-source.zip",
|
||||
"bytes": 16800943,
|
||||
"sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/rife__LICENSE",
|
||||
"bytes": 1066,
|
||||
"sha256": "229c606f2589aca9b452bb4483390076eb0fbdb4885a57208d0ca7736fb3ad5d",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/rife____init__.py",
|
||||
"bytes": 1411,
|
||||
"sha256": "e7e8110284e8d15010307a578145b456250a32864362be6714c27df71e6cd911",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/rife__pyproject.toml",
|
||||
"bytes": 357,
|
||||
"sha256": "eb11e64e367c91b02731b422709c9c70909078efa7d4e16ee59230628e5b06ab",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/rife__vfi_models__rife____init__.py",
|
||||
"bytes": 4589,
|
||||
"sha256": "9a4ea2203a99418d87a4c96a55e2af90da702aea0ff1e1cd96161fc149950942",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/rife__vfi_models__rife__rife_arch.py",
|
||||
"bytes": 20201,
|
||||
"sha256": "ed376ee9bad4e174bc6d64c67f9f27ad781a136313e98d75bcd0eb6a88b6ddef",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/rife__vfi_utils.py",
|
||||
"bytes": 12024,
|
||||
"sha256": "52d53ab3600d83a3409328f02463ccd9cf4588154675b5fe70855c6cc49e5b0b",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/sources.json",
|
||||
"bytes": 20100,
|
||||
"sha256": "d824f6045dc8db1bc6aa206f411311f2a70f62e53c53c24ac9b48213eadf7a56",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs-members.json",
|
||||
"bytes": 1378,
|
||||
"sha256": "c77eae69b838cdc2aa429eca6a4ea152896d1d228c2d1e7d80f31fd349bc9394",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs-registry.json",
|
||||
"bytes": 549,
|
||||
"sha256": "6ca76c615b0f3f8579f1583e86483e0817713e5098f6bab2f57f50151e045bb2",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs-source.zip",
|
||||
"bytes": 105985,
|
||||
"sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs__LICENSE",
|
||||
"bytes": 35149,
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs____init__.py",
|
||||
"bytes": 398,
|
||||
"sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs__pyproject.toml",
|
||||
"bytes": 425,
|
||||
"sha256": "10c69eeae93c21cdfc22cb63f39ba4ce83bcd459725fcf6beb0298276541a1c2",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs__video_formats__h264-mp4.json",
|
||||
"bytes": 585,
|
||||
"sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs__videohelpersuite__load_video_nodes.py",
|
||||
"bytes": 29026,
|
||||
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs__videohelpersuite__nodes.py",
|
||||
"bytes": 47690,
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs__videohelpersuite__utils.py",
|
||||
"bytes": 16463,
|
||||
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/simple-vfi-reference/vhs__web__js__VHS.core.js",
|
||||
"bytes": 105292,
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"purpose": "准确版本固定源码/许可/包或身份/树/注册元数据"
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/视频模型放大插帧(简单快速版)固定参考中文说明.md",
|
||||
"bytes": 131976,
|
||||
"sha256": "5f104913247525552ea4bc849a3766e8e038321cfd8e916f6ee6d36977d1d57e",
|
||||
"purpose": "完整逐位置中文说明及准确来源索引"
|
||||
},
|
||||
{
|
||||
"path": "e2e/run-simple-vfi-document.py",
|
||||
"bytes": 3122,
|
||||
"sha256": "444b780d6ae64d022b229682a43873b8892440c0252355f8595a14760658ad0c",
|
||||
"purpose": "全本地GET浏览断言及两服务前台生命周期/清理"
|
||||
},
|
||||
{
|
||||
"path": "e2e/simple-vfi-document.mjs",
|
||||
"bytes": 14435,
|
||||
"sha256": "c0d3f6b1f360c9aca8655c3dc7bfbedd534e9593f4c02727fe85dd3d41a82b99",
|
||||
"purpose": "全本地GET浏览断言及两服务前台生命周期/清理"
|
||||
}
|
||||
],
|
||||
"excluded_self": "file-change-manifest.json自身不递归计算摘要",
|
||||
"source_records": 37,
|
||||
"old_blocks_preserved": 34
|
||||
}
|
||||
@@ -0,0 +1,775 @@
|
||||
[
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "literals",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../simple-vfi-reference/literals__nodes.py",
|
||||
"url": "https://raw.githubusercontent.com/M1kep/ComfyLiterals/bdddb08ca82d90d75d97b1d437a652e0284a32ac/nodes.py",
|
||||
"commit": "bdddb08ca82d90d75d97b1d437a652e0284a32ac",
|
||||
"sha256": "10e60e8520e8477326201e26d2e2c1fcc6f7ce519c5401a591050552e6e5203c",
|
||||
"git_blob_sha1": "276f7eb573ca34b76e010af8d9bf4811ca0b7239",
|
||||
"lines": [
|
||||
11,
|
||||
58
|
||||
],
|
||||
"claim": "Int/Float准确STRING schema、int/float解析和失败抛错;不执行解析"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "literals",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../simple-vfi-reference/literals____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/M1kep/ComfyLiterals/bdddb08ca82d90d75d97b1d437a652e0284a32ac/__init__.py",
|
||||
"commit": "bdddb08ca82d90d75d97b1d437a652e0284a32ac",
|
||||
"sha256": "f354a716dca76fa3bf1ffc9f7f09b249c7cf9d946d4fba5c501e562b384ea4fe",
|
||||
"git_blob_sha1": "a8690d1230f4e546188d1d236b6fcdb96914b448",
|
||||
"lines": [
|
||||
1,
|
||||
12
|
||||
],
|
||||
"claim": "Int/Float准确注册;初始化含startup hook,未执行"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "cr",
|
||||
"file": "nodes/nodes_upscale.py",
|
||||
"local_file": "../simple-vfi-reference/cr__nodes__nodes_upscale.py",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_upscale.py",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "f583b134f0e6b1463e86b31b0f5aa8158ff79a4ac9b847c7a8954d9892bb60e5",
|
||||
"git_blob_sha1": "a94ee4813bc96b7d399d975a6afca6096c25575e",
|
||||
"lines": [
|
||||
19,
|
||||
75
|
||||
],
|
||||
"claim": "CR模型放大后按原图尺寸重采样;schema默认范围和当前rescale分支"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "cr",
|
||||
"file": "nodes/functions_upscale.py",
|
||||
"local_file": "../simple-vfi-reference/cr__nodes__functions_upscale.py",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_upscale.py",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "6d15ba3e9d9cfc77bab1eebe770c20bcde00256a0ee181f93b9b422865133ab1",
|
||||
"git_blob_sha1": "2c25f0354fa53f4863aefd396963c917b320901f",
|
||||
"lines": [
|
||||
27,
|
||||
86
|
||||
],
|
||||
"claim": "模型路径/设备、OOM分块及rescale/resize、字符串supersample和最终尺寸"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "cr",
|
||||
"file": "node_mappings.py",
|
||||
"local_file": "../simple-vfi-reference/cr__node_mappings.py",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633",
|
||||
"git_blob_sha1": "a4a1bc4ff001961a64e24bcfa59de528fbc8a6ea",
|
||||
"lines": [
|
||||
1,
|
||||
15
|
||||
],
|
||||
"claim": "CR模块导入注册入口;ImportError条件未执行"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "cr",
|
||||
"file": "node_mappings.py",
|
||||
"local_file": "../simple-vfi-reference/cr__node_mappings.py",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633",
|
||||
"git_blob_sha1": "a4a1bc4ff001961a64e24bcfa59de528fbc8a6ea",
|
||||
"lines": [
|
||||
118,
|
||||
125
|
||||
],
|
||||
"claim": "CR Upscale Image准确注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "cr",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../simple-vfi-reference/cr____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/__init__.py",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "f5648f54dad6044763ac2f5f75bb26ec7f24bb43a8c4a6f6be62e523efee2ff6",
|
||||
"git_blob_sha1": "e5af18356e8765423954ea7c7d22b4f32fcdd9c0",
|
||||
"lines": [
|
||||
1,
|
||||
25
|
||||
],
|
||||
"claim": "CR包注册入口"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "rife",
|
||||
"file": "vfi_models/rife/__init__.py",
|
||||
"local_file": "../simple-vfi-reference/rife__vfi_models__rife____init__.py",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "9a4ea2203a99418d87a4c96a55e2af90da702aea0ff1e1cd96161fc149950942",
|
||||
"lines": [
|
||||
11,
|
||||
107
|
||||
],
|
||||
"claim": "RIFE模型名/架构映射、schema/函数缺省差别及推理参数传递"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "rife",
|
||||
"file": "vfi_utils.py",
|
||||
"local_file": "../simple-vfi-reference/rife__vfi_utils.py",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "52d53ab3600d83a3409328f02463ccd9cf4588154675b5fe70855c6cc49e5b0b",
|
||||
"lines": [
|
||||
124,
|
||||
256
|
||||
],
|
||||
"claim": "相邻帧插值/末帧、可选跳帧状态与缓存清理条件;未运行"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "rife",
|
||||
"file": "vfi_utils.py",
|
||||
"local_file": "../simple-vfi-reference/rife__vfi_utils.py",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "52d53ab3600d83a3409328f02463ccd9cf4588154675b5fe70855c6cc49e5b0b",
|
||||
"lines": [
|
||||
65,
|
||||
109
|
||||
],
|
||||
"claim": "权重不存在时自动下载条件;本轮禁止执行/下载"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "rife",
|
||||
"file": "vfi_models/rife/rife_arch.py",
|
||||
"local_file": "../simple-vfi-reference/rife__vfi_models__rife__rife_arch.py",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "ed376ee9bad4e174bc6d64c67f9f27ad781a136313e98d75bcd0eb6a88b6ddef",
|
||||
"lines": [
|
||||
370,
|
||||
585
|
||||
],
|
||||
"claim": "准确IFNet的ensemble分支及仅4.0/4.2/4.3采用非fast残差路径"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "rife",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../simple-vfi-reference/rife____init__.py",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "e7e8110284e8d15010307a578145b456250a32864362be6714c27df71e6cd911",
|
||||
"lines": [
|
||||
13,
|
||||
41
|
||||
],
|
||||
"claim": "RIFE类导入及映射注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "impact",
|
||||
"file": "modules/impact/util_nodes.py",
|
||||
"local_file": "../simple-vfi-reference/impact__modules__impact__util_nodes.py",
|
||||
"url": "https://cdn.comfy.org/drltdata/comfyui-impact-pack/8.25.1/node.zip",
|
||||
"commit": "发布包SHA256:f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"sha256": "e83abc1f31c8bc38db14d8088694c528e6bf772acb7d0ed4963ca855ba5e04f2",
|
||||
"lines": [
|
||||
389,
|
||||
402
|
||||
],
|
||||
"claim": "IMAGE批次逐张保留批次维,返回list/OUTPUT_IS_LIST=True;零控件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "impact",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../simple-vfi-reference/impact____init__.py",
|
||||
"url": "https://cdn.comfy.org/drltdata/comfyui-impact-pack/8.25.1/node.zip",
|
||||
"commit": "发布包SHA256:f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"sha256": "c28bb39a58fff73b476f3304e26ef5d57e3d5bec7069f86b0b0f69a9528195c0",
|
||||
"lines": [
|
||||
49,
|
||||
49
|
||||
],
|
||||
"claim": "Impact util_nodes导入"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "impact",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../simple-vfi-reference/impact____init__.py",
|
||||
"url": "https://cdn.comfy.org/drltdata/comfyui-impact-pack/8.25.1/node.zip",
|
||||
"commit": "发布包SHA256:f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"sha256": "c28bb39a58fff73b476f3304e26ef5d57e3d5bec7069f86b0b0f69a9528195c0",
|
||||
"lines": [
|
||||
230,
|
||||
230
|
||||
],
|
||||
"claim": "ImpactImageBatchToImageList注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "essentials",
|
||||
"file": "image.py",
|
||||
"local_file": "../simple-vfi-reference/essentials__image.py",
|
||||
"url": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"commit": "发布包SHA256:ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"sha256": "f31084cd23ff87e8e46e85f7c864e7de9ba398ffaf31f79850d04f48ea28e192",
|
||||
"lines": [
|
||||
171,
|
||||
198
|
||||
],
|
||||
"claim": "INPUT_IS_LIST=True,按第一项尺寸bicubic/center对齐后cat批次"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "essentials",
|
||||
"file": "image.py",
|
||||
"local_file": "../simple-vfi-reference/essentials__image.py",
|
||||
"url": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"commit": "发布包SHA256:ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"sha256": "f31084cd23ff87e8e46e85f7c864e7de9ba398ffaf31f79850d04f48ea28e192",
|
||||
"lines": [
|
||||
1621,
|
||||
1621
|
||||
],
|
||||
"claim": "ImageListToBatch+准确注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "essentials",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../simple-vfi-reference/essentials____init__.py",
|
||||
"url": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"commit": "发布包SHA256:ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"sha256": "4c3e4377a3a3c62592ddbbc78f24d2fe1171cf560f9eda393c872257320ece14",
|
||||
"lines": [
|
||||
1,
|
||||
20
|
||||
],
|
||||
"claim": "IMAGE_CLASS_MAPPINGS合入包注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "essentials",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "../simple-vfi-reference/essentials__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"commit": "发布包SHA256:ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"sha256": "1214c1dfc74e36facd99ba1d3aae55581780be06075d52ffd3cc0f9e5a9cb82d",
|
||||
"lines": [
|
||||
1,
|
||||
15
|
||||
],
|
||||
"claim": "源cnr_id与包名同为comfyui_essentials;发布者matteo/仓库cubiq分列,不推目标安装"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "litegraph",
|
||||
"file": "package/dist/litegraph.es.js",
|
||||
"local_file": "../simple-vfi-reference/litegraph__package__dist__litegraph.es.js",
|
||||
"url": "https://registry.npmjs.org/@comfyorg/litegraph/-/litegraph-0.15.15.tgz",
|
||||
"commit": "npm0.15.15包SHA256:ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"sha256": "6242fb80a52ce2989ab89e1d87103a0c174c783ebdca0b5359fedc360726bd40",
|
||||
"lines": [
|
||||
3780,
|
||||
3834
|
||||
],
|
||||
"claim": "前端1.23.0锁定litegraph0.15.15位置恢复/序列化;不证明UE组合恢复"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "frontend",
|
||||
"file": "src/composables/widgets/useStringWidget.ts",
|
||||
"local_file": "../simple-vfi-reference/frontend__src__composables__widgets__useStringWidget.ts",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/src/composables/widgets/useStringWidget.ts",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"git_blob_sha1": "d5298338e9bf1cfc9e0df5d4dc68e2d6fd86a8ea",
|
||||
"sha256": "768a772862314723552dbdf1d5e50fe4d505edd002f94cfefdb2d53ed4b0ed04",
|
||||
"lines": [
|
||||
94,
|
||||
120
|
||||
],
|
||||
"claim": "STRING无后端显式默认时前端空串;不把源JSON整数改为字符串"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "frontend",
|
||||
"file": "package.json",
|
||||
"local_file": "../simple-vfi-reference/frontend__package.json",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/package.json",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"sha256": "779859b44ef43fa6c7967e933757eb45c1310f1c9a1dc2a5939814beee657df5",
|
||||
"git_blob_sha1": "c8571c621685462ca24a43f1f4e440b724a01b25",
|
||||
"lines": [
|
||||
1,
|
||||
10
|
||||
],
|
||||
"claim": "源声明frontend1.23.0与准确tag包版本"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "frontend",
|
||||
"file": "package-lock.json",
|
||||
"local_file": "../simple-vfi-reference/frontend__package-lock.json",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/package-lock.json",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"sha256": "69ef63cb797d33667714507f0dc3d482898f69d4ed20816d7bcd8f5b8f63a217",
|
||||
"git_blob_sha1": "97a8f5a5062b55c158a8732cf15793f8de6cc2a9",
|
||||
"lines": [
|
||||
950,
|
||||
955
|
||||
],
|
||||
"claim": "精确前端锁文件;完整字节绑定含litegraph0.15.15及integrity"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_video_nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__load_video_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
|
||||
"lines": [
|
||||
423,
|
||||
473
|
||||
],
|
||||
"claim": "上传目录枚举、schema/输出槽/路径验证"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_video_nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__load_video_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
|
||||
"lines": [
|
||||
24,
|
||||
168
|
||||
],
|
||||
"claim": "格式表、尺寸对齐、重采样/跳帧/抽帧/帧数上限"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_video_nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__load_video_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26",
|
||||
"lines": [
|
||||
293,
|
||||
420
|
||||
],
|
||||
"claim": "内存限制、VAE/格式条件、懒音频裁切及返回"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/utils.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__utils.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504",
|
||||
"lines": [
|
||||
207,
|
||||
252
|
||||
],
|
||||
"claim": "懒音频首次访问时ffmpeg提取;未访问不加载"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/utils.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__utils.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504",
|
||||
"lines": [
|
||||
20,
|
||||
56
|
||||
],
|
||||
"claim": "BIGMAX/DIMMAX与floatOrInt类型"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"lines": [
|
||||
234,
|
||||
340
|
||||
],
|
||||
"claim": "合成schema、可选输入、输出目录选择"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"lines": [
|
||||
45,
|
||||
135
|
||||
],
|
||||
"claim": "格式动态枚举/额外控件默认/模板替换"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"lines": [
|
||||
340,
|
||||
394
|
||||
],
|
||||
"claim": "首帧workflow PNG写入与保存目录条件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"lines": [
|
||||
441,
|
||||
494
|
||||
],
|
||||
"claim": "pingpong/循环/FFmpeg帧率参数"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"lines": [
|
||||
558,
|
||||
625
|
||||
],
|
||||
"claim": "可用音频才混流;trim控制apad、shortest、返回历史预览"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"lines": [
|
||||
140,
|
||||
163
|
||||
],
|
||||
"claim": "save_metadata条件写临时元数据并交FFmpeg"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "../simple-vfi-reference/vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365",
|
||||
"lines": [
|
||||
1023,
|
||||
1030
|
||||
],
|
||||
"claim": "VHS_LoadVideo和VHS_VideoCombine真实注册"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../simple-vfi-reference/vhs____init__.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f",
|
||||
"lines": [
|
||||
1,
|
||||
9
|
||||
],
|
||||
"claim": "包注册入口与WEB_DIRECTORY"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "video_formats/h264-mp4.json",
|
||||
"local_file": "../simple-vfi-reference/vhs__video_formats__h264-mp4.json",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8",
|
||||
"lines": [
|
||||
1,
|
||||
15
|
||||
],
|
||||
"claim": "h264-mp4编码器/像素格式/CRF/元数据/裁切默认"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "../simple-vfi-reference/vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"lines": [
|
||||
41,
|
||||
168
|
||||
],
|
||||
"claim": "按键恢复/回调,序列化全部控件值;不等于实际运行输入"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "../simple-vfi-reference/vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"lines": [
|
||||
648,
|
||||
720
|
||||
],
|
||||
"claim": "加载format动态回调、reset条件及控件选项调整"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "../simple-vfi-reference/vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"lines": [
|
||||
721,
|
||||
824
|
||||
],
|
||||
"claim": "上传按钮值/回调与video引用分离,不当服务端参数"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "../simple-vfi-reference/vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"lines": [
|
||||
1222,
|
||||
1282
|
||||
],
|
||||
"claim": "合成格式回调动态重建编码控件"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "../simple-vfi-reference/vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"lines": [
|
||||
915,
|
||||
970
|
||||
],
|
||||
"claim": "历史videopreview控件状态;本轮仅纯文本,不请求媒体"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "../simple-vfi-reference/vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb",
|
||||
"lines": [
|
||||
1870,
|
||||
1873
|
||||
],
|
||||
"claim": "VHS_节点准确useKVState注册钩子;未执行"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "rife",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../simple-vfi-reference/rife__LICENSE",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "229c606f2589aca9b452bb4483390076eb0fbdb4885a57208d0ca7736fb3ad5d",
|
||||
"lines": [
|
||||
1,
|
||||
21
|
||||
],
|
||||
"claim": "准确原件许可文本;发布包Git绑定未知"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "essentials",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../simple-vfi-reference/essentials__LICENSE",
|
||||
"url": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"commit": "发布包SHA256:ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"sha256": "ee6e5ac8e76903e8052ae64bf4ffefb0637d216e3c8fbc6065ec8fa4c576f8d5",
|
||||
"lines": [
|
||||
1,
|
||||
21
|
||||
],
|
||||
"claim": "准确原件许可文本;发布包Git绑定未知"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "impact",
|
||||
"file": "LICENSE.txt",
|
||||
"local_file": "../simple-vfi-reference/impact__LICENSE.txt",
|
||||
"url": "https://cdn.comfy.org/drltdata/comfyui-impact-pack/8.25.1/node.zip",
|
||||
"commit": "发布包SHA256:f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"lines": [
|
||||
1,
|
||||
674
|
||||
],
|
||||
"claim": "准确原件许可文本;发布包Git绑定未知"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "vhs",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../simple-vfi-reference/vhs__LICENSE",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"lines": [
|
||||
1,
|
||||
674
|
||||
],
|
||||
"claim": "准确原件许可文本;发布包Git绑定未知"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "frontend",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../simple-vfi-reference/frontend__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/LICENSE",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"lines": [
|
||||
1,
|
||||
674
|
||||
],
|
||||
"claim": "准确原件许可文本;发布包Git绑定未知"
|
||||
},
|
||||
{
|
||||
"document": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"id": "litegraph",
|
||||
"file": "package/LICENSE",
|
||||
"local_file": "../simple-vfi-reference/litegraph__package__LICENSE",
|
||||
"url": "https://registry.npmjs.org/@comfyorg/litegraph/-/litegraph-0.15.15.tgz",
|
||||
"commit": "npm0.15.15包SHA256:ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
|
||||
"lines": [
|
||||
1,
|
||||
19
|
||||
],
|
||||
"claim": "准确原件许可文本;发布包Git绑定未知"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"base": "8afc7af7c5dd0d18932a09976af059fa6768c0ba",
|
||||
"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": "8afc7af7c5dd0d18932a09976af059fa6768c0ba",
|
||||
"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": 37,
|
||||
"new_notes": 0,
|
||||
"old_saved": 1069,
|
||||
"old_notes": 25,
|
||||
"overviews": 35,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"file": "fixed_document.py",
|
||||
"sha256": "9ca287f653442405c7aca9bec000604145a943f7b51834545a6fa79767f39766",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 35
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "c93bc8538f79271f8caa117fd97ca5cd5fed8e5840df45637fb1d8b16e93c8de",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 35
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 35
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json": "a95080890fe2b6dbfd4acd6a8e1552199ed2da43a28f28758746a4d7b5a05ac0"
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"html_url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25",
|
||||
"number": 25,
|
||||
"state": "open",
|
||||
"merged": false,
|
||||
"head": "8afc7af7c5dd0d18932a09976af059fa6768c0ba",
|
||||
"head_ref": "agent/agent/a64a969a6a44",
|
||||
"base_ref": "main"
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
........................................................................ [ 37%]
|
||||
........................................................................ [ 75%]
|
||||
.............................................. [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-d5ce944d75e0/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
|
||||
190 passed, 1 warning in 4.71s
|
||||
@@ -0,0 +1,392 @@
|
||||
......................................................FFFFFFFFFFFFFFFFFF [ 37%]
|
||||
FF...................................................................... [ 75%]
|
||||
.............................................. [100%]
|
||||
=================================== FAILURES ===================================
|
||||
______ test_each_position_or_description_forgery_refused[value-123.video] ______
|
||||
|
||||
f = {'field': 'video', 'label': '输入视频文件引用', 'type': 'COMBO', 'schema_default': 'input目录视频动态枚举,无固定默认', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'video'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
___ test_each_position_or_description_forgery_refused[value-123.force_rate] ____
|
||||
|
||||
f = {'field': 'force_rate', 'label': '强制加载采样帧率', 'type': 'FLOAT/INT(floatOrInt)', 'schema_default': '0', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'force_rate'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
__ test_each_position_or_description_forgery_refused[value-123.custom_width] ___
|
||||
|
||||
f = {'field': 'custom_width', 'label': '自定义加载宽度', 'type': 'INT', 'schema_default': '0', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'custom_width'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
__ test_each_position_or_description_forgery_refused[value-123.custom_height] __
|
||||
|
||||
f = {'field': 'custom_height', 'label': '自定义加载高度', 'type': 'INT', 'schema_default': '0', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'custom_height'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
_ test_each_position_or_description_forgery_refused[value-123.frame_load_cap] __
|
||||
|
||||
f = {'field': 'frame_load_cap', 'label': '加载帧数上限', 'type': 'INT', 'schema_default': '0', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'frame_load_cap'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
_ test_each_position_or_description_forgery_refused[value-123.skip_first_frames] _
|
||||
|
||||
f = {'field': 'skip_first_frames', 'label': '跳过起始采样帧', 'type': 'INT', 'schema_default': '0', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'skip_first_frames'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
_ test_each_position_or_description_forgery_refused[value-123.select_every_nth] _
|
||||
|
||||
f = {'field': 'select_every_nth', 'label': '间隔抽取采样帧', 'type': 'INT', 'schema_default': '1', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'select_every_nth'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
_____ test_each_position_or_description_forgery_refused[value-123.format] ______
|
||||
|
||||
f = {'field': 'format', 'label': '加载格式约束', 'type': 'COMBO', 'schema_default': 'AnimateDiff', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'format'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
__ test_each_position_or_description_forgery_refused[value-123.videopreview] ___
|
||||
|
||||
f = {'field': 'videopreview', 'label': '历史视频预览完整对象', 'type': '前端历史状态', 'schema_default': '无服务端默认', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'videopreview'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
___ test_each_position_or_description_forgery_refused[value-124.frame_rate] ____
|
||||
|
||||
f = {'field': 'frame_rate', 'label': '合成播放帧率', 'type': 'FLOAT/INT(floatOrInt)', 'schema_default': '8', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'frame_rate'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
___ test_each_position_or_description_forgery_refused[value-124.loop_count] ____
|
||||
|
||||
f = {'field': 'loop_count', 'label': '合成画面循环次数', 'type': 'INT', 'schema_default': '0', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'loop_count'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
_ test_each_position_or_description_forgery_refused[value-124.filename_prefix] _
|
||||
|
||||
f = {'field': 'filename_prefix', 'label': '输出文件名前缀', 'type': 'STRING', 'schema_default': 'AnimateDiff', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'filename_prefix'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
_____ test_each_position_or_description_forgery_refused[value-124.format] ______
|
||||
|
||||
f = {'field': 'format', 'label': '合成编码格式', 'type': 'COMBO', 'schema_default': 'schema首项image/gif;函数缺省image/gif', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'format'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
_____ test_each_position_or_description_forgery_refused[value-124.pix_fmt] _____
|
||||
|
||||
f = {'field': 'pix_fmt', 'label': '编码像素格式', 'type': 'COMBO', 'schema_default': '首项yuv420p', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'pix_fmt'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
_______ test_each_position_or_description_forgery_refused[value-124.crf] _______
|
||||
|
||||
f = {'field': 'crf', 'label': 'H264质量控制数值', 'type': 'INT', 'schema_default': '19', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'crf'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
__ test_each_position_or_description_forgery_refused[value-124.save_metadata] __
|
||||
|
||||
f = {'field': 'save_metadata', 'label': '保存编码元数据', 'type': 'BOOLEAN', 'schema_default': 'true', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'save_metadata'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
__ test_each_position_or_description_forgery_refused[value-124.trim_to_audio] __
|
||||
|
||||
f = {'field': 'trim_to_audio', 'label': '合成时按音频裁切开关', 'type': 'BOOLEAN', 'schema_default': 'false', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'trim_to_audio'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
____ test_each_position_or_description_forgery_refused[value-124.pingpong] _____
|
||||
|
||||
f = {'field': 'pingpong', 'label': '合成往返帧序开关', 'type': 'BOOLEAN', 'schema_default': 'false', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'pingpong'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
___ test_each_position_or_description_forgery_refused[value-124.save_output] ___
|
||||
|
||||
f = {'field': 'save_output', 'label': '合成保存目录选择', 'type': 'BOOLEAN', 'schema_default': 'true', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'save_output'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
__ test_each_position_or_description_forgery_refused[value-124.videopreview] ___
|
||||
|
||||
f = {'field': 'videopreview', 'label': '历史视频预览完整对象', 'type': '前端历史状态', 'schema_default': '无服务端默认', ...}
|
||||
variant = 'value'
|
||||
|
||||
@pytest.mark.parametrize("f", BLOCK["fields"], ids=lambda f: f["node_id"] + "." + f["field"])
|
||||
@pytest.mark.parametrize("variant", ["value", "text"])
|
||||
def test_each_position_or_description_forgery_refused(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "text":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
> pointer(s, parent)[int(key)] = "forged"
|
||||
^^^^^^^^
|
||||
E ValueError: invalid literal for int() with base 10: 'videopreview'
|
||||
|
||||
calliope-backend/tests/test_simple_vfi_fixed_document.py:70: ValueError
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-d5ce944d75e0/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_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-123.video]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-123.force_rate]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-123.custom_width]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-123.custom_height]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-123.frame_load_cap]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-123.skip_first_frames]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-123.select_every_nth]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-123.format]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-123.videopreview]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.frame_rate]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.loop_count]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.filename_prefix]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.format]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.pix_fmt]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.crf]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.save_metadata]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.trim_to_audio]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.pingpong]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.save_output]
|
||||
FAILED calliope-backend/tests/test_simple_vfi_fixed_document.py::test_each_position_or_description_forgery_refused[value-124.videopreview]
|
||||
20 failed, 170 passed, 1 warning in 4.75s
|
||||
@@ -0,0 +1,16 @@
|
||||
[
|
||||
"calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"calliope-backend/tests/test_simple_vfi_fixed_document.py",
|
||||
"e2e/run-simple-vfi-document.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/build_definition.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/check_code.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/fetch_frontend.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/fetch_packages.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/fetch_sources.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/rebuild.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/recompute.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/render_report.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/repeat.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/request_counts.py",
|
||||
"docs/hel-892/simple-vfi-document-evidence/verify_sources.py"
|
||||
]
|
||||
@@ -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 = "8afc7af7c5dd0d18932a09976af059fa6768c0ba"
|
||||
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 34 blocks unchanged"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS exact source/archive/tag/tree/blob/line/license inventory; 37 positions/0 notes
|
||||
PASS actual 8afc7af upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 35 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS exact source/archive/tag/tree/blob/line/license inventory; 37 positions/0 notes
|
||||
PASS actual 8afc7af upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 34 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,330 @@
|
||||
"Actual 8afc7af 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) == 34
|
||||
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()) == 1069
|
||||
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=34,
|
||||
old_saved=1069,
|
||||
old_notes=25,
|
||||
new_saved=37,
|
||||
new_notes=0,
|
||||
total_documents=35,
|
||||
total_saved=1106,
|
||||
total_notes=25,
|
||||
),
|
||||
)
|
||||
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=37,
|
||||
new_notes=0,
|
||||
old_saved=1069,
|
||||
old_notes=25,
|
||||
overviews=35,
|
||||
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_thirty_four_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=35,
|
||||
)
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(
|
||||
"PASS actual 8afc7af upgrade1/skip154, repe"
|
||||
"at155, rollback1, edits1/29cols, fresh155,"
|
||||
" 1217/3660/294, 35 definitions, frozen bou"
|
||||
"ndaries, wheel/sdist"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,123 @@
|
||||
"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 = [
|
||||
"# 视频模型放大插帧(简单快速版)固定参考中文说明",
|
||||
"",
|
||||
"新增37保存位置/0注释;旧34图1069位置+25注释逐对象不变,现35图1106+25仅参考。155定稿0/实跑0/新增转换0。",
|
||||
"",
|
||||
(
|
||||
"来源local_file以docs/hel-892/simple-vfi-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["input_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']}"
|
||||
]
|
||||
if "named_value" in f and f["named_value"] != f["value"]:
|
||||
lines += [
|
||||
"具名保存完整形态(与位置列表分开保留):",
|
||||
"",
|
||||
"```json",
|
||||
json.dumps(f["named_value"], ensure_ascii=False, indent=2),
|
||||
"```",
|
||||
"",
|
||||
]
|
||||
lines += [""]
|
||||
lines += ["### 零保存节点与源注释", ""]
|
||||
for z in b["zero_saved_nodes"]:
|
||||
lines += [z["node_id"] + " " + z["class_type"] + ":" + z["effect"], ""]
|
||||
for n in b["comments"]:
|
||||
lines += [
|
||||
"节点" + n["node_id"] + ",位置`" + n["pointer"] + "`",
|
||||
"",
|
||||
n["meaning"],
|
||||
"",
|
||||
"```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,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=35,
|
||||
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": 35,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_render_equal": true,
|
||||
"resource_sha256": "c309a7d21eea1e4e3041fc3854359be6b0df0b4e3ee2d89dcac21510c3e6a981",
|
||||
"artifacts": {
|
||||
"fixed-source-index.json": "b9a47813b575aa01e6599afad37daf584606ae1391818c6a21aa00960beef977",
|
||||
"视频模型放大插帧(简单快速版)固定参考中文说明.md": "5f104913247525552ea4bc849a3766e8e038321cfd8e916f6ee6d36977d1d57e"
|
||||
}
|
||||
}
|
||||
@@ -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": "8afc7af7c5dd0d18932a09976af059fa6768c0ba",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json"
|
||||
],
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 34,
|
||||
"old_saved": 1069,
|
||||
"old_notes": 25,
|
||||
"new_saved": 37,
|
||||
"new_notes": 0,
|
||||
"total_documents": 35,
|
||||
"total_saved": 1106,
|
||||
"total_notes": 25
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"total": 123,
|
||||
"fixed_count": 113,
|
||||
"polling_count": 10,
|
||||
"paths": {
|
||||
"/api/workflows": 3,
|
||||
"/api/workflows/34": 4,
|
||||
"/api/workflows/33": 4,
|
||||
"/api/workflows/31": 3,
|
||||
"/api/workflows/29": 3,
|
||||
"/api/workflows/28": 3,
|
||||
"/api/workflows/27": 3,
|
||||
"/api/workflows/26": 3,
|
||||
"/api/workflows/17": 3,
|
||||
"/api/workflows/4": 3,
|
||||
"/api/workflows/15": 3,
|
||||
"/api/workflows/11": 3,
|
||||
"/api/workflows/3": 3,
|
||||
"/api/workflows/9": 3,
|
||||
"/api/workflows/16": 3,
|
||||
"/api/workflows/10": 3,
|
||||
"/api/workflows/23": 3,
|
||||
"/api/workflows/8": 3,
|
||||
"/api/workflows/22": 3,
|
||||
"/api/workflows/5": 3,
|
||||
"/api/workflows/6": 3,
|
||||
"/api/workflows/7": 3,
|
||||
"/api/workflows/19": 3,
|
||||
"/api/workflows/13": 3,
|
||||
"/api/workflows/12": 3,
|
||||
"/api/workflows/64": 3,
|
||||
"/api/workflows/62": 3,
|
||||
"/api/workflows/70": 3,
|
||||
"/api/workflows/1": 3,
|
||||
"/api/workflows/36": 3,
|
||||
"/api/workflows/35": 3,
|
||||
"/api/workflows/2": 3,
|
||||
"/api/workflows/25": 3,
|
||||
"/api/workflows/24": 3,
|
||||
"/api/workflows/21": 3,
|
||||
"/api/workflows/14": 3,
|
||||
"/api/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,132 @@
|
||||
INFO: Started server process [774273]
|
||||
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:55840 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55848 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55860 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55880 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:55866 - "GET /api/settings HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55884 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55894 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:55896 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:48202 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48212 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48220 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48232 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48236 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48248 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48264 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48280 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48288 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:48294 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48308 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48322 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48330 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:48344 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48358 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48366 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48374 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48384 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48400 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48410 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48416 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48430 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:48434 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53196 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53212 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53222 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53226 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53234 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53246 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53262 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53268 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53272 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53282 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53290 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53300 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:53310 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53324 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53336 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:53338 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:53352 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44150 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44164 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44170 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44176 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44188 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44204 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44208 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44212 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44228 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44236 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44238 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44250 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:44254 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44266 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44276 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44286 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44300 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44310 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44316 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44332 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44338 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44342 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44348 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44354 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44364 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44374 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:44386 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45010 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45012 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45018 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45024 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45030 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45046 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45060 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45076 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45082 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45084 - "GET /api/workflows/156 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45100 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:45114 - "GET /api/workflows/157 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45118 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:45134 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [774273]
|
||||
@@ -0,0 +1 @@
|
||||
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"all_pass": true,
|
||||
"texts": 40,
|
||||
"citations": 49,
|
||||
"saved_positions": 37,
|
||||
"scalar_positions": 35,
|
||||
"history_objects": 2,
|
||||
"source_notes": 0,
|
||||
"missing_license": [
|
||||
{
|
||||
"id": "literals",
|
||||
"commit": "bdddb08ca82d90d75d97b1d437a652e0284a32ac",
|
||||
"license_text": "未发现;许可未知,不借最新版"
|
||||
},
|
||||
{
|
||||
"id": "cr",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"license_text": "未发现;许可未知,不借最新版"
|
||||
}
|
||||
],
|
||||
"local_file_base": "docs/hel-892/simple-vfi-document-evidence",
|
||||
"frontend": "准确源声明1.23.0;组合恢复未知",
|
||||
"upstream_executed": false
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
# Run from repository root. Existing locked dependencies only.
|
||||
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/simple-vfi-document-evidence/verify_sources.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/simple-vfi-document-evidence/rebuild.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/simple-vfi-document-evidence/check_code.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_simple_vfi_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
|
||||
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/simple-vfi-document-evidence/recompute.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/simple-vfi-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-simple-vfi-document.py
|
||||
# Foreground finally stops both owned services and verifies 8247/5173 release.
|
||||
# Copy browser-results.json/service-stop.json and service-0.log(as service-0.txt) from .local-evidence/simple-vfi-document/browser into this evidence directory.
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/simple-vfi-document-evidence/request_counts.py
|
||||
# Optional bounded static retrieval, sequentially: fetch_sources.py, fetch_packages.py, fetch_frontend.py.
|
||||
# Accurate Git trees/tags are cached; release archives retained by exact SHA. No install/import of upstream code.
|
||||
# local_file base: docs/hel-892/simple-vfi-document-evidence; exact sources/licenses in ../simple-vfi-reference.
|
||||
# Baseline actual old code 8afc7af7c5dd0d18932a09976af059fa6768c0ba; original PR25 main, original branch.
|
||||
@@ -0,0 +1,119 @@
|
||||
"""Offline byte/identity/license/archive/line and independent source inventory checks."""
|
||||
|
||||
import base64
|
||||
import hashlib
|
||||
import json
|
||||
import tarfile
|
||||
import zipfile
|
||||
|
||||
from build_definition import OUT, REF, REPO, build
|
||||
|
||||
|
||||
def main():
|
||||
b = build()
|
||||
entries = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
for e in entries:
|
||||
raw = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
if "package_sha256" in e:
|
||||
archive = REF / (
|
||||
e["id"]
|
||||
+ (
|
||||
"-source.tgz"
|
||||
if e["id"] == "litegraph"
|
||||
else "-source.tar.gz"
|
||||
if e["id"] == "essentials"
|
||||
else "-source.zip"
|
||||
)
|
||||
)
|
||||
a = archive.read_bytes()
|
||||
assert hashlib.sha256(a).hexdigest() == e["package_sha256"]
|
||||
if e["id"] == "litegraph":
|
||||
with tarfile.open(archive, "r:gz") as z:
|
||||
assert z.extractfile(e["file"]).read() == raw
|
||||
lock = json.loads((REF / "frontend__package-lock.json").read_bytes())["packages"][
|
||||
"node_modules/@comfyorg/litegraph"
|
||||
]
|
||||
assert (
|
||||
"sha512-" + base64.b64encode(hashlib.sha512(a).digest()).decode()
|
||||
== lock["integrity"]
|
||||
)
|
||||
else:
|
||||
with zipfile.ZipFile(archive) as z:
|
||||
assert z.read(e["file"]) == raw
|
||||
assert e["git_commit_binding"] == "unknown"
|
||||
else:
|
||||
t = json.loads((REF / (e["id"] + "-tree.json")).read_bytes())
|
||||
assert t["sha"] == e["commit"] and not t["truncated"]
|
||||
assert (
|
||||
hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
== e["git_blob_sha1"]
|
||||
== next(x["sha"] for x in t["tree"] if x["path"] == e["file"])
|
||||
)
|
||||
if e["id"] == "frontend":
|
||||
assert (
|
||||
json.loads((REF / "frontend-tag.json").read_bytes())["object"]["sha"]
|
||||
== e["commit"]
|
||||
)
|
||||
for e in b["sources"]:
|
||||
assert (
|
||||
1
|
||||
<= e["lines"][0]
|
||||
<= e["lines"][1]
|
||||
<= len((OUT / e["local_file"]).read_text().splitlines())
|
||||
)
|
||||
missing = []
|
||||
for key in ["literals", "cr"]:
|
||||
t = json.loads((REF / (key + "-tree.json")).read_bytes())
|
||||
assert not any(
|
||||
"license" in x["path"].lower() or "copying" in x["path"].lower() for x in t["tree"]
|
||||
)
|
||||
missing.append(dict(id=key, commit=t["sha"], license_text="未发现;许可未知,不借最新版"))
|
||||
g = json.loads((REPO / b["source_path"]).read_bytes())
|
||||
pointers = [
|
||||
f"/nodes/{i}/widgets_values/{j}"
|
||||
for i, n in enumerate(g["nodes"])
|
||||
for j in (
|
||||
list(n["widgets_values"])
|
||||
if isinstance(n["widgets_values"], dict)
|
||||
else range(len(n["widgets_values"]))
|
||||
)
|
||||
]
|
||||
assert pointers == [f["pointer"] for f in b["fields"]] and len(pointers) == 37
|
||||
assert (
|
||||
len(g["nodes"]) == 10
|
||||
and len(g["links"]) == 10
|
||||
and not b["comments"]
|
||||
and "definitions" not in g
|
||||
)
|
||||
assert all(n["mode"] == 0 and "widgets_values_named" not in n for n in g["nodes"])
|
||||
assert g["extra"]["frontendVersion"] == "1.23.0"
|
||||
ns = {n["id"]: n for n in g["nodes"]}
|
||||
assert ns[103]["outputs"][0]["links"] == []
|
||||
for eid, src, slot, dst, inp, _ in g["links"]:
|
||||
assert ns[dst]["inputs"][inp]["link"] == eid and eid in ns[src]["outputs"][slot]["links"]
|
||||
(OUT / "source-check.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
all_pass=True,
|
||||
texts=len(entries),
|
||||
citations=len(b["sources"]),
|
||||
saved_positions=37,
|
||||
scalar_positions=35,
|
||||
history_objects=2,
|
||||
source_notes=0,
|
||||
missing_license=missing,
|
||||
local_file_base=str(OUT.relative_to(REPO)),
|
||||
frontend="准确源声明1.23.0;组合恢复未知",
|
||||
upstream_executed=False,
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("PASS exact source/archive/tag/tree/blob/line/license inventory; 37 positions/0 notes")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,327 @@
|
||||
# 🧩 Comfyroll Studio
|
||||
|
||||
Co-authored by Suzie1 and RockOfFire
|
||||
|
||||
Current version: 1.76
|
||||
|
||||
# Wiki
|
||||
|
||||
Please use our new wiki for info on the custom nodes, and lots of examples of their use.
|
||||
|
||||
https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki
|
||||
|
||||
# Installation
|
||||
|
||||
1. cd custom_nodes
|
||||
2. git clone https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes.git
|
||||
3. Restart ComfyUI
|
||||
|
||||
You can also install the nodes using the following methods:
|
||||
* install using [ComfyUI Manager](https://github.com/ltdrdata/ComfyUI-Manager)
|
||||
* download from [CivitAI](https://civitai.com/models/87609/comfyroll-custom-nodes-for-comfyui)
|
||||
|
||||
# Patch Notes
|
||||
|
||||
https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md
|
||||
|
||||
# List of Custom Nodes
|
||||
|
||||
## Core Nodes
|
||||
__📦 Essential Nodes__
|
||||
* CR Image Output (changed 18/12/2023)
|
||||
* CR Latent Batch Size
|
||||
* CR Prompt Text
|
||||
* CR Combine Prompt
|
||||
* CR Seed
|
||||
* CR Conditioning Mixer
|
||||
* CR Select Model (new 24/1/2024)
|
||||
* CR VAE Decode (new 24/1/2024)
|
||||
|
||||
__🔳 Aspect Ratio__
|
||||
* CR Aspect Ratio
|
||||
* CR SDXL Aspect Ratio
|
||||
* CR SD1.5 Aspect Ratio
|
||||
* CR Aspect Ratio Banners (new 18/12/2023)
|
||||
* CR Aspect Ratio Social Media (new 15/1/2024)
|
||||
* CR Aspect Ratio For Print (new 18/1/2024)
|
||||
|
||||
__📜 List Nodes__
|
||||
* CR Text List (new 19/12/2023)
|
||||
* CR Prompt List (new 1/1/2024)
|
||||
* CR Float Range List (new 25/12/2023)
|
||||
* CR Integer Range List (new 25/12/2023)
|
||||
* CR Load Text List (new 27/12/2023)
|
||||
* CR Binary To List (new 29/12/2023)
|
||||
* CR Text List To String (updated 30/12/2023)
|
||||
* CR Text Cycler (new 4/1/2024)
|
||||
* CR Value Cycler (new 4/1/2024)
|
||||
|
||||
__📜 List IO__
|
||||
* CR Load Image List (new 23/12/2023)
|
||||
* CR Load Image List Plus (new 23/12/2023)
|
||||
* CR Load GIF As List (new 6/1/2024)
|
||||
* CR Font File List (new 18/12/2023)
|
||||
|
||||
__📜 List Utils__
|
||||
* CR Batch Images From List (new 29/12/2023)
|
||||
* CR Intertwine_Lists (new 29/12/2023)
|
||||
* CR Repeater (new 15/1/2024)
|
||||
* CR XY Product (new 2/1/2024)
|
||||
* CR Text List To String (updated 30/12/2023)
|
||||
|
||||
__🌟 SDXL__
|
||||
* CR SDXL Prompt Mix Presets
|
||||
* CR SDXL Style Text
|
||||
* CR SDXL Base Prompt Encoder
|
||||
|
||||
__💊 LoRA__
|
||||
* CR Load LoRA
|
||||
* CR LoRA Stack
|
||||
* CR Apply LoRA Stack
|
||||
* CR Random LoRA Stack (new 18/12/2023)
|
||||
* CR Random Weight LoRA (new 18/12/2023)
|
||||
|
||||
__🕹️ ControlNet__
|
||||
* CR Apply ControlNet
|
||||
* CR Multi-ControlNet Stack
|
||||
* CR Apply Multi-ControlNet Stack
|
||||
|
||||
__🚌 Bus__
|
||||
* CR Data Bus In (new 12/1/2024)
|
||||
* CR Data Bus Out (new 12/1/2024)
|
||||
* CR 8 Channel In (new 12/1/2024)
|
||||
* CR 8 Channel Out (new 12/1/2024)
|
||||
|
||||
__✈️ Module__
|
||||
* CR Module Pipe Loader
|
||||
* CR Module Input
|
||||
* CR Module Output
|
||||
|
||||
__🛩️ Pipe__
|
||||
* CR Image Pipe In
|
||||
* CR Image Pipe Edit
|
||||
* CR Image Pipe Out
|
||||
* CR Pipe Switch
|
||||
|
||||
__⛏️ Model Merge__
|
||||
* CR Model Stack
|
||||
* CR Apply Model Merge
|
||||
|
||||
__🔍 Upscale__
|
||||
* CR Multi Upscale Stack
|
||||
* CR Upscale Image
|
||||
* CR Apply Multi Upscale
|
||||
|
||||
__📉 XY Grid__
|
||||
* CR XY List
|
||||
* CR XY Interpolate
|
||||
* CR XY Index
|
||||
* CR XY From Folder
|
||||
* CR XY Save Grid Image
|
||||
* CR Image Output
|
||||
|
||||
## 👾 Graphics Nodes
|
||||
|
||||
__👓 Graphics - Filter__
|
||||
* CR Color Tint
|
||||
* CR Halftone Filter
|
||||
* CR Vignette Filter (new 21/12/2023)
|
||||
|
||||
__🌈 Graphics - Pattern__
|
||||
* CR Halftone Grid
|
||||
* CR Color Bars
|
||||
* CR Style Bars
|
||||
* CR Checker Pattern
|
||||
* CR Polygons
|
||||
* CR Color Gradient
|
||||
* CR Radial Gradiant
|
||||
* CR Starburst Lines
|
||||
* CR Starburst Colors
|
||||
* CR Simple Binary Pattern
|
||||
* CR Binary Pattern
|
||||
|
||||
__🟡 Graphics - Pattern__
|
||||
* CR Draw Shape (new 24/12/2023)
|
||||
* CR Draw Pie" (new 25/12/2023)
|
||||
* CR Random Shape Pattern" (new 25/12/2023)
|
||||
|
||||
__🔤 Graphics - Text__
|
||||
* CR Overlay Text
|
||||
* CR Draw Text
|
||||
* CR Mask Text
|
||||
* CR Composite Text
|
||||
* CR Select Font
|
||||
|
||||
__👽 Graphics - Template__
|
||||
* CR Simple Meme Template
|
||||
* CR Simple Banner
|
||||
* CR Comic Panel Templates
|
||||
* CR Simple Banner (new 18/12/2023)
|
||||
* CR Simple Image Compare (new 18/12/2023)
|
||||
* CR Thumbnail Preview (new 26/12/2023)
|
||||
* CR Seamless Checker (new 18/1/2023)
|
||||
|
||||
__🌁 Graphics - Layout__
|
||||
* CR Image Panel
|
||||
* CR Page Layout
|
||||
* CR Image Grid Panel
|
||||
* CR Image Border
|
||||
* CR Feathered Border (new 21/12/2023)
|
||||
* CR Color Panel
|
||||
* CR Simple Text Panel
|
||||
* CR Half Drop Panel (new 23/1/2024)
|
||||
* CR Diamond Panel (new 24/1/2024)
|
||||
* CR Overlay Transparent Image
|
||||
* CR Select ISO Size (new 18/1/2023)
|
||||
|
||||
## 🎥 Animation
|
||||
|
||||
__📋 Schedules__
|
||||
* CR Simple Schedule
|
||||
* CR Central Schedule
|
||||
* CR Combine Schedules
|
||||
* CR Output Schedule To File
|
||||
* CR Load Schedule From File
|
||||
* CR Schedule Input Switch
|
||||
|
||||
__📑 Schedulers__
|
||||
* CR Simple Value Scheduler
|
||||
* CR Simple Text Scheduler
|
||||
* CR Value Scheduler
|
||||
* CR Text Scheduler
|
||||
* CR Load Scheduled Models
|
||||
* CR Load Scheduled LoRAs
|
||||
* CR Prompt Scheduler
|
||||
* CR Simple Prompt Scheduler
|
||||
|
||||
__📝 Prompt__
|
||||
* CR Keyframe List
|
||||
* CR Load Prompt Style
|
||||
* CR Encode Scheduled Prompts
|
||||
|
||||
__🔢 Interpolation__
|
||||
* CR Gradient Float
|
||||
* CR Gradient Integer
|
||||
* CR Increment Float
|
||||
* CR Increment Integer
|
||||
* CR Interpolate Latents
|
||||
|
||||
__🛠️ Utils__
|
||||
* CR Debatch Frames
|
||||
* CR Current Frame
|
||||
|
||||
__⌨️ IO__
|
||||
* CR Load Animation Frames
|
||||
* CR Load Flow Frames
|
||||
* CR Output Flow Frames
|
||||
|
||||
## 🛠️ Utility Nodes
|
||||
|
||||
__🔢 Utils Index__
|
||||
* CR Index
|
||||
* CR Index Increment
|
||||
* CR Index Multiply
|
||||
* CR Index Reset
|
||||
* CR Trigger
|
||||
|
||||
__🔧 Utils Conversion__
|
||||
* CR String To Number (changed 18/12/2023)
|
||||
* CR String To Combo
|
||||
* CR Float To String
|
||||
* CR Float To Integer
|
||||
* CR Integer To String
|
||||
* CR String To Boolean (new 17/1/2024)
|
||||
|
||||
__🔀 Utils Logic__
|
||||
* CR Image Input Switch
|
||||
* CR Image Input Switch (4 way)
|
||||
* CR Latent Input Switch
|
||||
* CR Conditioning Input Switch
|
||||
* CR Clip Input Switch
|
||||
* CR Model Input Switch
|
||||
* CR ControlNet Input Switch
|
||||
* CR VAE Input Switch
|
||||
* CR Text Input Switch
|
||||
* CR Text Input Switch (4 way)
|
||||
* CR Switch Model and CLIP
|
||||
|
||||
__🔂 Utils Process__
|
||||
* CR Img2Img Process Switch
|
||||
* CR Hires Fix Process Switch
|
||||
* CR Batch Process Switch
|
||||
|
||||
__🎲 Utils Random__
|
||||
* CR Random Hex Color
|
||||
* CR Random RGB
|
||||
* CR Random Multiline Values (updated 28/12/2023)
|
||||
* CR Random Multiline Colors (new 28/12/2023)
|
||||
* CR Random RGB Gradient
|
||||
* CR Random Panel Code (new 26/12/2023)
|
||||
|
||||
__🔤 Utils Text__
|
||||
* CR Text (new 3/1/2024)
|
||||
* CR Multiline Text (new 24/12/2023)
|
||||
* CR Split String
|
||||
* CR Text Concatenate (new 2/1/2024)
|
||||
* CR Text Replace (new 8/1/2024)
|
||||
* CR Text Blacklist (new 13/1/2024)
|
||||
* CR Text Length (new 10/1/2024)
|
||||
* CR Text Operation (new 10/1/2024)
|
||||
* CR Save Text To File (new 27/12/2023)
|
||||
|
||||
__⚙️ Conditional__
|
||||
* CR Set Value On Boolean (new 29/12/2023)
|
||||
* CR Set Value On Binary (new 3/1/2024)
|
||||
* CR Set Value On String (new 9/1/2024)
|
||||
* CR Set Switch From String (new 17/1/2024)
|
||||
|
||||
__⚙️ Utils Other__
|
||||
* CR Value
|
||||
* CR Integer Multiple
|
||||
* CR Clamp Value (new 29/12/2023)
|
||||
* CR Math Operation (new 31/12/2023)
|
||||
* CR Get Parameter From Prompt (new 5/1/2024)
|
||||
* CR Select Resize Method (new 16/1/2024)
|
||||
|
||||
## Legacy
|
||||
__💀 Legacy Nodes__
|
||||
* CR Seed to Int
|
||||
* CR Aspect Ratio SDXL, replaced by CR SDXL Aspect Ratio
|
||||
* CR Image Size, replaced by CR Aspect Ratio
|
||||
* CR SDXL Prompt Mixer, replaced by CR SDXL Prompt Mix Presets
|
||||
|
||||
# Comfyroll Workflow Templates
|
||||
|
||||
The nodes were originally made for use in the Comfyroll Template Workflows.
|
||||
|
||||
[Comfyroll Template Workflows](https://civitai.com/models/59806/comfyroll-template-workflows)
|
||||
|
||||
[Comfyroll Pro Templates](https://civitai.com/models/85619/comfyroll-pro-template)
|
||||
|
||||
[Comfyroll SDXL Workflow Templates](https://civitai.com/models/118005/comfyroll-sdxl-workflow-templates)
|
||||
|
||||
[SDXL Workflow for ComfyUI with Multi-ControlNet](https://civitai.com/models/129858/sdxl-workflow-for-comfyui-with-multi-controlnet)
|
||||
|
||||
[SDXL and SD1.5 Model Merge Templates for ComfyUI](https://civitai.com/models/123125/sdxl-and-sd15-model-merge-templates-for-comfyui)
|
||||
|
||||
# Credits
|
||||
|
||||
comfyanonymous/[ComfyUI](https://github.com/comfyanonymous/ComfyUI) - A powerful and modular stable diffusion GUI.
|
||||
|
||||
WASasquatch/[was-node-suite-comfyui](https://github.com/WASasquatch/was-node-suite-comfyui) - A powerful custom node extensions of ComfyUI.
|
||||
|
||||
TinyTerra/[ComfyUI_tinyterraNodes](https://github.com/TinyTerra/ComfyUI_tinyterraNodes) - A selection of nodes for Stable Diffusion ComfyUI
|
||||
|
||||
hnmr293/[ComfyUI-nodes-hnmr](https://github.com/hnmr293/ComfyUI-nodes-hnmr) - ComfyUI custom nodes - merge, grid (aka xyz-plot) and others
|
||||
|
||||
SeargeDP/[SeargeSDXL](https://github.com/SeargeDP) - ComfyUI custom nodes - Prompt nodes and Conditioning nodes
|
||||
|
||||
LucianoCirino/[efficiency-nodes-comfyui](https://github.com/LucianoCirino/efficiency-nodes-comfyui) - A collection of ComfyUI custom nodes.
|
||||
|
||||
SLAPaper/[ComfyUI-Image-Selector](https://github.com/SLAPaper/ComfyUI-Image-Selector) - Select one or some of images from a batch
|
||||
|
||||
pythongosssss/[ComfyUI-Custom-Scripts](https://github.com/pythongosssss/ComfyUI-Custom-Scripts) - Enhancements & experiments for ComfyUI, mostly focusing on UI features
|
||||
|
||||
bash-j/[mikey_nodes](https://github.com/bash-j/mikey_nodes) - comfy nodes from mikey
|
||||
|
||||
ltdrdata/[ComfyUI-Impact-Pack](https://github.com/ltdrdata/ComfyUI-Impact-Pack) -
|
||||
@@ -0,0 +1,30 @@
|
||||
# By Suzie1 and RockOfFire
|
||||
#
|
||||
# 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.
|
||||
|
||||
"""
|
||||
@author: Suzie1
|
||||
@title: Comfyroll Studio
|
||||
@nickname: Comfyroll Studio
|
||||
@description: 175 custom nodes for artists, designers and animators.
|
||||
"""
|
||||
|
||||
from .node_mappings import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
||||
|
||||
print("------------------------------------------")
|
||||
print("\033[34mComfyroll Studio v1.76 : \033[92m 175 Nodes Loaded\033[0m")
|
||||
print("------------------------------------------")
|
||||
print("** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md")
|
||||
print("** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki")
|
||||
print("------------------------------------------")
|
||||
|
||||
|
||||
@@ -0,0 +1,532 @@
|
||||
try:
|
||||
from .nodes.nodes_core import *
|
||||
from .nodes.nodes_aspect_ratio import *
|
||||
from .nodes.nodes_list import *
|
||||
from .nodes.nodes_lora import *
|
||||
from .nodes.nodes_controlnet import *
|
||||
from .nodes.nodes_pipe import *
|
||||
from .nodes.nodes_sdxl import *
|
||||
from .nodes.nodes_model_merge import *
|
||||
from .nodes.nodes_upscale import *
|
||||
from .nodes.nodes_xygrid import *
|
||||
from .nodes.nodes_legacy import *
|
||||
except ImportError:
|
||||
print("\033[34mComfyroll Studio: \033[92mFailed to load Essential nodes\033[0m")
|
||||
|
||||
try:
|
||||
from .nodes.nodes_graphics_matplot import *
|
||||
from .nodes.nodes_graphics_text import *
|
||||
from .nodes.nodes_graphics_layout import *
|
||||
from .nodes.nodes_graphics_filter import *
|
||||
from .nodes.nodes_graphics_template import *
|
||||
from .nodes.nodes_graphics_pattern import *
|
||||
except ImportError:
|
||||
print("\033[34mComfyroll Studio: \033[92mFailed to load Graphics nodes\033[0m")
|
||||
|
||||
try:
|
||||
from .nodes.nodes_animation_interpolation import *
|
||||
from .nodes.nodes_animation_io import *
|
||||
from .nodes.nodes_animation_prompt import *
|
||||
from .nodes.nodes_animation_schedulers import *
|
||||
from .nodes.nodes_animation_schedules import *
|
||||
from .nodes.nodes_animation_lists import *
|
||||
from .nodes.nodes_animation_utils import *
|
||||
from .nodes.nodes_animation_cyclers import *
|
||||
except ImportError:
|
||||
print("\033[34mComfyroll Studio: \033[92mFailed to load Animation nodes\033[0m")
|
||||
|
||||
try:
|
||||
from .nodes.nodes_utils_logic import *
|
||||
from .nodes.nodes_utils_index import *
|
||||
from .nodes.nodes_utils_conversion import *
|
||||
from .nodes.nodes_utils_random import *
|
||||
from .nodes.nodes_utils_text import *
|
||||
from .nodes.nodes_utils_other import *
|
||||
except ImportError:
|
||||
print("\033[34mComfyroll Studio: \033[92mFailed to load Utility nodes\033[0m")
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
### Core Nodes
|
||||
"CR Image Output": CR_ImageOutput,
|
||||
"CR Latent Batch Size": CR_LatentBatchSize,
|
||||
"CR Conditioning Mixer": CR_ConditioningMixer,
|
||||
"CR Select Model": CR_SelectModel,
|
||||
"CR Seed": CR_Seed,
|
||||
"CR Prompt Text": CR_PromptText,
|
||||
"CR Combine Prompt": CR_CombinePrompt,
|
||||
"CR VAE Decode": CR_VAEDecode,
|
||||
### List Nodes
|
||||
"CR Text List": CR_TextList,
|
||||
"CR Prompt List": CR_PromptList,
|
||||
"CR Simple List": CR_SimpleList,
|
||||
"CR Float Range List": CR_FloatRangeList,
|
||||
"CR Integer Range List": CR_IntegerRangeList,
|
||||
"CR Load Text List": CR_LoadTextList,
|
||||
"CR Binary To Bit List": CR_BinaryToBitList,
|
||||
"CR Text Cycler": CR_TextCycler,
|
||||
"CR Value Cycler": CR_ValueCycler,
|
||||
### List IO
|
||||
"CR Load Image List": CR_LoadImageList,
|
||||
"CR Load Image List Plus": CR_LoadImageListPlus,
|
||||
"CR Load GIF As List": CR_LoadGIFAsList,
|
||||
"CR Font File List": CR_FontFileList,
|
||||
### List Utils
|
||||
"CR Batch Images From List": CR_MakeBatchFromImageList,
|
||||
"CR Intertwine Lists" : CR_IntertwineLists,
|
||||
"CR Repeater": CR_Repeater,
|
||||
"CR XY Product": CR_XYProduct,
|
||||
"CR Text List To String": CR_TextListToString,
|
||||
### Aspect Ratio Nodes
|
||||
"CR SD1.5 Aspect Ratio": CR_AspectRatioSD15,
|
||||
"CR SDXL Aspect Ratio": CR_SDXLAspectRatio,
|
||||
"CR Aspect Ratio": CR_AspectRatio,
|
||||
"CR Aspect Ratio Banners": CR_AspectRatioBanners,
|
||||
"CR Aspect Ratio Social Media": CR_AspectRatioSocialMedia,
|
||||
"CR_Aspect Ratio For Print": CR_AspectRatioForPrint,
|
||||
### Legacy Nodes
|
||||
"CR Image Size": CR_ImageSize,
|
||||
"CR Aspect Ratio SDXL": CR_AspectRatio_SDXL,
|
||||
"CR SDXL Prompt Mixer": CR_PromptMixer,
|
||||
"CR Seed to Int": CR_SeedToInt,
|
||||
### ControlNet Nodes
|
||||
"CR Apply ControlNet": CR_ApplyControlNet,
|
||||
"CR Multi-ControlNet Stack": CR_ControlNetStack,
|
||||
"CR Apply Multi-ControlNet": CR_ApplyControlNetStack,
|
||||
### LoRA Nodes
|
||||
"CR Load LoRA": CR_LoraLoader,
|
||||
"CR LoRA Stack": CR_LoRAStack,
|
||||
"CR Random LoRA Stack": CR_RandomLoRAStack,
|
||||
"CR Random Weight LoRA": CR_RandomWeightLoRA,
|
||||
"CR Apply LoRA Stack": CR_ApplyLoRAStack,
|
||||
### Model Merge Nodes
|
||||
"CR Apply Model Merge": CR_ApplyModelMerge,
|
||||
"CR Model Merge Stack": CR_ModelMergeStack,
|
||||
### Pipe Nodes
|
||||
"CR Data Bus In":CR_DataBusIn,
|
||||
"CR Data Bus Out":CR_DataBusOut,
|
||||
"CR 8 Channel In":CR_8ChannelIn,
|
||||
"CR 8 Channel Out":CR_8ChannelOut,
|
||||
"CR Module Pipe Loader": CR_ModulePipeLoader,
|
||||
"CR Module Input": CR_ModuleInput,
|
||||
"CR Module Output": CR_ModuleOutput,
|
||||
"CR Image Pipe In": CR_ImagePipeIn,
|
||||
"CR Image Pipe Edit": CR_ImagePipeEdit,
|
||||
"CR Image Pipe Out": CR_ImagePipeOut,
|
||||
"CR Pipe Switch": CR_InputSwitchPipe,
|
||||
### SDXL Nodes
|
||||
"CR SDXL Prompt Mix Presets": CR_PromptMixPresets,
|
||||
"CR SDXL Style Text": CR_SDXLStyleText,
|
||||
"CR SDXL Base Prompt Encoder": CR_SDXLBasePromptEncoder,
|
||||
### Upscale Nodes
|
||||
"CR Multi Upscale Stack": CR_MultiUpscaleStack,
|
||||
"CR Upscale Image": CR_UpscaleImage,
|
||||
"CR Apply Multi Upscale": CR_ApplyMultiUpscale,
|
||||
### XY Grid Nodes
|
||||
"CR XY List": CR_XYList,
|
||||
"CR XY Interpolate": CR_XYInterpolate,
|
||||
"CR XY From Folder": CR_XYFromFolder,
|
||||
"CR XY Save Grid Image": CR_XYSaveGridImage,
|
||||
"CR XY Index": CR_XYIndex,
|
||||
#"CR XYZ Index": CR_XYZIndex,
|
||||
### Graphics Pattern
|
||||
"CR Halftone Grid": CR_HalftoneGrid,
|
||||
"CR Color Bars": CR_ColorBars,
|
||||
"CR Style Bars": CR_StyleBars,
|
||||
"CR Checker Pattern": CR_CheckerPattern,
|
||||
"CR Polygons": CR_Polygons,
|
||||
"CR Color Gradient": CR_ColorGradient,
|
||||
"CR Radial Gradient": CR_RadialGradient,
|
||||
"CR Starburst Lines": CR_StarburstLines,
|
||||
"CR Starburst Colors": CR_StarburstColors,
|
||||
"CR Simple Binary Pattern": CR_BinaryPatternSimple,
|
||||
"CR Binary Pattern": CR_BinaryPattern,
|
||||
### Graphics Shape
|
||||
"CR Draw Shape": CR_DrawShape,
|
||||
"CR Draw Pie": CR_DrawPie,
|
||||
"CR Random Shape Pattern": CR_RandomShapePattern,
|
||||
### Graphics Text
|
||||
"CR Overlay Text": CR_OverlayText,
|
||||
"CR Draw Text": CR_DrawText,
|
||||
"CR Mask Text": CR_MaskText,
|
||||
"CR Composite Text": CR_CompositeText,
|
||||
#"CR Arabic Text RTL": CR_ArabicTextRTL,
|
||||
"CR Simple Text Watermark": CR_SimpleTextWatermark,
|
||||
"CR Select Font": CR_SelectFont,
|
||||
### Graphics Filter
|
||||
"CR Halftone Filter": CR_HalftoneFilter,
|
||||
"CR Color Tint": CR_ColorTint,
|
||||
"CR Vignette Filter": CR_VignetteFilter,
|
||||
### Graphics Layout
|
||||
"CR Page Layout": CR_PageLayout,
|
||||
"CR Image Panel": CR_ImagePanel,
|
||||
"CR Image Grid Panel": CR_ImageGridPanel,
|
||||
"CR Image Border": CR_ImageBorder,
|
||||
"CR Feathered Border": CR_FeatheredBorder,
|
||||
"CR Simple Text Panel": CR_SimpleTextPanel,
|
||||
"CR Color Panel": CR_ColorPanel,
|
||||
"CR Overlay Transparent Image": CR_OverlayTransparentImage,
|
||||
"CR Half Drop Panel": CR_HalfDropPanel,
|
||||
"CR Diamond Panel": CR_DiamondPanel,
|
||||
#"CR Simple Titles": CR_SimpleTitles,
|
||||
### Graphics Template
|
||||
"CR Simple Meme Template": CR_SimpleMemeTemplate,
|
||||
"CR Simple Banner": CR_SimpleBanner,
|
||||
"CR Comic Panel Templates": CR_ComicPanelTemplates,
|
||||
"CR Simple Image Compare": CR_SimpleImageCompare,
|
||||
"CR Thumbnail Preview": CR_ThumbnailPreview,
|
||||
"CR Seamless Checker": CR_SeamlessChecker,
|
||||
### Utils Logic
|
||||
"CR Image Input Switch": CR_ImageInputSwitch,
|
||||
"CR Image Input Switch (4 way)": CR_ImageInputSwitch4way,
|
||||
"CR Latent Input Switch": CR_LatentInputSwitch,
|
||||
"CR Conditioning Input Switch": CR_ConditioningInputSwitch,
|
||||
"CR Clip Input Switch": CR_ClipInputSwitch,
|
||||
"CR Model Input Switch": CR_ModelInputSwitch,
|
||||
"CR ControlNet Input Switch": CR_ControlNetInputSwitch,
|
||||
"CR VAE Input Switch": CR_VAEInputSwitch,
|
||||
"CR Text Input Switch": CR_TextInputSwitch,
|
||||
"CR Text Input Switch (4 way)": CR_TextInputSwitch4way,
|
||||
"CR Switch Model and CLIP": CR_ModelAndCLIPInputSwitch,
|
||||
### Utils Process
|
||||
"CR Batch Process Switch": CR_BatchProcessSwitch,
|
||||
"CR Img2Img Process Switch": CR_Img2ImgProcessSwitch,
|
||||
"CR Hires Fix Process Switch": CR_HiResFixProcessSwitch,
|
||||
### Utils Index
|
||||
"CR Index": CR_Index,
|
||||
"CR Index Increment": CR_IncrementIndex,
|
||||
"CR Index Multiply": CR_MultiplyIndex,
|
||||
"CR Index Reset": CR_IndexReset,
|
||||
"CR Trigger": CR_Trigger,
|
||||
### Utils Conversion
|
||||
"CR String To Number": CR_StringToNumber,
|
||||
"CR String To Combo": CR_StringToCombo,
|
||||
"CR Float To String": CR_FloatToString,
|
||||
"CR Float To Integer": CR_FloatToInteger,
|
||||
"CR Integer To String": CR_IntegerToString,
|
||||
"CR String To Boolean": CR_StringToBoolean,
|
||||
### Utils Random
|
||||
"CR Random Hex Color": CR_RandomHexColor,
|
||||
"CR Random RGB": CR_RandomRGB,
|
||||
"CR Random Multiline Values": CR_RandomMultilineValues,
|
||||
"CR Random Multiline Colors": CR_RandomMultilineColors,
|
||||
"CR Random RGB Gradient": CR_RandomRGBGradient,
|
||||
"CR Random Panel Codes": CR_RandomPanelCodes,
|
||||
### Utils Text
|
||||
"CR Text": CR_Text,
|
||||
"CR Multiline Text": CR_MultilineText,
|
||||
"CR Split String": CR_SplitString,
|
||||
"CR Text Concatenate": CR_TextConcatenate,
|
||||
"CR Text Replace": CR_TextReplace,
|
||||
"CR Text Length": CR_TextLength,
|
||||
"CR Text Operation": CR_TextOperation,
|
||||
"CR Text Blacklist": CR_TextBlacklist,
|
||||
"CR Save Text To File": CR_SaveTextToFile,
|
||||
### Utils Conditional
|
||||
"CR Set Value On Boolean": CR_SetValueOnBoolean,
|
||||
"CR Set Value On Binary": CR_SetValueOnBinary,
|
||||
"CR Set Value on String": CR_SetValueOnString,
|
||||
"CR Set Switch From String": CR_SetSwitchFromString,
|
||||
### Utils Other
|
||||
"CR Value": CR_Value,
|
||||
"CR Integer Multiple": CR_IntegerMultipleOf,
|
||||
"CR Clamp Value": CR_ClampValue,
|
||||
"CR Math Operation": CR_MathOperation,
|
||||
"CR Get Parameter From Prompt": CR_GetParameterFromPrompt,
|
||||
"CR Select Resize Method": CR_SelectResizeMethod,
|
||||
"CR Select ISO Size": CR_SelectISOSize,
|
||||
### Animation Nodes
|
||||
# Schedules
|
||||
"CR Simple Schedule": CR_SimpleSchedule,
|
||||
"CR Central Schedule": CR_CentralSchedule,
|
||||
"CR Combine Schedules": CR_CombineSchedules,
|
||||
"CR Output Schedule To File": CR_OutputScheduleToFile,
|
||||
"CR Load Schedule From File": CR_LoadScheduleFromFile,
|
||||
"CR Schedule Input Switch": Comfyroll_ScheduleInputSwitch,
|
||||
"CR Bit Schedule": CR_BitSchedule,
|
||||
# Schedulers
|
||||
"CR Simple Value Scheduler": CR_SimpleValueScheduler,
|
||||
"CR Simple Text Scheduler": CR_SimpleTextScheduler,
|
||||
"CR Value Scheduler": CR_ValueScheduler,
|
||||
"CR Text Scheduler": CR_TextScheduler,
|
||||
"CR Load Scheduled Models": CR_LoadScheduledModels,
|
||||
"CR Load Scheduled LoRAs": CR_LoadScheduledLoRAs,
|
||||
"CR Prompt Scheduler": CR_PromptScheduler,
|
||||
"CR Simple Prompt Scheduler": CR_SimplePromptScheduler,
|
||||
# Prompt
|
||||
"CR Keyframe List": CR_KeyframeList,
|
||||
#"CR Load Prompt Style": CR_LoadPromptStyle,
|
||||
"CR Encode Scheduled Prompts": CR_EncodeScheduledPrompts,
|
||||
# Interpolation
|
||||
"CR Gradient Float": CR_GradientFloat,
|
||||
"CR Gradient Integer": CR_GradientInteger,
|
||||
"CR Increment Float": CR_IncrementFloat,
|
||||
"CR Increment Integer": CR_IncrementInteger,
|
||||
"CR Interpolate Latents": CR_InterpolateLatents,
|
||||
# Utils
|
||||
"CR Debatch Frames": CR_DebatchFrames,
|
||||
"CR Current Frame": CR_CurrentFrame,
|
||||
#"CR Input Text List": CR_InputTextList,
|
||||
# IO
|
||||
"CR Load Animation Frames": CR_LoadAnimationFrames,
|
||||
"CR Load Flow Frames": CR_LoadFlowFrames,
|
||||
"CR Output Flow Frames": CR_OutputFlowFrames,
|
||||
### Legacy
|
||||
# Note: CR Prompt List and CR Text List names have been reused,
|
||||
# so the old versions of these nodes are no longer available
|
||||
"CR Prompt List Keyframes": CR_PromptListKeyframes,
|
||||
"CR Simple Prompt List": CR_SimplePromptList,
|
||||
"CR Simple Prompt List Keyframes": CR_SimplePromptListKeyframes,
|
||||
"CR Cycle Models": CR_CycleModels,
|
||||
"CR Cycle LoRAs": CR_CycleLoRAs,
|
||||
"CR Cycle Text": CR_CycleText,
|
||||
"CR Cycle Text Simple": CR_CycleTextSimple,
|
||||
"CR Cycle Images": CR_CycleImages,
|
||||
"CR Cycle Images Simple": CR_CycleImagesSimple,
|
||||
"CR Model List": CR_ModelList,
|
||||
"CR LoRA List": CR_LoRAList,
|
||||
"CR Text List Simple": CR_TextListSimple,
|
||||
"CR Image List": CR_ImageList,
|
||||
"CR Image List Simple": CR_ImageListSimple,
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
### Core Nodes
|
||||
"CR Image Output": "💾 CR Image Output",
|
||||
"CR Integer Multiple": "⚙️ CR Integer Multiple",
|
||||
"CR Latent Batch Size": "⚙️ CR Latent Batch Size",
|
||||
"CR Seed": "🌱 CR Seed",
|
||||
"CR Value": "⚙️ CR Value",
|
||||
"CR Conditioning Mixer": "⚙️ CR Conditioning Mixer",
|
||||
"CR Select Model": "🔮 CR Select Model",
|
||||
"CR Prompt Text": "⚙️ CR Prompt Text",
|
||||
"CR Combine Prompt": "⚙️ CR Combine Prompt",
|
||||
"CR VAE Decode": "⚙️ CR VAE Decode",
|
||||
### List Nodes
|
||||
"CR Text List": "📜 CR Text List",
|
||||
"CR Prompt List": "📜 CR Prompt List",
|
||||
"CR Simple List": "📜 CR Simple List",
|
||||
"CR Float Range List": "📜 CR Float Range List",
|
||||
"CR Integer Range List": "📜 CR Integer Range List",
|
||||
"CR Load Value List": "📜 CR Load Value List",
|
||||
"CR Load Text List": "📜 CR Load Text List",
|
||||
"CR Binary To Bit List": "📜 CR Binary To Bit List",
|
||||
"CR Text Cycler": "📜 CR Text Cycler",
|
||||
"CR Value Cycler": "📜 CR Value Cycler",
|
||||
### List IO
|
||||
"CR Load Image List": "⌨️ CR Load Image List",
|
||||
"CR Load Image List Plus": "⌨️ CR Load Image List Plus",
|
||||
"CR Load GIF As List": "⌨️ CR Load GIF As List",
|
||||
"CR Font File List": "⌨️ CR Font File List",
|
||||
### List Utils
|
||||
"CR Batch Images From List": "🛠️ CR Batch Images From List",
|
||||
"CR Intertwine Lists" : "🛠️ CR Intertwine Lists",
|
||||
"CR Repeater": "🛠️ CR Repeater",
|
||||
"CR XY Product": "🛠️ CR XY Product",
|
||||
"CR Text List To String": "🛠️ CR Text List To String",
|
||||
### Aspect Ratio Nodes
|
||||
"CR SD1.5 Aspect Ratio": "🔳 CR SD1.5 Aspect Ratio",
|
||||
"CR SDXL Aspect Ratio": "🔳 CR SDXL Aspect Ratio",
|
||||
"CR Aspect Ratio": "🔳 CR Aspect Ratio",
|
||||
"CR Aspect Ratio Banners": "🔳 CR Aspect Ratio Banners",
|
||||
"CR Aspect Ratio Social Media": "🔳 CR Aspect Ratio Social Media",
|
||||
"CR_Aspect Ratio For Print": "🔳 CR_Aspect Ratio For Print",
|
||||
### Legacy Nodes
|
||||
"CR Image Size": "CR Image Size (Legacy)",
|
||||
"CR Aspect Ratio SDXL": "CR Aspect Ratio SDXL (Legacy)",
|
||||
"CR SDXL Prompt Mixer": "CR SDXL Prompt Mixer (Legacy)",
|
||||
"CR Seed to Int": "CR Seed to Int (Legacy)",
|
||||
### ControlNet Nodes
|
||||
"CR Apply ControlNet": "🕹️ CR Apply ControlNet",
|
||||
"CR Multi-ControlNet Stack": "🕹️ CR Multi-ControlNet Stack",
|
||||
"CR Apply Multi-ControlNet": "🕹️ CR Apply Multi-ControlNet",
|
||||
### LoRA Nodes
|
||||
"CR Load LoRA": "💊 CR Load LoRA",
|
||||
"CR LoRA Stack": "💊 CR LoRA Stack",
|
||||
"CR Random LoRA Stack": "💊 CR Random LoRA Stack",
|
||||
"CR Random Weight LoRA": "💊 CR Random Weight LoRA",
|
||||
"CR Apply LoRA Stack": "💊 CR Apply LoRA Stack",
|
||||
### Model Merge Nodes
|
||||
"CR Apply Model Merge": "⛏️ CR Apply Model Merge",
|
||||
"CR Model Merge Stack": "⛏️ CR Model Merge Stack",
|
||||
### Pipe Nodes
|
||||
"CR Data Bus In": "🚌 CR Data Bus In",
|
||||
"CR Data Bus Out": "🚌 CR Data Bus Out",
|
||||
"CR 8 Channel In": "🚌 CR 8 Channel In",
|
||||
"CR 8 Channel Out": "🚌 CR 8 Channel Out",
|
||||
"CR Module Pipe Loader": "✈️ CR Module Pipe Loader",
|
||||
"CR Module Input": "✈️ CR Module Input",
|
||||
"CR Module Output": "✈️ CR Module Output",
|
||||
"CR Image Pipe In": "🛩 CR Image Pipe In",
|
||||
"CR Image Pipe Edit": "🛩️ CR Image Pipe Edit",
|
||||
"CR Image Pipe Out": "🛩️ CR Image Pipe Out",
|
||||
"CR Pipe Switch": "🔀️ CR Pipe Switch",
|
||||
### SDXL Nodes
|
||||
"CR SDXL Prompt Mix Presets": "🌟 CR SDXL Prompt Mix Presets",
|
||||
"CR SDXL Style Text": "🌟 CR SDXL Style Text",
|
||||
"CR SDXL Base Prompt Encoder": "🌟 CR SDXL Base Prompt Encoder",
|
||||
### Upscale Nodes
|
||||
"CR Multi Upscale Stack": "🔍 CR Multi Upscale Stack",
|
||||
"CR Upscale Image": "🔍 CR Upscale Image",
|
||||
"CR Apply Multi Upscale": "🔍 CR Apply Multi Upscale",
|
||||
### XY Grid Nodes
|
||||
"CR XY List": "📉 CR XY List",
|
||||
"CR XY Interpolate": "📉 CR XY Interpolate",
|
||||
"CR XY Index": "📉 CR XY Index",
|
||||
"CR XY From Folder": "📉 CR XY From Folder",
|
||||
"CR XY Save Grid Image": "📉 CR XY Save Grid Image",
|
||||
### Graphics Pattern
|
||||
"CR Halftone Grid" : "🟫 CR Halftone Grid",
|
||||
"CR Color Bars" : "🟫 CR Color Bars",
|
||||
"CR Style Bars" : "🟪 CR Style Bars",
|
||||
"CR Checker Pattern": "🟦 CR Checker Pattern",
|
||||
"CR Polygons": "🟩 CR Polygons",
|
||||
"CR Color Gradient": "🟨 CR Color Gradient",
|
||||
"CR Radial Gradient": "🟨 CR Radial Gradient",
|
||||
"CR Starburst Lines": "🟧 CR Starburst Lines",
|
||||
"CR Starburst Colors": "🟧 CR Starburst Colors",
|
||||
"CR Simple Binary Pattern": "🟥 CR Simple Binary Pattern",
|
||||
"CR Binary Pattern": "🟥 CR Binary Pattern",
|
||||
### Graphics Shape
|
||||
"CR Draw Shape": "🟡 CR Draw Shape",
|
||||
"CR Draw Pie": "🟢 CR Draw Pie",
|
||||
"CR Random Shape Pattern": "🔵 CR Random Shape Pattern",
|
||||
### Graphics Text
|
||||
"CR Overlay Text": "🔤 CR Overlay Text",
|
||||
"CR Draw Text": "🔤️ CR Draw Text",
|
||||
"CR Mask Text": "🔤️ CR Mask Text",
|
||||
"CR Composite Text": "🔤️ CR Composite Text",
|
||||
"CR Simple Text Watermark": "🔤️ CR Simple Text Watermark",
|
||||
"CR Select Font": "🔤️ CR Select Font",
|
||||
### Graphics Filter
|
||||
"CR Halftone Filter": "🎨 Halftone Filter",
|
||||
"CR Color Tint": "🎨 CR Color Tint",
|
||||
"CR Vignette Filter": "🎨 CR Vignette Filter",
|
||||
### Graphics Layout
|
||||
"CR Image Panel": "🌁 CR Image Panel",
|
||||
"CR Image Grid Panel": "🌁 CR Image Grid Panel",
|
||||
"CR Simple Text Panel": "🌁 CR Simple Text Panel",
|
||||
"CR Color Panel": "🌁 CR Color Panel",
|
||||
"CR Half Drop Panel": "🌁 CR Half Drop Panel",
|
||||
"CR Diamond Panel": "🌁 CR Diamond Panel",
|
||||
"CR Page Layout": "🌁 CR Page Layout",
|
||||
"CR Image Border": "🌁 CR Image Border",
|
||||
"CR Feathered Border": "🌁 CR Feathered Border",
|
||||
"CR Overlay Transparent Image": "🌁 CR Overlay Transparent Image",
|
||||
### Graphics Template
|
||||
"CR Simple Meme Template": "📱 CR Simple Meme Template",
|
||||
"CR Simple Banner": "📱 CR Simple Banner",
|
||||
"CR Comic Panel Templates": "📱 CR Comic Panel Templates",
|
||||
"CR Simple Image Compare": "📱 CR Simple Image Compare",
|
||||
"CR Thumbnail Preview": "📱 CR Thumbnail Preview",
|
||||
"CR Seamless Checker": "📱 CR Seamless Checker",
|
||||
### Utils Logic
|
||||
"CR Image Input Switch": "🔀 CR Image Input Switch",
|
||||
"CR Image Input Switch (4 way)": "🔀 CR Image Input Switch (4 way)",
|
||||
"CR Latent Input Switch": "🔀 CR Latent Input Switch",
|
||||
"CR Conditioning Input Switch": "🔀 CR Conditioning Input Switch",
|
||||
"CR Clip Input Switch": "🔀 CR Clip Input Switch",
|
||||
"CR Model Input Switch": "🔀 CR Model Input Switch",
|
||||
"CR ControlNet Input Switch": "🔀 CR ControlNet Input Switch",
|
||||
"CR VAE Input Switch": "🔀 CR VAE Input Switch",
|
||||
"CR Text Input Switch": "🔀 CR Text Input Switch",
|
||||
"CR Text Input Switch (4 way)": "🔀 CR Text Input Switch (4 way)",
|
||||
"CR Switch Model and CLIP": "🔀 CR Switch Model and CLIP",
|
||||
### Utils Process
|
||||
"CR Batch Process Switch": "🔂 CR Batch Process Switch",
|
||||
"CR Img2Img Process Switch": "🔂 CR Img2Img Process Switch",
|
||||
"CR Hires Fix Process Switch": "🔂 CR Hires Fix Process Switch",
|
||||
### Utils Index
|
||||
"CR Index":"🔢 CR Index",
|
||||
"CR Index Increment": "🔢 CR Index Increment",
|
||||
"CR Index Multiply": "🔢 CR Index Multiply",
|
||||
"CR Index Reset": "🔢 CR Index Reset",
|
||||
"CR Trigger": "🔢 CR Trigger",
|
||||
### Utils Conversion
|
||||
"CR String To Number": "🔧 CR String To Number",
|
||||
"CR String To Combo": "🔧 CR String To Combo",
|
||||
"CR Float To String": "🔧 CR Float To String",
|
||||
"CR Float To Integer": "🔧 CR Float To Integer",
|
||||
"CR Integer To String": "🔧 CR Integer To String",
|
||||
"CR String To Boolean": "🔧 CR String To Boolean",
|
||||
### Utils Random
|
||||
"CR Random Hex Color": "🎲 CR Random Hex Color",
|
||||
"CR Random RGB": "🎲 CR Random RGB",
|
||||
"CR Random Multiline Values": "🎲 CR Random Multiline Values",
|
||||
"CR Random Multiline Colors": "🎲 CR Random Multiline Colors",
|
||||
"CR Random RGB Gradient": "🎲 CR Random RGB Gradient",
|
||||
"CR Random Panel Codes": "🎲 CR Random Panel Codes",
|
||||
### Utils Text
|
||||
"CR Text": "🔤 CR Text",
|
||||
"CR Multiline Text": "🔤 CR Multiline Text",
|
||||
"CR Split String": "🔤 CR Split String",
|
||||
"CR Text Concatenate": "🔤 CR Text Concatenate",
|
||||
"CR Text Replace": "🔤 CR Text Replace",
|
||||
"CR Text Blacklist": "🔤 Text Blacklist",
|
||||
"CR Text Length": "🔤 CR Text Length",
|
||||
"CR Text Operation": "🔤 CR Text Operation",
|
||||
"CR Save Text To File": "🔤 CR Save Text To File",
|
||||
### Utils Conditional
|
||||
"CR Set Value On Boolean": "⚙️ CR Set Value On Boolean",
|
||||
"CR Set Value On Binary": "⚙️ CR Set Value On Binary",
|
||||
"CR Set Value on String": "⚙️ CR Set Value on String",
|
||||
"CR Set Switch From String": "⚙️ CR Set Switch From String",
|
||||
### Utils Other
|
||||
"CR Integer Multiple": "⚙️ CR Integer Multiple",
|
||||
"CR Value": "⚙️ CR Value",
|
||||
"CR Clamp Value": "⚙️ CR Clamp Value",
|
||||
"CR Math Operation": "⚙️ CR Math Operation",
|
||||
"CR Get Parameter From Prompt": "⚙️ CR Get Parameter From Prompt",
|
||||
"CR Select Resize Method": "⚙️ CR Select Resize Method",
|
||||
"CR Select ISO Size": "⚙️ CR Select ISO Size",
|
||||
### Animation Nodes
|
||||
# Schedules
|
||||
"CR Simple Schedule": "📋 CR Simple Schedule",
|
||||
"CR Central Schedule": "📋 CR Central Schedule",
|
||||
"CR Combine Schedules": "📋 CR Combine Schedules",
|
||||
"CR Output Schedule To File": "📋 CR Output Schedule To File",
|
||||
"CR Load Schedule From File": "📋 CR Load Schedule From File",
|
||||
"CR Schedule Input Switch": "📋 CR Schedule Input Switch",
|
||||
"CR Bit Schedule": "📋 CR Bit Schedule",
|
||||
# Schedulers
|
||||
"CR Simple Value Scheduler": "📑 CR Simple Value Scheduler",
|
||||
"CR Simple Text Scheduler": "📑 CR Simple Text Scheduler",
|
||||
"CR Value Scheduler": "📑 CR Value Scheduler",
|
||||
"CR Text Scheduler": "📑 CR Text Scheduler",
|
||||
"CR Load Scheduled Models": "📑 CR Load Scheduled Models",
|
||||
"CR Load Scheduled LoRAs": "📑 CR Load Scheduled LoRAs",
|
||||
"CR Prompt Scheduler": "📑 CR Prompt Scheduler",
|
||||
"CR Simple Prompt Scheduler": "📑 CR Simple Prompt Scheduler",
|
||||
# Prompt
|
||||
"CR Keyframe List": "📝 CR Keyframe List",
|
||||
#"CR Load Prompt Style": "📝 CR Load Prompt Style",
|
||||
"CR Encode Scheduled Prompts": "📝 CR Encode Scheduled Prompts",
|
||||
# Interpolation
|
||||
"CR Gradient Float": "🔢 CR Gradient Float",
|
||||
"CR Gradient Integer": "🔢 CR Gradient Integer",
|
||||
"CR Increment Float": "🔢 CR Increment Float",
|
||||
"CR Increment Integer": "🔢 CR Increment Integer",
|
||||
"CR Interpolate Latents": "🔢 CR Interpolate Latents",
|
||||
# Utils
|
||||
"CR Debatch Frames": "🛠️ CR Debatch Frames",
|
||||
"CR Current Frame": "🛠️ CR Current Frame",
|
||||
# IO
|
||||
"CR Load Animation Frames": "⌨️ CR Load Animation Frames",
|
||||
"CR Load Flow Frames": "⌨️ CR Load Flow Frames",
|
||||
"CR Output Flow Frames": "⌨️ CR Output Flow Frames",
|
||||
### Legacy
|
||||
"CR Prompt List Keyframes": "CR Prompt List Keyframes (Legacy)",
|
||||
"CR Simple Prompt List": "CR Simple Prompt List (Legacy)",
|
||||
"CR Simple Prompt List Keyframes": "CR Simple Prompt List Keyframes (Legacy)",
|
||||
"CR Cycle Models": "CR Cycle Models (Legacy)",
|
||||
"CR Cycle LoRAs": "CR Cycle LoRAs (Legacy)",
|
||||
"CR Cycle Text": "CR Cycle Text (Legacy)",
|
||||
"CR Cycle Text Simple": "CR Cycle Text Simple (Legacy)",
|
||||
"CR Cycle Images": "CR Cycle Images (Legacy)",
|
||||
"CR Cycle Images Simple": "CR Cycle Images Simple (Legacy)",
|
||||
"CR Model List": "CR Model List (Legacy)",
|
||||
"CR LoRA List": "CR LoRA List (Legacy)",
|
||||
"CR Text List Simple": "CR Text List Simple (Legacy)",
|
||||
"CR Image List": "CR Image List (Legacy)",
|
||||
"CR Image List Simple": "CR Image List Simple (Legacy)",
|
||||
"CR Input Text List": "CR Input Text List (Legacy)",
|
||||
}
|
||||
@@ -0,0 +1,86 @@
|
||||
#---------------------------------------------------------------------------------------------------------------------#
|
||||
# Comfyroll Studio custom nodes by RockOfFire and Akatsuzi https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
|
||||
# for ComfyUI https://github.com/comfyanonymous/ComfyUI
|
||||
#---------------------------------------------------------------------------------------------------------------------#
|
||||
|
||||
#---------------------------------------------------------------------------------------------------------------------#
|
||||
# UPSCALE FUNCTIONS
|
||||
#---------------------------------------------------------------------------------------------------------------------#
|
||||
# These functions are based on WAS nodes Image Resize and the Comfy Extras upscale with model nodes
|
||||
|
||||
import torch
|
||||
#import os
|
||||
from comfy_extras.chainner_models import model_loading
|
||||
from comfy import model_management
|
||||
import numpy as np
|
||||
import comfy.utils
|
||||
import folder_paths
|
||||
from PIL import Image
|
||||
|
||||
# PIL to Tensor
|
||||
def pil2tensor(image):
|
||||
return torch.from_numpy(np.array(image).astype(np.float32) / 255.0).unsqueeze(0)
|
||||
|
||||
# Tensor to PIL
|
||||
def tensor2pil(image):
|
||||
return Image.fromarray(np.clip(255. * image.cpu().numpy().squeeze(), 0, 255).astype(np.uint8))
|
||||
|
||||
def load_model(model_name):
|
||||
model_path = folder_paths.get_full_path("upscale_models", model_name)
|
||||
sd = comfy.utils.load_torch_file(model_path, safe_load=True)
|
||||
if "module.layers.0.residual_group.blocks.0.norm1.weight" in sd:
|
||||
sd = comfy.utils.state_dict_prefix_replace(sd, {"module.":""})
|
||||
out = model_loading.load_state_dict(sd).eval()
|
||||
return out
|
||||
|
||||
def upscale_with_model(upscale_model, image):
|
||||
device = model_management.get_torch_device()
|
||||
upscale_model.to(device)
|
||||
in_img = image.movedim(-1,-3).to(device)
|
||||
free_memory = model_management.get_free_memory(device)
|
||||
|
||||
tile = 512
|
||||
overlap = 32
|
||||
|
||||
oom = True
|
||||
while oom:
|
||||
try:
|
||||
steps = in_img.shape[0] * comfy.utils.get_tiled_scale_steps(in_img.shape[3], in_img.shape[2], tile_x=tile, tile_y=tile, overlap=overlap)
|
||||
pbar = comfy.utils.ProgressBar(steps)
|
||||
s = comfy.utils.tiled_scale(in_img, lambda a: upscale_model(a), tile_x=tile, tile_y=tile, overlap=overlap, upscale_amount=upscale_model.scale, pbar=pbar)
|
||||
oom = False
|
||||
except model_management.OOM_EXCEPTION as e:
|
||||
tile //= 2
|
||||
if tile < 128:
|
||||
raise e
|
||||
|
||||
upscale_model.cpu()
|
||||
s = torch.clamp(s.movedim(-3,-1), min=0, max=1.0)
|
||||
return s
|
||||
|
||||
def apply_resize_image(image: Image.Image, original_width, original_height, rounding_modulus, mode='scale', supersample='true', factor: int = 2, width: int = 1024, height: int = 1024, resample='bicubic'):
|
||||
|
||||
# Calculate the new width and height based on the given mode and parameters
|
||||
if mode == 'rescale':
|
||||
new_width, new_height = int(original_width * factor), int(original_height * factor)
|
||||
else:
|
||||
m = rounding_modulus
|
||||
original_ratio = original_height / original_width
|
||||
height = int(width * original_ratio)
|
||||
|
||||
new_width = width if width % m == 0 else width + (m - width % m)
|
||||
new_height = height if height % m == 0 else height + (m - height % m)
|
||||
|
||||
# Define a dictionary of resampling filters
|
||||
resample_filters = {'nearest': 0, 'bilinear': 2, 'bicubic': 3, 'lanczos': 1}
|
||||
|
||||
# Apply supersample
|
||||
if supersample == 'true':
|
||||
image = image.resize((new_width * 8, new_height * 8), resample=Image.Resampling(resample_filters[resample]))
|
||||
|
||||
# Resize the image using the given resampling filter
|
||||
resized_image = image.resize((new_width, new_height), resample=Image.Resampling(resample_filters[resample]))
|
||||
|
||||
return resized_image
|
||||
|
||||
|
||||
@@ -0,0 +1,203 @@
|
||||
#---------------------------------------------------------------------------------------------------------------------#
|
||||
# Comfyroll Studio custom nodes by RockOfFire and Akatsuzi https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
|
||||
# for ComfyUI https://github.com/comfyanonymous/ComfyUI
|
||||
#---------------------------------------------------------------------------------------------------------------------#
|
||||
|
||||
import torch
|
||||
import numpy as np
|
||||
import folder_paths
|
||||
from PIL import Image
|
||||
from ..categories import icons
|
||||
from .functions_upscale import *
|
||||
|
||||
#MAX_RESOLUTION=8192
|
||||
|
||||
#---------------------------------------------------------------------------------------------------------------------#
|
||||
# NODES
|
||||
#---------------------------------------------------------------------------------------------------------------------#
|
||||
# These nodes are based on WAS nodes Image Resize and the Comfy Extras upscale with model nodes
|
||||
|
||||
class CR_UpscaleImage:
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
|
||||
resampling_methods = ["lanczos", "nearest", "bilinear", "bicubic"]
|
||||
|
||||
return {"required":
|
||||
{"image": ("IMAGE",),
|
||||
"upscale_model": (folder_paths.get_filename_list("upscale_models"), ),
|
||||
"mode": (["rescale", "resize"],),
|
||||
"rescale_factor": ("FLOAT", {"default": 2, "min": 0.01, "max": 16.0, "step": 0.01}),
|
||||
"resize_width": ("INT", {"default": 1024, "min": 1, "max": 48000, "step": 1}),
|
||||
"resampling_method": (resampling_methods,),
|
||||
"supersample": (["true", "false"],),
|
||||
"rounding_modulus": ("INT", {"default": 8, "min": 8, "max": 1024, "step": 8}),
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("IMAGE", "STRING", )
|
||||
RETURN_NAMES = ("IMAGE", "show_help", )
|
||||
FUNCTION = "upscale"
|
||||
CATEGORY = icons.get("Comfyroll/Upscale")
|
||||
|
||||
def upscale(self, image, upscale_model, rounding_modulus=8, loops=1, mode="rescale", supersample='true', resampling_method="lanczos", rescale_factor=2, resize_width=1024):
|
||||
|
||||
# Load upscale model
|
||||
up_model = load_model(upscale_model)
|
||||
|
||||
# Upscale with model
|
||||
up_image = upscale_with_model(up_model, image)
|
||||
|
||||
for img in image:
|
||||
pil_img = tensor2pil(img)
|
||||
original_width, original_height = pil_img.size
|
||||
|
||||
for img in up_image:
|
||||
# Get new size
|
||||
pil_img = tensor2pil(img)
|
||||
upscaled_width, upscaled_height = pil_img.size
|
||||
|
||||
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Upscale-Nodes#cr-upscale-image"
|
||||
|
||||
# Return if no rescale needed
|
||||
if upscaled_width == original_width and rescale_factor == 1:
|
||||
return (up_image, show_help)
|
||||
|
||||
# Image resize
|
||||
scaled_images = []
|
||||
|
||||
for img in up_image:
|
||||
scaled_images.append(pil2tensor(apply_resize_image(tensor2pil(img), original_width, original_height, rounding_modulus, mode, supersample, rescale_factor, resize_width, resampling_method)))
|
||||
images_out = torch.cat(scaled_images, dim=0)
|
||||
|
||||
return (images_out, show_help, )
|
||||
|
||||
#---------------------------------------------------------------------------------------------------------------------
|
||||
class CR_MultiUpscaleStack:
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
|
||||
mix_methods = ["Combine", "Average", "Concatenate"]
|
||||
up_models = ["None"] + folder_paths.get_filename_list("upscale_models")
|
||||
|
||||
return {"required":
|
||||
{
|
||||
"switch_1": (["On","Off"],),
|
||||
"upscale_model_1": (up_models, ),
|
||||
"rescale_factor_1": ("FLOAT", {"default": 2, "min": 0.01, "max": 16.0, "step": 0.01}),
|
||||
"switch_2": (["On","Off"],),
|
||||
"upscale_model_2": (up_models, ),
|
||||
"rescale_factor_2": ("FLOAT", {"default": 2, "min": 0.01, "max": 16.0, "step": 0.01}),
|
||||
"switch_3": (["On","Off"],),
|
||||
"upscale_model_3": (up_models, ),
|
||||
"rescale_factor_3": ("FLOAT", {"default": 2, "min": 0.01, "max": 16.0, "step": 0.01}),
|
||||
},
|
||||
"optional": {"upscale_stack": ("UPSCALE_STACK",),
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("UPSCALE_STACK", "STRING", )
|
||||
RETURN_NAMES = ("UPSCALE_STACK", "show_help", )
|
||||
FUNCTION = "stack"
|
||||
CATEGORY = icons.get("Comfyroll/Upscale")
|
||||
|
||||
def stack(self, switch_1, upscale_model_1, rescale_factor_1, switch_2, upscale_model_2, rescale_factor_2, switch_3, upscale_model_3, rescale_factor_3, upscale_stack=None):
|
||||
|
||||
# Initialise the list
|
||||
upscale_list=list()
|
||||
|
||||
if upscale_stack is not None:
|
||||
upscale_list.extend([l for l in upscale_stack if l[0] != "None"])
|
||||
|
||||
if upscale_model_1 != "None" and switch_1 == "On":
|
||||
upscale_list.extend([(upscale_model_1, rescale_factor_1)]),
|
||||
|
||||
if upscale_model_2 != "None" and switch_2 == "On":
|
||||
upscale_list.extend([(upscale_model_2, rescale_factor_2)]),
|
||||
|
||||
if upscale_model_3 != "None" and switch_3 == "On":
|
||||
upscale_list.extend([(upscale_model_3, rescale_factor_3)]),
|
||||
|
||||
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Upscale-Nodes#cr-multi-upscale-stack"
|
||||
return (upscale_list, show_help, )
|
||||
|
||||
#---------------------------------------------------------------------------------------------------------------------
|
||||
class CR_ApplyMultiUpscale:
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
|
||||
resampling_methods = ["lanczos", "nearest", "bilinear", "bicubic"]
|
||||
|
||||
return {"required": {"image": ("IMAGE",),
|
||||
"resampling_method": (resampling_methods,),
|
||||
"supersample": (["true", "false"],),
|
||||
"rounding_modulus": ("INT", {"default": 8, "min": 8, "max": 1024, "step": 8}),
|
||||
"upscale_stack": ("UPSCALE_STACK",),
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("IMAGE", "STRING", )
|
||||
RETURN_NAMES = ("IMAGE", "show_help", )
|
||||
FUNCTION = "apply"
|
||||
CATEGORY = icons.get("Comfyroll/Upscale")
|
||||
|
||||
def apply(self, image, resampling_method, supersample, rounding_modulus, upscale_stack):
|
||||
|
||||
# Get original size
|
||||
pil_img = tensor2pil(image)
|
||||
original_width, original_height = pil_img.size
|
||||
|
||||
# Extend params with upscale-stack items
|
||||
params = list()
|
||||
params.extend(upscale_stack)
|
||||
|
||||
# Loop through the list
|
||||
for tup in params:
|
||||
upscale_model, rescale_factor = tup
|
||||
print(f"[Info] CR Apply Multi Upscale: Applying {upscale_model} and rescaling by factor {rescale_factor}")
|
||||
# Load upscale model
|
||||
up_model = load_model(upscale_model)
|
||||
|
||||
# Upscale with model
|
||||
up_image = upscale_with_model(up_model, image)
|
||||
|
||||
# Get new size
|
||||
pil_img = tensor2pil(up_image)
|
||||
upscaled_width, upscaled_height = pil_img.size
|
||||
|
||||
# Return if no rescale needed
|
||||
if upscaled_width == original_width and rescale_factor == 1:
|
||||
image = up_image
|
||||
else:
|
||||
# Image resize
|
||||
scaled_images = []
|
||||
mode = "rescale"
|
||||
resize_width = 1024
|
||||
|
||||
for img in up_image:
|
||||
scaled_images.append(pil2tensor(apply_resize_image(tensor2pil(img), original_width, original_height, rounding_modulus, mode, supersample, rescale_factor, resize_width, resampling_method)))
|
||||
image = torch.cat(scaled_images, dim=0)
|
||||
|
||||
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Upscale-Nodes#cr-apply-multi-upscale"
|
||||
|
||||
return (image, show_help, )
|
||||
|
||||
#---------------------------------------------------------------------------------------------------------------------
|
||||
# MAPPINGS
|
||||
#---------------------------------------------------------------------------------------------------------------------#
|
||||
# For reference only, actual mappings are in __init__.py
|
||||
# 0 nodes released
|
||||
'''
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
# Conditioning
|
||||
"CR Multi Upscale Stack":CR_MultiUpscaleStack,
|
||||
"CR Upscale Image":CR_UpscaleImage,
|
||||
"CR Apply Multi Upscale":CR_ApplyMultiUpscale,
|
||||
}
|
||||
'''
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
"sampling.py",
|
||||
"conditioning.py",
|
||||
"pyproject.toml",
|
||||
"utils.py",
|
||||
"workflow_all_nodes.json",
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"__init__.py",
|
||||
"histogram_matching.py",
|
||||
"segmentation.py",
|
||||
".gitignore",
|
||||
"misc.py",
|
||||
"mask.py",
|
||||
"requirements.txt",
|
||||
"image.py",
|
||||
"carve.py",
|
||||
"text.py",
|
||||
"fonts/ShareTechMono-Regular.ttf",
|
||||
"fonts/put_font_files_here.txt",
|
||||
"luts/put_luts_files_here.txt",
|
||||
".github/workflows/publish.yml"
|
||||
]
|
||||
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"changelog": "",
|
||||
"createdAt": "2024-08-07T19:06:12.812021Z",
|
||||
"dependencies": [
|
||||
"numba",
|
||||
"colour-science",
|
||||
"rembg",
|
||||
"pixeloe"
|
||||
],
|
||||
"deprecated": false,
|
||||
"downloadUrl": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"id": "96728ccb-47e6-4c1d-bbd1-defcfa223eb5",
|
||||
"node_id": "comfyui_essentials",
|
||||
"status": "NodeVersionStatusActive",
|
||||
"supported_accelerators": null,
|
||||
"supported_comfyui_frontend_version": "",
|
||||
"supported_comfyui_version": "",
|
||||
"supported_os": null,
|
||||
"tags": [],
|
||||
"version": "1.1.0"
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 Matteo Spinelli
|
||||
|
||||
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,34 @@
|
||||
#from .essentials import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
||||
from .image import IMAGE_CLASS_MAPPINGS, IMAGE_NAME_MAPPINGS
|
||||
from .mask import MASK_CLASS_MAPPINGS, MASK_NAME_MAPPINGS
|
||||
from .sampling import SAMPLING_CLASS_MAPPINGS, SAMPLING_NAME_MAPPINGS
|
||||
from .segmentation import SEG_CLASS_MAPPINGS, SEG_NAME_MAPPINGS
|
||||
from .misc import MISC_CLASS_MAPPINGS, MISC_NAME_MAPPINGS
|
||||
from .conditioning import COND_CLASS_MAPPINGS, COND_NAME_MAPPINGS
|
||||
from .text import TEXT_CLASS_MAPPINGS, TEXT_NAME_MAPPINGS
|
||||
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {}
|
||||
|
||||
NODE_CLASS_MAPPINGS.update(COND_CLASS_MAPPINGS)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(COND_NAME_MAPPINGS)
|
||||
|
||||
NODE_CLASS_MAPPINGS.update(IMAGE_CLASS_MAPPINGS)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(IMAGE_NAME_MAPPINGS)
|
||||
|
||||
NODE_CLASS_MAPPINGS.update(MASK_CLASS_MAPPINGS)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(MASK_NAME_MAPPINGS)
|
||||
|
||||
NODE_CLASS_MAPPINGS.update(SAMPLING_CLASS_MAPPINGS)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(SAMPLING_NAME_MAPPINGS)
|
||||
|
||||
NODE_CLASS_MAPPINGS.update(SEG_CLASS_MAPPINGS)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(SEG_NAME_MAPPINGS)
|
||||
|
||||
NODE_CLASS_MAPPINGS.update(TEXT_CLASS_MAPPINGS)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(TEXT_NAME_MAPPINGS)
|
||||
|
||||
NODE_CLASS_MAPPINGS.update(MISC_CLASS_MAPPINGS)
|
||||
NODE_DISPLAY_NAME_MAPPINGS.update(MISC_NAME_MAPPINGS)
|
||||
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
[project]
|
||||
name = "comfyui_essentials"
|
||||
description = "Essential nodes that are weirdly missing from ComfyUI core. With few exceptions they are new features and not commodities."
|
||||
version = "1.1.0"
|
||||
license = { file = "LICENSE" }
|
||||
dependencies = ["numba", "colour-science", "rembg", "pixeloe"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/cubiq/ComfyUI_essentials"
|
||||
# Used by Comfy Registry https://comfyregistry.org
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "matteo"
|
||||
DisplayName = "ComfyUI_essentials"
|
||||
Icon = ""
|
||||
@@ -0,0 +1 @@
|
||||
{"ref":"refs/tags/v1.23.0","node_id":"REF_kwDOMIrOxrFyZWZzL3RhZ3MvdjEuMjMuMA","url":"https://api.github.com/repos/Comfy-Org/ComfyUI_frontend/git/refs/tags/v1.23.0","object":{"sha":"8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33","type":"commit","url":"https://api.github.com/repos/Comfy-Org/ComfyUI_frontend/git/commits/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33"}}
|
||||
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>.
|
||||
+17655
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,116 @@
|
||||
{
|
||||
"name": "@comfyorg/comfyui-frontend",
|
||||
"private": true,
|
||||
"version": "1.23.0",
|
||||
"type": "module",
|
||||
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
|
||||
"homepage": "https://comfy.org",
|
||||
"description": "Official front-end implementation of ComfyUI",
|
||||
"license": "GPL-3.0-only",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"dev:electron": "vite --config vite.electron.config.mts",
|
||||
"build": "npm run typecheck && vite build",
|
||||
"build:types": "vite build --config vite.types.config.mts && node scripts/prepare-types.js",
|
||||
"zipdist": "node scripts/zipdist.js",
|
||||
"typecheck": "vue-tsc --noEmit",
|
||||
"format": "prettier --write './**/*.{js,ts,tsx,vue,mts}'",
|
||||
"format:check": "prettier --check './**/*.{js,ts,tsx,vue,mts}'",
|
||||
"test:browser": "npx playwright test",
|
||||
"test:unit": "vitest run tests-ui/tests",
|
||||
"test:component": "vitest run src/components/",
|
||||
"prepare": "husky || true",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint src",
|
||||
"lint:fix": "eslint src --fix",
|
||||
"locale": "lobe-i18n locale",
|
||||
"collect-i18n": "playwright test --config=playwright.i18n.config.ts",
|
||||
"json-schema": "tsx scripts/generate-json-schema.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.8.0",
|
||||
"@executeautomation/playwright-mcp-server": "^1.0.5",
|
||||
"@iconify/json": "^2.2.245",
|
||||
"@lobehub/i18n-cli": "^1.20.0",
|
||||
"@pinia/testing": "^0.1.5",
|
||||
"@playwright/test": "^1.52.0",
|
||||
"@trivago/prettier-plugin-sort-imports": "^5.2.0",
|
||||
"@types/dompurify": "^3.0.5",
|
||||
"@types/fs-extra": "^11.0.4",
|
||||
"@types/lodash": "^4.17.6",
|
||||
"@types/node": "^20.14.8",
|
||||
"@types/three": "^0.169.0",
|
||||
"@vitejs/plugin-vue": "^5.1.4",
|
||||
"@vue/test-utils": "^2.4.6",
|
||||
"autoprefixer": "^10.4.19",
|
||||
"chalk": "^5.3.0",
|
||||
"eslint": "^9.12.0",
|
||||
"eslint-config-prettier": "^10.1.2",
|
||||
"eslint-plugin-prettier": "^5.2.6",
|
||||
"eslint-plugin-unused-imports": "^4.1.4",
|
||||
"eslint-plugin-vue": "^9.27.0",
|
||||
"fs-extra": "^11.2.0",
|
||||
"globals": "^15.9.0",
|
||||
"happy-dom": "^15.11.0",
|
||||
"husky": "^9.0.11",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"lint-staged": "^15.2.7",
|
||||
"postcss": "^8.4.39",
|
||||
"prettier": "^3.3.2",
|
||||
"tailwindcss": "^3.4.4",
|
||||
"tsx": "^4.15.6",
|
||||
"typescript": "^5.4.5",
|
||||
"typescript-eslint": "^8.0.0",
|
||||
"unplugin-icons": "^0.19.3",
|
||||
"unplugin-vue-components": "^0.27.4",
|
||||
"vite": "^5.4.19",
|
||||
"vite-plugin-dts": "^4.3.0",
|
||||
"vite-plugin-html": "^3.2.2",
|
||||
"vite-plugin-vue-devtools": "^7.7.6",
|
||||
"vitest": "^2.0.0",
|
||||
"vue-tsc": "^2.1.10",
|
||||
"zip-dir": "^2.0.0",
|
||||
"zod-to-json-schema": "^3.24.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@alloc/quick-lru": "^5.2.0",
|
||||
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
||||
"@comfyorg/comfyui-electron-types": "^0.4.43",
|
||||
"@comfyorg/litegraph": "^0.15.15",
|
||||
"@primevue/forms": "^4.2.5",
|
||||
"@primevue/themes": "^4.2.5",
|
||||
"@sentry/vue": "^8.48.0",
|
||||
"@tiptap/core": "^2.10.4",
|
||||
"@tiptap/extension-link": "^2.10.4",
|
||||
"@tiptap/extension-table": "^2.10.4",
|
||||
"@tiptap/extension-table-cell": "^2.10.4",
|
||||
"@tiptap/extension-table-header": "^2.10.4",
|
||||
"@tiptap/extension-table-row": "^2.10.4",
|
||||
"@tiptap/starter-kit": "^2.10.4",
|
||||
"@vueuse/core": "^11.0.0",
|
||||
"@xterm/addon-fit": "^0.10.0",
|
||||
"@xterm/addon-serialize": "^0.13.0",
|
||||
"@xterm/xterm": "^5.5.0",
|
||||
"algoliasearch": "^5.21.0",
|
||||
"axios": "^1.8.2",
|
||||
"dompurify": "^3.2.5",
|
||||
"dotenv": "^16.4.5",
|
||||
"firebase": "^11.6.0",
|
||||
"fuse.js": "^7.0.0",
|
||||
"jsondiffpatch": "^0.6.0",
|
||||
"lodash": "^4.17.21",
|
||||
"loglevel": "^1.9.2",
|
||||
"marked": "^15.0.11",
|
||||
"pinia": "^2.1.7",
|
||||
"primeicons": "^7.0.0",
|
||||
"primevue": "^4.2.5",
|
||||
"three": "^0.170.0",
|
||||
"tiptap-markdown": "^0.8.10",
|
||||
"vue": "^3.5.13",
|
||||
"vue-i18n": "^9.14.3",
|
||||
"vue-router": "^4.4.3",
|
||||
"vuefire": "^3.2.1",
|
||||
"zod": "^3.23.8",
|
||||
"zod-validation-error": "^3.3.0"
|
||||
}
|
||||
}
|
||||
+121
@@ -0,0 +1,121 @@
|
||||
import type { LGraphNode } from '@comfyorg/litegraph'
|
||||
|
||||
import {
|
||||
type InputSpec,
|
||||
isStringInputSpec
|
||||
} from '@/schemas/nodeDef/nodeDefSchemaV2'
|
||||
import { app } from '@/scripts/app'
|
||||
import { type ComfyWidgetConstructorV2 } from '@/scripts/widgets'
|
||||
import { useSettingStore } from '@/stores/settingStore'
|
||||
|
||||
function addMultilineWidget(
|
||||
node: LGraphNode,
|
||||
name: string,
|
||||
opts: { defaultVal: string; placeholder?: string }
|
||||
) {
|
||||
const inputEl = document.createElement('textarea')
|
||||
inputEl.className = 'comfy-multiline-input'
|
||||
inputEl.value = opts.defaultVal
|
||||
inputEl.placeholder = opts.placeholder || name
|
||||
inputEl.spellcheck = useSettingStore().get('Comfy.TextareaWidget.Spellcheck')
|
||||
|
||||
const widget = node.addDOMWidget(name, 'customtext', inputEl, {
|
||||
getValue(): string {
|
||||
return inputEl.value
|
||||
},
|
||||
setValue(v: string) {
|
||||
inputEl.value = v
|
||||
}
|
||||
})
|
||||
|
||||
widget.inputEl = inputEl
|
||||
widget.options.minNodeSize = [400, 200]
|
||||
|
||||
inputEl.addEventListener('input', () => {
|
||||
widget.callback?.(widget.value)
|
||||
})
|
||||
|
||||
// Allow middle mouse button panning
|
||||
inputEl.addEventListener('pointerdown', (event: PointerEvent) => {
|
||||
if (event.button === 1) {
|
||||
app.canvas.processMouseDown(event)
|
||||
}
|
||||
})
|
||||
|
||||
inputEl.addEventListener('pointermove', (event: PointerEvent) => {
|
||||
if ((event.buttons & 4) === 4) {
|
||||
app.canvas.processMouseMove(event)
|
||||
}
|
||||
})
|
||||
|
||||
inputEl.addEventListener('pointerup', (event: PointerEvent) => {
|
||||
if (event.button === 1) {
|
||||
app.canvas.processMouseUp(event)
|
||||
}
|
||||
})
|
||||
|
||||
/** Timer reference. `null` when the timer completes. */
|
||||
let ignoreEventsTimer: ReturnType<typeof setTimeout> | null = null
|
||||
/** Total number of events ignored since the timer started. */
|
||||
let ignoredEvents = 0
|
||||
|
||||
// Pass wheel events to the canvas when appropriate
|
||||
inputEl.addEventListener('wheel', (event: WheelEvent) => {
|
||||
if (!Object.is(event.deltaX, -0)) return
|
||||
|
||||
// If the textarea has focus, require more effort to activate pass-through
|
||||
const multiplier = document.activeElement === inputEl ? 2 : 1
|
||||
const maxScrollHeight = inputEl.scrollHeight - inputEl.clientHeight
|
||||
|
||||
if (
|
||||
(event.deltaY < 0 && inputEl.scrollTop === 0) ||
|
||||
(event.deltaY > 0 && inputEl.scrollTop === maxScrollHeight)
|
||||
) {
|
||||
// Attempting to scroll past the end of the textarea
|
||||
if (!ignoreEventsTimer || ignoredEvents > 25 * multiplier) {
|
||||
app.canvas.processMouseWheel(event)
|
||||
} else {
|
||||
ignoredEvents++
|
||||
}
|
||||
} else if (event.deltaY !== 0) {
|
||||
// Start timer whenever a successful scroll occurs
|
||||
ignoredEvents = 0
|
||||
if (ignoreEventsTimer) clearTimeout(ignoreEventsTimer)
|
||||
|
||||
ignoreEventsTimer = setTimeout(() => {
|
||||
ignoreEventsTimer = null
|
||||
}, 800 * multiplier)
|
||||
}
|
||||
})
|
||||
|
||||
return widget
|
||||
}
|
||||
|
||||
export const useStringWidget = () => {
|
||||
const widgetConstructor: ComfyWidgetConstructorV2 = (
|
||||
node: LGraphNode,
|
||||
inputSpec: InputSpec
|
||||
) => {
|
||||
if (!isStringInputSpec(inputSpec)) {
|
||||
throw new Error(`Invalid input data: ${inputSpec}`)
|
||||
}
|
||||
|
||||
const defaultVal = inputSpec.default ?? ''
|
||||
const multiline = inputSpec.multiline
|
||||
|
||||
const widget = multiline
|
||||
? addMultilineWidget(node, inputSpec.name, {
|
||||
defaultVal,
|
||||
placeholder: inputSpec.placeholder
|
||||
})
|
||||
: node.addWidget('text', inputSpec.name, defaultVal, () => {}, {})
|
||||
|
||||
if (typeof inputSpec.dynamicPrompts === 'boolean') {
|
||||
widget.dynamicPrompts = inputSpec.dynamicPrompts
|
||||
}
|
||||
|
||||
return widget
|
||||
}
|
||||
|
||||
return widgetConstructor
|
||||
}
|
||||
@@ -0,0 +1,623 @@
|
||||
import { LGraphNode, LiteGraph } from '@comfyorg/litegraph'
|
||||
import type {
|
||||
INodeInputSlot,
|
||||
INodeOutputSlot,
|
||||
ISlotType,
|
||||
LLink,
|
||||
Vector2
|
||||
} from '@comfyorg/litegraph'
|
||||
import type { CanvasMouseEvent } from '@comfyorg/litegraph/dist/types/events'
|
||||
import type { IBaseWidget } from '@comfyorg/litegraph/dist/types/widgets'
|
||||
|
||||
import {
|
||||
type CallbackParams,
|
||||
useChainCallback
|
||||
} from '@/composables/functional/useChainCallback'
|
||||
import type { InputSpec } from '@/schemas/nodeDefSchema'
|
||||
import { app } from '@/scripts/app'
|
||||
import { ComfyWidgets, addValueControlWidgets } from '@/scripts/widgets'
|
||||
import { CONFIG, GET_CONFIG } from '@/services/litegraphService'
|
||||
import { mergeInputSpec } from '@/utils/nodeDefUtil'
|
||||
import { applyTextReplacements } from '@/utils/searchAndReplace'
|
||||
import { isPrimitiveNode } from '@/utils/typeGuardUtil'
|
||||
|
||||
const replacePropertyName = 'Run widget replace on values'
|
||||
export class PrimitiveNode extends LGraphNode {
|
||||
controlValues?: any[]
|
||||
lastType?: string
|
||||
static override category: string
|
||||
constructor(title: string) {
|
||||
super(title)
|
||||
this.addOutput('connect to widget input', '*')
|
||||
this.serialize_widgets = true
|
||||
this.isVirtualNode = true
|
||||
|
||||
if (!this.properties || !(replacePropertyName in this.properties)) {
|
||||
this.addProperty(replacePropertyName, false, 'boolean')
|
||||
}
|
||||
}
|
||||
|
||||
override applyToGraph(extraLinks: LLink[] = []) {
|
||||
if (!this.outputs[0].links?.length) return
|
||||
|
||||
const links = [
|
||||
...this.outputs[0].links.map((l) => app.graph.links[l]),
|
||||
...extraLinks
|
||||
]
|
||||
let v = this.widgets?.[0].value
|
||||
if (v && this.properties[replacePropertyName]) {
|
||||
v = applyTextReplacements(app.graph.nodes, v as string)
|
||||
}
|
||||
|
||||
// For each output link copy our value over the original widget value
|
||||
for (const linkInfo of links) {
|
||||
const node = this.graph?.getNodeById(linkInfo.target_id)
|
||||
const input = node?.inputs[linkInfo.target_slot]
|
||||
if (!input) {
|
||||
console.warn('Unable to resolve node or input for link', linkInfo)
|
||||
continue
|
||||
}
|
||||
|
||||
const widgetName = input.widget?.name
|
||||
if (!widgetName) {
|
||||
console.warn('Invalid widget or widget name', input.widget)
|
||||
continue
|
||||
}
|
||||
|
||||
const widget = node.widgets?.find((w) => w.name === widgetName)
|
||||
if (!widget) {
|
||||
console.warn(
|
||||
`Unable to find widget "${widgetName}" on node [${node.id}]`
|
||||
)
|
||||
continue
|
||||
}
|
||||
|
||||
widget.value = v
|
||||
widget.callback?.(
|
||||
widget.value,
|
||||
app.canvas,
|
||||
node,
|
||||
app.canvas.graph_mouse,
|
||||
{} as CanvasMouseEvent
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
override refreshComboInNode() {
|
||||
const widget = this.widgets?.[0]
|
||||
if (widget?.type === 'combo') {
|
||||
// @ts-expect-error fixme ts strict error
|
||||
widget.options.values = this.outputs[0].widget[GET_CONFIG]()[0]
|
||||
|
||||
// @ts-expect-error fixme ts strict error
|
||||
if (!widget.options.values.includes(widget.value as string)) {
|
||||
// @ts-expect-error fixme ts strict error
|
||||
widget.value = widget.options.values[0]
|
||||
;(widget.callback as Function)(widget.value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override onAfterGraphConfigured() {
|
||||
if (this.outputs[0].links?.length && !this.widgets?.length) {
|
||||
this.#onFirstConnection()
|
||||
|
||||
// Populate widget values from config data
|
||||
if (this.widgets && this.widgets_values) {
|
||||
for (let i = 0; i < this.widgets_values.length; i++) {
|
||||
const w = this.widgets[i]
|
||||
if (w) {
|
||||
w.value = this.widgets_values[i] as any
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Merge values if required
|
||||
this.#mergeWidgetConfig()
|
||||
}
|
||||
}
|
||||
|
||||
override onConnectionsChange(
|
||||
_type: ISlotType,
|
||||
_index: number,
|
||||
connected: boolean
|
||||
) {
|
||||
if (app.configuringGraph) {
|
||||
// Dont run while the graph is still setting up
|
||||
return
|
||||
}
|
||||
|
||||
const links = this.outputs[0].links
|
||||
if (connected) {
|
||||
if (links?.length && !this.widgets?.length) {
|
||||
this.#onFirstConnection()
|
||||
}
|
||||
} else {
|
||||
// We may have removed a link that caused the constraints to change
|
||||
this.#mergeWidgetConfig()
|
||||
|
||||
if (!links?.length) {
|
||||
this.onLastDisconnect()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
override onConnectOutput(
|
||||
slot: number,
|
||||
_type: string,
|
||||
input: INodeInputSlot,
|
||||
target_node: LGraphNode,
|
||||
target_slot: number
|
||||
) {
|
||||
// Fires before the link is made allowing us to reject it if it isn't valid
|
||||
// No widget, we cant connect
|
||||
if (!input.widget && !(input.type in ComfyWidgets)) {
|
||||
return false
|
||||
}
|
||||
|
||||
if (this.outputs[slot].links?.length) {
|
||||
const valid = this.#isValidConnection(input)
|
||||
if (valid) {
|
||||
// On connect of additional outputs, copy our value to their widget
|
||||
this.applyToGraph([{ target_id: target_node.id, target_slot } as LLink])
|
||||
}
|
||||
return valid
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
#onFirstConnection(recreating?: boolean) {
|
||||
// First connection can fire before the graph is ready on initial load so random things can be missing
|
||||
if (!this.outputs[0].links) {
|
||||
this.onLastDisconnect()
|
||||
return
|
||||
}
|
||||
const linkId = this.outputs[0].links[0]
|
||||
// @ts-expect-error fixme ts strict error
|
||||
const link = this.graph.links[linkId]
|
||||
if (!link) return
|
||||
|
||||
// @ts-expect-error fixme ts strict error
|
||||
const theirNode = this.graph.getNodeById(link.target_id)
|
||||
if (!theirNode || !theirNode.inputs) return
|
||||
|
||||
const input = theirNode.inputs[link.target_slot]
|
||||
if (!input) return
|
||||
|
||||
let widget
|
||||
if (!input.widget) {
|
||||
if (!(input.type in ComfyWidgets)) return
|
||||
widget = { name: input.name, [GET_CONFIG]: () => [input.type, {}] } //fake widget
|
||||
} else {
|
||||
widget = input.widget
|
||||
}
|
||||
|
||||
// @ts-expect-error fixme ts strict error
|
||||
const config = widget[GET_CONFIG]?.()
|
||||
if (!config) return
|
||||
|
||||
const { type } = getWidgetType(config)
|
||||
// Update our output to restrict to the widget type
|
||||
this.outputs[0].type = type
|
||||
this.outputs[0].name = type
|
||||
this.outputs[0].widget = widget
|
||||
|
||||
this.#createWidget(
|
||||
widget[CONFIG] ?? config,
|
||||
theirNode,
|
||||
widget.name,
|
||||
// @ts-expect-error fixme ts strict error
|
||||
recreating
|
||||
)
|
||||
}
|
||||
|
||||
#createWidget(
|
||||
inputData: InputSpec,
|
||||
node: LGraphNode,
|
||||
widgetName: string,
|
||||
recreating: boolean
|
||||
) {
|
||||
let type = inputData[0]
|
||||
|
||||
if (type instanceof Array) {
|
||||
type = 'COMBO'
|
||||
}
|
||||
|
||||
// Store current size as addWidget resizes the node
|
||||
const [oldWidth, oldHeight] = this.size
|
||||
let widget: IBaseWidget | undefined
|
||||
if (type in ComfyWidgets) {
|
||||
widget = (ComfyWidgets[type](this, 'value', inputData, app) || {}).widget
|
||||
} else {
|
||||
// @ts-expect-error InputSpec is not typed correctly
|
||||
widget = this.addWidget(type, 'value', null, () => {}, {})
|
||||
}
|
||||
|
||||
if (node?.widgets && widget) {
|
||||
const theirWidget = node.widgets.find((w) => w.name === widgetName)
|
||||
if (theirWidget) {
|
||||
widget.value = theirWidget.value
|
||||
}
|
||||
}
|
||||
|
||||
if (
|
||||
!inputData?.[1]?.control_after_generate &&
|
||||
(widget.type === 'number' || widget.type === 'combo')
|
||||
) {
|
||||
let control_value = this.widgets_values?.[1]
|
||||
if (!control_value) {
|
||||
control_value = 'fixed'
|
||||
}
|
||||
addValueControlWidgets(
|
||||
this,
|
||||
widget,
|
||||
control_value as string,
|
||||
undefined,
|
||||
inputData
|
||||
)
|
||||
let filter = this.widgets_values?.[2]
|
||||
if (filter && this.widgets && this.widgets.length === 3) {
|
||||
this.widgets[2].value = filter
|
||||
}
|
||||
}
|
||||
|
||||
// Restore any saved control values
|
||||
const controlValues = this.controlValues
|
||||
if (
|
||||
this.widgets &&
|
||||
this.lastType === this.widgets[0]?.type &&
|
||||
controlValues?.length === this.widgets.length - 1
|
||||
) {
|
||||
for (let i = 0; i < controlValues.length; i++) {
|
||||
this.widgets[i + 1].value = controlValues[i]
|
||||
}
|
||||
}
|
||||
|
||||
// When our value changes, update other widgets to reflect our changes
|
||||
// e.g. so LoadImage shows correct image
|
||||
widget.callback = useChainCallback(widget.callback, () => {
|
||||
this.applyToGraph()
|
||||
})
|
||||
|
||||
// Use the biggest dimensions in case the widgets caused the node to grow
|
||||
this.setSize([
|
||||
Math.max(this.size[0], oldWidth),
|
||||
Math.max(this.size[1], oldHeight)
|
||||
])
|
||||
|
||||
if (!recreating) {
|
||||
// Grow our node more if required
|
||||
const sz = this.computeSize()
|
||||
if (this.size[0] < sz[0]) {
|
||||
this.size[0] = sz[0]
|
||||
}
|
||||
if (this.size[1] < sz[1]) {
|
||||
this.size[1] = sz[1]
|
||||
}
|
||||
|
||||
requestAnimationFrame(() => {
|
||||
this.onResize?.(this.size)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
recreateWidget() {
|
||||
const values = this.widgets?.map((w) => w.value)
|
||||
this.#removeWidgets()
|
||||
this.#onFirstConnection(true)
|
||||
if (values?.length && this.widgets) {
|
||||
for (let i = 0; i < this.widgets.length; i++)
|
||||
this.widgets[i].value = values[i]
|
||||
}
|
||||
return this.widgets?.[0]
|
||||
}
|
||||
|
||||
#mergeWidgetConfig() {
|
||||
// Merge widget configs if the node has multiple outputs
|
||||
const output = this.outputs[0]
|
||||
const links = output.links ?? []
|
||||
|
||||
const hasConfig = !!output.widget?.[CONFIG]
|
||||
if (hasConfig) {
|
||||
delete output.widget?.[CONFIG]
|
||||
}
|
||||
|
||||
if (links?.length < 2 && hasConfig) {
|
||||
// Copy the widget options from the source
|
||||
if (links.length) {
|
||||
this.recreateWidget()
|
||||
}
|
||||
|
||||
return
|
||||
}
|
||||
const config1 = (output.widget?.[GET_CONFIG] as () => InputSpec)?.()
|
||||
if (!config1) return
|
||||
const isNumber = config1[0] === 'INT' || config1[0] === 'FLOAT'
|
||||
if (!isNumber) return
|
||||
|
||||
for (const linkId of links) {
|
||||
const link = app.graph.links[linkId]
|
||||
if (!link) continue // Can be null when removing a node
|
||||
|
||||
const theirNode = app.graph.getNodeById(link.target_id)
|
||||
if (!theirNode) continue
|
||||
const theirInput = theirNode.inputs[link.target_slot]
|
||||
|
||||
// Call is valid connection so it can merge the configs when validating
|
||||
this.#isValidConnection(theirInput, hasConfig)
|
||||
}
|
||||
}
|
||||
|
||||
#isValidConnection(input: INodeInputSlot, forceUpdate?: boolean) {
|
||||
// Only allow connections where the configs match
|
||||
const output = this.outputs?.[0]
|
||||
const config2 = (input.widget?.[GET_CONFIG] as () => InputSpec)?.()
|
||||
if (!config2) return false
|
||||
|
||||
return !!mergeIfValid.call(
|
||||
this,
|
||||
output,
|
||||
config2,
|
||||
forceUpdate,
|
||||
this.recreateWidget
|
||||
)
|
||||
}
|
||||
|
||||
#removeWidgets() {
|
||||
if (this.widgets) {
|
||||
// Allow widgets to cleanup
|
||||
for (const w of this.widgets) {
|
||||
if (w.onRemove) {
|
||||
w.onRemove()
|
||||
}
|
||||
}
|
||||
|
||||
// Temporarily store the current values in case the node is being recreated
|
||||
// e.g. by group node conversion
|
||||
this.controlValues = []
|
||||
this.lastType = this.widgets[0]?.type
|
||||
for (let i = 1; i < this.widgets.length; i++) {
|
||||
this.controlValues.push(this.widgets[i].value)
|
||||
}
|
||||
setTimeout(() => {
|
||||
delete this.lastType
|
||||
delete this.controlValues
|
||||
}, 15)
|
||||
this.widgets.length = 0
|
||||
}
|
||||
}
|
||||
|
||||
onLastDisconnect() {
|
||||
// We cant remove + re-add the output here as if you drag a link over the same link
|
||||
// it removes, then re-adds, causing it to break
|
||||
this.outputs[0].type = '*'
|
||||
this.outputs[0].name = 'connect to widget input'
|
||||
delete this.outputs[0].widget
|
||||
|
||||
this.#removeWidgets()
|
||||
}
|
||||
}
|
||||
|
||||
export function getWidgetConfig(
|
||||
slot: INodeInputSlot | INodeOutputSlot
|
||||
): InputSpec {
|
||||
return (slot.widget?.[CONFIG] ??
|
||||
(slot.widget?.[GET_CONFIG] as () => InputSpec)?.() ?? [
|
||||
'*',
|
||||
{}
|
||||
]) as InputSpec
|
||||
}
|
||||
|
||||
function getConfig(this: LGraphNode, widgetName: string) {
|
||||
const { nodeData } = this.constructor
|
||||
return (
|
||||
nodeData?.input?.required?.[widgetName] ??
|
||||
nodeData?.input?.optional?.[widgetName]
|
||||
)
|
||||
}
|
||||
|
||||
/**
|
||||
* Convert a widget to an input slot.
|
||||
* @deprecated Widget to socket conversion is no longer necessary, as they co-exist now.
|
||||
* @param node The node to convert the widget to an input slot for.
|
||||
* @param widget The widget to convert to an input slot.
|
||||
* @returns The input slot that was converted from the widget or undefined if the widget is not found.
|
||||
*/
|
||||
export function convertToInput(
|
||||
node: LGraphNode,
|
||||
widget: IBaseWidget
|
||||
): INodeInputSlot | undefined {
|
||||
console.warn(
|
||||
'Please remove call to convertToInput. Widget to socket conversion is no longer necessary, as they co-exist now.'
|
||||
)
|
||||
return node.inputs.find((slot) => slot.widget?.name === widget.name)
|
||||
}
|
||||
|
||||
function getWidgetType(config: InputSpec) {
|
||||
// Special handling for COMBO so we restrict links based on the entries
|
||||
let type = config[0]
|
||||
if (type instanceof Array) {
|
||||
type = 'COMBO'
|
||||
}
|
||||
return { type }
|
||||
}
|
||||
|
||||
export function setWidgetConfig(
|
||||
slot: INodeInputSlot | INodeOutputSlot,
|
||||
config: InputSpec
|
||||
) {
|
||||
if (!slot.widget) return
|
||||
if (config) {
|
||||
slot.widget[GET_CONFIG] = () => config
|
||||
} else {
|
||||
delete slot.widget
|
||||
}
|
||||
|
||||
if ('link' in slot) {
|
||||
const link = app.graph.links[slot.link ?? -1]
|
||||
if (link) {
|
||||
const originNode = app.graph.getNodeById(link.origin_id)
|
||||
if (originNode && isPrimitiveNode(originNode)) {
|
||||
if (config) {
|
||||
originNode.recreateWidget()
|
||||
} else if (!app.configuringGraph) {
|
||||
originNode.disconnectOutput(0)
|
||||
originNode.onLastDisconnect()
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export function mergeIfValid(
|
||||
output: INodeOutputSlot | INodeInputSlot,
|
||||
config2: InputSpec,
|
||||
forceUpdate?: boolean,
|
||||
recreateWidget?: () => void,
|
||||
config1?: InputSpec
|
||||
): { customConfig: InputSpec[1] } {
|
||||
if (!config1) {
|
||||
config1 = getWidgetConfig(output)
|
||||
}
|
||||
|
||||
const customSpec = mergeInputSpec(config1, config2)
|
||||
|
||||
if (customSpec || forceUpdate) {
|
||||
if (customSpec) {
|
||||
// @ts-expect-error fixme ts strict error
|
||||
output.widget[CONFIG] = customSpec
|
||||
}
|
||||
|
||||
// @ts-expect-error fixme ts strict error
|
||||
const widget = recreateWidget?.call(this)
|
||||
// When deleting a node this can be null
|
||||
if (widget) {
|
||||
// @ts-expect-error fixme ts strict error
|
||||
const min = widget.options.min
|
||||
// @ts-expect-error fixme ts strict error
|
||||
const max = widget.options.max
|
||||
// @ts-expect-error fixme ts strict error
|
||||
if (min != null && widget.value < min) widget.value = min
|
||||
// @ts-expect-error fixme ts strict error
|
||||
if (max != null && widget.value > max) widget.value = max
|
||||
// @ts-expect-error fixme ts strict error
|
||||
widget.callback(widget.value)
|
||||
}
|
||||
}
|
||||
|
||||
return { customConfig: customSpec?.[1] ?? {} }
|
||||
}
|
||||
|
||||
app.registerExtension({
|
||||
name: 'Comfy.WidgetInputs',
|
||||
async beforeRegisterNodeDef(nodeType, _nodeData, app) {
|
||||
// @ts-expect-error adding extra property
|
||||
nodeType.prototype.convertWidgetToInput = function (this: LGraphNode) {
|
||||
console.warn(
|
||||
'Please remove call to convertWidgetToInput. Widget to socket conversion is no longer necessary, as they co-exist now.'
|
||||
)
|
||||
return false
|
||||
}
|
||||
|
||||
nodeType.prototype.onGraphConfigured = useChainCallback(
|
||||
nodeType.prototype.onGraphConfigured,
|
||||
function (this: LGraphNode) {
|
||||
if (!this.inputs) return
|
||||
this.widgets ??= []
|
||||
|
||||
for (const input of this.inputs) {
|
||||
if (input.widget) {
|
||||
const name = input.widget.name
|
||||
if (!input.widget[GET_CONFIG]) {
|
||||
input.widget[GET_CONFIG] = () => getConfig.call(this, name)
|
||||
}
|
||||
|
||||
const w = this.widgets?.find((w) => w.name === name)
|
||||
if (!w) {
|
||||
this.removeInput(this.inputs.findIndex((i) => i === input))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
nodeType.prototype.onConfigure = useChainCallback(
|
||||
nodeType.prototype.onConfigure,
|
||||
function (this: LGraphNode) {
|
||||
if (!app.configuringGraph && this.inputs) {
|
||||
// On copy + paste of nodes, ensure that widget configs are set up
|
||||
for (const input of this.inputs) {
|
||||
if (input.widget && !input.widget[GET_CONFIG]) {
|
||||
const name = input.widget.name
|
||||
input.widget[GET_CONFIG] = () => getConfig.call(this, name)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
function isNodeAtPos(pos: Vector2) {
|
||||
for (const n of app.graph.nodes) {
|
||||
if (n.pos[0] === pos[0] && n.pos[1] === pos[1]) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Double click a widget input to automatically attach a primitive
|
||||
const origOnInputDblClick = nodeType.prototype.onInputDblClick
|
||||
nodeType.prototype.onInputDblClick = function (
|
||||
this: LGraphNode,
|
||||
...[slot, ...args]: CallbackParams<typeof origOnInputDblClick>
|
||||
) {
|
||||
const r = origOnInputDblClick?.apply(this, [slot, ...args])
|
||||
|
||||
const input = this.inputs[slot]
|
||||
if (!input.widget) {
|
||||
// Not a widget input or already handled input
|
||||
if (
|
||||
!(input.type in ComfyWidgets) &&
|
||||
!(
|
||||
(
|
||||
input.widget?.[GET_CONFIG] as (() => InputSpec) | undefined
|
||||
)?.()?.[0] instanceof Array
|
||||
)
|
||||
) {
|
||||
return r //also Not a ComfyWidgets input or combo (do nothing)
|
||||
}
|
||||
}
|
||||
|
||||
// Create a primitive node
|
||||
const node = LiteGraph.createNode('PrimitiveNode')
|
||||
if (!node) return r
|
||||
|
||||
app.graph.add(node)
|
||||
|
||||
// Calculate a position that wont directly overlap another node
|
||||
const pos: [number, number] = [
|
||||
this.pos[0] - node.size[0] - 30,
|
||||
this.pos[1]
|
||||
]
|
||||
while (isNodeAtPos(pos)) {
|
||||
pos[1] += LiteGraph.NODE_TITLE_HEIGHT
|
||||
}
|
||||
|
||||
node.pos = pos
|
||||
node.connect(0, this, slot)
|
||||
node.title = input.name
|
||||
|
||||
return r
|
||||
}
|
||||
},
|
||||
registerCustomNodes() {
|
||||
LiteGraph.registerNodeType(
|
||||
'PrimitiveNode',
|
||||
Object.assign(PrimitiveNode, {
|
||||
title: 'Primitive'
|
||||
})
|
||||
)
|
||||
PrimitiveNode.category = 'utils'
|
||||
}
|
||||
})
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,293 @@
|
||||
import { type LGraphNode, isComboWidget } from '@comfyorg/litegraph'
|
||||
import type {
|
||||
IBaseWidget,
|
||||
IComboWidget,
|
||||
IStringWidget
|
||||
} from '@comfyorg/litegraph/dist/types/widgets'
|
||||
|
||||
import { useBooleanWidget } from '@/composables/widgets/useBooleanWidget'
|
||||
import { useComboWidget } from '@/composables/widgets/useComboWidget'
|
||||
import { useFloatWidget } from '@/composables/widgets/useFloatWidget'
|
||||
import { useImageUploadWidget } from '@/composables/widgets/useImageUploadWidget'
|
||||
import { useIntWidget } from '@/composables/widgets/useIntWidget'
|
||||
import { useMarkdownWidget } from '@/composables/widgets/useMarkdownWidget'
|
||||
import { useStringWidget } from '@/composables/widgets/useStringWidget'
|
||||
import { t } from '@/i18n'
|
||||
import { transformInputSpecV1ToV2 } from '@/schemas/nodeDef/migration'
|
||||
import type { InputSpec as InputSpecV2 } from '@/schemas/nodeDef/nodeDefSchemaV2'
|
||||
import type { InputSpec } from '@/schemas/nodeDefSchema'
|
||||
import { useSettingStore } from '@/stores/settingStore'
|
||||
|
||||
import type { ComfyApp } from './app'
|
||||
import './domWidget'
|
||||
import './errorNodeWidgets'
|
||||
|
||||
export type ComfyWidgetConstructorV2 = (
|
||||
node: LGraphNode,
|
||||
inputSpec: InputSpecV2
|
||||
) => IBaseWidget
|
||||
|
||||
export type ComfyWidgetConstructor = (
|
||||
node: LGraphNode,
|
||||
inputName: string,
|
||||
inputData: InputSpec,
|
||||
app: ComfyApp,
|
||||
widgetName?: string
|
||||
) => { widget: IBaseWidget; minWidth?: number; minHeight?: number }
|
||||
|
||||
/**
|
||||
* Transforms a V2 widget constructor to a V1 widget constructor.
|
||||
* @param widgetConstructorV2 The V2 widget constructor to transform.
|
||||
* @returns The transformed V1 widget constructor.
|
||||
*/
|
||||
const transformWidgetConstructorV2ToV1 = (
|
||||
widgetConstructorV2: ComfyWidgetConstructorV2
|
||||
): ComfyWidgetConstructor => {
|
||||
return (node, inputName, inputData) => {
|
||||
const inputSpec = transformInputSpecV1ToV2(inputData, {
|
||||
name: inputName
|
||||
})
|
||||
const widget = widgetConstructorV2(node, inputSpec)
|
||||
return {
|
||||
widget,
|
||||
minWidth: widget.options.minNodeSize?.[0],
|
||||
minHeight: widget.options.minNodeSize?.[1]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function controlValueRunBefore() {
|
||||
return useSettingStore().get('Comfy.WidgetControlMode') === 'before'
|
||||
}
|
||||
|
||||
export function updateControlWidgetLabel(widget: IBaseWidget) {
|
||||
if (controlValueRunBefore()) {
|
||||
widget.label = t('g.control_before_generate')
|
||||
} else {
|
||||
widget.label = t('g.control_after_generate')
|
||||
}
|
||||
}
|
||||
|
||||
export const IS_CONTROL_WIDGET = Symbol()
|
||||
const HAS_EXECUTED = Symbol()
|
||||
|
||||
export function addValueControlWidget(
|
||||
node: LGraphNode,
|
||||
targetWidget: IBaseWidget,
|
||||
defaultValue?: string,
|
||||
_values?: unknown,
|
||||
widgetName?: string,
|
||||
inputData?: InputSpec
|
||||
): IComboWidget {
|
||||
let name = inputData?.[1]?.control_after_generate
|
||||
if (typeof name !== 'string') {
|
||||
name = widgetName
|
||||
}
|
||||
const widgets = addValueControlWidgets(
|
||||
node,
|
||||
targetWidget,
|
||||
defaultValue ?? 'randomize',
|
||||
{
|
||||
addFilterList: false,
|
||||
controlAfterGenerateName: name
|
||||
},
|
||||
inputData
|
||||
)
|
||||
return widgets[0]
|
||||
}
|
||||
|
||||
export function addValueControlWidgets(
|
||||
node: LGraphNode,
|
||||
targetWidget: IBaseWidget,
|
||||
defaultValue?: string,
|
||||
options?: Record<string, any>,
|
||||
inputData?: InputSpec
|
||||
): [IComboWidget, ...IStringWidget[]] {
|
||||
if (!defaultValue) defaultValue = 'randomize'
|
||||
if (!options) options = {}
|
||||
|
||||
const getName = (defaultName: string, optionName: string) => {
|
||||
let name = defaultName
|
||||
if (options[optionName]) {
|
||||
name = options[optionName]
|
||||
} else if (typeof inputData?.[1]?.[defaultName] === 'string') {
|
||||
name = inputData?.[1]?.[defaultName]
|
||||
} else if (inputData?.[1]?.control_prefix) {
|
||||
name = inputData?.[1]?.control_prefix + ' ' + name
|
||||
}
|
||||
return name
|
||||
}
|
||||
|
||||
const valueControl = node.addWidget(
|
||||
'combo',
|
||||
getName('control_after_generate', 'controlAfterGenerateName'),
|
||||
defaultValue,
|
||||
function () {},
|
||||
{
|
||||
values: ['fixed', 'increment', 'decrement', 'randomize'],
|
||||
serialize: false // Don't include this in prompt.
|
||||
}
|
||||
) as IComboWidget
|
||||
|
||||
valueControl.tooltip =
|
||||
'Allows the linked widget to be changed automatically, for example randomizing the noise seed.'
|
||||
// @ts-ignore index with symbol
|
||||
valueControl[IS_CONTROL_WIDGET] = true
|
||||
updateControlWidgetLabel(valueControl)
|
||||
const widgets: [IComboWidget, ...IStringWidget[]] = [valueControl]
|
||||
|
||||
const isCombo = isComboWidget(targetWidget)
|
||||
let comboFilter: IStringWidget
|
||||
if (isCombo && valueControl.options.values) {
|
||||
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
|
||||
valueControl.options.values.push('increment-wrap')
|
||||
}
|
||||
if (isCombo && options.addFilterList !== false) {
|
||||
comboFilter = node.addWidget(
|
||||
'string',
|
||||
getName('control_filter_list', 'controlFilterListName'),
|
||||
'',
|
||||
function () {},
|
||||
{
|
||||
serialize: false // Don't include this in prompt.
|
||||
}
|
||||
) as IStringWidget
|
||||
updateControlWidgetLabel(comboFilter)
|
||||
comboFilter.tooltip =
|
||||
"Allows for filtering the list of values when changing the value via the control generate mode. Allows for RegEx matches in the format /abc/ to only filter to values containing 'abc'."
|
||||
|
||||
widgets.push(comboFilter)
|
||||
}
|
||||
|
||||
const applyWidgetControl = () => {
|
||||
var v = valueControl.value
|
||||
|
||||
if (isCombo && v !== 'fixed') {
|
||||
let values = targetWidget.options.values ?? []
|
||||
const filter = comboFilter?.value
|
||||
if (filter) {
|
||||
let check
|
||||
if (filter.startsWith('/') && filter.endsWith('/')) {
|
||||
try {
|
||||
const regex = new RegExp(filter.substring(1, filter.length - 1))
|
||||
check = (item: string) => regex.test(item)
|
||||
} catch (error) {
|
||||
console.error(
|
||||
'Error constructing RegExp filter for node ' + node.id,
|
||||
filter,
|
||||
error
|
||||
)
|
||||
}
|
||||
}
|
||||
if (!check) {
|
||||
const lower = filter.toLocaleLowerCase()
|
||||
check = (item: string) => item.toLocaleLowerCase().includes(lower)
|
||||
}
|
||||
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
|
||||
values = values.filter((item: string) => check(item))
|
||||
if (!values.length && targetWidget.options.values?.length) {
|
||||
console.warn(
|
||||
'Filter for node ' + node.id + ' has filtered out all items',
|
||||
filter
|
||||
)
|
||||
}
|
||||
}
|
||||
// @ts-expect-error targetWidget.value can be number or string
|
||||
let current_index = values.indexOf(targetWidget.value)
|
||||
let current_length = values.length
|
||||
|
||||
switch (v) {
|
||||
case 'increment':
|
||||
current_index += 1
|
||||
break
|
||||
case 'increment-wrap':
|
||||
current_index += 1
|
||||
if (current_index >= current_length) {
|
||||
current_index = 0
|
||||
}
|
||||
break
|
||||
case 'decrement':
|
||||
current_index -= 1
|
||||
break
|
||||
case 'randomize':
|
||||
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
|
||||
current_index = Math.floor(Math.random() * current_length)
|
||||
break
|
||||
default:
|
||||
break
|
||||
}
|
||||
current_index = Math.max(0, current_index)
|
||||
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
|
||||
current_index = Math.min(current_length - 1, current_index)
|
||||
if (current_index >= 0) {
|
||||
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
|
||||
let value = values[current_index]
|
||||
targetWidget.value = value
|
||||
targetWidget.callback?.(value)
|
||||
}
|
||||
} else {
|
||||
//number
|
||||
let { min = 0, max = 1, step2 = 1 } = targetWidget.options
|
||||
// limit to something that javascript can handle
|
||||
max = Math.min(1125899906842624, max)
|
||||
min = Math.max(-1125899906842624, min)
|
||||
let range = (max - min) / step2
|
||||
|
||||
//adjust values based on valueControl Behaviour
|
||||
switch (v) {
|
||||
case 'fixed':
|
||||
break
|
||||
case 'increment':
|
||||
// @ts-expect-error targetWidget.value can be number or string
|
||||
targetWidget.value += step2
|
||||
break
|
||||
case 'decrement':
|
||||
// @ts-expect-error targetWidget.value can be number or string
|
||||
targetWidget.value -= step2
|
||||
break
|
||||
case 'randomize':
|
||||
targetWidget.value = Math.floor(Math.random() * range) * step2 + min
|
||||
break
|
||||
default:
|
||||
break
|
||||
}
|
||||
/*check if values are over or under their respective
|
||||
* ranges and set them to min or max.*/
|
||||
// @ts-expect-error targetWidget.value can be number or string
|
||||
if (targetWidget.value < min) targetWidget.value = min
|
||||
// @ts-expect-error targetWidget.value can be number or string
|
||||
if (targetWidget.value > max) targetWidget.value = max
|
||||
targetWidget.callback?.(targetWidget.value)
|
||||
}
|
||||
}
|
||||
|
||||
valueControl.beforeQueued = () => {
|
||||
if (controlValueRunBefore()) {
|
||||
// Don't run on first execution
|
||||
// @ts-ignore index with symbol
|
||||
if (valueControl[HAS_EXECUTED]) {
|
||||
applyWidgetControl()
|
||||
}
|
||||
}
|
||||
// @ts-ignore index with symbol
|
||||
valueControl[HAS_EXECUTED] = true
|
||||
}
|
||||
|
||||
valueControl.afterQueued = () => {
|
||||
if (!controlValueRunBefore()) {
|
||||
applyWidgetControl()
|
||||
}
|
||||
}
|
||||
|
||||
return widgets
|
||||
}
|
||||
|
||||
export const ComfyWidgets: Record<string, ComfyWidgetConstructor> = {
|
||||
INT: transformWidgetConstructorV2ToV1(useIntWidget()),
|
||||
FLOAT: transformWidgetConstructorV2ToV1(useFloatWidget()),
|
||||
BOOLEAN: transformWidgetConstructorV2ToV1(useBooleanWidget()),
|
||||
STRING: transformWidgetConstructorV2ToV1(useStringWidget()),
|
||||
MARKDOWN: transformWidgetConstructorV2ToV1(useMarkdownWidget()),
|
||||
COMBO: transformWidgetConstructorV2ToV1(useComboWidget()),
|
||||
IMAGEUPLOAD: useImageUploadWidget()
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"id": "literals",
|
||||
"repo": "M1kep/ComfyLiterals",
|
||||
"commit": "bdddb08ca82d90d75d97b1d437a652e0284a32ac"
|
||||
},
|
||||
{
|
||||
"id": "cr",
|
||||
"repo": "Suzie1/ComfyUI_Comfyroll_CustomNodes",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,75 @@
|
||||
[
|
||||
".github/workflows/publish.yml",
|
||||
".gitignore",
|
||||
".gitmodules",
|
||||
"LICENSE.txt",
|
||||
"README.md",
|
||||
"__init__.py",
|
||||
"custom_wildcards/put_wildcards_here",
|
||||
"example_workflows/1-FaceDetailer.jpg",
|
||||
"example_workflows/1-FaceDetailer.json",
|
||||
"example_workflows/2-MaskDetailer.jpg",
|
||||
"example_workflows/2-MaskDetailer.json",
|
||||
"example_workflows/3-SEGSDetailer.jpg",
|
||||
"example_workflows/3-SEGSDetailer.json",
|
||||
"example_workflows/4-MakeTileSEGS-Upscale.jpg",
|
||||
"example_workflows/4-MakeTileSEGS-Upscale.json",
|
||||
"example_workflows/5-PreviewDetailerHookProvider.jpg",
|
||||
"example_workflows/5-PreviewDetailerHookProvider.json",
|
||||
"example_workflows/5-prompt-per-tile.jpg",
|
||||
"example_workflows/5-prompt-per-tile.json",
|
||||
"example_workflows/6-DetailerWildcard.jpg",
|
||||
"example_workflows/6-DetailerWildcard.json",
|
||||
"install.py",
|
||||
"js/common.js",
|
||||
"js/impact-image-util.js",
|
||||
"js/impact-pack.js",
|
||||
"js/impact-sam-editor.js",
|
||||
"js/impact-segs-picker.js",
|
||||
"js/mask-rect-area-advanced.js",
|
||||
"js/mask-rect-area.js",
|
||||
"latent.png",
|
||||
"locales/ko/nodeDefs.json",
|
||||
"modules/impact/additional_dependencies.py",
|
||||
"modules/impact/animatediff_nodes.py",
|
||||
"modules/impact/bridge_nodes.py",
|
||||
"modules/impact/config.py",
|
||||
"modules/impact/core.py",
|
||||
"modules/impact/defs.py",
|
||||
"modules/impact/detectors.py",
|
||||
"modules/impact/hf_nodes.py",
|
||||
"modules/impact/hook_nodes.py",
|
||||
"modules/impact/hooks.py",
|
||||
"modules/impact/impact_onnx.py",
|
||||
"modules/impact/impact_pack.py",
|
||||
"modules/impact/impact_sampling.py",
|
||||
"modules/impact/impact_server.py",
|
||||
"modules/impact/logics.py",
|
||||
"modules/impact/pipe.py",
|
||||
"modules/impact/segs_nodes.py",
|
||||
"modules/impact/segs_upscaler.py",
|
||||
"modules/impact/special_samplers.py",
|
||||
"modules/impact/util_nodes.py",
|
||||
"modules/impact/utils.py",
|
||||
"modules/impact/wildcards.py",
|
||||
"modules/thirdparty/noise_nodes.py",
|
||||
"node_list.json",
|
||||
"notebook/comfyui_colab_impact_pack.ipynb",
|
||||
"pyproject.toml",
|
||||
"requirements.txt",
|
||||
"ruff.toml",
|
||||
"test/advanced-sampler.json",
|
||||
"test/detailer-pipe-test-sdxl.json",
|
||||
"test/detailer-pipe-test.json",
|
||||
"test/impactwildcardprocessor_separate_tests.json",
|
||||
"test/impactwildcardprocessor_yaml_tests.json",
|
||||
"test/loop-test.json",
|
||||
"test/masks.json",
|
||||
"test/regional_prompt.json",
|
||||
"troubleshooting/TROUBLESHOOTING.md",
|
||||
"troubleshooting/black1.png",
|
||||
"troubleshooting/black2.png",
|
||||
"wildcards/put_wildcards_here",
|
||||
"wildcards/samples/flower.txt",
|
||||
"wildcards/samples/jewel.txt"
|
||||
]
|
||||
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"changelog": "",
|
||||
"createdAt": "2025-10-09T16:47:03.479217Z",
|
||||
"dependencies": [
|
||||
"segment-anything",
|
||||
"scikit-image",
|
||||
"piexif",
|
||||
"transformers",
|
||||
"opencv-python-headless",
|
||||
"GitPython",
|
||||
"scipy>=1.11.4"
|
||||
],
|
||||
"deprecated": false,
|
||||
"downloadUrl": "https://cdn.comfy.org/drltdata/comfyui-impact-pack/8.25.1/node.zip",
|
||||
"id": "e1f51319-20ae-46a0-96ac-2c5edda159d5",
|
||||
"node_id": "comfyui-impact-pack",
|
||||
"status": "NodeVersionStatusActive",
|
||||
"supported_accelerators": [],
|
||||
"supported_comfyui_frontend_version": "",
|
||||
"supported_comfyui_version": "",
|
||||
"supported_os": [],
|
||||
"tags": [],
|
||||
"version": "8.25.1"
|
||||
}
|
||||
Binary file not shown.
@@ -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,456 @@
|
||||
"""
|
||||
@author: Dr.Lt.Data
|
||||
@title: Impact Pack
|
||||
@nickname: Impact Pack
|
||||
@description: This extension offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler.
|
||||
"""
|
||||
|
||||
import folder_paths
|
||||
import os
|
||||
import sys
|
||||
import logging
|
||||
|
||||
comfy_path = os.path.dirname(folder_paths.__file__)
|
||||
impact_path = os.path.join(os.path.dirname(__file__))
|
||||
modules_path = os.path.join(os.path.dirname(__file__), "modules")
|
||||
|
||||
sys.path.append(modules_path)
|
||||
|
||||
import impact.config
|
||||
logging.info(f"### Loading: ComfyUI-Impact-Pack ({impact.config.version})")
|
||||
|
||||
# Core
|
||||
# recheck dependencies for colab
|
||||
try:
|
||||
import folder_paths
|
||||
import torch # noqa: F401
|
||||
import cv2 # noqa: F401
|
||||
from cv2 import setNumThreads # noqa: F401
|
||||
import numpy as np # noqa: F401
|
||||
import comfy.samplers
|
||||
import comfy.sd # noqa: F401
|
||||
from PIL import Image, ImageFilter # noqa: F401
|
||||
from skimage.measure import label, regionprops # noqa: F401
|
||||
from collections import namedtuple # noqa: F401
|
||||
import piexif # noqa: F401
|
||||
import nodes
|
||||
except Exception as e:
|
||||
import logging
|
||||
logging.error("[Impact Pack] Failed to import due to several dependencies are missing!!!!")
|
||||
raise e
|
||||
|
||||
|
||||
import impact.impact_server # to load server api
|
||||
|
||||
from .modules.impact.impact_pack import * # noqa: F403
|
||||
from .modules.impact.detectors import * # noqa: F403
|
||||
from .modules.impact.pipe import * # noqa: F403
|
||||
from .modules.impact.logics import * # noqa: F403
|
||||
from .modules.impact.util_nodes import * # noqa: F403
|
||||
from .modules.impact.segs_nodes import * # noqa: F403
|
||||
from .modules.impact.special_samplers import * # noqa: F403
|
||||
from .modules.impact.hf_nodes import * # noqa: F403
|
||||
from .modules.impact.bridge_nodes import * # noqa: F403
|
||||
from .modules.impact.hook_nodes import * # noqa: F403
|
||||
from .modules.impact.animatediff_nodes import * # noqa: F403
|
||||
from .modules.impact.segs_upscaler import * # noqa: F403
|
||||
|
||||
import threading
|
||||
|
||||
|
||||
threading.Thread(target=impact.wildcards.wildcard_load).start()
|
||||
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"SAMLoader": SAMLoader, # noqa: F405
|
||||
"CLIPSegDetectorProvider": CLIPSegDetectorProvider, # noqa: F405
|
||||
"ONNXDetectorProvider": ONNXDetectorProvider, # noqa: F405
|
||||
|
||||
"BitwiseAndMaskForEach": BitwiseAndMaskForEach, # noqa: F405
|
||||
"SubtractMaskForEach": SubtractMaskForEach, # noqa: F405
|
||||
|
||||
"DetailerForEach": DetailerForEach, # noqa: F405
|
||||
"DetailerForEachAutoRetry": DetailerForEachAutoRetry, # noqa: F405
|
||||
"DetailerForEachDebug": DetailerForEachTest, # noqa: F405
|
||||
"DetailerForEachPipe": DetailerForEachPipe, # noqa: F405
|
||||
"DetailerForEachDebugPipe": DetailerForEachTestPipe, # noqa: F405
|
||||
"DetailerForEachPipeForAnimateDiff": DetailerForEachPipeForAnimateDiff, # noqa: F405
|
||||
|
||||
"SAMDetectorCombined": SAMDetectorCombined, # noqa: F405
|
||||
"SAMDetectorSegmented": SAMDetectorSegmented, # noqa: F405
|
||||
|
||||
"FaceDetailer": FaceDetailer, # noqa: F405
|
||||
"FaceDetailerPipe": FaceDetailerPipe, # noqa: F405
|
||||
"MaskDetailerPipe": MaskDetailerPipe, # noqa: F405
|
||||
|
||||
"ToDetailerPipe": ToDetailerPipe, # noqa: F405
|
||||
"ToDetailerPipeSDXL": ToDetailerPipeSDXL, # noqa: F405
|
||||
"FromDetailerPipe": FromDetailerPipe, # noqa: F405
|
||||
"FromDetailerPipe_v2": FromDetailerPipe_v2, # noqa: F405
|
||||
"FromDetailerPipeSDXL": FromDetailerPipe_SDXL, # noqa: F405
|
||||
"AnyPipeToBasic": AnyPipeToBasic, # noqa: F405
|
||||
"ToBasicPipe": ToBasicPipe, # noqa: F405
|
||||
"FromBasicPipe": FromBasicPipe, # noqa: F405
|
||||
"FromBasicPipe_v2": FromBasicPipe_v2, # noqa: F405
|
||||
"BasicPipeToDetailerPipe": BasicPipeToDetailerPipe, # noqa: F405
|
||||
"BasicPipeToDetailerPipeSDXL": BasicPipeToDetailerPipeSDXL, # noqa: F405
|
||||
"DetailerPipeToBasicPipe": DetailerPipeToBasicPipe, # noqa: F405
|
||||
"EditBasicPipe": EditBasicPipe, # noqa: F405
|
||||
"EditDetailerPipe": EditDetailerPipe, # noqa: F405
|
||||
"EditDetailerPipeSDXL": EditDetailerPipeSDXL, # noqa: F405
|
||||
|
||||
"LatentPixelScale": LatentPixelScale, # noqa: F405
|
||||
"PixelKSampleUpscalerProvider": PixelKSampleUpscalerProvider, # noqa: F405
|
||||
"PixelKSampleUpscalerProviderPipe": PixelKSampleUpscalerProviderPipe, # noqa: F405
|
||||
"IterativeLatentUpscale": IterativeLatentUpscale, # noqa: F405
|
||||
"IterativeImageUpscale": IterativeImageUpscale, # noqa: F405
|
||||
"PixelTiledKSampleUpscalerProvider": PixelTiledKSampleUpscalerProvider, # noqa: F405
|
||||
"PixelTiledKSampleUpscalerProviderPipe": PixelTiledKSampleUpscalerProviderPipe, # noqa: F405
|
||||
"TwoSamplersForMaskUpscalerProvider": TwoSamplersForMaskUpscalerProvider, # noqa: F405
|
||||
"TwoSamplersForMaskUpscalerProviderPipe": TwoSamplersForMaskUpscalerProviderPipe, # noqa: F405
|
||||
|
||||
"PixelKSampleHookCombine": PixelKSampleHookCombine, # noqa: F405
|
||||
"DenoiseScheduleHookProvider": DenoiseScheduleHookProvider, # noqa: F405
|
||||
"StepsScheduleHookProvider": StepsScheduleHookProvider, # noqa: F405
|
||||
"CfgScheduleHookProvider": CfgScheduleHookProvider, # noqa: F405
|
||||
"NoiseInjectionHookProvider": NoiseInjectionHookProvider, # noqa: F405
|
||||
"UnsamplerHookProvider": UnsamplerHookProvider, # noqa: F405
|
||||
"CoreMLDetailerHookProvider": CoreMLDetailerHookProvider, # noqa: F405
|
||||
"PreviewDetailerHookProvider": PreviewDetailerHookProvider, # noqa: F405
|
||||
"BlackPatchRetryHookProvider": BlackPatchRetryHookProvider, # noqa: F405
|
||||
"CustomSamplerDetailerHookProvider": CustomSamplerDetailerHookProvider, # noqa: F405
|
||||
"LamaRemoverDetailerHookProvider": LamaRemoverDetailerHookProvider, # noqa: F405
|
||||
|
||||
"DetailerHookCombine": DetailerHookCombine, # noqa: F405
|
||||
"NoiseInjectionDetailerHookProvider": NoiseInjectionDetailerHookProvider, # noqa: F405
|
||||
"UnsamplerDetailerHookProvider": UnsamplerDetailerHookProvider, # noqa: F405
|
||||
"DenoiseSchedulerDetailerHookProvider": DenoiseSchedulerDetailerHookProvider, # noqa: F405
|
||||
"SEGSOrderedFilterDetailerHookProvider": SEGSOrderedFilterDetailerHookProvider, # noqa: F405
|
||||
"SEGSRangeFilterDetailerHookProvider": SEGSRangeFilterDetailerHookProvider, # noqa: F405
|
||||
"SEGSLabelFilterDetailerHookProvider": SEGSLabelFilterDetailerHookProvider, # noqa: F405
|
||||
"VariationNoiseDetailerHookProvider": VariationNoiseDetailerHookProvider, # noqa: F405
|
||||
# "CustomNoiseDetailerHookProvider": CustomNoiseDetailerHookProvider,
|
||||
|
||||
"BitwiseAndMask": BitwiseAndMask, # noqa: F405
|
||||
"SubtractMask": SubtractMask, # noqa: F405
|
||||
"AddMask": AddMask, # noqa: F405
|
||||
"MaskRectArea": MaskRectArea, # noqa: F405
|
||||
"MaskRectAreaAdvanced": MaskRectAreaAdvanced, # noqa: F405
|
||||
"ImpactSegsAndMask": SegsBitwiseAndMask, # noqa: F405
|
||||
"ImpactSegsAndMaskForEach": SegsBitwiseAndMaskForEach, # noqa: F405
|
||||
"EmptySegs": EmptySEGS, # noqa: F405
|
||||
"ImpactFlattenMask": FlattenMask, # noqa: F405
|
||||
|
||||
"MediaPipeFaceMeshToSEGS": MediaPipeFaceMeshToSEGS, # noqa: F405
|
||||
"MaskToSEGS": MaskToSEGS, # noqa: F405
|
||||
"MaskToSEGS_for_AnimateDiff": MaskToSEGS_for_AnimateDiff, # noqa: F405
|
||||
"ToBinaryMask": ToBinaryMask, # noqa: F405
|
||||
"MasksToMaskList": MasksToMaskList, # noqa: F405
|
||||
"MaskListToMaskBatch": MaskListToMaskBatch, # noqa: F405
|
||||
"ImageListToImageBatch": ImageListToImageBatch, # noqa: F405
|
||||
"SetDefaultImageForSEGS": DefaultImageForSEGS, # noqa: F405
|
||||
"RemoveImageFromSEGS": RemoveImageFromSEGS, # noqa: F405
|
||||
|
||||
"BboxDetectorSEGS": BboxDetectorForEach, # noqa: F405
|
||||
"SegmDetectorSEGS": SegmDetectorForEach, # noqa: F405
|
||||
"ONNXDetectorSEGS": BboxDetectorForEach, # noqa: F405
|
||||
"ImpactSimpleDetectorSEGS_for_AD": SimpleDetectorForAnimateDiff, # noqa: F405
|
||||
"ImpactSAM2VideoDetectorSEGS": SAM2VideoDetectorSEGS, # noqa: F405
|
||||
"ImpactSimpleDetectorSEGS": SimpleDetectorForEach, # noqa: F405
|
||||
"ImpactSimpleDetectorSEGSPipe": SimpleDetectorForEachPipe, # noqa: F405
|
||||
"ImpactControlNetApplySEGS": ControlNetApplySEGS, # noqa: F405
|
||||
"ImpactControlNetApplyAdvancedSEGS": ControlNetApplyAdvancedSEGS, # noqa: F405
|
||||
"ImpactControlNetClearSEGS": ControlNetClearSEGS, # noqa: F405
|
||||
"ImpactIPAdapterApplySEGS": IPAdapterApplySEGS, # noqa: F405
|
||||
|
||||
"ImpactDecomposeSEGS": DecomposeSEGS, # noqa: F405
|
||||
"ImpactAssembleSEGS": AssembleSEGS, # noqa: F405
|
||||
"ImpactFrom_SEG_ELT": From_SEG_ELT, # noqa: F405
|
||||
"ImpactEdit_SEG_ELT": Edit_SEG_ELT, # noqa: F405
|
||||
"ImpactDilate_Mask_SEG_ELT": Dilate_SEG_ELT, # noqa: F405
|
||||
"ImpactDilateMask": DilateMask, # noqa: F405
|
||||
"ImpactGaussianBlurMask": GaussianBlurMask, # noqa: F405
|
||||
"ImpactDilateMaskInSEGS": DilateMaskInSEGS, # noqa: F405
|
||||
"ImpactGaussianBlurMaskInSEGS": GaussianBlurMaskInSEGS, # noqa: F405
|
||||
"ImpactScaleBy_BBOX_SEG_ELT": SEG_ELT_BBOX_ScaleBy, # noqa: F405
|
||||
"ImpactFrom_SEG_ELT_bbox": From_SEG_ELT_bbox, # noqa: F405
|
||||
"ImpactFrom_SEG_ELT_crop_region": From_SEG_ELT_crop_region, # noqa: F405
|
||||
"ImpactCount_Elts_in_SEGS": Count_Elts_in_SEGS, # noqa: F405
|
||||
|
||||
"BboxDetectorCombined_v2": BboxDetectorCombined, # noqa: F405
|
||||
"SegmDetectorCombined_v2": SegmDetectorCombined, # noqa: F405
|
||||
"SegsToCombinedMask": SegsToCombinedMask, # noqa: F405
|
||||
|
||||
"KSamplerProvider": KSamplerProvider, # noqa: F405
|
||||
"TwoSamplersForMask": TwoSamplersForMask, # noqa: F405
|
||||
"TiledKSamplerProvider": TiledKSamplerProvider, # noqa: F405
|
||||
|
||||
"KSamplerAdvancedProvider": KSamplerAdvancedProvider, # noqa: F405
|
||||
"TwoAdvancedSamplersForMask": TwoAdvancedSamplersForMask, # noqa: F405
|
||||
|
||||
"ImpactNegativeConditioningPlaceholder": NegativeConditioningPlaceholder, # noqa: F405
|
||||
|
||||
"PreviewBridge": PreviewBridge, # noqa: F405
|
||||
"PreviewBridgeLatent": PreviewBridgeLatent, # noqa: F405
|
||||
"ImageSender": ImageSender, # noqa: F405
|
||||
"ImageReceiver": ImageReceiver, # noqa: F405
|
||||
"LatentSender": LatentSender, # noqa: F405
|
||||
"LatentReceiver": LatentReceiver, # noqa: F405
|
||||
"ImageMaskSwitch": ImageMaskSwitch, # noqa: F405
|
||||
"LatentSwitch": GeneralSwitch, # noqa: F405
|
||||
"SEGSSwitch": GeneralSwitch, # noqa: F405
|
||||
"ImpactSwitch": GeneralSwitch, # noqa: F405
|
||||
"ImpactInversedSwitch": GeneralInversedSwitch, # noqa: F405
|
||||
|
||||
"ImpactWildcardProcessor": ImpactWildcardProcessor, # noqa: F405
|
||||
"ImpactWildcardEncode": ImpactWildcardEncode, # noqa: F405
|
||||
|
||||
"SEGSUpscaler": SEGSUpscaler, # noqa: F405
|
||||
"SEGSUpscalerPipe": SEGSUpscalerPipe, # noqa: F405
|
||||
"SEGSDetailer": SEGSDetailer, # noqa: F405
|
||||
"SEGSPaste": SEGSPaste, # noqa: F405
|
||||
"SEGSPreview": SEGSPreview, # noqa: F405
|
||||
"SEGSPreviewCNet": SEGSPreviewCNet, # noqa: F405
|
||||
"SEGSToImageList": SEGSToImageList, # noqa: F405
|
||||
"ImpactSEGSToMaskList": SEGSToMaskList, # noqa: F405
|
||||
"ImpactSEGSToMaskBatch": SEGSToMaskBatch, # noqa: F405
|
||||
"ImpactSEGSConcat": SEGSConcat, # noqa: F405
|
||||
"ImpactSEGSPicker": SEGSPicker, # noqa: F405
|
||||
"ImpactMakeTileSEGS": MakeTileSEGS, # noqa: F405
|
||||
"ImpactSEGSMerge": SEGSMerge, # noqa: F405
|
||||
|
||||
"SEGSDetailerForAnimateDiff": SEGSDetailerForAnimateDiff, # noqa: F405
|
||||
|
||||
"ImpactKSamplerBasicPipe": KSamplerBasicPipe, # noqa: F405
|
||||
"ImpactKSamplerAdvancedBasicPipe": KSamplerAdvancedBasicPipe, # noqa: F405
|
||||
|
||||
"ReencodeLatent": ReencodeLatent, # noqa: F405
|
||||
"ReencodeLatentPipe": ReencodeLatentPipe, # noqa: F405
|
||||
|
||||
"ImpactImageBatchToImageList": ImageBatchToImageList, # noqa: F405
|
||||
"ImpactMakeImageList": MakeImageList, # noqa: F405
|
||||
"ImpactMakeImageBatch": MakeImageBatch, # noqa: F405
|
||||
"ImpactMakeAnyList": MakeAnyList, # noqa: F405
|
||||
"ImpactMakeMaskList": MakeMaskList, # noqa: F405
|
||||
"ImpactMakeMaskBatch": MakeMaskBatch, # noqa: F405
|
||||
"ImpactSelectNthItemOfAnyList": NthItemOfAnyList, # noqa: F405
|
||||
|
||||
"RegionalSampler": RegionalSampler, # noqa: F405
|
||||
"RegionalSamplerAdvanced": RegionalSamplerAdvanced, # noqa: F405
|
||||
"CombineRegionalPrompts": CombineRegionalPrompts, # noqa: F405
|
||||
"RegionalPrompt": RegionalPrompt, # noqa: F405
|
||||
|
||||
"ImpactCombineConditionings": CombineConditionings, # noqa: F405
|
||||
"ImpactConcatConditionings": ConcatConditionings, # noqa: F405
|
||||
|
||||
"ImpactSEGSLabelAssign": SEGSLabelAssign, # noqa: F405
|
||||
"ImpactSEGSLabelFilter": SEGSLabelFilter, # noqa: F405
|
||||
"ImpactSEGSRangeFilter": SEGSRangeFilter, # noqa: F405
|
||||
"ImpactSEGSOrderedFilter": SEGSOrderedFilter, # noqa: F405
|
||||
"ImpactSEGSIntersectionFilter": SEGSIntersectionFilter, # noqa: F405
|
||||
"ImpactSEGSNMSFilter": SEGSNMSFilter, # noqa: F405
|
||||
|
||||
"ImpactCompare": ImpactCompare, # noqa: F405
|
||||
"ImpactConditionalBranch": ImpactConditionalBranch, # noqa: F405
|
||||
"ImpactConditionalBranchSelMode": ImpactConditionalBranchSelMode, # noqa: F405
|
||||
"ImpactIfNone": ImpactIfNone, # noqa: F405
|
||||
"ImpactConvertDataType": ImpactConvertDataType, # noqa: F405
|
||||
"ImpactLogicalOperators": ImpactLogicalOperators, # noqa: F405
|
||||
"ImpactInt": ImpactInt, # noqa: F405
|
||||
"ImpactFloat": ImpactFloat, # noqa: F405
|
||||
"ImpactBoolean": ImpactBoolean, # noqa: F405
|
||||
"ImpactValueSender": ImpactValueSender, # noqa: F405
|
||||
"ImpactValueReceiver": ImpactValueReceiver, # noqa: F405
|
||||
"ImpactImageInfo": ImpactImageInfo, # noqa: F405
|
||||
"ImpactLatentInfo": ImpactLatentInfo, # noqa: F405
|
||||
"ImpactMinMax": ImpactMinMax, # noqa: F405
|
||||
"ImpactNeg": ImpactNeg, # noqa: F405
|
||||
"ImpactConditionalStopIteration": ImpactConditionalStopIteration, # noqa: F405
|
||||
"ImpactStringSelector": StringSelector, # noqa: F405
|
||||
"StringListToString": StringListToString, # noqa: F405
|
||||
"WildcardPromptFromString": WildcardPromptFromString, # noqa: F405
|
||||
"ImpactExecutionOrderController": ImpactExecutionOrderController, # noqa: F405
|
||||
"ImpactListBridge": ImpactListBridge, # noqa: F405
|
||||
|
||||
"RemoveNoiseMask": RemoveNoiseMask, # noqa: F405
|
||||
|
||||
"ImpactLogger": ImpactLogger, # noqa: F405
|
||||
"ImpactDummyInput": ImpactDummyInput, # noqa: F405
|
||||
|
||||
"ImpactQueueTrigger": ImpactQueueTrigger, # noqa: F405
|
||||
"ImpactQueueTriggerCountdown": ImpactQueueTriggerCountdown, # noqa: F405
|
||||
"ImpactSetWidgetValue": ImpactSetWidgetValue, # noqa: F405
|
||||
"ImpactNodeSetMuteState": ImpactNodeSetMuteState, # noqa: F405
|
||||
"ImpactControlBridge": ImpactControlBridge, # noqa: F405
|
||||
"ImpactIsNotEmptySEGS": ImpactNotEmptySEGS, # noqa: F405
|
||||
"ImpactSleep": ImpactSleep, # noqa: F405
|
||||
"ImpactRemoteBoolean": ImpactRemoteBoolean, # noqa: F405
|
||||
"ImpactRemoteInt": ImpactRemoteInt, # noqa: F405
|
||||
|
||||
"ImpactHFTransformersClassifierProvider": HF_TransformersClassifierProvider, # noqa: F405
|
||||
"ImpactSEGSClassify": SEGS_Classify, # noqa: F405
|
||||
|
||||
"ImpactSchedulerAdapter": ImpactSchedulerAdapter, # noqa: F405
|
||||
"GITSSchedulerFuncProvider": GITSSchedulerFuncProvider # noqa: F405
|
||||
}
|
||||
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"SAMLoader": "SAMLoader (Impact)",
|
||||
|
||||
"BboxDetectorSEGS": "BBOX Detector (SEGS)",
|
||||
"SegmDetectorSEGS": "SEGM Detector (SEGS)",
|
||||
"ONNXDetectorSEGS": "ONNX Detector (SEGS/legacy) - use BBOXDetector",
|
||||
"ImpactSimpleDetectorSEGS_for_AD": "Simple Detector for Video (SEGS)",
|
||||
"ImpactSAM2VideoDetectorSEGS": "SAM2 Video Detector (SEGS)",
|
||||
"ImpactSimpleDetectorSEGS": "Simple Detector (SEGS)",
|
||||
"ImpactSimpleDetectorSEGSPipe": "Simple Detector (SEGS/pipe)",
|
||||
"ImpactControlNetApplySEGS": "ControlNetApply (SEGS) - DEPRECATED",
|
||||
"ImpactControlNetApplyAdvancedSEGS": "ControlNetApply (SEGS)",
|
||||
"ImpactIPAdapterApplySEGS": "IPAdapterApply (SEGS)",
|
||||
|
||||
"BboxDetectorCombined_v2": "BBOX Detector (combined)",
|
||||
"SegmDetectorCombined_v2": "SEGM Detector (combined)",
|
||||
"SegsToCombinedMask": "SEGS to MASK (combined)",
|
||||
"MediaPipeFaceMeshToSEGS": "MediaPipe FaceMesh to SEGS",
|
||||
"MaskToSEGS": "MASK to SEGS",
|
||||
"MaskToSEGS_for_AnimateDiff": "MASK to SEGS for Video",
|
||||
"BitwiseAndMaskForEach": "Pixelwise(SEGS & SEGS)",
|
||||
"SubtractMaskForEach": "Pixelwise(SEGS - SEGS)",
|
||||
"ImpactSegsAndMask": "Pixelwise(SEGS & MASK)",
|
||||
"ImpactSegsAndMaskForEach": "Pixelwise(SEGS & MASKS ForEach)",
|
||||
"BitwiseAndMask": "Pixelwise(MASK & MASK)",
|
||||
"SubtractMask": "Pixelwise(MASK - MASK)",
|
||||
"AddMask": "Pixelwise(MASK + MASK)",
|
||||
"MaskRectArea": "Mask Rect Area",
|
||||
"MaskRectAreaAdvanced": "Mask Rect Area (Advanced)",
|
||||
"ImpactFlattenMask": "Flatten Mask Batch",
|
||||
"DetailerForEach": "Detailer (SEGS)",
|
||||
"DetailerForEachAutoRetry": "Detailer (SEGS) with auto retry",
|
||||
"DetailerForEachPipe": "Detailer (SEGS/pipe)",
|
||||
"DetailerForEachDebug": "DetailerDebug (SEGS)",
|
||||
"DetailerForEachDebugPipe": "DetailerDebug (SEGS/pipe)",
|
||||
"SEGSDetailerForAnimateDiff": "SEGSDetailer For Video (SEGS/pipe)",
|
||||
"DetailerForEachPipeForAnimateDiff": "Detailer For Video (SEGS/pipe)",
|
||||
"SEGSUpscaler": "Upscaler (SEGS)",
|
||||
"SEGSUpscalerPipe": "Upscaler (SEGS/pipe)",
|
||||
|
||||
"SAMDetectorCombined": "SAMDetector (combined)",
|
||||
"SAMDetectorSegmented": "SAMDetector (segmented)",
|
||||
"FaceDetailerPipe": "FaceDetailer (pipe)",
|
||||
"MaskDetailerPipe": "MaskDetailer (pipe)",
|
||||
|
||||
"FromDetailerPipeSDXL": "FromDetailer (SDXL/pipe)",
|
||||
"BasicPipeToDetailerPipeSDXL": "BasicPipe -> DetailerPipe (SDXL)",
|
||||
"EditDetailerPipeSDXL": "Edit DetailerPipe (SDXL)",
|
||||
|
||||
"BasicPipeToDetailerPipe": "BasicPipe -> DetailerPipe",
|
||||
"DetailerPipeToBasicPipe": "DetailerPipe -> BasicPipe",
|
||||
"EditBasicPipe": "Edit BasicPipe",
|
||||
"EditDetailerPipe": "Edit DetailerPipe",
|
||||
"AnyPipeToBasic": "Any PIPE -> BasicPipe",
|
||||
|
||||
"LatentPixelScale": "Latent Scale (on Pixel Space)",
|
||||
"IterativeLatentUpscale": "Iterative Upscale (Latent/on Pixel Space)",
|
||||
"IterativeImageUpscale": "Iterative Upscale (Image)",
|
||||
|
||||
"TwoSamplersForMaskUpscalerProvider": "TwoSamplersForMask Upscaler Provider",
|
||||
"TwoSamplersForMaskUpscalerProviderPipe": "TwoSamplersForMask Upscaler Provider (pipe)",
|
||||
|
||||
"ReencodeLatent": "Reencode Latent",
|
||||
"ReencodeLatentPipe": "Reencode Latent (pipe)",
|
||||
|
||||
"ImpactKSamplerBasicPipe": "KSampler (pipe)",
|
||||
"ImpactKSamplerAdvancedBasicPipe": "KSampler (Advanced/pipe)",
|
||||
"ImpactSEGSLabelAssign": "SEGS Assign (label)",
|
||||
"ImpactSEGSLabelFilter": "SEGS Filter (label)",
|
||||
"ImpactSEGSRangeFilter": "SEGS Filter (range)",
|
||||
"ImpactSEGSOrderedFilter": "SEGS Filter (ordered)",
|
||||
"ImpactSEGSIntersectionFilter": "SEGS Filter (intersection)",
|
||||
"ImpactSEGSNMSFilter": "SEGS Filter (non max suppression)",
|
||||
"ImpactSEGSConcat": "SEGS Concat",
|
||||
"ImpactSEGSToMaskList": "SEGS to Mask List",
|
||||
"ImpactSEGSToMaskBatch": "SEGS to Mask Batch",
|
||||
"ImpactSEGSPicker": "Picker (SEGS)",
|
||||
"ImpactMakeTileSEGS": "Make Tile SEGS",
|
||||
"ImpactSEGSMerge": "SEGS Merge",
|
||||
|
||||
"ImpactDecomposeSEGS": "Decompose (SEGS)",
|
||||
"ImpactAssembleSEGS": "Assemble (SEGS)",
|
||||
"ImpactFrom_SEG_ELT": "From SEG_ELT",
|
||||
"ImpactEdit_SEG_ELT": "Edit SEG_ELT",
|
||||
"ImpactFrom_SEG_ELT_bbox": "From SEG_ELT bbox",
|
||||
"ImpactFrom_SEG_ELT_crop_region": "From SEG_ELT crop_region",
|
||||
"ImpactDilate_Mask_SEG_ELT": "Dilate Mask (SEG_ELT)",
|
||||
"ImpactScaleBy_BBOX_SEG_ELT": "ScaleBy BBOX (SEG_ELT)",
|
||||
"ImpactCount_Elts_in_SEGS": "Count Elts in SEGS",
|
||||
"ImpactDilateMask": "Dilate Mask",
|
||||
"ImpactGaussianBlurMask": "Gaussian Blur Mask",
|
||||
"ImpactDilateMaskInSEGS": "Dilate Mask (SEGS)",
|
||||
"ImpactGaussianBlurMaskInSEGS": "Gaussian Blur Mask (SEGS)",
|
||||
|
||||
"PreviewBridge": "Preview Bridge (Image)",
|
||||
"PreviewBridgeLatent": "Preview Bridge (Latent)",
|
||||
"ImageSender": "Image Sender",
|
||||
"ImageReceiver": "Image Receiver",
|
||||
"ImageMaskSwitch": "Switch (images, mask)",
|
||||
"ImpactSwitch": "Switch (Any)",
|
||||
"ImpactInversedSwitch": "Inversed Switch (Any)",
|
||||
"ImpactExecutionOrderController": "Execution Order Controller",
|
||||
"ImpactListBridge": "List Bridge",
|
||||
|
||||
"MasksToMaskList": "Mask Batch to Mask List",
|
||||
"MaskListToMaskBatch": "Mask List to Mask Batch",
|
||||
"ImpactImageBatchToImageList": "Image Batch to Image List",
|
||||
"ImageListToImageBatch": "Image List to Image Batch",
|
||||
|
||||
"ImpactMakeImageList": "Make Image List",
|
||||
"ImpactMakeImageBatch": "Make Image Batch",
|
||||
"ImpactMakeMaskList": "Make Mask List",
|
||||
"ImpactMakeMaskBatch": "Make Mask Batch",
|
||||
"ImpactMakeAnyList": "Make List (Any)",
|
||||
"ImpactSelectNthItemOfAnyList": "Select Nth Item (Any list)",
|
||||
|
||||
"ImpactStringSelector": "String Selector",
|
||||
"StringListToString": "String List to String",
|
||||
"WildcardPromptFromString": "Wildcard Prompt from String",
|
||||
"ImpactIsNotEmptySEGS": "SEGS isn't Empty",
|
||||
"SetDefaultImageForSEGS": "Set Default Image for SEGS",
|
||||
"RemoveImageFromSEGS": "Remove Image from SEGS",
|
||||
|
||||
"RemoveNoiseMask": "Remove Noise Mask",
|
||||
|
||||
"ImpactCombineConditionings": "Combine Conditionings",
|
||||
"ImpactConcatConditionings": "Concat Conditionings",
|
||||
|
||||
"ImpactQueueTrigger": "Queue Trigger",
|
||||
"ImpactQueueTriggerCountdown": "Queue Trigger (Countdown)",
|
||||
"ImpactSetWidgetValue": "Set Widget Value",
|
||||
"ImpactNodeSetMuteState": "Set Mute State",
|
||||
"ImpactControlBridge": "Control Bridge",
|
||||
"ImpactSleep": "Sleep",
|
||||
"ImpactRemoteBoolean": "Remote Boolean (on prompt)",
|
||||
"ImpactRemoteInt": "Remote Int (on prompt)",
|
||||
|
||||
"ImpactHFTransformersClassifierProvider": "HF Transformers Classifier Provider",
|
||||
"ImpactSEGSClassify": "SEGS Classify",
|
||||
|
||||
"LatentSwitch": "Switch (latent/legacy)",
|
||||
"SEGSSwitch": "Switch (SEGS/legacy)",
|
||||
|
||||
"SEGSPreviewCNet": "SEGSPreview (CNET Image)",
|
||||
|
||||
"ImpactSchedulerAdapter": "Impact Scheduler Adapter",
|
||||
"GITSSchedulerFuncProvider": "GITSScheduler Func Provider",
|
||||
"ImpactNegativeConditioningPlaceholder": "Negative Cond Placeholder"
|
||||
}
|
||||
|
||||
|
||||
# NOTE: Inject directly into EXTENSION_WEB_DIRS instead of WEB_DIRECTORY
|
||||
# Provide the js path fixed as ComfyUI-Impact-Pack instead of the path name, making it available for external use
|
||||
|
||||
# WEB_DIRECTORY = "js" -- deprecated method
|
||||
nodes.EXTENSION_WEB_DIRS["ComfyUI-Impact-Pack"] = os.path.join(os.path.dirname(os.path.realpath(__file__)), 'js')
|
||||
|
||||
|
||||
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
|
||||
@@ -0,0 +1,740 @@
|
||||
from impact.utils import any_typ, ByPassTypeTuple, make_3d_mask
|
||||
import comfy_extras.nodes_mask
|
||||
from nodes import MAX_RESOLUTION
|
||||
import torch
|
||||
import comfy
|
||||
import sys
|
||||
import nodes
|
||||
import re
|
||||
import impact.core as core
|
||||
from server import PromptServer
|
||||
import inspect
|
||||
import logging
|
||||
|
||||
|
||||
class GeneralSwitch:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
dyn_inputs = {"input1": (any_typ, {"lazy": True, "tooltip": "Any input. When connected, one more input slot is added."}), }
|
||||
if core.is_execution_model_version_supported():
|
||||
stack = inspect.stack()
|
||||
if stack[2].function == 'get_input_info':
|
||||
# bypass validation
|
||||
class AllContainer:
|
||||
def __contains__(self, item):
|
||||
return True
|
||||
|
||||
def __getitem__(self, key):
|
||||
return any_typ, {"lazy": True}
|
||||
|
||||
dyn_inputs = AllContainer()
|
||||
|
||||
inputs = {"required": {
|
||||
"select": ("INT", {"default": 1, "min": 1, "max": 999999, "step": 1, "tooltip": "The input number you want to output among the inputs"}),
|
||||
"sel_mode": ("BOOLEAN", {"default": False, "label_on": "select_on_prompt", "label_off": "select_on_execution", "forceInput": False,
|
||||
"tooltip": "In the case of 'select_on_execution', the selection is dynamically determined at the time of workflow execution. 'select_on_prompt' is an option that exists for older versions of ComfyUI, and it makes the decision before the workflow execution."}),
|
||||
},
|
||||
"optional": dyn_inputs,
|
||||
"hidden": {"unique_id": "UNIQUE_ID", "extra_pnginfo": "EXTRA_PNGINFO"}
|
||||
}
|
||||
|
||||
return inputs
|
||||
|
||||
RETURN_TYPES = (any_typ, "STRING", "INT")
|
||||
RETURN_NAMES = ("selected_value", "selected_label", "selected_index")
|
||||
OUTPUT_TOOLTIPS = ("Output is generated only from the input chosen by the 'select' value.", "Slot label of the selected input slot", "Outputs the select value as is")
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def check_lazy_status(self, *args, **kwargs):
|
||||
selected_index = int(kwargs['select'])
|
||||
input_name = f"input{selected_index}"
|
||||
|
||||
logging.info(f"SELECTED: {input_name}")
|
||||
|
||||
if input_name in kwargs:
|
||||
return [input_name]
|
||||
else:
|
||||
return []
|
||||
|
||||
@staticmethod
|
||||
def doit(*args, **kwargs):
|
||||
selected_index = int(kwargs['select'])
|
||||
input_name = f"input{selected_index}"
|
||||
|
||||
selected_label = input_name
|
||||
node_id = kwargs['unique_id']
|
||||
|
||||
if 'extra_pnginfo' in kwargs and kwargs['extra_pnginfo'] is not None:
|
||||
nodelist = kwargs['extra_pnginfo']['workflow']['nodes']
|
||||
for node in nodelist:
|
||||
if str(node['id']) == node_id:
|
||||
inputs = node['inputs']
|
||||
|
||||
for slot in inputs:
|
||||
if slot['name'] == input_name and 'label' in slot:
|
||||
selected_label = slot['label']
|
||||
|
||||
break
|
||||
else:
|
||||
logging.info("[Impact-Pack] The switch node does not guarantee proper functioning in API mode.")
|
||||
|
||||
if input_name in kwargs:
|
||||
return kwargs[input_name], selected_label, selected_index
|
||||
else:
|
||||
logging.info("ImpactSwitch: invalid select index (ignored)")
|
||||
return None, "", selected_index
|
||||
|
||||
class LatentSwitch:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"select": ("INT", {"default": 1, "min": 1, "max": 99999, "step": 1}),
|
||||
"latent1": ("LATENT",),
|
||||
},
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("LATENT", )
|
||||
|
||||
OUTPUT_NODE = True
|
||||
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, *args, **kwargs):
|
||||
input_name = f"latent{int(kwargs['select'])}"
|
||||
|
||||
if input_name in kwargs:
|
||||
return (kwargs[input_name],)
|
||||
else:
|
||||
logging.info("LatentSwitch: invalid select index ('latent1' is selected)")
|
||||
return (kwargs['latent1'],)
|
||||
|
||||
|
||||
class ImageMaskSwitch:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"select": ("INT", {"default": 1, "min": 1, "max": 4, "step": 1}),
|
||||
"images1": ("IMAGE",),
|
||||
},
|
||||
|
||||
"optional": {
|
||||
"mask1_opt": ("MASK",),
|
||||
"images2_opt": ("IMAGE",),
|
||||
"mask2_opt": ("MASK",),
|
||||
"images3_opt": ("IMAGE",),
|
||||
"mask3_opt": ("MASK",),
|
||||
"images4_opt": ("IMAGE",),
|
||||
"mask4_opt": ("MASK",),
|
||||
},
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("IMAGE", "MASK",)
|
||||
|
||||
OUTPUT_NODE = True
|
||||
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, select, images1, mask1_opt=None, images2_opt=None, mask2_opt=None, images3_opt=None, mask3_opt=None,
|
||||
images4_opt=None, mask4_opt=None):
|
||||
if select == 1:
|
||||
return images1, mask1_opt,
|
||||
elif select == 2:
|
||||
return images2_opt, mask2_opt,
|
||||
elif select == 3:
|
||||
return images3_opt, mask3_opt,
|
||||
else:
|
||||
return images4_opt, mask4_opt,
|
||||
|
||||
|
||||
class GeneralInversedSwitch:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"select": ("INT", {"default": 1, "min": 1, "max": 999999, "step": 1, "tooltip": "The output number you want to send from the input"}),
|
||||
"input": (any_typ, {"tooltip": "Any input. When connected, one more input slot is added."}),
|
||||
|
||||
},
|
||||
"optional": {
|
||||
"sel_mode": ("BOOLEAN", {"default": False, "label_on": "select_on_prompt", "label_off": "select_on_execution", "forceInput": False,
|
||||
"tooltip": "In the case of 'select_on_execution', the selection is dynamically determined at the time of workflow execution. 'select_on_prompt' is an option that exists for older versions of ComfyUI, and it makes the decision before the workflow execution."}),
|
||||
},
|
||||
"hidden": {"prompt": "PROMPT", "unique_id": "UNIQUE_ID"},
|
||||
}
|
||||
|
||||
RETURN_TYPES = ByPassTypeTuple((any_typ, ))
|
||||
OUTPUT_TOOLTIPS = ("Output occurs only from the output selected by the 'select' value.\nWhen slots are connected, additional slots are created.", )
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, select, prompt, unique_id, input, **kwargs):
|
||||
if core.is_execution_model_version_supported():
|
||||
from comfy_execution.graph import ExecutionBlocker
|
||||
else:
|
||||
logging.warning("[Impact Pack] InversedSwitch: ComfyUI is outdated. The 'select_on_execution' mode cannot function properly.")
|
||||
|
||||
res = []
|
||||
|
||||
# search max output count in prompt
|
||||
cnt = 0
|
||||
for x in prompt.values():
|
||||
for y in x.get('inputs', {}).values():
|
||||
if isinstance(y, list) and len(y) == 2:
|
||||
if y[0] == unique_id:
|
||||
cnt = max(cnt, y[1])
|
||||
|
||||
for i in range(0, cnt + 1):
|
||||
if select == i+1:
|
||||
res.append(input)
|
||||
elif core.is_execution_model_version_supported():
|
||||
res.append(ExecutionBlocker(None))
|
||||
else:
|
||||
res.append(None)
|
||||
|
||||
return res
|
||||
|
||||
|
||||
class RemoveNoiseMask:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {"samples": ("LATENT",)}}
|
||||
|
||||
RETURN_TYPES = ("LATENT",)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, samples):
|
||||
res = {key: value for key, value in samples.items() if key != 'noise_mask'}
|
||||
return (res, )
|
||||
|
||||
|
||||
class ImagePasteMasked:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"destination": ("IMAGE",),
|
||||
"source": ("IMAGE",),
|
||||
"x": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 1}),
|
||||
"y": ("INT", {"default": 0, "min": 0, "max": MAX_RESOLUTION, "step": 1}),
|
||||
"resize_source": ("BOOLEAN", {"default": False}),
|
||||
},
|
||||
"optional": {
|
||||
"mask": ("MASK",),
|
||||
}
|
||||
}
|
||||
RETURN_TYPES = ("IMAGE",)
|
||||
FUNCTION = "composite"
|
||||
|
||||
CATEGORY = "image"
|
||||
|
||||
def composite(self, destination, source, x, y, resize_source, mask = None):
|
||||
destination = destination.clone().movedim(-1, 1)
|
||||
output = comfy_extras.nodes_mask.composite(destination, source.movedim(-1, 1), x, y, mask, 1, resize_source).movedim(1, -1)
|
||||
return (output,)
|
||||
|
||||
|
||||
from impact.utils import any_typ
|
||||
|
||||
class ImpactLogger:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"data": (any_typ,),
|
||||
"text": ("STRING", {"multiline": True}),
|
||||
},
|
||||
"hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO", "unique_id": "UNIQUE_ID"},
|
||||
}
|
||||
|
||||
CATEGORY = "ImpactPack/Debug"
|
||||
|
||||
OUTPUT_NODE = True
|
||||
|
||||
RETURN_TYPES = ()
|
||||
FUNCTION = "doit"
|
||||
|
||||
def doit(self, data, text, prompt, extra_pnginfo, unique_id):
|
||||
shape = ""
|
||||
if hasattr(data, "shape"):
|
||||
shape = f"{data.shape} / "
|
||||
|
||||
logging.info(f"[IMPACT LOGGER]: {shape}{data}")
|
||||
|
||||
logging.info(f" PROMPT: {prompt}")
|
||||
|
||||
# for x in prompt:
|
||||
# if 'inputs' in x and 'populated_text' in x['inputs']:
|
||||
# print(f"PROMPT: {x['10']['inputs']['populated_text']}")
|
||||
#
|
||||
# for x in extra_pnginfo['workflow']['nodes']:
|
||||
# if x['type'] == 'ImpactWildcardProcessor':
|
||||
# print(f" WV : {x['widgets_values'][1]}\n")
|
||||
|
||||
PromptServer.instance.send_sync("impact-node-feedback", {"node_id": unique_id, "widget_name": "text", "type": "TEXT", "value": f"{data}"})
|
||||
return {}
|
||||
|
||||
|
||||
class ImpactDummyInput:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {}}
|
||||
|
||||
CATEGORY = "ImpactPack/Debug"
|
||||
|
||||
RETURN_TYPES = (any_typ,)
|
||||
FUNCTION = "doit"
|
||||
|
||||
def doit(self):
|
||||
return ("DUMMY",)
|
||||
|
||||
|
||||
class MasksToMaskList:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"optional": {
|
||||
"masks": ("MASK", ),
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("MASK", )
|
||||
OUTPUT_IS_LIST = (True, )
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Operation"
|
||||
|
||||
def doit(self, masks):
|
||||
if masks is None:
|
||||
empty_mask = torch.zeros((64, 64), dtype=torch.float32, device="cpu")
|
||||
return ([empty_mask], )
|
||||
|
||||
res = []
|
||||
|
||||
for mask in masks:
|
||||
res.append(mask)
|
||||
|
||||
res = [make_3d_mask(x) for x in res]
|
||||
|
||||
return (res, )
|
||||
|
||||
|
||||
class MaskListToMaskBatch:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"mask": ("MASK", ),
|
||||
}
|
||||
}
|
||||
|
||||
INPUT_IS_LIST = True
|
||||
|
||||
RETURN_TYPES = ("MASK", )
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Operation"
|
||||
|
||||
def doit(self, mask):
|
||||
if len(mask) == 0:
|
||||
empty_mask = torch.zeros((1, 64, 64), dtype=torch.float32, device="cpu").unsqueeze(0)
|
||||
return (empty_mask,)
|
||||
|
||||
masks_3d = [make_3d_mask(m) for m in mask]
|
||||
target_shape = masks_3d[0].shape[1:]
|
||||
upscaled_masks = []
|
||||
for m in masks_3d:
|
||||
if m.shape[1:] != target_shape:
|
||||
m = m.unsqueeze(1).repeat(1, 3, 1, 1)
|
||||
m = comfy.utils.common_upscale(m, target_shape[1], target_shape[0], "lanczos", "center")
|
||||
m = m[:, 0, :, :]
|
||||
|
||||
upscaled_masks.append(m)
|
||||
# Concatenate all at once
|
||||
result = torch.cat(upscaled_masks, dim=0)
|
||||
return (result,)
|
||||
|
||||
|
||||
class ImageListToImageBatch:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"images": ("IMAGE", ),
|
||||
}
|
||||
}
|
||||
|
||||
INPUT_IS_LIST = True
|
||||
|
||||
RETURN_TYPES = ("IMAGE", )
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Operation"
|
||||
|
||||
def doit(self, images):
|
||||
if len(images) <= 1:
|
||||
return (images[0],)
|
||||
else:
|
||||
image1 = images[0]
|
||||
for image2 in images[1:]:
|
||||
if image1.shape[1:] != image2.shape[1:]:
|
||||
image2 = comfy.utils.common_upscale(image2.movedim(-1, 1), image1.shape[2], image1.shape[1], "lanczos", "center").movedim(1, -1)
|
||||
image1 = torch.cat((image1, image2), dim=0)
|
||||
return (image1,)
|
||||
|
||||
|
||||
class ImageBatchToImageList:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {"image": ("IMAGE",), }}
|
||||
|
||||
RETURN_TYPES = ("IMAGE",)
|
||||
OUTPUT_IS_LIST = (True,)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, image):
|
||||
images = [image[i:i + 1, ...] for i in range(image.shape[0])]
|
||||
return (images, )
|
||||
|
||||
|
||||
class MakeAnyList:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {},
|
||||
"optional": {"value1": (any_typ,), }
|
||||
}
|
||||
|
||||
RETURN_TYPES = (any_typ,)
|
||||
OUTPUT_IS_LIST = (True,)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, **kwargs):
|
||||
values = []
|
||||
|
||||
for k, v in kwargs.items():
|
||||
if v is not None:
|
||||
values.append(v)
|
||||
|
||||
return (values, )
|
||||
|
||||
|
||||
class MakeMaskList:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {"mask1": ("MASK",), }}
|
||||
|
||||
RETURN_TYPES = ("MASK",)
|
||||
OUTPUT_IS_LIST = (True,)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, **kwargs):
|
||||
masks = []
|
||||
|
||||
for k, v in kwargs.items():
|
||||
masks.append(v)
|
||||
|
||||
return (masks, )
|
||||
|
||||
|
||||
class NthItemOfAnyList:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"any_list": (any_typ,),
|
||||
"index": ("INT", {"default": 0, "min": -sys.maxsize, "max": sys.maxsize, "step": 1, "tooltip": "The index of the item you want to select from the list. Use negative values to select from the end (e.g., -1 for last item, -2 for second to last)."}),
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = (any_typ,)
|
||||
INPUT_IS_LIST = True
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
DESCRIPTION = "Selects the Nth item from a list. If the index is out of range, it returns the last item in the list."
|
||||
|
||||
def doit(self, any_list, index):
|
||||
i = index[0]
|
||||
list_len = len(any_list)
|
||||
if i >= list_len or i < -list_len:
|
||||
return (any_list[-1],)
|
||||
else:
|
||||
return (any_list[i],)
|
||||
|
||||
|
||||
class MakeImageList:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"optional": {"image1": ("IMAGE",), }}
|
||||
|
||||
RETURN_TYPES = ("IMAGE",)
|
||||
OUTPUT_IS_LIST = (True,)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, **kwargs):
|
||||
images = []
|
||||
|
||||
for k, v in kwargs.items():
|
||||
images.append(v)
|
||||
|
||||
return (images, )
|
||||
|
||||
|
||||
class MakeImageBatch:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"optional": {"image1": ("IMAGE",), }}
|
||||
|
||||
RETURN_TYPES = ("IMAGE",)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, **kwargs):
|
||||
images = [value for value in kwargs.values()]
|
||||
|
||||
if len(images) == 1:
|
||||
return (images[0],)
|
||||
else:
|
||||
image1 = images[0]
|
||||
for image2 in images[1:]:
|
||||
if image1.shape[1:] != image2.shape[1:]:
|
||||
image2 = comfy.utils.common_upscale(image2.movedim(-1, 1), image1.shape[2], image1.shape[1], "lanczos", "center").movedim(1, -1)
|
||||
image1 = torch.cat((image1, image2), dim=0)
|
||||
return (image1,)
|
||||
|
||||
|
||||
class MakeMaskBatch:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"optional": {"mask1": ("MASK",), }}
|
||||
|
||||
RETURN_TYPES = ("MASK",)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, **kwargs):
|
||||
masks = [make_3d_mask(value) for value in kwargs.values()]
|
||||
|
||||
if len(masks) == 1:
|
||||
return (masks[0],)
|
||||
else:
|
||||
mask1 = masks[0]
|
||||
for mask2 in masks[1:]:
|
||||
if mask1.shape[1:] != mask2.shape[1:]:
|
||||
mask2 = comfy.utils.common_upscale(mask2.movedim(-1, 1), mask1.shape[2], mask1.shape[1], "lanczos", "center").movedim(1, -1)
|
||||
mask1 = torch.cat((mask1, mask2), dim=0)
|
||||
return (mask1,)
|
||||
|
||||
|
||||
class ReencodeLatent:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"samples": ("LATENT", ),
|
||||
"tile_mode": (["None", "Both", "Decode(input) only", "Encode(output) only"],),
|
||||
"input_vae": ("VAE", ),
|
||||
"output_vae": ("VAE", ),
|
||||
"tile_size": ("INT", {"default": 512, "min": 320, "max": 4096, "step": 64}),
|
||||
},
|
||||
"optional": {
|
||||
"overlap": ("INT", {"default": 64, "min": 0, "max": 4096, "step": 32, "tooltip": "This setting applies when 'tile_mode' is enabled."}),
|
||||
}
|
||||
}
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
RETURN_TYPES = ("LATENT", )
|
||||
FUNCTION = "doit"
|
||||
|
||||
def doit(self, samples, tile_mode, input_vae, output_vae, tile_size=512, overlap=64):
|
||||
if tile_mode in ["Both", "Decode(input) only"]:
|
||||
decoder = nodes.VAEDecodeTiled()
|
||||
if 'overlap' in inspect.signature(decoder.decode).parameters:
|
||||
pixels = decoder.decode(input_vae, samples, tile_size, overlap=overlap)[0]
|
||||
else:
|
||||
pixels = decoder.decode(input_vae, samples, tile_size, overlap=overlap)[0]
|
||||
else:
|
||||
pixels = nodes.VAEDecode().decode(input_vae, samples)[0]
|
||||
|
||||
if tile_mode in ["Both", "Encode(output) only"]:
|
||||
encoder = nodes.VAEEncodeTiled()
|
||||
if 'overlap' in inspect.signature(encoder.encode).parameters:
|
||||
return encoder.encode(output_vae, pixels, tile_size, overlap=overlap)
|
||||
else:
|
||||
return encoder.encode(output_vae, pixels, tile_size)
|
||||
else:
|
||||
return nodes.VAEEncode().encode(output_vae, pixels)
|
||||
|
||||
|
||||
class ReencodeLatentPipe:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"samples": ("LATENT", ),
|
||||
"tile_mode": (["None", "Both", "Decode(input) only", "Encode(output) only"],),
|
||||
"input_basic_pipe": ("BASIC_PIPE", ),
|
||||
"output_basic_pipe": ("BASIC_PIPE", ),
|
||||
},
|
||||
}
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
RETURN_TYPES = ("LATENT", )
|
||||
FUNCTION = "doit"
|
||||
|
||||
def doit(self, samples, tile_mode, input_basic_pipe, output_basic_pipe):
|
||||
_, _, input_vae, _, _ = input_basic_pipe
|
||||
_, _, output_vae, _, _ = output_basic_pipe
|
||||
return ReencodeLatent().doit(samples, tile_mode, input_vae, output_vae)
|
||||
|
||||
|
||||
class StringSelector:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {"required": {
|
||||
"strings": ("STRING", {"multiline": True}),
|
||||
"multiline": ("BOOLEAN", {"default": False, "label_on": "enabled", "label_off": "disabled"}),
|
||||
"select": ("INT", {"min": 0, "max": sys.maxsize, "step": 1, "default": 0}),
|
||||
}}
|
||||
|
||||
RETURN_TYPES = ("STRING",)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, strings, multiline, select):
|
||||
lines = strings.split('\n')
|
||||
|
||||
if multiline:
|
||||
result = []
|
||||
current_string = ""
|
||||
|
||||
for line in lines:
|
||||
if line.startswith("#"):
|
||||
if current_string:
|
||||
result.append(current_string.strip())
|
||||
current_string = ""
|
||||
current_string += line + "\n"
|
||||
|
||||
if current_string:
|
||||
result.append(current_string.strip())
|
||||
|
||||
if len(result) == 0:
|
||||
selected = strings
|
||||
else:
|
||||
selected = result[select % len(result)]
|
||||
|
||||
if selected.startswith('#'):
|
||||
selected = selected[1:]
|
||||
else:
|
||||
if len(lines) == 0:
|
||||
selected = strings
|
||||
else:
|
||||
selected = lines[select % len(lines)]
|
||||
|
||||
return (selected, )
|
||||
|
||||
|
||||
class StringListToString:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"join_with": ("STRING", {"default": "\\n"}),
|
||||
"string_list": ("STRING", {"forceInput": True}),
|
||||
}
|
||||
}
|
||||
|
||||
INPUT_IS_LIST = True
|
||||
RETURN_TYPES = ("STRING",)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, join_with, string_list):
|
||||
# convert \\n to newline character
|
||||
if join_with[0] == "\\n":
|
||||
join_with[0] = "\n"
|
||||
|
||||
joined_text = join_with[0].join(string_list)
|
||||
|
||||
return (joined_text,)
|
||||
|
||||
|
||||
class WildcardPromptFromString:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"string": ("STRING", {"forceInput": True}),
|
||||
"delimiter": ("STRING", {"multiline": False, "default": "\\n" }),
|
||||
"prefix_all": ("STRING", {"multiline": False}),
|
||||
"postfix_all": ("STRING", {"multiline": False}),
|
||||
"restrict_to_tags": ("STRING", {"multiline": False}),
|
||||
"exclude_tags": ("STRING", {"multiline": False})
|
||||
},
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("STRING", "STRING",)
|
||||
RETURN_NAMES = ("wildcard", "segs_labels",)
|
||||
FUNCTION = "doit"
|
||||
|
||||
CATEGORY = "ImpactPack/Util"
|
||||
|
||||
def doit(self, string, delimiter, prefix_all, postfix_all, restrict_to_tags, exclude_tags):
|
||||
# convert \\n to newline character
|
||||
if delimiter == "\\n":
|
||||
delimiter = "\n"
|
||||
|
||||
# some sanity checks and normalization for later processing
|
||||
if prefix_all is None:
|
||||
prefix_all = ""
|
||||
if postfix_all is None:
|
||||
postfix_all = ""
|
||||
if restrict_to_tags is None:
|
||||
restrict_to_tags = ""
|
||||
if exclude_tags is None:
|
||||
exclude_tags = ""
|
||||
|
||||
restrict_to_tags = restrict_to_tags.split(", ")
|
||||
exclude_tags = exclude_tags.split(", ")
|
||||
|
||||
# build the wildcard prompt per list entry
|
||||
output = ["[LAB]"]
|
||||
labels = []
|
||||
for x in string.split(delimiter):
|
||||
label = str(len(labels) + 1)
|
||||
labels.append(label)
|
||||
x = x.split(", ")
|
||||
# restrict to tags
|
||||
if restrict_to_tags != [""]:
|
||||
x = list(set(x) & set(restrict_to_tags))
|
||||
# remove tags
|
||||
if exclude_tags != [""]:
|
||||
x = list(set(x) - set(exclude_tags))
|
||||
# next row: <LABEL> <PREFIX> <TAGS> <POSTFIX>
|
||||
prompt_for_seg = f'[{label}] {prefix_all} {", ".join(x)} {postfix_all}'.strip()
|
||||
output.append(prompt_for_seg)
|
||||
output = "\n".join(output)
|
||||
|
||||
# clean string: fixup double spaces, commas etc.
|
||||
output = re.sub(r' ,', ',', output)
|
||||
output = re.sub(r' +', ' ', output)
|
||||
output = re.sub(r',,+', ',', output)
|
||||
output = re.sub(r'\n, ', '\n', output)
|
||||
|
||||
return output, ", ".join(labels)
|
||||
@@ -0,0 +1,15 @@
|
||||
[project]
|
||||
name = "comfyui-impact-pack"
|
||||
description = "This node pack offers various detector nodes and detailer nodes that allow you to configure a workflow that automatically enhances facial details. And provide iterative upscaler."
|
||||
version = "8.25.1"
|
||||
license = { file = "LICENSE.txt" }
|
||||
dependencies = ["segment-anything", "scikit-image", "piexif", "transformers", "opencv-python-headless", "GitPython", "scipy>=1.11.4"]
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/ltdrdata/ComfyUI-Impact-Pack"
|
||||
# Used by Comfy Registry https://comfyregistry.org
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "drltdata"
|
||||
DisplayName = "ComfyUI Impact Pack"
|
||||
Icon = ""
|
||||
@@ -0,0 +1,83 @@
|
||||
[
|
||||
"package/LICENSE",
|
||||
"package/dist/css/litegraph.css",
|
||||
"package/dist/litegraph.es.js",
|
||||
"package/dist/litegraph.umd.js",
|
||||
"package/package.json",
|
||||
"package/dist/litegraph.es.js.map",
|
||||
"package/dist/litegraph.umd.js.map",
|
||||
"package/README.md",
|
||||
"package/dist/utils/arrange.d.ts",
|
||||
"package/dist/widgets/BaseSteppedWidget.d.ts",
|
||||
"package/dist/widgets/BaseWidget.d.ts",
|
||||
"package/dist/widgets/BooleanWidget.d.ts",
|
||||
"package/dist/widgets/ButtonWidget.d.ts",
|
||||
"package/dist/CanvasPointer.d.ts",
|
||||
"package/dist/utils/collections.d.ts",
|
||||
"package/dist/widgets/ComboWidget.d.ts",
|
||||
"package/dist/ContextMenu.d.ts",
|
||||
"package/dist/CurveEditor.d.ts",
|
||||
"package/dist/infrastructure/CustomEventTarget.d.ts",
|
||||
"package/dist/DragAndScale.d.ts",
|
||||
"package/dist/draw.d.ts",
|
||||
"package/dist/types/events.d.ts",
|
||||
"package/dist/utils/feedback.d.ts",
|
||||
"package/dist/canvas/FloatingRenderLink.d.ts",
|
||||
"package/dist/types/globalEnums.d.ts",
|
||||
"package/dist/canvas/InputIndicators.d.ts",
|
||||
"package/dist/interfaces.d.ts",
|
||||
"package/dist/widgets/KnobWidget.d.ts",
|
||||
"package/dist/widgets/LegacyWidget.d.ts",
|
||||
"package/dist/LGraph.d.ts",
|
||||
"package/dist/LGraphBadge.d.ts",
|
||||
"package/dist/LGraphCanvas.d.ts",
|
||||
"package/dist/infrastructure/LGraphCanvasEventMap.d.ts",
|
||||
"package/dist/LGraphGroup.d.ts",
|
||||
"package/dist/LGraphIcon.d.ts",
|
||||
"package/dist/LGraphNode.d.ts",
|
||||
"package/dist/canvas/LinkConnector.d.ts",
|
||||
"package/dist/infrastructure/LinkConnectorEventMap.d.ts",
|
||||
"package/dist/litegraph.d.ts",
|
||||
"package/dist/LiteGraphGlobal.d.ts",
|
||||
"package/dist/LLink.d.ts",
|
||||
"package/dist/MapProxyHandler.d.ts",
|
||||
"package/dist/measure.d.ts",
|
||||
"package/dist/canvas/measureSlots.d.ts",
|
||||
"package/dist/canvas/MovingInputLink.d.ts",
|
||||
"package/dist/canvas/MovingLinkBase.d.ts",
|
||||
"package/dist/canvas/MovingOutputLink.d.ts",
|
||||
"package/dist/node/NodeInputSlot.d.ts",
|
||||
"package/dist/node/NodeOutputSlot.d.ts",
|
||||
"package/dist/node/NodeSlot.d.ts",
|
||||
"package/dist/infrastructure/NullGraphError.d.ts",
|
||||
"package/dist/widgets/NumberWidget.d.ts",
|
||||
"package/dist/utils/object.d.ts",
|
||||
"package/dist/polyfills.d.ts",
|
||||
"package/dist/infrastructure/Rectangle.d.ts",
|
||||
"package/dist/canvas/RenderLink.d.ts",
|
||||
"package/dist/Reroute.d.ts",
|
||||
"package/dist/types/serialisation.d.ts",
|
||||
"package/dist/widgets/SliderWidget.d.ts",
|
||||
"package/dist/node/SlotBase.d.ts",
|
||||
"package/dist/node/slotUtils.d.ts",
|
||||
"package/dist/utils/spaceDistribution.d.ts",
|
||||
"package/dist/strings.d.ts",
|
||||
"package/dist/subgraph/Subgraph.d.ts",
|
||||
"package/dist/subgraph/SubgraphInput.d.ts",
|
||||
"package/dist/subgraph/SubgraphInputNode.d.ts",
|
||||
"package/dist/subgraphInterfaces.d.ts",
|
||||
"package/dist/subgraph/SubgraphIONodeBase.d.ts",
|
||||
"package/dist/subgraph/SubgraphOutput.d.ts",
|
||||
"package/dist/subgraph/SubgraphOutputNode.d.ts",
|
||||
"package/dist/subgraph/SubgraphSlotBase.d.ts",
|
||||
"package/dist/widgets/TextWidget.d.ts",
|
||||
"package/dist/canvas/ToInputRenderLink.d.ts",
|
||||
"package/dist/canvas/ToOutputFromRerouteLink.d.ts",
|
||||
"package/dist/canvas/ToOutputRenderLink.d.ts",
|
||||
"package/dist/utils/type.d.ts",
|
||||
"package/dist/types/utility.d.ts",
|
||||
"package/dist/utils/uuid.d.ts",
|
||||
"package/dist/utils/widget.d.ts",
|
||||
"package/dist/widgets/widgetMap.d.ts",
|
||||
"package/dist/types/widgets.d.ts"
|
||||
]
|
||||
Binary file not shown.
@@ -0,0 +1,19 @@
|
||||
Copyright (C) 2013 by Javi Agenjo
|
||||
|
||||
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.
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"name": "@comfyorg/litegraph",
|
||||
"version": "0.15.15",
|
||||
"type": "module",
|
||||
"description": "A graph node editor similar to PD or UDK Blueprints. It works in an HTML5 Canvas and allows to export graphs to be included in applications.",
|
||||
"main": "./dist/litegraph.umd.js",
|
||||
"module": "./dist/litegraph.es.js",
|
||||
"types": "./dist/litegraph.d.ts",
|
||||
"style": "./dist/css/litegraph.css",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/litegraph.d.ts",
|
||||
"import": "./dist/litegraph.es.js",
|
||||
"require": "./dist/litegraph.umd.js"
|
||||
},
|
||||
"./style.css": "./dist/css/litegraph.css",
|
||||
"./dist/*": "./dist/*.d.ts"
|
||||
},
|
||||
"directories": {
|
||||
"doc": "doc"
|
||||
},
|
||||
"private": false,
|
||||
"scripts": {
|
||||
"build": "tsc && vite build",
|
||||
"dev": "vite",
|
||||
"preview": "vite preview",
|
||||
"watch": "vite build --watch",
|
||||
"test": "vitest",
|
||||
"lint": "eslint",
|
||||
"lint:fix": "eslint --fix",
|
||||
"lint:ci": "eslint src",
|
||||
"format": "prettier --check './src/*.{js,ts,tsx,vue,mts}'",
|
||||
"format:fix": "prettier --write './src/*.{js,ts,tsx,vue,mts}'"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git@github.com:Comfy-Org/litegraph.js.git"
|
||||
},
|
||||
"author": "comfyorg",
|
||||
"license": "MIT",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"bugs": {
|
||||
"url": "https://github.com/Comfy-Org/litegraph.js/issues"
|
||||
},
|
||||
"homepage": "https://github.com/Comfy-Org/litegraph.js",
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.21.0",
|
||||
"@stylistic/eslint-plugin": "^2.13.0",
|
||||
"@types/eslint__js": "^8.42.3",
|
||||
"@types/node": "^22.13.9",
|
||||
"eslint": "^9.21.0",
|
||||
"eslint-plugin-antfu": "^3.1.0",
|
||||
"eslint-plugin-jsdoc": "^50.6.3",
|
||||
"eslint-plugin-simple-import-sort": "^12.1.1",
|
||||
"eslint-plugin-unicorn": "^57.0.0",
|
||||
"eslint-plugin-unused-imports": "^4.1.4",
|
||||
"globals": "^15.12.0",
|
||||
"husky": "^9.1.7",
|
||||
"jsdom": "^25.0.1",
|
||||
"lint-staged": "^15.2.10",
|
||||
"prettier": "^3.3.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.8.3",
|
||||
"typescript-eslint": "^8.26.0",
|
||||
"vite": "^6.3.5",
|
||||
"vite-plugin-dts": "^4.5.4",
|
||||
"vitest": "^3.1.3"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
{"sha":"bdddb08ca82d90d75d97b1d437a652e0284a32ac","url":"https://api.github.com/repos/M1kep/ComfyLiterals/git/trees/bdddb08ca82d90d75d97b1d437a652e0284a32ac","tree":[{"path":".gitignore","mode":"100644","type":"blob","sha":"1b0574052da476dbbda5f136edecf7199a34628f","size":14,"url":"https://api.github.com/repos/M1kep/ComfyLiterals/git/blobs/1b0574052da476dbbda5f136edecf7199a34628f"},{"path":"README.md","mode":"100644","type":"blob","sha":"91afb84544efee74da93d07f2e11d4392424deed","size":144,"url":"https://api.github.com/repos/M1kep/ComfyLiterals/git/blobs/91afb84544efee74da93d07f2e11d4392424deed"},{"path":"__init__.py","mode":"100644","type":"blob","sha":"a8690d1230f4e546188d1d236b6fcdb96914b448","size":560,"url":"https://api.github.com/repos/M1kep/ComfyLiterals/git/blobs/a8690d1230f4e546188d1d236b6fcdb96914b448"},{"path":"js","mode":"040000","type":"tree","sha":"ff8fe34ba55da85ba7c2a5a3a6fbc44c32f632a0","url":"https://api.github.com/repos/M1kep/ComfyLiterals/git/trees/ff8fe34ba55da85ba7c2a5a3a6fbc44c32f632a0"},{"path":"js/operation-node.js","mode":"100644","type":"blob","sha":"4c05b5d5a3b7fa704c4087a5b2efa25445f8e5f2","size":2978,"url":"https://api.github.com/repos/M1kep/ComfyLiterals/git/blobs/4c05b5d5a3b7fa704c4087a5b2efa25445f8e5f2"},{"path":"nodes.py","mode":"100644","type":"blob","sha":"276f7eb573ca34b76e010af8d9bf4811ca0b7239","size":2919,"url":"https://api.github.com/repos/M1kep/ComfyLiterals/git/blobs/276f7eb573ca34b76e010af8d9bf4811ca0b7239"},{"path":"operations.py","mode":"100644","type":"blob","sha":"8de665227446cdafcd5dd2521f4ed02df2c85d7f","size":1872,"url":"https://api.github.com/repos/M1kep/ComfyLiterals/git/blobs/8de665227446cdafcd5dd2521f4ed02df2c85d7f"},{"path":"startup_utils.py","mode":"100644","type":"blob","sha":"77d6f1109f7f292fec8b48593f13e8118f69797a","size":1133,"url":"https://api.github.com/repos/M1kep/ComfyLiterals/git/blobs/77d6f1109f7f292fec8b48593f13e8118f69797a"}],"truncated":false}
|
||||
@@ -0,0 +1,2 @@
|
||||
# ComfyLiterals
|
||||

|
||||
@@ -0,0 +1,21 @@
|
||||
from .nodes import IntLiteral, FloatLiteral, StringLiteral, CheckpointListLiteral, LoraListLiteral
|
||||
from .operations import Operation
|
||||
from .startup_utils import symlink_web_dir
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"Int": IntLiteral,
|
||||
"Float": FloatLiteral,
|
||||
"String": StringLiteral,
|
||||
"KepStringLiteral": StringLiteral,
|
||||
"Operation": Operation,
|
||||
"Checkpoint": CheckpointListLiteral,
|
||||
"Lora": LoraListLiteral,
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"KepStringLiteral": "String",
|
||||
}
|
||||
|
||||
EXTENSION_NAME = "ComfyLiterals"
|
||||
|
||||
symlink_web_dir("js", EXTENSION_NAME)
|
||||
@@ -0,0 +1,136 @@
|
||||
import folder_paths
|
||||
|
||||
# Hack: string type that is always equal in not equal comparisons
|
||||
class AnyType(str):
|
||||
def __ne__(self, __value: object) -> bool:
|
||||
return False
|
||||
|
||||
|
||||
# Our any instance wants to be a wildcard string
|
||||
ANY = AnyType("*")
|
||||
class IntLiteral:
|
||||
def __init__(self, ):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"Number": ("STRING", {}),
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("INT",)
|
||||
FUNCTION = "to_int"
|
||||
|
||||
CATEGORY = "Literals"
|
||||
|
||||
def to_int(self, Number):
|
||||
try:
|
||||
ret_val = int(Number)
|
||||
except Exception:
|
||||
raise Exception("Invalid value provided for INT")
|
||||
return (ret_val,)
|
||||
|
||||
|
||||
class FloatLiteral:
|
||||
def __init__(self, ):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"Number": ("STRING", {}),
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("FLOAT",)
|
||||
FUNCTION = "to_float"
|
||||
|
||||
CATEGORY = "Literals"
|
||||
|
||||
def to_float(self, Number):
|
||||
try:
|
||||
ret_val = float(Number)
|
||||
except Exception:
|
||||
raise Exception("Invalid value provided for FLOAT")
|
||||
return (ret_val,)
|
||||
|
||||
|
||||
class StringLiteral:
|
||||
def __init__(self, ):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"String": ("STRING", {"multiline": True}),
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("STRING",)
|
||||
FUNCTION = "to_string"
|
||||
|
||||
CATEGORY = "Literals"
|
||||
|
||||
def to_string(self, String):
|
||||
return (String,)
|
||||
|
||||
|
||||
class CheckpointListLiteral:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"literal": ("STRING", {
|
||||
"multiline": True,
|
||||
"default": "\n".join(folder_paths.get_filename_list("checkpoints"))
|
||||
}),
|
||||
},
|
||||
}
|
||||
|
||||
RETURN_TYPES = (ANY,)
|
||||
RETURN_NAMES = ("Selected Checkpoints",)
|
||||
OUTPUT_IS_LIST = (True,)
|
||||
FUNCTION = "parse_literal"
|
||||
|
||||
# OUTPUT_NODE = False
|
||||
|
||||
CATEGORY = "List Stuff"
|
||||
|
||||
def parse_literal(self, literal):
|
||||
split = list(filter(None, literal.split("\n")))
|
||||
return (split,)
|
||||
|
||||
class LoraListLiteral:
|
||||
def __init__(self):
|
||||
pass
|
||||
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"literal": ("STRING", {
|
||||
"multiline": True,
|
||||
"default": "\n".join(folder_paths.get_filename_list("loras"))
|
||||
}),
|
||||
},
|
||||
}
|
||||
|
||||
RETURN_TYPES = (ANY,)
|
||||
RETURN_NAMES = ("Selected Loras",)
|
||||
OUTPUT_IS_LIST = (True,)
|
||||
FUNCTION = "parse_literal"
|
||||
|
||||
# OUTPUT_NODE = False
|
||||
|
||||
CATEGORY = "List Stuff"
|
||||
|
||||
def parse_literal(self, literal):
|
||||
split = list(filter(None, literal.split("\n")))
|
||||
return (split,)
|
||||
@@ -0,0 +1,84 @@
|
||||
[
|
||||
".github/workflows/publish.yml",
|
||||
".gitignore",
|
||||
"All_in_one_v1_3.png",
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"__init__.py",
|
||||
"config.yaml",
|
||||
"demo_frames/anime0.png",
|
||||
"demo_frames/anime1.png",
|
||||
"demo_frames/bocchi0.jpg",
|
||||
"demo_frames/bocchi1.jpg",
|
||||
"demo_frames/real0.png",
|
||||
"demo_frames/real1.png",
|
||||
"demo_frames/rick/00003.png",
|
||||
"demo_frames/rick/00004.png",
|
||||
"demo_frames/rick/00005.png",
|
||||
"demo_frames/violet0.png",
|
||||
"demo_frames/violet1.png",
|
||||
"example.png",
|
||||
"install-taichi.bat",
|
||||
"install.bat",
|
||||
"install.py",
|
||||
"interpolation_schedule.png",
|
||||
"other_nodes.py",
|
||||
"pyproject.toml",
|
||||
"requirements-no-cupy.txt",
|
||||
"requirements-with-cupy.txt",
|
||||
"test.py",
|
||||
"test_vfi_schedule.gif",
|
||||
"vfi_models/amt/__init__.py",
|
||||
"vfi_models/amt/amt_arch.py",
|
||||
"vfi_models/cain/__init__.py",
|
||||
"vfi_models/cain/cain_arch.py",
|
||||
"vfi_models/cain/cain_encdec_arch.py",
|
||||
"vfi_models/cain/cain_noca_arch.py",
|
||||
"vfi_models/cain/common.py",
|
||||
"vfi_models/eisai/__init__.py",
|
||||
"vfi_models/eisai/eisai_arch.py",
|
||||
"vfi_models/film/__init__.py",
|
||||
"vfi_models/film/film_arch.py",
|
||||
"vfi_models/flavr/__init__.py",
|
||||
"vfi_models/flavr/flavr_arch.py",
|
||||
"vfi_models/flavr/resnet_3D.py",
|
||||
"vfi_models/gmfss_fortuna/GMFSS_Fortuna.py",
|
||||
"vfi_models/gmfss_fortuna/GMFSS_Fortuna_arch.py",
|
||||
"vfi_models/gmfss_fortuna/GMFSS_Fortuna_union.py",
|
||||
"vfi_models/gmfss_fortuna/GMFSS_Fortuna_union_arch.py",
|
||||
"vfi_models/gmfss_fortuna/__init__.py",
|
||||
"vfi_models/ifrnet/IFRNet_L_arch.py",
|
||||
"vfi_models/ifrnet/IFRNet_S_arch.py",
|
||||
"vfi_models/ifrnet/__init__.py",
|
||||
"vfi_models/ifunet/IFUNet_arch.py",
|
||||
"vfi_models/ifunet/__init__.py",
|
||||
"vfi_models/m2m/M2M_arch.py",
|
||||
"vfi_models/m2m/__init__.py",
|
||||
"vfi_models/ops/__init__.py",
|
||||
"vfi_models/ops/cupy_ops/__init__.py",
|
||||
"vfi_models/ops/cupy_ops/adacof.py",
|
||||
"vfi_models/ops/cupy_ops/batch_edt.py",
|
||||
"vfi_models/ops/cupy_ops/correlation.py",
|
||||
"vfi_models/ops/cupy_ops/costvol.py",
|
||||
"vfi_models/ops/cupy_ops/sepconv.py",
|
||||
"vfi_models/ops/cupy_ops/softsplat.py",
|
||||
"vfi_models/ops/cupy_ops/utils.py",
|
||||
"vfi_models/ops/taichi_ops/__init__.py",
|
||||
"vfi_models/ops/taichi_ops/adacof.py",
|
||||
"vfi_models/ops/taichi_ops/batch_edt.py",
|
||||
"vfi_models/ops/taichi_ops/correlation.py",
|
||||
"vfi_models/ops/taichi_ops/costvol.py",
|
||||
"vfi_models/ops/taichi_ops/raw_softsplat.py",
|
||||
"vfi_models/ops/taichi_ops/sepconv.py",
|
||||
"vfi_models/ops/taichi_ops/utils.py",
|
||||
"vfi_models/ops/taichi_ops/worker_process.py",
|
||||
"vfi_models/rife/__init__.py",
|
||||
"vfi_models/rife/rife_arch.py",
|
||||
"vfi_models/sepconv/__init__.py",
|
||||
"vfi_models/sepconv/sepconv_enhanced.py",
|
||||
"vfi_models/stmfnet/__init__.py",
|
||||
"vfi_models/stmfnet/stmfnet_arch.py",
|
||||
"vfi_models/xvfi/__init__.py",
|
||||
"vfi_models/xvfi/xvfi_arch.py",
|
||||
"vfi_utils.py"
|
||||
]
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"changelog": "",
|
||||
"createdAt": "2025-04-30T11:32:53.610548Z",
|
||||
"dependencies": [],
|
||||
"deprecated": false,
|
||||
"downloadUrl": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"id": "d43410e6-aaac-4e9b-a45d-53c796f72879",
|
||||
"node_id": "comfyui-frame-interpolation",
|
||||
"status": "NodeVersionStatusActive",
|
||||
"supported_accelerators": null,
|
||||
"supported_comfyui_frontend_version": "",
|
||||
"supported_comfyui_version": "",
|
||||
"supported_os": null,
|
||||
"tags": [],
|
||||
"version": "1.0.7"
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2023 Fannovel16
|
||||
|
||||
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,42 @@
|
||||
import os
|
||||
import sys
|
||||
sys.path.insert(0, os.path.abspath(os.path.dirname(__file__)))
|
||||
|
||||
from .other_nodes import Gradually_More_Denoise_KSampler
|
||||
|
||||
#Some models are commented out because the code is not completed
|
||||
#from vfi_models.eisai import EISAI_VFI
|
||||
from vfi_models.gmfss_fortuna import GMFSS_Fortuna_VFI
|
||||
from vfi_models.ifrnet import IFRNet_VFI
|
||||
from vfi_models.ifunet import IFUnet_VFI
|
||||
from vfi_models.m2m import M2M_VFI
|
||||
from vfi_models.rife import RIFE_VFI
|
||||
from vfi_models.sepconv import SepconvVFI
|
||||
from vfi_models.amt import AMT_VFI
|
||||
from vfi_models.film import FILM_VFI
|
||||
from vfi_models.stmfnet import STMFNet_VFI
|
||||
from vfi_models.flavr import FLAVR_VFI
|
||||
from vfi_models.cain import CAIN_VFI
|
||||
from vfi_utils import MakeInterpolationStateList, FloatToInt
|
||||
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"KSampler Gradually Adding More Denoise (efficient)": Gradually_More_Denoise_KSampler,
|
||||
# "EISAI VFI": EISAI_VFI,
|
||||
"GMFSS Fortuna VFI": GMFSS_Fortuna_VFI,
|
||||
"IFRNet VFI": IFRNet_VFI,
|
||||
"IFUnet VFI": IFUnet_VFI,
|
||||
"M2M VFI": M2M_VFI,
|
||||
"RIFE VFI": RIFE_VFI,
|
||||
"Sepconv VFI": SepconvVFI,
|
||||
"AMT VFI": AMT_VFI,
|
||||
"FILM VFI": FILM_VFI,
|
||||
"Make Interpolation State List": MakeInterpolationStateList,
|
||||
"STMFNet VFI": STMFNet_VFI,
|
||||
"FLAVR VFI": FLAVR_VFI,
|
||||
"CAIN VFI": CAIN_VFI,
|
||||
"VFI FloatToInt": FloatToInt
|
||||
}
|
||||
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"RIFE VFI": "RIFE VFI (recommend rife47 and rife49)"
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
[project]
|
||||
name = "comfyui-frame-interpolation"
|
||||
description = "A custom node suite for Video Frame Interpolation in ComfyUI"
|
||||
version = "1.0.7"
|
||||
license = { file = "LICENSE" }
|
||||
|
||||
[project.urls]
|
||||
Repository = "https://github.com/Fannovel16/ComfyUI-Frame-Interpolation"
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "fannovel16"
|
||||
DisplayName = "ComfyUI-Frame-Interpolation"
|
||||
Icon = ""
|
||||
@@ -0,0 +1,107 @@
|
||||
import torch
|
||||
from torch.utils.data import DataLoader
|
||||
import pathlib
|
||||
from vfi_utils import load_file_from_github_release, preprocess_frames, postprocess_frames, generic_frame_loop, InterpolationStateList
|
||||
import typing
|
||||
from comfy.model_management import get_torch_device
|
||||
import re
|
||||
from functools import cmp_to_key
|
||||
from packaging import version
|
||||
|
||||
MODEL_TYPE = pathlib.Path(__file__).parent.name
|
||||
CKPT_NAME_VER_DICT = {
|
||||
"rife40.pth": "4.0",
|
||||
"rife41.pth": "4.0",
|
||||
"rife42.pth": "4.2",
|
||||
"rife43.pth": "4.3",
|
||||
"rife44.pth": "4.3",
|
||||
"rife45.pth": "4.5",
|
||||
"rife46.pth": "4.6",
|
||||
"rife47.pth": "4.7",
|
||||
"rife48.pth": "4.7",
|
||||
"rife49.pth": "4.7",
|
||||
"sudo_rife4_269.662_testV1_scale1.pth": "4.0"
|
||||
#Arch 4.10 doesn't work due to state dict mismatch
|
||||
#TODO: Investigating and fix it
|
||||
#"rife410.pth": "4.10",
|
||||
#"rife411.pth": "4.10",
|
||||
#"rife412.pth": "4.10"
|
||||
}
|
||||
|
||||
class RIFE_VFI:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"ckpt_name": (
|
||||
sorted(list(CKPT_NAME_VER_DICT.keys()), key=lambda ckpt_name: version.parse(CKPT_NAME_VER_DICT[ckpt_name])),
|
||||
{"default": "rife47.pth"}
|
||||
),
|
||||
"frames": ("IMAGE", ),
|
||||
"clear_cache_after_n_frames": ("INT", {"default": 10, "min": 1, "max": 1000}),
|
||||
"multiplier": ("INT", {"default": 2, "min": 1}),
|
||||
"fast_mode": ("BOOLEAN", {"default":True}),
|
||||
"ensemble": ("BOOLEAN", {"default":True}),
|
||||
"scale_factor": ([0.25, 0.5, 1.0, 2.0, 4.0], {"default": 1.0})
|
||||
},
|
||||
"optional": {
|
||||
"optional_interpolation_states": ("INTERPOLATION_STATES", )
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("IMAGE", )
|
||||
FUNCTION = "vfi"
|
||||
CATEGORY = "ComfyUI-Frame-Interpolation/VFI"
|
||||
|
||||
def vfi(
|
||||
self,
|
||||
ckpt_name: typing.AnyStr,
|
||||
frames: torch.Tensor,
|
||||
clear_cache_after_n_frames = 10,
|
||||
multiplier: typing.SupportsInt = 2,
|
||||
fast_mode = False,
|
||||
ensemble = False,
|
||||
scale_factor = 1.0,
|
||||
optional_interpolation_states: InterpolationStateList = None,
|
||||
**kwargs
|
||||
):
|
||||
"""
|
||||
Perform video frame interpolation using a given checkpoint model.
|
||||
|
||||
Args:
|
||||
ckpt_name (str): The name of the checkpoint model to use.
|
||||
frames (torch.Tensor): A tensor containing input video frames.
|
||||
clear_cache_after_n_frames (int, optional): The number of frames to process before clearing CUDA cache
|
||||
to prevent memory overflow. Defaults to 10. Lower numbers are safer but mean more processing time.
|
||||
How high you should set it depends on how many input frames there are, input resolution (after upscaling),
|
||||
how many times you want to multiply them, and how long you're willing to wait for the process to complete.
|
||||
multiplier (int, optional): The multiplier for each input frame. 60 input frames * 2 = 120 output frames. Defaults to 2.
|
||||
|
||||
Returns:
|
||||
tuple: A tuple containing the output interpolated frames.
|
||||
|
||||
Note:
|
||||
This method interpolates frames in a video sequence using a specified checkpoint model.
|
||||
It processes each frame sequentially, generating interpolated frames between them.
|
||||
|
||||
To prevent memory overflow, it clears the CUDA cache after processing a specified number of frames.
|
||||
"""
|
||||
from .rife_arch import IFNet
|
||||
model_path = load_file_from_github_release(MODEL_TYPE, ckpt_name)
|
||||
arch_ver = CKPT_NAME_VER_DICT[ckpt_name]
|
||||
interpolation_model = IFNet(arch_ver=arch_ver)
|
||||
interpolation_model.load_state_dict(torch.load(model_path))
|
||||
interpolation_model.eval().to(get_torch_device())
|
||||
frames = preprocess_frames(frames)
|
||||
|
||||
def return_middle_frame(frame_0, frame_1, timestep, model, scale_list, in_fast_mode, in_ensemble):
|
||||
return model(frame_0, frame_1, timestep, scale_list, in_fast_mode, in_ensemble)
|
||||
|
||||
scale_list = [8 / scale_factor, 4 / scale_factor, 2 / scale_factor, 1 / scale_factor]
|
||||
|
||||
args = [interpolation_model, scale_list, fast_mode, ensemble]
|
||||
out = postprocess_frames(
|
||||
generic_frame_loop(type(self).__name__, frames, clear_cache_after_n_frames, multiplier, return_middle_frame, *args,
|
||||
interpolation_states=optional_interpolation_states, dtype=torch.float32)
|
||||
)
|
||||
return (out,)
|
||||
@@ -0,0 +1,586 @@
|
||||
"""
|
||||
26-Dez-21
|
||||
https://github.com/hzwer/Practical-RIFE
|
||||
https://github.com/hzwer/Practical-RIFE/blob/main/model/warplayer.py
|
||||
https://github.com/HolyWu/vs-rife/blob/master/vsrife/__init__.py
|
||||
"""
|
||||
from torch.nn.parallel import DistributedDataParallel as DDP
|
||||
from torch.optim import AdamW
|
||||
import torch
|
||||
import torch.nn.functional as F
|
||||
import torch.nn as nn
|
||||
import torch.optim as optim
|
||||
import warnings
|
||||
from comfy.model_management import get_torch_device
|
||||
|
||||
device = get_torch_device()
|
||||
backwarp_tenGrid = {}
|
||||
|
||||
|
||||
class ResConv(nn.Module):
|
||||
def __init__(self, c, dilation=1):
|
||||
super(ResConv, self).__init__()
|
||||
self.conv = nn.Conv2d(c, c, 3, 1, dilation, dilation=dilation, groups=1)
|
||||
self.beta = nn.Parameter(torch.ones((1, c, 1, 1)), requires_grad=True)
|
||||
self.relu = nn.LeakyReLU(0.2, True)
|
||||
|
||||
def forward(self, x):
|
||||
return self.relu(self.conv(x) * self.beta + x)
|
||||
|
||||
|
||||
def warp(tenInput, tenFlow):
|
||||
k = (str(tenFlow.device), str(tenFlow.size()))
|
||||
if k not in backwarp_tenGrid:
|
||||
tenHorizontal = (
|
||||
torch.linspace(-1.0, 1.0, tenFlow.shape[3], device=device)
|
||||
.view(1, 1, 1, tenFlow.shape[3])
|
||||
.expand(tenFlow.shape[0], -1, tenFlow.shape[2], -1)
|
||||
)
|
||||
tenVertical = (
|
||||
torch.linspace(-1.0, 1.0, tenFlow.shape[2], device=device)
|
||||
.view(1, 1, tenFlow.shape[2], 1)
|
||||
.expand(tenFlow.shape[0], -1, -1, tenFlow.shape[3])
|
||||
)
|
||||
backwarp_tenGrid[k] = torch.cat([tenHorizontal, tenVertical], 1).to(device)
|
||||
|
||||
tenFlow = torch.cat(
|
||||
[
|
||||
tenFlow[:, 0:1, :, :] / ((tenInput.shape[3] - 1.0) / 2.0),
|
||||
tenFlow[:, 1:2, :, :] / ((tenInput.shape[2] - 1.0) / 2.0),
|
||||
],
|
||||
1,
|
||||
)
|
||||
|
||||
g = (backwarp_tenGrid[k] + tenFlow).permute(0, 2, 3, 1)
|
||||
|
||||
if tenInput.type() == "torch.cuda.HalfTensor":
|
||||
g = g.half()
|
||||
|
||||
padding_mode = "border"
|
||||
if device.type == "mps":
|
||||
# https://github.com/pytorch/pytorch/issues/125098
|
||||
padding_mode = "zeros"
|
||||
g = g.clamp(-1, 1)
|
||||
return torch.nn.functional.grid_sample(
|
||||
input=tenInput,
|
||||
grid=g,
|
||||
mode="bilinear",
|
||||
padding_mode=padding_mode,
|
||||
align_corners=True,
|
||||
)
|
||||
|
||||
|
||||
def conv(
|
||||
in_planes,
|
||||
out_planes,
|
||||
kernel_size=3,
|
||||
stride=1,
|
||||
padding=1,
|
||||
dilation=1,
|
||||
arch_ver="4.0",
|
||||
):
|
||||
if arch_ver == "4.0":
|
||||
return nn.Sequential(
|
||||
nn.Conv2d(
|
||||
in_planes,
|
||||
out_planes,
|
||||
kernel_size=kernel_size,
|
||||
stride=stride,
|
||||
padding=padding,
|
||||
dilation=dilation,
|
||||
bias=True,
|
||||
),
|
||||
nn.PReLU(out_planes),
|
||||
)
|
||||
if arch_ver in ["4.2", "4.3", "4.5", "4.6", "4.7", "4.10"]:
|
||||
return nn.Sequential(
|
||||
nn.Conv2d(
|
||||
in_planes,
|
||||
out_planes,
|
||||
kernel_size=kernel_size,
|
||||
stride=stride,
|
||||
padding=padding,
|
||||
dilation=dilation,
|
||||
bias=True,
|
||||
),
|
||||
nn.LeakyReLU(0.2, True),
|
||||
)
|
||||
|
||||
|
||||
def conv_woact(in_planes, out_planes, kernel_size=3, stride=1, padding=1, dilation=1):
|
||||
return nn.Sequential(
|
||||
nn.Conv2d(
|
||||
in_planes,
|
||||
out_planes,
|
||||
kernel_size=kernel_size,
|
||||
stride=stride,
|
||||
padding=padding,
|
||||
dilation=dilation,
|
||||
bias=True,
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
def conv_woact(in_planes, out_planes, kernel_size=3, stride=1, padding=1, dilation=1):
|
||||
return nn.Sequential(
|
||||
nn.Conv2d(
|
||||
in_planes,
|
||||
out_planes,
|
||||
kernel_size=kernel_size,
|
||||
stride=stride,
|
||||
padding=padding,
|
||||
dilation=dilation,
|
||||
bias=True,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def deconv(in_planes, out_planes, kernel_size=4, stride=2, padding=1, arch_ver="4.0"):
|
||||
if arch_ver == "4.0":
|
||||
return nn.Sequential(
|
||||
torch.nn.ConvTranspose2d(
|
||||
in_channels=in_planes,
|
||||
out_channels=out_planes,
|
||||
kernel_size=4,
|
||||
stride=2,
|
||||
padding=1,
|
||||
bias=True,
|
||||
),
|
||||
nn.PReLU(out_planes),
|
||||
)
|
||||
if arch_ver in ["4.2", "4.3", "4.5", "4.6", "4.7", "4.10"]:
|
||||
return nn.Sequential(
|
||||
torch.nn.ConvTranspose2d(
|
||||
in_channels=in_planes,
|
||||
out_channels=out_planes,
|
||||
kernel_size=4,
|
||||
stride=2,
|
||||
padding=1,
|
||||
bias=True,
|
||||
),
|
||||
nn.LeakyReLU(0.2, True),
|
||||
)
|
||||
|
||||
|
||||
class Conv2(nn.Module):
|
||||
def __init__(self, in_planes, out_planes, stride=2, arch_ver="4.0"):
|
||||
super(Conv2, self).__init__()
|
||||
self.conv1 = conv(in_planes, out_planes, 3, stride, 1, arch_ver=arch_ver)
|
||||
self.conv2 = conv(out_planes, out_planes, 3, 1, 1, arch_ver=arch_ver)
|
||||
|
||||
def forward(self, x):
|
||||
x = self.conv1(x)
|
||||
x = self.conv2(x)
|
||||
return x
|
||||
|
||||
|
||||
class IFBlock(nn.Module):
|
||||
def __init__(self, in_planes, c=64, arch_ver="4.0"):
|
||||
super(IFBlock, self).__init__()
|
||||
self.arch_ver = arch_ver
|
||||
self.conv0 = nn.Sequential(
|
||||
conv(in_planes, c // 2, 3, 2, 1, arch_ver=arch_ver),
|
||||
conv(c // 2, c, 3, 2, 1, arch_ver=arch_ver),
|
||||
)
|
||||
self.arch_ver = arch_ver
|
||||
|
||||
if arch_ver in ["4.0", "4.2", "4.3"]:
|
||||
self.convblock = nn.Sequential(
|
||||
conv(c, c, arch_ver=arch_ver),
|
||||
conv(c, c, arch_ver=arch_ver),
|
||||
conv(c, c, arch_ver=arch_ver),
|
||||
conv(c, c, arch_ver=arch_ver),
|
||||
conv(c, c, arch_ver=arch_ver),
|
||||
conv(c, c, arch_ver=arch_ver),
|
||||
conv(c, c, arch_ver=arch_ver),
|
||||
conv(c, c, arch_ver=arch_ver),
|
||||
)
|
||||
self.lastconv = nn.ConvTranspose2d(c, 5, 4, 2, 1)
|
||||
|
||||
if arch_ver in ["4.5", "4.6", "4.7", "4.10"]:
|
||||
self.convblock = nn.Sequential(
|
||||
ResConv(c),
|
||||
ResConv(c),
|
||||
ResConv(c),
|
||||
ResConv(c),
|
||||
ResConv(c),
|
||||
ResConv(c),
|
||||
ResConv(c),
|
||||
ResConv(c),
|
||||
)
|
||||
if arch_ver == "4.5":
|
||||
self.lastconv = nn.Sequential(
|
||||
nn.ConvTranspose2d(c, 4 * 5, 4, 2, 1), nn.PixelShuffle(2)
|
||||
)
|
||||
if arch_ver in ["4.6", "4.7", "4.10"]:
|
||||
self.lastconv = nn.Sequential(
|
||||
nn.ConvTranspose2d(c, 4 * 6, 4, 2, 1), nn.PixelShuffle(2)
|
||||
)
|
||||
|
||||
def forward(self, x, flow=None, scale=1):
|
||||
x = F.interpolate(
|
||||
x, scale_factor=1.0 / scale, mode="bilinear", align_corners=False
|
||||
)
|
||||
if flow is not None:
|
||||
flow = (
|
||||
F.interpolate(
|
||||
flow, scale_factor=1.0 / scale, mode="bilinear", align_corners=False
|
||||
)
|
||||
* 1.0
|
||||
/ scale
|
||||
)
|
||||
x = torch.cat((x, flow), 1)
|
||||
feat = self.conv0(x)
|
||||
if self.arch_ver == "4.0":
|
||||
feat = self.convblock(feat) + feat
|
||||
if self.arch_ver in ["4.2", "4.3", "4.5", "4.6", "4.7", "4.10"]:
|
||||
feat = self.convblock(feat)
|
||||
|
||||
tmp = self.lastconv(feat)
|
||||
if self.arch_ver in ["4.0", "4.2", "4.3"]:
|
||||
tmp = F.interpolate(
|
||||
tmp, scale_factor=scale * 2, mode="bilinear", align_corners=False
|
||||
)
|
||||
flow = tmp[:, :4] * scale * 2
|
||||
if self.arch_ver in ["4.5", "4.6", "4.7", "4.10"]:
|
||||
tmp = F.interpolate(
|
||||
tmp, scale_factor=scale, mode="bilinear", align_corners=False
|
||||
)
|
||||
flow = tmp[:, :4] * scale
|
||||
mask = tmp[:, 4:5]
|
||||
return flow, mask
|
||||
|
||||
|
||||
class Contextnet(nn.Module):
|
||||
def __init__(self, arch_ver="4.0"):
|
||||
super(Contextnet, self).__init__()
|
||||
c = 16
|
||||
self.conv1 = Conv2(3, c, arch_ver=arch_ver)
|
||||
self.conv2 = Conv2(c, 2 * c, arch_ver=arch_ver)
|
||||
self.conv3 = Conv2(2 * c, 4 * c, arch_ver=arch_ver)
|
||||
self.conv4 = Conv2(4 * c, 8 * c, arch_ver=arch_ver)
|
||||
|
||||
def forward(self, x, flow):
|
||||
x = self.conv1(x)
|
||||
flow = (
|
||||
F.interpolate(flow, scale_factor=0.5, mode="bilinear", align_corners=False)
|
||||
* 0.5
|
||||
)
|
||||
f1 = warp(x, flow)
|
||||
x = self.conv2(x)
|
||||
flow = (
|
||||
F.interpolate(flow, scale_factor=0.5, mode="bilinear", align_corners=False)
|
||||
* 0.5
|
||||
)
|
||||
f2 = warp(x, flow)
|
||||
x = self.conv3(x)
|
||||
flow = (
|
||||
F.interpolate(flow, scale_factor=0.5, mode="bilinear", align_corners=False)
|
||||
* 0.5
|
||||
)
|
||||
f3 = warp(x, flow)
|
||||
x = self.conv4(x)
|
||||
flow = (
|
||||
F.interpolate(flow, scale_factor=0.5, mode="bilinear", align_corners=False)
|
||||
* 0.5
|
||||
)
|
||||
f4 = warp(x, flow)
|
||||
return [f1, f2, f3, f4]
|
||||
|
||||
|
||||
class Unet(nn.Module):
|
||||
def __init__(self, arch_ver="4.0"):
|
||||
super(Unet, self).__init__()
|
||||
c = 16
|
||||
self.down0 = Conv2(17, 2 * c, arch_ver=arch_ver)
|
||||
self.down1 = Conv2(4 * c, 4 * c, arch_ver=arch_ver)
|
||||
self.down2 = Conv2(8 * c, 8 * c, arch_ver=arch_ver)
|
||||
self.down3 = Conv2(16 * c, 16 * c, arch_ver=arch_ver)
|
||||
self.up0 = deconv(32 * c, 8 * c, arch_ver=arch_ver)
|
||||
self.up1 = deconv(16 * c, 4 * c, arch_ver=arch_ver)
|
||||
self.up2 = deconv(8 * c, 2 * c, arch_ver=arch_ver)
|
||||
self.up3 = deconv(4 * c, c, arch_ver=arch_ver)
|
||||
self.conv = nn.Conv2d(c, 3, 3, 1, 1)
|
||||
|
||||
def forward(self, img0, img1, warped_img0, warped_img1, mask, flow, c0, c1):
|
||||
s0 = self.down0(
|
||||
torch.cat((img0, img1, warped_img0, warped_img1, mask, flow), 1)
|
||||
)
|
||||
s1 = self.down1(torch.cat((s0, c0[0], c1[0]), 1))
|
||||
s2 = self.down2(torch.cat((s1, c0[1], c1[1]), 1))
|
||||
s3 = self.down3(torch.cat((s2, c0[2], c1[2]), 1))
|
||||
x = self.up0(torch.cat((s3, c0[3], c1[3]), 1))
|
||||
x = self.up1(torch.cat((x, s2), 1))
|
||||
x = self.up2(torch.cat((x, s1), 1))
|
||||
x = self.up3(torch.cat((x, s0), 1))
|
||||
x = self.conv(x)
|
||||
return torch.sigmoid(x)
|
||||
|
||||
|
||||
"""
|
||||
currently supports 4.0-4.12
|
||||
|
||||
4.0: 4.0, 4.1
|
||||
4.2: 4.2
|
||||
4.3: 4.3, 4.4
|
||||
4.5: 4.5
|
||||
4.6: 4.6
|
||||
4.7: 4.7, 4.8, 4.9
|
||||
4.10: 4.10 4.11 4.12
|
||||
"""
|
||||
|
||||
|
||||
class IFNet(nn.Module):
|
||||
def __init__(self, arch_ver="4.0"):
|
||||
super(IFNet, self).__init__()
|
||||
self.arch_ver = arch_ver
|
||||
if arch_ver in ["4.0", "4.2", "4.3", "4.5", "4.6"]:
|
||||
self.block0 = IFBlock(7, c=192, arch_ver=arch_ver)
|
||||
self.block1 = IFBlock(8 + 4, c=128, arch_ver=arch_ver)
|
||||
self.block2 = IFBlock(8 + 4, c=96, arch_ver=arch_ver)
|
||||
self.block3 = IFBlock(8 + 4, c=64, arch_ver=arch_ver)
|
||||
if arch_ver in ["4.7"]:
|
||||
self.block0 = IFBlock(7 + 8, c=192, arch_ver=arch_ver)
|
||||
self.block1 = IFBlock(8 + 4 + 8, c=128, arch_ver=arch_ver)
|
||||
self.block2 = IFBlock(8 + 4 + 8, c=96, arch_ver=arch_ver)
|
||||
self.block3 = IFBlock(8 + 4 + 8, c=64, arch_ver=arch_ver)
|
||||
self.encode = nn.Sequential(
|
||||
nn.Conv2d(3, 16, 3, 2, 1), nn.ConvTranspose2d(16, 4, 4, 2, 1)
|
||||
)
|
||||
if arch_ver in ["4.10"]:
|
||||
self.block0 = IFBlock(7 + 16, c=192)
|
||||
self.block1 = IFBlock(8 + 4 + 16, c=128)
|
||||
self.block2 = IFBlock(8 + 4 + 16, c=96)
|
||||
self.block3 = IFBlock(8 + 4 + 16, c=64)
|
||||
self.encode = nn.Sequential(
|
||||
nn.Conv2d(3, 32, 3, 2, 1),
|
||||
nn.LeakyReLU(0.2, True),
|
||||
nn.Conv2d(32, 32, 3, 1, 1),
|
||||
nn.LeakyReLU(0.2, True),
|
||||
nn.Conv2d(32, 32, 3, 1, 1),
|
||||
nn.LeakyReLU(0.2, True),
|
||||
nn.ConvTranspose2d(32, 8, 4, 2, 1),
|
||||
)
|
||||
|
||||
if arch_ver in ["4.0", "4.2", "4.3"]:
|
||||
self.contextnet = Contextnet(arch_ver=arch_ver)
|
||||
self.unet = Unet(arch_ver=arch_ver)
|
||||
self.arch_ver = arch_ver
|
||||
|
||||
def forward(
|
||||
self,
|
||||
img0,
|
||||
img1,
|
||||
timestep=0.5,
|
||||
scale_list=[8, 4, 2, 1],
|
||||
training=True,
|
||||
fastmode=True,
|
||||
ensemble=False,
|
||||
return_flow=False,
|
||||
):
|
||||
img0 = torch.clamp(img0, 0, 1)
|
||||
img1 = torch.clamp(img1, 0, 1)
|
||||
|
||||
n, c, h, w = img0.shape
|
||||
ph = ((h - 1) // 64 + 1) * 64
|
||||
pw = ((w - 1) // 64 + 1) * 64
|
||||
padding = (0, pw - w, 0, ph - h)
|
||||
img0 = F.pad(img0, padding)
|
||||
img1 = F.pad(img1, padding)
|
||||
x = torch.cat((img0, img1), 1)
|
||||
|
||||
if training == False:
|
||||
channel = x.shape[1] // 2
|
||||
img0 = x[:, :channel]
|
||||
img1 = x[:, channel:]
|
||||
if not torch.is_tensor(timestep):
|
||||
timestep = (x[:, :1].clone() * 0 + 1) * timestep
|
||||
else:
|
||||
timestep = timestep.repeat(1, 1, img0.shape[2], img0.shape[3])
|
||||
|
||||
flow_list = []
|
||||
merged = []
|
||||
mask_list = []
|
||||
|
||||
if self.arch_ver in ["4.7", "4.10"]:
|
||||
f0 = self.encode(img0[:, :3])
|
||||
f1 = self.encode(img1[:, :3])
|
||||
|
||||
warped_img0 = img0
|
||||
warped_img1 = img1
|
||||
flow = None
|
||||
mask = None
|
||||
block = [self.block0, self.block1, self.block2, self.block3]
|
||||
|
||||
for i in range(4):
|
||||
if flow is None:
|
||||
# 4.0-4.6
|
||||
if self.arch_ver in ["4.0", "4.2", "4.3", "4.5", "4.6"]:
|
||||
flow, mask = block[i](
|
||||
torch.cat((img0[:, :3], img1[:, :3], timestep), 1),
|
||||
None,
|
||||
scale=scale_list[i],
|
||||
)
|
||||
if ensemble:
|
||||
f1, m1 = block[i](
|
||||
torch.cat((img1[:, :3], img0[:, :3], 1 - timestep), 1),
|
||||
None,
|
||||
scale=scale_list[i],
|
||||
)
|
||||
flow = (flow + torch.cat((f1[:, 2:4], f1[:, :2]), 1)) / 2
|
||||
mask = (mask + (-m1)) / 2
|
||||
|
||||
# 4.7+
|
||||
if self.arch_ver in ["4.7", "4.10"]:
|
||||
flow, mask = block[i](
|
||||
torch.cat((img0[:, :3], img1[:, :3], f0, f1, timestep), 1),
|
||||
None,
|
||||
scale=scale_list[i],
|
||||
)
|
||||
|
||||
if ensemble:
|
||||
f_, m_ = block[i](
|
||||
torch.cat(
|
||||
(img1[:, :3], img0[:, :3], f1, f0, 1 - timestep), 1
|
||||
),
|
||||
None,
|
||||
scale=scale_list[i],
|
||||
)
|
||||
flow = (flow + torch.cat((f_[:, 2:4], f_[:, :2]), 1)) / 2
|
||||
mask = (mask + (-m_)) / 2
|
||||
|
||||
else:
|
||||
# 4.0-4.6
|
||||
if self.arch_ver in ["4.0", "4.2", "4.3", "4.5", "4.6"]:
|
||||
f0, m0 = block[i](
|
||||
torch.cat(
|
||||
(warped_img0[:, :3], warped_img1[:, :3], timestep, mask), 1
|
||||
),
|
||||
flow,
|
||||
scale=scale_list[i],
|
||||
)
|
||||
|
||||
if self.arch_ver in ["4.0"]:
|
||||
if (
|
||||
i == 1
|
||||
and f0[:, :2].abs().max() > 32
|
||||
and f0[:, 2:4].abs().max() > 32
|
||||
and not training
|
||||
):
|
||||
for k in range(4):
|
||||
scale_list[k] *= 2
|
||||
flow, mask = block[0](
|
||||
torch.cat((img0[:, :3], img1[:, :3], timestep), 1),
|
||||
None,
|
||||
scale=scale_list[0],
|
||||
)
|
||||
warped_img0 = warp(img0, flow[:, :2])
|
||||
warped_img1 = warp(img1, flow[:, 2:4])
|
||||
f0, m0 = block[i](
|
||||
torch.cat(
|
||||
(
|
||||
warped_img0[:, :3],
|
||||
warped_img1[:, :3],
|
||||
timestep,
|
||||
mask,
|
||||
),
|
||||
1,
|
||||
),
|
||||
flow,
|
||||
scale=scale_list[i],
|
||||
)
|
||||
|
||||
# 4.7+
|
||||
if self.arch_ver in ["4.7", "4.10"]:
|
||||
fd, m0 = block[i](
|
||||
torch.cat(
|
||||
(
|
||||
warped_img0[:, :3],
|
||||
warped_img1[:, :3],
|
||||
warp(f0, flow[:, :2]),
|
||||
warp(f1, flow[:, 2:4]),
|
||||
timestep,
|
||||
mask,
|
||||
),
|
||||
1,
|
||||
),
|
||||
flow,
|
||||
scale=scale_list[i],
|
||||
)
|
||||
flow = flow + fd
|
||||
|
||||
# 4.0-4.6 ensemble
|
||||
if ensemble and self.arch_ver in [
|
||||
"4.0",
|
||||
"4.2",
|
||||
"4.3",
|
||||
"4.5",
|
||||
"4.6",
|
||||
]:
|
||||
f1, m1 = block[i](
|
||||
torch.cat(
|
||||
(
|
||||
warped_img1[:, :3],
|
||||
warped_img0[:, :3],
|
||||
1 - timestep,
|
||||
-mask,
|
||||
),
|
||||
1,
|
||||
),
|
||||
torch.cat((flow[:, 2:4], flow[:, :2]), 1),
|
||||
scale=scale_list[i],
|
||||
)
|
||||
f0 = (f0 + torch.cat((f1[:, 2:4], f1[:, :2]), 1)) / 2
|
||||
m0 = (m0 + (-m1)) / 2
|
||||
|
||||
# 4.7+ ensemble
|
||||
if ensemble and self.arch_ver in ["4.7", "4.10"]:
|
||||
wf0 = warp(f0, flow[:, :2])
|
||||
wf1 = warp(f1, flow[:, 2:4])
|
||||
|
||||
f_, m_ = block[i](
|
||||
torch.cat(
|
||||
(
|
||||
warped_img1[:, :3],
|
||||
warped_img0[:, :3],
|
||||
wf1,
|
||||
wf0,
|
||||
1 - timestep,
|
||||
-mask,
|
||||
),
|
||||
1,
|
||||
),
|
||||
torch.cat((flow[:, 2:4], flow[:, :2]), 1),
|
||||
scale=scale_list[i],
|
||||
)
|
||||
fd = (fd + torch.cat((f_[:, 2:4], f_[:, :2]), 1)) / 2
|
||||
mask = (m0 + (-m_)) / 2
|
||||
|
||||
if self.arch_ver in ["4.0", "4.2", "4.3", "4.5", "4.6"]:
|
||||
flow = flow + f0
|
||||
mask = mask + m0
|
||||
|
||||
if not ensemble and self.arch_ver in ["4.7", "4.10"]:
|
||||
mask = m0
|
||||
|
||||
mask_list.append(mask)
|
||||
flow_list.append(flow)
|
||||
warped_img0 = warp(img0, flow[:, :2])
|
||||
warped_img1 = warp(img1, flow[:, 2:4])
|
||||
merged.append((warped_img0, warped_img1))
|
||||
|
||||
if self.arch_ver in ["4.0", "4.1", "4.2", "4.3", "4.4", "4.5", "4.6"]:
|
||||
mask_list[3] = torch.sigmoid(mask_list[3])
|
||||
merged[3] = merged[3][0] * mask_list[3] + merged[3][1] * (1 - mask_list[3])
|
||||
|
||||
if self.arch_ver in ["4.7", "4.10"]:
|
||||
mask = torch.sigmoid(mask)
|
||||
merged[3] = warped_img0 * mask + warped_img1 * (1 - mask)
|
||||
|
||||
if not fastmode and self.arch_ver in ["4.0", "4.2", "4.3"]:
|
||||
c0 = self.contextnet(img0, flow[:, :2])
|
||||
c1 = self.contextnet(img1, flow[:, 2:4])
|
||||
tmp = self.unet(img0, img1, warped_img0, warped_img1, mask, flow, c0, c1)
|
||||
res = tmp[:, :3] * 2 - 1
|
||||
merged[3] = torch.clamp(merged[3] + res, 0, 1)
|
||||
return merged[3][:, :, :h, :w]
|
||||
@@ -0,0 +1,295 @@
|
||||
import yaml
|
||||
import os
|
||||
from torch.hub import download_url_to_file, get_dir
|
||||
from urllib.parse import urlparse
|
||||
import torch
|
||||
import typing
|
||||
import traceback
|
||||
import einops
|
||||
import gc
|
||||
import torchvision.transforms.functional as transform
|
||||
from comfy.model_management import soft_empty_cache, get_torch_device
|
||||
import numpy as np
|
||||
|
||||
BASE_MODEL_DOWNLOAD_URLS = [
|
||||
"https://github.com/styler00dollar/VSGAN-tensorrt-docker/releases/download/models/",
|
||||
"https://github.com/Fannovel16/ComfyUI-Frame-Interpolation/releases/download/models/",
|
||||
"https://github.com/dajes/frame-interpolation-pytorch/releases/download/v1.0.0/"
|
||||
]
|
||||
|
||||
config_path = os.path.join(os.path.dirname(__file__), "./config.yaml")
|
||||
if os.path.exists(config_path):
|
||||
config = yaml.load(open(config_path, "r"), Loader=yaml.FullLoader)
|
||||
else:
|
||||
raise Exception("config.yaml file is neccessary, plz recreate the config file by downloading it from https://github.com/Fannovel16/ComfyUI-Frame-Interpolation")
|
||||
DEVICE = get_torch_device()
|
||||
|
||||
class InterpolationStateList():
|
||||
|
||||
def __init__(self, frame_indices: typing.List[int], is_skip_list: bool):
|
||||
self.frame_indices = frame_indices
|
||||
self.is_skip_list = is_skip_list
|
||||
|
||||
def is_frame_skipped(self, frame_index):
|
||||
is_frame_in_list = frame_index in self.frame_indices
|
||||
return self.is_skip_list and is_frame_in_list or not self.is_skip_list and not is_frame_in_list
|
||||
|
||||
|
||||
class MakeInterpolationStateList:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"frame_indices": ("STRING", {"multiline": True, "default": "1,2,3"}),
|
||||
"is_skip_list": ("BOOLEAN", {"default": True},),
|
||||
},
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("INTERPOLATION_STATES",)
|
||||
FUNCTION = "create_options"
|
||||
CATEGORY = "ComfyUI-Frame-Interpolation/VFI"
|
||||
|
||||
def create_options(self, frame_indices: str, is_skip_list: bool):
|
||||
frame_indices_list = [int(item) for item in frame_indices.split(',')]
|
||||
|
||||
interpolation_state_list = InterpolationStateList(
|
||||
frame_indices=frame_indices_list,
|
||||
is_skip_list=is_skip_list,
|
||||
)
|
||||
return (interpolation_state_list,)
|
||||
|
||||
|
||||
def get_ckpt_container_path(model_type):
|
||||
return os.path.abspath(os.path.join(os.path.dirname(__file__), config["ckpts_path"], model_type))
|
||||
|
||||
def load_file_from_url(url, model_dir=None, progress=True, file_name=None):
|
||||
"""Load file form http url, will download models if necessary.
|
||||
|
||||
Ref:https://github.com/1adrianb/face-alignment/blob/master/face_alignment/utils.py
|
||||
|
||||
Args:
|
||||
url (str): URL to be downloaded.
|
||||
model_dir (str): The path to save the downloaded model. Should be a full path. If None, use pytorch hub_dir.
|
||||
Default: None.
|
||||
progress (bool): Whether to show the download progress. Default: True.
|
||||
file_name (str): The downloaded file name. If None, use the file name in the url. Default: None.
|
||||
|
||||
Returns:
|
||||
str: The path to the downloaded file.
|
||||
"""
|
||||
if model_dir is None: # use the pytorch hub_dir
|
||||
hub_dir = get_dir()
|
||||
model_dir = os.path.join(hub_dir, 'checkpoints')
|
||||
|
||||
os.makedirs(model_dir, exist_ok=True)
|
||||
|
||||
parts = urlparse(url)
|
||||
file_name = os.path.basename(parts.path)
|
||||
if file_name is not None:
|
||||
file_name = file_name
|
||||
cached_file = os.path.abspath(os.path.join(model_dir, file_name))
|
||||
if not os.path.exists(cached_file):
|
||||
print(f'Downloading: "{url}" to {cached_file}\n')
|
||||
download_url_to_file(url, cached_file, hash_prefix=None, progress=progress)
|
||||
return cached_file
|
||||
|
||||
def load_file_from_github_release(model_type, ckpt_name):
|
||||
error_strs = []
|
||||
for i, base_model_download_url in enumerate(BASE_MODEL_DOWNLOAD_URLS):
|
||||
try:
|
||||
return load_file_from_url(base_model_download_url + ckpt_name, get_ckpt_container_path(model_type))
|
||||
except Exception:
|
||||
traceback_str = traceback.format_exc()
|
||||
if i < len(BASE_MODEL_DOWNLOAD_URLS) - 1:
|
||||
print("Failed! Trying another endpoint.")
|
||||
error_strs.append(f"Error when downloading from: {base_model_download_url + ckpt_name}\n\n{traceback_str}")
|
||||
|
||||
error_str = '\n\n'.join(error_strs)
|
||||
raise Exception(f"Tried all GitHub base urls to download {ckpt_name} but no suceess. Below is the error log:\n\n{error_str}")
|
||||
|
||||
|
||||
def load_file_from_direct_url(model_type, url):
|
||||
return load_file_from_url(url, get_ckpt_container_path(model_type))
|
||||
|
||||
def preprocess_frames(frames):
|
||||
return einops.rearrange(frames[..., :3], "n h w c -> n c h w")
|
||||
|
||||
def postprocess_frames(frames):
|
||||
return einops.rearrange(frames, "n c h w -> n h w c")[..., :3].cpu()
|
||||
|
||||
def assert_batch_size(frames, batch_size=2, vfi_name=None):
|
||||
subject_verb = "Most VFI models require" if vfi_name is None else f"VFI model {vfi_name} requires"
|
||||
assert len(frames) >= batch_size, f"{subject_verb} at least {batch_size} frames to work with, only found {frames.shape[0]}. Please check the frame input using PreviewImage."
|
||||
|
||||
def _generic_frame_loop(
|
||||
frames,
|
||||
clear_cache_after_n_frames,
|
||||
multiplier: typing.Union[typing.SupportsInt, typing.List],
|
||||
return_middle_frame_function,
|
||||
*return_middle_frame_function_args,
|
||||
interpolation_states: InterpolationStateList = None,
|
||||
use_timestep=True,
|
||||
dtype=torch.float16,
|
||||
final_logging=True):
|
||||
|
||||
#https://github.com/hzwer/Practical-RIFE/blob/main/inference_video.py#L169
|
||||
def non_timestep_inference(frame0, frame1, n):
|
||||
middle = return_middle_frame_function(frame0, frame1, None, *return_middle_frame_function_args)
|
||||
if n == 1:
|
||||
return [middle]
|
||||
first_half = non_timestep_inference(frame0, middle, n=n//2)
|
||||
second_half = non_timestep_inference(middle, frame1, n=n//2)
|
||||
if n%2:
|
||||
return [*first_half, middle, *second_half]
|
||||
else:
|
||||
return [*first_half, *second_half]
|
||||
|
||||
output_frames = torch.zeros(multiplier*frames.shape[0], *frames.shape[1:], dtype=dtype, device="cpu")
|
||||
out_len = 0
|
||||
|
||||
number_of_frames_processed_since_last_cleared_cuda_cache = 0
|
||||
|
||||
for frame_itr in range(len(frames) - 1): # Skip the final frame since there are no frames after it
|
||||
frame0 = frames[frame_itr:frame_itr+1]
|
||||
output_frames[out_len] = frame0 # Start with first frame
|
||||
out_len += 1
|
||||
# Ensure that input frames are in fp32 - the same dtype as model
|
||||
frame0 = frame0.to(dtype=torch.float32)
|
||||
frame1 = frames[frame_itr+1:frame_itr+2].to(dtype=torch.float32)
|
||||
|
||||
if interpolation_states is not None and interpolation_states.is_frame_skipped(frame_itr):
|
||||
continue
|
||||
|
||||
# Generate and append a batch of middle frames
|
||||
middle_frame_batches = []
|
||||
|
||||
if use_timestep:
|
||||
for middle_i in range(1, multiplier):
|
||||
timestep = middle_i/multiplier
|
||||
|
||||
middle_frame = return_middle_frame_function(
|
||||
frame0.to(DEVICE),
|
||||
frame1.to(DEVICE),
|
||||
timestep,
|
||||
*return_middle_frame_function_args
|
||||
).detach().cpu()
|
||||
middle_frame_batches.append(middle_frame.to(dtype=dtype))
|
||||
else:
|
||||
middle_frames = non_timestep_inference(frame0.to(DEVICE), frame1.to(DEVICE), multiplier - 1)
|
||||
middle_frame_batches.extend(torch.cat(middle_frames, dim=0).detach().cpu().to(dtype=dtype))
|
||||
|
||||
# Copy middle frames to output
|
||||
for middle_frame in middle_frame_batches:
|
||||
output_frames[out_len] = middle_frame
|
||||
out_len += 1
|
||||
|
||||
number_of_frames_processed_since_last_cleared_cuda_cache += 1
|
||||
# Try to avoid a memory overflow by clearing cuda cache regularly
|
||||
if number_of_frames_processed_since_last_cleared_cuda_cache >= clear_cache_after_n_frames:
|
||||
print("Comfy-VFI: Clearing cache...", end=' ')
|
||||
soft_empty_cache()
|
||||
number_of_frames_processed_since_last_cleared_cuda_cache = 0
|
||||
print("Done cache clearing")
|
||||
|
||||
gc.collect()
|
||||
|
||||
if final_logging:
|
||||
print(f"Comfy-VFI done! {len(output_frames)} frames generated at resolution: {output_frames[0].shape}")
|
||||
# Append final frame
|
||||
output_frames[out_len] = frames[-1:]
|
||||
out_len += 1
|
||||
# clear cache for courtesy
|
||||
if final_logging:
|
||||
print("Comfy-VFI: Final clearing cache...", end = ' ')
|
||||
soft_empty_cache()
|
||||
if final_logging:
|
||||
print("Done cache clearing")
|
||||
return output_frames[:out_len]
|
||||
|
||||
def generic_frame_loop(
|
||||
model_name,
|
||||
frames,
|
||||
clear_cache_after_n_frames,
|
||||
multiplier: typing.Union[typing.SupportsInt, typing.List],
|
||||
return_middle_frame_function,
|
||||
*return_middle_frame_function_args,
|
||||
interpolation_states: InterpolationStateList = None,
|
||||
use_timestep=True,
|
||||
dtype=torch.float32):
|
||||
|
||||
assert_batch_size(frames, vfi_name=model_name.replace('_', ' ').replace('VFI', ''))
|
||||
if type(multiplier) == int:
|
||||
return _generic_frame_loop(
|
||||
frames,
|
||||
clear_cache_after_n_frames,
|
||||
multiplier,
|
||||
return_middle_frame_function,
|
||||
*return_middle_frame_function_args,
|
||||
interpolation_states=interpolation_states,
|
||||
use_timestep=use_timestep,
|
||||
dtype=dtype
|
||||
)
|
||||
if type(multiplier) == list:
|
||||
multipliers = list(map(int, multiplier))
|
||||
multipliers += [2] * (len(frames) - len(multipliers) - 1)
|
||||
frame_batches = []
|
||||
for frame_itr in range(len(frames) - 1):
|
||||
multiplier = multipliers[frame_itr]
|
||||
if multiplier == 0: continue
|
||||
frame_batch = _generic_frame_loop(
|
||||
frames[frame_itr:frame_itr+2],
|
||||
clear_cache_after_n_frames,
|
||||
multiplier,
|
||||
return_middle_frame_function,
|
||||
*return_middle_frame_function_args,
|
||||
interpolation_states=interpolation_states,
|
||||
use_timestep=use_timestep,
|
||||
dtype=dtype,
|
||||
final_logging=False
|
||||
)
|
||||
if frame_itr != len(frames) - 2: # Not append last frame unless this batch is the last one
|
||||
frame_batch = frame_batch[:-1]
|
||||
frame_batches.append(frame_batch)
|
||||
output_frames = torch.cat(frame_batches)
|
||||
print(f"Comfy-VFI done! {len(output_frames)} frames generated at resolution: {output_frames[0].shape}")
|
||||
return output_frames
|
||||
raise NotImplementedError(f"multipiler of {type(multiplier)}")
|
||||
|
||||
class FloatToInt:
|
||||
@classmethod
|
||||
def INPUT_TYPES(s):
|
||||
return {
|
||||
"required": {
|
||||
"float": ("FLOAT", {"default": 0, 'min': 0, 'step': 0.01})
|
||||
}
|
||||
}
|
||||
|
||||
RETURN_TYPES = ("INT",)
|
||||
FUNCTION = "convert"
|
||||
CATEGORY = "ComfyUI-Frame-Interpolation"
|
||||
|
||||
def convert(self, float):
|
||||
if hasattr(float, "__iter__"):
|
||||
return (list(map(int, float)),)
|
||||
return (int(float),)
|
||||
|
||||
""" def generic_4frame_loop(
|
||||
frames,
|
||||
clear_cache_after_n_frames,
|
||||
multiplier: typing.SupportsInt,
|
||||
return_middle_frame_function,
|
||||
*return_middle_frame_function_args,
|
||||
interpolation_states: InterpolationStateList = None,
|
||||
use_timestep=False):
|
||||
|
||||
if use_timestep: raise NotImplementedError("Timestep 4 frame VFI model")
|
||||
def non_timestep_inference(frame_0, frame_1, frame_2, frame_3, n):
|
||||
middle = return_middle_frame_function(frame_0, frame_1, None, *return_middle_frame_function_args)
|
||||
if n == 1:
|
||||
return [middle]
|
||||
first_half = non_timestep_inference(frame_0, middle, n=n//2)
|
||||
second_half = non_timestep_inference(middle, frame_1, n=n//2)
|
||||
if n%2:
|
||||
return [*first_half, middle, *second_half]
|
||||
else:
|
||||
return [*first_half, *second_half] """
|
||||
@@ -0,0 +1,389 @@
|
||||
{
|
||||
"sources": [
|
||||
{
|
||||
"id": "literals",
|
||||
"file": "__init__.py",
|
||||
"local_file": "literals____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/M1kep/ComfyLiterals/bdddb08ca82d90d75d97b1d437a652e0284a32ac/__init__.py",
|
||||
"commit": "bdddb08ca82d90d75d97b1d437a652e0284a32ac",
|
||||
"sha256": "f354a716dca76fa3bf1ffc9f7f09b249c7cf9d946d4fba5c501e562b384ea4fe",
|
||||
"git_blob_sha1": "a8690d1230f4e546188d1d236b6fcdb96914b448"
|
||||
},
|
||||
{
|
||||
"id": "literals",
|
||||
"file": "nodes.py",
|
||||
"local_file": "literals__nodes.py",
|
||||
"url": "https://raw.githubusercontent.com/M1kep/ComfyLiterals/bdddb08ca82d90d75d97b1d437a652e0284a32ac/nodes.py",
|
||||
"commit": "bdddb08ca82d90d75d97b1d437a652e0284a32ac",
|
||||
"sha256": "10e60e8520e8477326201e26d2e2c1fcc6f7ce519c5401a591050552e6e5203c",
|
||||
"git_blob_sha1": "276f7eb573ca34b76e010af8d9bf4811ca0b7239"
|
||||
},
|
||||
{
|
||||
"id": "literals",
|
||||
"file": "README.md",
|
||||
"local_file": "literals__README.md",
|
||||
"url": "https://raw.githubusercontent.com/M1kep/ComfyLiterals/bdddb08ca82d90d75d97b1d437a652e0284a32ac/README.md",
|
||||
"commit": "bdddb08ca82d90d75d97b1d437a652e0284a32ac",
|
||||
"sha256": "8c65bb80eb814a838c5e2c34dfd698d46358ef8e1b6b5ca1b26f42fe765d039a",
|
||||
"git_blob_sha1": "91afb84544efee74da93d07f2e11d4392424deed"
|
||||
},
|
||||
{
|
||||
"id": "cr",
|
||||
"file": "__init__.py",
|
||||
"local_file": "cr____init__.py",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/__init__.py",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "f5648f54dad6044763ac2f5f75bb26ec7f24bb43a8c4a6f6be62e523efee2ff6",
|
||||
"git_blob_sha1": "e5af18356e8765423954ea7c7d22b4f32fcdd9c0"
|
||||
},
|
||||
{
|
||||
"id": "cr",
|
||||
"file": "nodes/nodes_upscale.py",
|
||||
"local_file": "cr__nodes__nodes_upscale.py",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_upscale.py",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "f583b134f0e6b1463e86b31b0f5aa8158ff79a4ac9b847c7a8954d9892bb60e5",
|
||||
"git_blob_sha1": "a94ee4813bc96b7d399d975a6afca6096c25575e"
|
||||
},
|
||||
{
|
||||
"id": "cr",
|
||||
"file": "nodes/functions_upscale.py",
|
||||
"local_file": "cr__nodes__functions_upscale.py",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/functions_upscale.py",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "6d15ba3e9d9cfc77bab1eebe770c20bcde00256a0ee181f93b9b422865133ab1",
|
||||
"git_blob_sha1": "2c25f0354fa53f4863aefd396963c917b320901f"
|
||||
},
|
||||
{
|
||||
"id": "cr",
|
||||
"file": "node_mappings.py",
|
||||
"local_file": "cr__node_mappings.py",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633",
|
||||
"git_blob_sha1": "a4a1bc4ff001961a64e24bcfa59de528fbc8a6ea"
|
||||
},
|
||||
{
|
||||
"id": "cr",
|
||||
"file": "README.md",
|
||||
"local_file": "cr__README.md",
|
||||
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/README.md",
|
||||
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
|
||||
"sha256": "75856e8291e8d17f5553256d4641088237e3d737770a5b3358e95892d3fcac62",
|
||||
"git_blob_sha1": "38ef95ca4ea4cd87c2289f078aec1a98093e328c"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "package.json",
|
||||
"local_file": "frontend__package.json",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/package.json",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"sha256": "779859b44ef43fa6c7967e933757eb45c1310f1c9a1dc2a5939814beee657df5",
|
||||
"git_blob_sha1": "c8571c621685462ca24a43f1f4e440b724a01b25"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "package-lock.json",
|
||||
"local_file": "frontend__package-lock.json",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/package-lock.json",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"sha256": "69ef63cb797d33667714507f0dc3d482898f69d4ed20816d7bcd8f5b8f63a217",
|
||||
"git_blob_sha1": "97a8f5a5062b55c158a8732cf15793f8de6cc2a9"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/scripts/widgets.ts",
|
||||
"local_file": "frontend__src__scripts__widgets.ts",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/src/scripts/widgets.ts",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"sha256": "c0dbe60dd08111e6c589c4dfa86ad9be73b4a30007153aa6ac428600deda204e",
|
||||
"git_blob_sha1": "90f5e54f7d42c7db18a1c0622f97d4a2003ceb4d"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/scripts/app.ts",
|
||||
"local_file": "frontend__src__scripts__app.ts",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/src/scripts/app.ts",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"sha256": "c1a9217d3ef3e16e4b7bebe000b796083c5ac97f098fff7e64566046418455c9",
|
||||
"git_blob_sha1": "31d2ba1ccbc553a6e03b54ebd4c5859a06ff6247"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/extensions/core/widgetInputs.ts",
|
||||
"local_file": "frontend__src__extensions__core__widgetInputs.ts",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/src/extensions/core/widgetInputs.ts",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"sha256": "998f0f5e517080c2ea778f4e9c37723db174bb195a6f6960dfd6827a8fb49d4d",
|
||||
"git_blob_sha1": "ee6dab6838376d0cb83d6a20da10751dc7401d32"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "LICENSE",
|
||||
"local_file": "frontend__LICENSE",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/LICENSE",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"file": "src/composables/widgets/useStringWidget.ts",
|
||||
"local_file": "frontend__src__composables__widgets__useStringWidget.ts",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33/src/composables/widgets/useStringWidget.ts",
|
||||
"commit": "8c05266b83b5024f2c12c8de6c2a0a4ecf2ebd33",
|
||||
"git_blob_sha1": "d5298338e9bf1cfc9e0df5d4dc68e2d6fd86a8ea",
|
||||
"sha256": "768a772862314723552dbdf1d5e50fe4d505edd002f94cfefdb2d53ed4b0ed04"
|
||||
},
|
||||
{
|
||||
"id": "litegraph",
|
||||
"file": "package/dist/litegraph.es.js",
|
||||
"local_file": "litegraph__package__dist__litegraph.es.js",
|
||||
"url": "https://registry.npmjs.org/@comfyorg/litegraph/-/litegraph-0.15.15.tgz",
|
||||
"commit": "npm0.15.15包SHA256:ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"sha256": "6242fb80a52ce2989ab89e1d87103a0c174c783ebdca0b5359fedc360726bd40"
|
||||
},
|
||||
{
|
||||
"id": "litegraph",
|
||||
"file": "package/LICENSE",
|
||||
"local_file": "litegraph__package__LICENSE",
|
||||
"url": "https://registry.npmjs.org/@comfyorg/litegraph/-/litegraph-0.15.15.tgz",
|
||||
"commit": "npm0.15.15包SHA256:ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9"
|
||||
},
|
||||
{
|
||||
"id": "litegraph",
|
||||
"file": "package/package.json",
|
||||
"local_file": "litegraph__package__package.json",
|
||||
"url": "https://registry.npmjs.org/@comfyorg/litegraph/-/litegraph-0.15.15.tgz",
|
||||
"commit": "npm0.15.15包SHA256:ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ccd21948eab83af59321b9ff80fa4c11f6f5ef639a210f7fb8e77a1129bb7769",
|
||||
"sha256": "7a9758d292a422fcec9af33159b54da11c90114722b3eb786dd19224b8103241"
|
||||
},
|
||||
{
|
||||
"id": "rife",
|
||||
"file": "__init__.py",
|
||||
"local_file": "rife____init__.py",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "e7e8110284e8d15010307a578145b456250a32864362be6714c27df71e6cd911"
|
||||
},
|
||||
{
|
||||
"id": "rife",
|
||||
"file": "vfi_models/rife/__init__.py",
|
||||
"local_file": "rife__vfi_models__rife____init__.py",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "9a4ea2203a99418d87a4c96a55e2af90da702aea0ff1e1cd96161fc149950942"
|
||||
},
|
||||
{
|
||||
"id": "rife",
|
||||
"file": "vfi_models/rife/rife_arch.py",
|
||||
"local_file": "rife__vfi_models__rife__rife_arch.py",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "ed376ee9bad4e174bc6d64c67f9f27ad781a136313e98d75bcd0eb6a88b6ddef"
|
||||
},
|
||||
{
|
||||
"id": "rife",
|
||||
"file": "vfi_utils.py",
|
||||
"local_file": "rife__vfi_utils.py",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "52d53ab3600d83a3409328f02463ccd9cf4588154675b5fe70855c6cc49e5b0b"
|
||||
},
|
||||
{
|
||||
"id": "rife",
|
||||
"file": "LICENSE",
|
||||
"local_file": "rife__LICENSE",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "229c606f2589aca9b452bb4483390076eb0fbdb4885a57208d0ca7736fb3ad5d"
|
||||
},
|
||||
{
|
||||
"id": "rife",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "rife__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/fannovel16/comfyui-frame-interpolation/1.0.7/node.zip",
|
||||
"commit": "发布包SHA256:510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "510fd9d9c7f1c95a8747a5de478867de52c9dae633d5b7d2f5e9f3a68218f7b6",
|
||||
"sha256": "eb11e64e367c91b02731b422709c9c70909078efa7d4e16ee59230628e5b06ab"
|
||||
},
|
||||
{
|
||||
"id": "essentials",
|
||||
"file": "__init__.py",
|
||||
"local_file": "essentials____init__.py",
|
||||
"url": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"commit": "发布包SHA256:ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"sha256": "4c3e4377a3a3c62592ddbbc78f24d2fe1171cf560f9eda393c872257320ece14"
|
||||
},
|
||||
{
|
||||
"id": "essentials",
|
||||
"file": "image.py",
|
||||
"local_file": "essentials__image.py",
|
||||
"url": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"commit": "发布包SHA256:ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"sha256": "f31084cd23ff87e8e46e85f7c864e7de9ba398ffaf31f79850d04f48ea28e192"
|
||||
},
|
||||
{
|
||||
"id": "essentials",
|
||||
"file": "LICENSE",
|
||||
"local_file": "essentials__LICENSE",
|
||||
"url": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"commit": "发布包SHA256:ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"sha256": "ee6e5ac8e76903e8052ae64bf4ffefb0637d216e3c8fbc6065ec8fa4c576f8d5"
|
||||
},
|
||||
{
|
||||
"id": "essentials",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "essentials__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/matteo/comfyui_essentials/1.1.0/node.tar.gz",
|
||||
"commit": "发布包SHA256:ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "ebd99d7463c7be7f13cf8ddd064d6e9bda151199c267b0b9cb27ff634ccb6840",
|
||||
"sha256": "1214c1dfc74e36facd99ba1d3aae55581780be06075d52ffd3cc0f9e5a9cb82d"
|
||||
},
|
||||
{
|
||||
"id": "impact",
|
||||
"file": "__init__.py",
|
||||
"local_file": "impact____init__.py",
|
||||
"url": "https://cdn.comfy.org/drltdata/comfyui-impact-pack/8.25.1/node.zip",
|
||||
"commit": "发布包SHA256:f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"sha256": "c28bb39a58fff73b476f3304e26ef5d57e3d5bec7069f86b0b0f69a9528195c0"
|
||||
},
|
||||
{
|
||||
"id": "impact",
|
||||
"file": "modules/impact/util_nodes.py",
|
||||
"local_file": "impact__modules__impact__util_nodes.py",
|
||||
"url": "https://cdn.comfy.org/drltdata/comfyui-impact-pack/8.25.1/node.zip",
|
||||
"commit": "发布包SHA256:f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"sha256": "e83abc1f31c8bc38db14d8088694c528e6bf772acb7d0ed4963ca855ba5e04f2"
|
||||
},
|
||||
{
|
||||
"id": "impact",
|
||||
"file": "LICENSE.txt",
|
||||
"local_file": "impact__LICENSE.txt",
|
||||
"url": "https://cdn.comfy.org/drltdata/comfyui-impact-pack/8.25.1/node.zip",
|
||||
"commit": "发布包SHA256:f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"id": "impact",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "impact__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/drltdata/comfyui-impact-pack/8.25.1/node.zip",
|
||||
"commit": "发布包SHA256:f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f02132b797ad8f9e459f11c8af7e86c024cea7c3e1c4bde50ec359a3d85be50c",
|
||||
"sha256": "a272c2fe9df7252eb4b7d61a53ccc897d231157525695377a44a7e2bace8587f"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "__init__.py",
|
||||
"local_file": "vhs____init__.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "d3e74626bfdd628d0e96b190b2c07e25fa1e5ee9f1f402c7c650446f86b0838f"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/nodes.py",
|
||||
"local_file": "vhs__videohelpersuite__nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a7e1ee2f0222a0b4271464256e8390b7bc18604eebe4d7228fbca9dee7a5d365"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/load_video_nodes.py",
|
||||
"local_file": "vhs__videohelpersuite__load_video_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "a62df0fad987729e3de500dc85c786587b609d9eb571f09fdc92d25b9d530e26"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "videohelpersuite/utils.py",
|
||||
"local_file": "vhs__videohelpersuite__utils.py",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "53560f3ce411f788491a6546cb044f3fa019e4deafe8128b5e6e5f6a45997504"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "web/js/VHS.core.js",
|
||||
"local_file": "vhs__web__js__VHS.core.js",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "666192e7a2867d9da428d84b83c44f40c41b3d4e83d849c16104af6ef60f96cb"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "video_formats/h264-mp4.json",
|
||||
"local_file": "vhs__video_formats__h264-mp4.json",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "736ca4a7057d26ae25cc57c5d686afbc95980c439199c17c8be02b3136cb57b8"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "LICENSE",
|
||||
"local_file": "vhs__LICENSE",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986"
|
||||
},
|
||||
{
|
||||
"id": "vhs",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "vhs__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"commit": "发布包SHA256:f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "f845b43edc8342439c42809524669f8aceecfb9eca946d660e351364d341d9b1",
|
||||
"sha256": "10c69eeae93c21cdfc22cb63f39ba4ce83bcd459725fcf6beb0298276541a1c2"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
[
|
||||
".github/workflows/publish.yml",
|
||||
".gitignore",
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"__init__.py",
|
||||
"pyproject.toml",
|
||||
"requirements.txt",
|
||||
"testframework/README.md",
|
||||
"testframework/__init__.py",
|
||||
"testframework/server.py",
|
||||
"testframework/web/js/testRunner.js",
|
||||
"tests/README.md",
|
||||
"tests/audio.json",
|
||||
"tests/batch4x4.json",
|
||||
"tests/converted-format-input.json",
|
||||
"tests/converted-input.json",
|
||||
"tests/loop.json",
|
||||
"tests/old-prores.json",
|
||||
"tests/old-vae-conversion.json",
|
||||
"tests/simple.json",
|
||||
"video_formats/16bit-png.json",
|
||||
"video_formats/8bit-png.json",
|
||||
"video_formats/ProRes.json",
|
||||
"video_formats/av1-webm.json",
|
||||
"video_formats/ffmpeg-gif.json",
|
||||
"video_formats/ffv1-mkv.json",
|
||||
"video_formats/gifski.json",
|
||||
"video_formats/h264-mp4.json",
|
||||
"video_formats/h265-mp4.json",
|
||||
"video_formats/nvenc_av1-mp4.json",
|
||||
"video_formats/nvenc_h264-mp4.json",
|
||||
"video_formats/nvenc_hevc-mp4.json",
|
||||
"video_formats/webm.json",
|
||||
"videohelpersuite/batched_nodes.py",
|
||||
"videohelpersuite/documentation.py",
|
||||
"videohelpersuite/image_latent_nodes.py",
|
||||
"videohelpersuite/latent_preview.py",
|
||||
"videohelpersuite/load_images_nodes.py",
|
||||
"videohelpersuite/load_video_nodes.py",
|
||||
"videohelpersuite/logger.py",
|
||||
"videohelpersuite/nodes.py",
|
||||
"videohelpersuite/server.py",
|
||||
"videohelpersuite/utils.py",
|
||||
"web/js/VHS.core.js",
|
||||
"web/js/videoinfo.js"
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"changelog": "",
|
||||
"createdAt": "2025-09-18T01:19:24.314272Z",
|
||||
"dependencies": [
|
||||
"opencv-python",
|
||||
"imageio-ffmpeg"
|
||||
],
|
||||
"deprecated": false,
|
||||
"downloadUrl": "https://cdn.comfy.org/kosinkadink/comfyui-videohelpersuite/1.7.7/node.zip",
|
||||
"id": "63d6d713-b45b-4e4e-8c25-18f9d9d37ade",
|
||||
"node_id": "comfyui-videohelpersuite",
|
||||
"status": "NodeVersionStatusActive",
|
||||
"supported_accelerators": [],
|
||||
"supported_comfyui_frontend_version": "",
|
||||
"supported_comfyui_version": "",
|
||||
"supported_os": [],
|
||||
"tags": [],
|
||||
"version": "1.7.7"
|
||||
}
|
||||
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user