HEL-892: document Flux masked inpainting reference without enabling execution
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -15,6 +15,9 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
|
||||
|
||||
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
|
||||
DEFINITIONS = {
|
||||
(
|
||||
"example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json"
|
||||
): "d967308e737a617a4d1a19c0f391dd3aea0285547fcbe57f086b5e9307e09724",
|
||||
(
|
||||
"example_ComfyUI_workflows/3-图像生成/Flux/3_flux2_klein_图生图一致性增强(大雄lora).json"
|
||||
): "56362a67335a3b2d5692688d77489e1dee87462454ad3f405b7d6e6c9d90f83f",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,243 @@
|
||||
"Flux2 editorial source binding, distinct saved states and unchanged eligibility."
|
||||
|
||||
import copy
|
||||
import hashlib
|
||||
import json
|
||||
import runpy
|
||||
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/flux2-inpaint-document-evidence")
|
||||
PATH = "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json"
|
||||
RAW = (REPO / PATH).read_bytes()
|
||||
SOURCE = json.loads(RAW)
|
||||
REVIEW = review_for(PATH, hashlib.sha1(RAW).hexdigest())
|
||||
BLOCK = REVIEW["fixed_version_document"]
|
||||
|
||||
|
||||
def pointer(obj, p):
|
||||
for part in p.strip("/").split("/"):
|
||||
obj = obj[int(part)] if isinstance(obj, list) else obj[part]
|
||||
return obj
|
||||
|
||||
|
||||
def doc(s=SOURCE, r=REVIEW):
|
||||
return build_document(PATH, s, None, None, [], r)
|
||||
|
||||
|
||||
def refuse(s, r):
|
||||
r["fixed_version_document"]["canonical_sha256"] = hashlib.sha256(canonical(s)).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_every_saved_position_json_type_and_exact_citations(f):
|
||||
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
|
||||
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
|
||||
assert "named_value" not in f and "无widgets_values_named" in f["named_pointer"]
|
||||
if f["input_pointer"].startswith("/"):
|
||||
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
|
||||
for i in f["evidence"]:
|
||||
e = BLOCK["sources"][i]
|
||||
raw = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
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", ["position", "editorial"])
|
||||
def test_caller_rehash_cannot_expand_trust(f, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
if variant == "editorial":
|
||||
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
|
||||
else:
|
||||
parent, _, key = f["pointer"].rpartition("/")
|
||||
pointer(s, parent)[int(key)] = "forged"
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("index", range(27))
|
||||
@pytest.mark.parametrize("variant", ["mode", "identity", "named"])
|
||||
def test_all_nodes_bound(index, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
n = s["nodes"][index]
|
||||
if variant == "mode":
|
||||
n["mode"] = 0 if n["mode"] == 4 else 4
|
||||
elif variant == "identity":
|
||||
n["properties"]["ver"] = "forged"
|
||||
else:
|
||||
n["widgets_values_named"] = {"forged": 0}
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("index", range(34))
|
||||
def test_all_edges_bound(index):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
s["links"][index][3] = 9999
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("node", [103, 141, 140, 139, 104, 143, 151, 152, 153])
|
||||
@pytest.mark.parametrize("variant", ["missing", "empty", "null", "added"])
|
||||
def test_missing_empty_null_distinct(node, variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
n = next(n for n in s["nodes"] if n["id"] == node)
|
||||
old = copy.deepcopy(n)
|
||||
if variant == "missing":
|
||||
n.pop("widgets_values", None)
|
||||
else:
|
||||
n["widgets_values"] = {"empty": [], "null": None, "added": [0]}[variant]
|
||||
if n != old:
|
||||
refuse(s, r)
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"variant",
|
||||
["overview", "citation", "sha", "frontend", "counts", "tab", "ue", "unconnected-output"],
|
||||
)
|
||||
def test_metadata_and_unconnected_branch_bound(variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
b = r["fixed_version_document"]
|
||||
if variant == "overview":
|
||||
b["user_overview"] = "forged"
|
||||
elif variant == "citation":
|
||||
b["sources"][0]["sha256"] = "forged"
|
||||
elif variant == "sha":
|
||||
r["source_sha"] = "forged"
|
||||
elif variant == "frontend":
|
||||
s["extra"]["frontendVersion"] = "1.52.7"
|
||||
elif variant == "counts":
|
||||
b["counts"]["final_prompt_constructed"] = True
|
||||
elif variant == "tab":
|
||||
s["nodes"][0]["properties"]["tabWidth"] = 99
|
||||
elif variant == "ue":
|
||||
s["nodes"][0]["properties"]["ue_properties"]["version"] = "7.8"
|
||||
else:
|
||||
next(n for n in s["nodes"] if n["id"] == 103)["outputs"][1]["links"] = [999]
|
||||
assert not doc(s, r)["fixed_version"]["matched"]
|
||||
|
||||
|
||||
def test_exact_document_and_unchanged_execution_status():
|
||||
b = runpy.run_path(str(OUT / "build_definition.py"))["build"]()
|
||||
assert canonical(b) == canonical(BLOCK)
|
||||
assert len(DEFINITIONS) == 50
|
||||
assert len(b["fields"]) == 34 and len(b["comments"]) == 2
|
||||
assert sum(f["role"] == "linked_saved_cache" for f in b["fields"]) == 4
|
||||
assert sum(f["role"] == "frontend_reference_only" for f in b["fields"]) == 3
|
||||
d = doc()
|
||||
assert d["fixed_version"]["matched"]
|
||||
assert not d["status"]["doc_done"] and not d["status"]["exec_verified"]
|
||||
assert hashlib.sha256(canonical(BLOCK)).hexdigest() == DEFINITIONS[PATH]
|
||||
assert BLOCK["comments"][0]["text"] == SOURCE["nodes"][0]["widgets_values"][0]
|
||||
assert len(BLOCK["comments"][0]["text"]) == 1396
|
||||
assert all(s["id"] != "impact" for s in BLOCK["sources"])
|
||||
assert {s["tag"] for s in BLOCK["sources"] if s["id"] == "lora"} == {"v0.21.1"}
|
||||
|
||||
|
||||
def test_mask_initial_latent_reference_conditions_comparer_and_vae_fanout():
|
||||
ns = {n["id"]: n for n in SOURCE["nodes"]}
|
||||
edges = {(a, b, c, d, e) for _, a, b, c, d, e in SOURCE["links"]}
|
||||
for edge in [
|
||||
(155, 0, 150, 0, "IMAGE"),
|
||||
(155, 1, 150, 1, "MASK"),
|
||||
(150, 3, 146, 2, "MASK"),
|
||||
(150, 0, 153, 0, "IMAGE"),
|
||||
(153, 0, 146, 0, "IMAGE"),
|
||||
(153, 0, 152, 0, "IMAGE"),
|
||||
(152, 0, 145, 1, "IMAGE"),
|
||||
(150, 0, 141, 0, "IMAGE"),
|
||||
(146, 0, 103, 4, "LATENT"),
|
||||
(110, 0, 151, 0, "VAE"),
|
||||
(151, 0, 141, 1, "VAE"),
|
||||
(151, 0, 146, 1, "VAE"),
|
||||
(151, 0, 104, 1, "VAE"),
|
||||
(141, 0, 140, 1, "LATENT"),
|
||||
(141, 0, 139, 1, "LATENT"),
|
||||
(150, 1, 101, 1, "INT"),
|
||||
(150, 2, 101, 2, "INT"),
|
||||
(104, 0, 145, 0, "IMAGE"),
|
||||
]:
|
||||
assert edge in edges
|
||||
assert not any(n["type"] == "EmptyFlux2LatentImage" for n in ns.values())
|
||||
assert ns[103]["outputs"][1]["links"] == []
|
||||
fs = {(f["node_id"], f["field"]): f for f in BLOCK["fields"]}
|
||||
assert fs["108", "text"]["value"] == "将遮罩中的物品换成紫色葡萄"
|
||||
assert fs["109", "text"]["value"] == ""
|
||||
assert fs["105", "noise_seed"]["value"] == 775361803314234
|
||||
assert fs["101", "steps"]["value"] == 12
|
||||
assert fs["146", "grow_mask_by"]["value"] == 6
|
||||
assert fs["155", "image"]["value"] == "ComfyUI_00150_.png"
|
||||
assert fs["150", "divisible_by"]["value"] == 2
|
||||
assert fs["150", "upscale_method"]["value"] == "nearest-exact"
|
||||
assert fs["150", "keep_proportion"]["value"] == "resize"
|
||||
assert fs["144", "resolution"]["value"] == "720x1280 (9:16) (竖屏)"
|
||||
assert "遮罩外像素严格不变" in BLOCK["user_overview"]
|
||||
assert BLOCK["comments"][1]["text"] == "# 右键遮罩编辑添加遮罩"
|
||||
assert [c["node_id"] for c in BLOCK["comments"]] == ["97", "154"]
|
||||
assert [x["name"] for x in fs["145", "rgthree_comparer"]["value"]] == ["A", "B"]
|
||||
assert all("temp_uvrnh" in x["url"] for x in fs["145", "rgthree_comparer"]["value"])
|
||||
|
||||
|
||||
def test_exact_version_passive_inpaint_load_mask_and_resize_semantics():
|
||||
ref = OUT.parent / "flux2-img-reference"
|
||||
nodes = (ref / "lora__nodes.py").read_text()
|
||||
assert "downscale_ratio = vae.spacial_compression_encode()" in nodes
|
||||
assert (
|
||||
"mask_erosion = torch.clamp(torch"
|
||||
".nn.functional.conv2d(mask.round"
|
||||
"(), kernel_tensor, padding=paddi"
|
||||
"ng), 0, 1)"
|
||||
) in nodes
|
||||
assert '"noise_mask": (mask_erosion[:,:,:x,:y].round())' in nodes
|
||||
assert "components.alpha[..., -1]" in nodes
|
||||
assert "torch.zeros((components.images.shape[0], 64, 64)" in nodes
|
||||
kj = (ref / "kj__nodes__image_nodes.py").read_text()
|
||||
assert "mask.shape[-2:] == (64, 64) and (H != 64 or W != 64)" in kj
|
||||
assert 'RETURN_NAMES = ("IMAGE", "width", "height", "mask",)' in kj
|
||||
assert 'mask.unsqueeze(1), W, H, "bilinear"' in kj
|
||||
assert "out_mask.unsqueeze(1), width, height, upscale_method" in kj
|
||||
sampler = (ref / "core__comfy_extras__nodes_custom_sampler.py").read_text()
|
||||
assert "denoise_mask=noise_mask" in sampler
|
||||
assert "RETURN_TYPES = ()" in (ref / "core__nodes.py").read_text()
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"variant",
|
||||
[
|
||||
"note",
|
||||
"mask-note",
|
||||
"history",
|
||||
"slide",
|
||||
"image",
|
||||
"label",
|
||||
"lora",
|
||||
"mask-slot",
|
||||
"inpaint-version",
|
||||
"load-version",
|
||||
],
|
||||
)
|
||||
def test_nested_state_and_distinct_provider_versions_fail_closed(variant):
|
||||
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
|
||||
ns = {n["id"]: n for n in s["nodes"]}
|
||||
if variant in ["note", "mask-note"]:
|
||||
ns[97 if variant == "note" else 154]["widgets_values"][0] += "forged"
|
||||
elif variant == "history":
|
||||
ns[145]["widgets_values"][0][1]["url"] = "forged"
|
||||
elif variant == "slide":
|
||||
ns[145]["properties"]["comparer_mode"] = "Click"
|
||||
elif variant == "image":
|
||||
ns[155]["properties"]["image"] = "forged"
|
||||
elif variant == "label":
|
||||
ns[143]["properties"]["cnr_id"] = "rgthree-comfy"
|
||||
elif variant == "lora":
|
||||
ns[142]["mode"] = 4
|
||||
elif variant == "mask-slot":
|
||||
ns[150]["outputs"][3]["type"] = "IMAGE"
|
||||
else:
|
||||
ns[146 if variant == "inpaint-version" else 155]["properties"]["ver"] = "0.8.2"
|
||||
refuse(s, r)
|
||||
File diff suppressed because it is too large
Load Diff
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,11 @@
|
||||
........................................................................ [ 25%]
|
||||
........................................................................ [ 50%]
|
||||
........................................................................ [ 75%]
|
||||
....................................................................... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
|
||||
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-6756e51feaa2/workdir/aigc-home/calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
287 passed, 1 warning in 4.84s
|
||||
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"fixed_count": 158,
|
||||
"fixed_paths": {
|
||||
"/api/workflows": 3,
|
||||
"/api/workflows/49": 4,
|
||||
"/api/workflows/47": 4,
|
||||
"/api/workflows/48": 3,
|
||||
"/api/workflows/46": 3,
|
||||
"/api/workflows/45": 3,
|
||||
"/api/workflows/42": 3,
|
||||
"/api/workflows/41": 3,
|
||||
"/api/workflows/40": 3,
|
||||
"/api/workflows/39": 3,
|
||||
"/api/workflows/38": 3,
|
||||
"/api/workflows/37": 3,
|
||||
"/api/workflows/18": 3,
|
||||
"/api/workflows/20": 3,
|
||||
"/api/workflows/30": 3,
|
||||
"/api/workflows/32": 3,
|
||||
"/api/workflows/34": 3,
|
||||
"/api/workflows/33": 3,
|
||||
"/api/workflows/31": 3,
|
||||
"/api/workflows/29": 3,
|
||||
"/api/workflows/28": 3,
|
||||
"/api/workflows/27": 3,
|
||||
"/api/workflows/26": 3,
|
||||
"/api/workflows/17": 3,
|
||||
"/api/workflows/4": 3,
|
||||
"/api/workflows/15": 3,
|
||||
"/api/workflows/11": 3,
|
||||
"/api/workflows/3": 3,
|
||||
"/api/workflows/9": 3,
|
||||
"/api/workflows/16": 3,
|
||||
"/api/workflows/10": 3,
|
||||
"/api/workflows/23": 3,
|
||||
"/api/workflows/8": 3,
|
||||
"/api/workflows/22": 3,
|
||||
"/api/workflows/5": 3,
|
||||
"/api/workflows/6": 3,
|
||||
"/api/workflows/7": 3,
|
||||
"/api/workflows/19": 3,
|
||||
"/api/workflows/13": 3,
|
||||
"/api/workflows/12": 3,
|
||||
"/api/workflows/64": 3,
|
||||
"/api/workflows/62": 3,
|
||||
"/api/workflows/70": 3,
|
||||
"/api/workflows/1": 3,
|
||||
"/api/workflows/36": 3,
|
||||
"/api/workflows/35": 3,
|
||||
"/api/workflows/2": 3,
|
||||
"/api/workflows/25": 3,
|
||||
"/api/workflows/24": 3,
|
||||
"/api/workflows/21": 3,
|
||||
"/api/workflows/14": 3,
|
||||
"/api/settings": 1,
|
||||
"/api/workflows/156": 1,
|
||||
"/api/workflows/157": 1
|
||||
},
|
||||
"polling_count": 12,
|
||||
"polling_paths": {
|
||||
"/api/jobs": 12
|
||||
},
|
||||
"readiness_gets": 1,
|
||||
"detail_fixture_intercepts": 6,
|
||||
"fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend": true,
|
||||
"polling_snapshot_delta": {
|
||||
"/api/jobs": 0,
|
||||
"/api/events": 0
|
||||
},
|
||||
"polling_snapshot_tolerance": 1
|
||||
}
|
||||
@@ -0,0 +1,728 @@
|
||||
{
|
||||
"base": "559fbf4508ae21143074400c5c33bab0bcc5631c",
|
||||
"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_forty_nine_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
@@ -0,0 +1,273 @@
|
||||
|
||||
> calliope-web@1.5.8 build
|
||||
> vite build
|
||||
|
||||
▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
|
||||
|
||||
tsconfig.json:2:12:
|
||||
2 │ "extends": "./.svelte-kit/tsconfig.json",
|
||||
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
vite v6.4.3 building SSR bundle for production...
|
||||
transforming...
|
||||
6:03:33 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
||||
https://svelte.dev/e/element_invalid_self_closing_tag
|
||||
343: <div class="page-pad">
|
||||
344: <Skeleton height="64px" />
|
||||
345: <div class="gap" />
|
||||
^
|
||||
346: <Skeleton height="280px" />
|
||||
347: </div>
|
||||
6:03:34 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
|
||||
https://svelte.dev/e/a11y_media_has_caption
|
||||
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
|
||||
155: {#if shot.job?.status === 'done' && shot.job.output}
|
||||
156: <video
|
||||
^
|
||||
157: class="vshot-video"
|
||||
158: src={assetUrl(shot.job.output) ?? undefined}
|
||||
"handleConnectionChange" and "handleAttributionWarning" are imported from external module "@xyflow/system" but never used in "node_modules/@xyflow/svelte/dist/lib/hooks/useNodeConnections.svelte.js", "node_modules/@xyflow/svelte/dist/lib/components/Handle/Handle.svelte" and "node_modules/@xyflow/svelte/dist/lib/components/Attribution/Attribution.svelte".
|
||||
✓ 521 modules transformed.
|
||||
rendering chunks...
|
||||
vite v6.4.3 building for production...
|
||||
transforming...
|
||||
6:03:36 AM [vite-plugin-svelte] src/routes/workbench/[id]/+page.svelte:345:3 Self-closing HTML tags for non-void elements are ambiguous — use `<div ...></div>` rather than `<div ... />`
|
||||
https://svelte.dev/e/element_invalid_self_closing_tag
|
||||
343: <div class="page-pad">
|
||||
344: <Skeleton height="64px" />
|
||||
345: <div class="gap" />
|
||||
^
|
||||
346: <Skeleton height="280px" />
|
||||
347: </div>
|
||||
6:03:36 AM [vite-plugin-svelte] src/lib/components/workbench/ShotStagePanel.svelte:156:5 `<video>` elements must have a `<track kind="captions">`
|
||||
https://svelte.dev/e/a11y_media_has_caption
|
||||
154: {#if shot.description}<p class="vshot-desc">{shot.description}</p>{/if}
|
||||
155: {#if shot.job?.status === 'done' && shot.job.output}
|
||||
156: <video
|
||||
^
|
||||
157: class="vshot-video"
|
||||
158: src={assetUrl(shot.job.output) ?? undefined}
|
||||
✓ 763 modules transformed.
|
||||
rendering chunks...
|
||||
computing gzip size...
|
||||
.svelte-kit/output/client/_app/version.json 0.03 kB │ gzip: 0.05 kB
|
||||
.svelte-kit/output/client/.vite/manifest.json 26.73 kB │ gzip: 3.24 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB │ gzip: 0.10 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/12.IyyrLGyK.css 0.22 kB │ gzip: 0.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/6.C62bpzl4.css 0.22 kB │ gzip: 0.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB │ gzip: 0.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB │ gzip: 0.31 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB │ gzip: 0.37 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ConfirmDialog.DOfiQL0c.css 0.91 kB │ gzip: 0.38 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB │ gzip: 0.58 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/18.DG2SembM.css 1.87 kB │ gzip: 0.70 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ImageLightbox.BK2SuPZK.css 2.20 kB │ gzip: 0.72 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/10.-McisAlK.css 4.49 kB │ gzip: 1.20 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/15.Do7_3xO3.css 4.84 kB │ gzip: 1.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/ComfyDynamicForm.BMZDOzpt.css 4.86 kB │ gzip: 1.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/16.D3s-Wa9z.css 5.02 kB │ gzip: 1.31 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/AgentComposer.ub9gqAax.css 6.39 kB │ gzip: 1.59 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/4.D4ArXiOU.css 10.48 kB │ gzip: 2.23 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/11.CkE-wdAx.css 10.49 kB │ gzip: 2.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/3.CU9FCfPU.css 10.86 kB │ gzip: 2.39 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/AgentChat.DoddhUHp.css 11.39 kB │ gzip: 2.53 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/AppShell.BDTKT42t.css 12.74 kB │ gzip: 2.91 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/5.CYAHcbnz.css 15.04 kB │ gzip: 3.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/0.DtQ4sRph.css 19.40 kB │ gzip: 4.66 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/StudioGenerate.DLzq3T0v.css 21.08 kB │ gzip: 4.13 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/19.DdIn3xwb.css 22.49 kB │ gzip: 3.73 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/8.F76ywLuB.css 28.78 kB │ gzip: 5.24 kB
|
||||
.svelte-kit/output/client/_app/immutable/assets/7._yLDI1qf.css 31.71 kB │ gzip: 5.43 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/5.DUJAhBNk.js 0.09 kB │ gzip: 0.10 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Bzak7iHL.js 0.10 kB │ gzip: 0.10 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DTQKaZHR.js 0.10 kB │ gzip: 0.11 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/IKQcdn9t.js 0.12 kB │ gzip: 0.12 kB
|
||||
.svelte-kit/output/client/_app/immutable/entry/start.BJ6_O3Jt.js 0.12 kB │ gzip: 0.11 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B0XwC4Ot.js 0.15 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/17.9g5BCvSE.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/9.BG9alnNy.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BsCRBkET.js 0.18 kB │ gzip: 0.16 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/PLPYKeY9.js 0.19 kB │ gzip: 0.17 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CI9jXNKC.js 0.19 kB │ gzip: 0.16 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/ShXM6jLl.js 0.19 kB │ gzip: 0.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/14.DzhME1wO.js 0.23 kB │ gzip: 0.21 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DkrMbCO4.js 0.23 kB │ gzip: 0.18 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/13.d8cRwCTU.js 0.24 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/jbvGh2cr.js 0.26 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DuR33ltU.js 0.28 kB │ gzip: 0.19 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/LOG_p0wv.js 0.29 kB │ gzip: 0.22 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/2.CIoDKBUR.js 0.37 kB │ gzip: 0.25 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BqqYkBFO.js 0.37 kB │ gzip: 0.26 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/1.C016WxOA.js 0.40 kB │ gzip: 0.28 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/C9dRlz4w.js 0.46 kB │ gzip: 0.30 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DizlLVgY.js 0.47 kB │ gzip: 0.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BkYbArkN.js 0.49 kB │ gzip: 0.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/-UyI9lYi.js 0.51 kB │ gzip: 0.30 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/D41pZ3kD.js 0.56 kB │ gzip: 0.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/O29yiedF.js 0.61 kB │ gzip: 0.36 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/D8EAmlG6.js 0.62 kB │ gzip: 0.36 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BXakyGcx.js 0.71 kB │ gzip: 0.43 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/0jsz6oxm.js 0.75 kB │ gzip: 0.42 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BzVl9ZHh.js 0.83 kB │ gzip: 0.42 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/f7zKxHYB.js 0.84 kB │ gzip: 0.45 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BpPWQjN7.js 0.92 kB │ gzip: 0.44 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B_dFkj9f.js 1.08 kB │ gzip: 0.61 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/12.CbxBeqI0.js 1.18 kB │ gzip: 0.71 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dp1pzeXC.js 1.27 kB │ gzip: 0.73 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/6.CCx6ynX4.js 1.29 kB │ gzip: 0.76 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/wbPk3Yxo.js 1.37 kB │ gzip: 0.66 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DroLD1Vd.js 1.48 kB │ gzip: 0.78 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DvVbqmqL.js 1.49 kB │ gzip: 0.75 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CsctQTBp.js 2.00 kB │ gzip: 1.06 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/C6NPzxMU.js 2.24 kB │ gzip: 0.99 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DBfOsHAR.js 2.77 kB │ gzip: 1.28 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Cfp5XeNU.js 2.94 kB │ gzip: 1.24 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/tTl_1iKp.js 3.08 kB │ gzip: 1.57 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DY6GL6X4.js 3.23 kB │ gzip: 1.55 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/18.4Oh2BYRq.js 3.50 kB │ gzip: 1.69 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/-yw0ATYa.js 4.27 kB │ gzip: 1.52 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dwm6yq4L.js 5.19 kB │ gzip: 2.50 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Bn-IQ-PY.js 5.29 kB │ gzip: 2.16 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/C-1WmkcC.js 6.86 kB │ gzip: 3.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B0Wlifky.js 9.22 kB │ gzip: 2.13 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/16.Bb6Uonem.js 10.26 kB │ gzip: 3.94 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dq0gzhJg.js 10.98 kB │ gzip: 4.12 kB
|
||||
.svelte-kit/output/client/_app/immutable/entry/app.D4EHoCrB.js 11.97 kB │ gzip: 4.01 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/0.CcvzD77g.js 12.03 kB │ gzip: 4.41 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/10.CLmyvs4L.js 16.63 kB │ gzip: 6.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/b4rAb54u.js 16.64 kB │ gzip: 6.28 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BJXZgoNf.js 17.38 kB │ gzip: 6.37 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/kyNCFls4.js 20.28 kB │ gzip: 7.19 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/15.B48O7-Na.js 23.02 kB │ gzip: 7.51 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BVRHrXZg.js 23.98 kB │ gzip: 9.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/11.DeKrPJ4Q.js 24.95 kB │ gzip: 8.35 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/3.xRDClzSH.js 25.68 kB │ gzip: 8.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/4.DFRfwvM3.js 29.61 kB │ gzip: 10.00 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/SBMx5f2U.js 33.93 kB │ gzip: 13.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DTew-HjC.js 38.54 kB │ gzip: 13.85 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/CPluiqx0.js 41.30 kB │ gzip: 15.68 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/19.DXYWNKi7.js 52.59 kB │ gzip: 14.34 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BbmTSwTk.js 71.50 kB │ gzip: 26.91 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/YFC3rnNh.js 81.38 kB │ gzip: 27.49 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/8.Em59WyT8.js 86.49 kB │ gzip: 28.96 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/7.DLOGfRkj.js 214.51 kB │ gzip: 69.05 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BsrzHLJP.js 684.82 kB │ gzip: 180.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/2QcV1iOV.js 720.35 kB │ gzip: 209.00 kB
|
||||
|
||||
(!) Some chunks are larger than 500 kB after minification. Consider:
|
||||
- Using dynamic import() to code-split the application
|
||||
- Use build.rollupOptions.output.manualChunks to improve chunking: https://rollupjs.org/configuration-options/#output-manualchunks
|
||||
- Adjust chunk size limit for this warning via build.chunkSizeWarningLimit.
|
||||
✓ built in 3.76s
|
||||
.svelte-kit/output/server/.vite/manifest.json 23.36 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Icon.BrXLPzfy.css 0.08 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.C62bpzl4.css 0.22 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.IyyrLGyK.css 0.22 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/LanguageSwitcher.BHCsXcey.css 0.33 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Skeleton.BQeWIsLh.css 0.39 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/SafeMedia.CBqd7Keo.css 0.54 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/EmptyState.BXjpyO2u.css 0.58 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/Spinner.us8fwMZC.css 0.73 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ConfirmDialog.C_pBcjz1.css 0.89 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ProgressBar.DG8dH-U_.css 1.44 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DG2SembM.css 1.87 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/ImageLightbox.Mjqtht7n.css 2.18 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.CxLkc7AF.css 3.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.-McisAlK.css 4.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/RefImageGrid.Cg0JH9u1.css 4.86 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.D3s-Wa9z.css 5.02 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AgentComposer.BeAeVWGq.css 6.34 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DH5AEk6F.css 9.35 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.Bra3CMMT.css 10.42 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.BUR6RoLt.css 10.46 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.0zMz792f.css 10.78 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AgentChat.C1veD2Ar.css 11.37 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/AppShell.ymPBcNjP.css 12.64 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_layout.B1MJuaEd.css 19.33 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/StudioGenerate.pbw6ZUUi.css 20.96 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.DdIn3xwb.css 22.49 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.Bs4Fx5Yn.css 28.74 kB
|
||||
.svelte-kit/output/server/_app/immutable/assets/_page.BC6N9k4h.css 31.67 kB
|
||||
.svelte-kit/output/server/entries/pages/_layout.ts.js 0.06 kB
|
||||
.svelte-kit/output/server/entries/pages/agents/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/library/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/models/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/settings/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.ts.js 0.08 kB
|
||||
.svelte-kit/output/server/entries/pages/_page.ts.js 0.12 kB
|
||||
.svelte-kit/output/server/entries/hooks.server.js 0.13 kB
|
||||
.svelte-kit/output/server/chunks/wideLayout.js 0.15 kB
|
||||
.svelte-kit/output/server/entries/pages/build-scene/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/playground/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/projects/_page.ts.js 0.17 kB
|
||||
.svelte-kit/output/server/entries/pages/image/_page.svelte.js 0.20 kB
|
||||
.svelte-kit/output/server/entries/pages/video/_page.svelte.js 0.20 kB
|
||||
.svelte-kit/output/server/entries/pages/project/_id_/_page.ts.js 0.20 kB
|
||||
.svelte-kit/output/server/chunks/index-server.js 0.22 kB
|
||||
.svelte-kit/output/server/env.js 0.23 kB
|
||||
.svelte-kit/output/server/chunks/client.js 0.31 kB
|
||||
.svelte-kit/output/server/chunks/index-server2.js 0.31 kB
|
||||
.svelte-kit/output/server/internal.js 0.35 kB
|
||||
.svelte-kit/output/server/entries/fallbacks/error.svelte.js 0.35 kB
|
||||
.svelte-kit/output/server/chunks/state.svelte.js 0.45 kB
|
||||
.svelte-kit/output/server/chunks/Skeleton.js 0.48 kB
|
||||
.svelte-kit/output/server/chunks/Spinner.js 0.52 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_layout.svelte.js 0.55 kB
|
||||
.svelte-kit/output/server/chunks/index2.js 0.57 kB
|
||||
.svelte-kit/output/server/chunks/server.js 0.62 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_page.svelte.js 0.66 kB
|
||||
.svelte-kit/output/server/entries/pages/playground/_page.svelte.js 0.67 kB
|
||||
.svelte-kit/output/server/chunks/utils2.js 0.72 kB
|
||||
.svelte-kit/output/server/chunks/ids.js 0.77 kB
|
||||
.svelte-kit/output/server/chunks/Icon.svelte_svelte_type_style_lang.js 0.86 kB
|
||||
.svelte-kit/output/server/chunks/endpointKind.js 0.95 kB
|
||||
.svelte-kit/output/server/chunks/createMutation.js 1.03 kB
|
||||
.svelte-kit/output/server/chunks/EmptyState.js 1.04 kB
|
||||
.svelte-kit/output/server/chunks/toast.js 1.14 kB
|
||||
.svelte-kit/output/server/chunks/context.js 1.20 kB
|
||||
.svelte-kit/output/server/chunks/LanguageSwitcher.js 1.36 kB
|
||||
.svelte-kit/output/server/chunks/AppShell.svelte_svelte_type_style_lang.js 1.46 kB
|
||||
.svelte-kit/output/server/chunks/SafeMedia.js 1.65 kB
|
||||
.svelte-kit/output/server/chunks/ProgressBar.js 1.88 kB
|
||||
.svelte-kit/output/server/chunks/useUpload.svelte.js 2.16 kB
|
||||
.svelte-kit/output/server/chunks/takeDelete.svelte.js 2.57 kB
|
||||
.svelte-kit/output/server/chunks/index3.js 2.77 kB
|
||||
.svelte-kit/output/server/entries/pages/_layout.svelte.js 3.08 kB
|
||||
.svelte-kit/output/server/chunks/ConfirmDialog.js 3.25 kB
|
||||
.svelte-kit/output/server/chunks/internal.js 3.79 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_page.svelte.js 4.93 kB
|
||||
.svelte-kit/output/server/chunks/exports.js 5.54 kB
|
||||
.svelte-kit/output/server/chunks/Icon.js 6.04 kB
|
||||
.svelte-kit/output/server/entries/pages/agents/_page.svelte.js 7.88 kB
|
||||
.svelte-kit/output/server/entries/pages/tasks/_page.svelte.js 13.44 kB
|
||||
.svelte-kit/output/server/entries/pages/settings/_page.svelte.js 15.12 kB
|
||||
.svelte-kit/output/server/chunks/LanguageSwitcher.svelte_svelte_type_style_lang.js 16.32 kB
|
||||
.svelte-kit/output/server/entries/pages/library/_page.svelte.js 19.77 kB
|
||||
.svelte-kit/output/server/entries/pages/_page.svelte.js 25.48 kB
|
||||
.svelte-kit/output/server/chunks/RefImageGrid.js 25.96 kB
|
||||
.svelte-kit/output/server/chunks/root.js 29.43 kB
|
||||
.svelte-kit/output/server/chunks/AgentComposer.js 34.01 kB
|
||||
.svelte-kit/output/server/chunks/utils.js 34.14 kB
|
||||
.svelte-kit/output/server/entries/pages/models/_page.svelte.js 36.24 kB
|
||||
.svelte-kit/output/server/remote-entry.js 36.81 kB
|
||||
.svelte-kit/output/server/chunks/AppShell.js 39.27 kB
|
||||
.svelte-kit/output/server/entries/pages/workbench/_id_/_page.svelte.js 50.91 kB
|
||||
.svelte-kit/output/server/entries/pages/build-scene/_page.svelte.js 51.30 kB
|
||||
.svelte-kit/output/server/chunks/StudioGenerate.js 99.49 kB
|
||||
.svelte-kit/output/server/chunks/index.js 101.49 kB
|
||||
.svelte-kit/output/server/index.js 130.14 kB
|
||||
.svelte-kit/output/server/entries/pages/connections/_page.svelte.js 132.44 kB
|
||||
.svelte-kit/output/server/entries/pages/canvas/_id_/_page.svelte.js 145.51 kB
|
||||
.svelte-kit/output/server/chunks/i18n.svelte.js 786.88 kB
|
||||
✓ built in 6.90s
|
||||
|
||||
Run npm run preview to preview your production build locally.
|
||||
|
||||
> Using @sveltejs/adapter-static
|
||||
Wrote site to "build"
|
||||
✔ done
|
||||
@@ -0,0 +1,3 @@
|
||||
构建结果摘要:uv build --project calliope-backend --offline 返回0。
|
||||
Built calliope-1.5.8.tar.gz and calliope-1.5.8-py3-none-any.whl.
|
||||
三运行资源与wheel/sdist字节核对见package-check.json。
|
||||
@@ -0,0 +1,604 @@
|
||||
"Source-bound Chinese reference only; never construct prompts or execute upstream."
|
||||
|
||||
import copy
|
||||
import hashlib
|
||||
import json
|
||||
import runpy
|
||||
from pathlib import Path
|
||||
|
||||
REPO = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
REF = OUT.parent / "flux2-inpaint-reference"
|
||||
PATHS = [("example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.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()
|
||||
g = json.loads(raw)
|
||||
old = runpy.run_path(str(OUT.parent / ("flux2-xiaozhi-document-evidence/build_definition.py")))[
|
||||
"build"
|
||||
]()
|
||||
common = {(f["node_id"], f["field"]): copy.deepcopy(f) for f in old["fields"]}
|
||||
sources = copy.deepcopy(old["sources"])
|
||||
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
for s in sources:
|
||||
s["applicability"] = "本局部重绘图独立绑定准确版本;目标环境及组合恢复未知"
|
||||
|
||||
def cite(key, file, first, last, claim):
|
||||
e = next(e for e in manifest if e["id"] == key and e["file"] == file)
|
||||
sources.append(
|
||||
dict(
|
||||
e,
|
||||
local_file="../flux2-inpaint-reference/" + e["local_file"],
|
||||
lines=[first, last],
|
||||
claim=claim,
|
||||
)
|
||||
)
|
||||
return len(sources) - 1
|
||||
|
||||
inpaint = cite(
|
||||
"lora",
|
||||
"nodes.py",
|
||||
386,
|
||||
424,
|
||||
("准确core0.21.1 Inpaint schema、裁边、抹除、膨胀和始终返回noise_mask"),
|
||||
)
|
||||
load = cite(
|
||||
"lora",
|
||||
"nodes.py",
|
||||
1681,
|
||||
1755,
|
||||
"准确core0.21.1 LoadImage首选组件/回退、反转alpha与64占位MASK",
|
||||
)
|
||||
cite("lora", "nodes.py", 2000, 2050, "准确core0.21.1节点注册;不混用0.8.2 LoadImage")
|
||||
for e in manifest:
|
||||
if e["local_file"].startswith("inpaint__"):
|
||||
cite(
|
||||
"lora",
|
||||
e["file"],
|
||||
1,
|
||||
len((REF / e["local_file"]).read_text().splitlines()),
|
||||
"准确0.21.1必要共同helper或InputImpl组件读取;仅静态文本",
|
||||
)
|
||||
sampler = cite(
|
||||
"core",
|
||||
"comfy_extras/nodes_custom_sampler.py",
|
||||
915,
|
||||
969,
|
||||
("准确0.8.2采样器取latent.noise_mask传denoise_mask;双LATENT分支"),
|
||||
)
|
||||
cite("core", "comfy/samplers.py", 1003, 1055, "准确0.8.2遮罩准备与采样调用;不推定实际遮罩效果")
|
||||
kj = cite(
|
||||
"kj",
|
||||
"nodes/image_nodes.py",
|
||||
2784,
|
||||
3074,
|
||||
"准确KJ1.3.9配对image/mask、占位/尺寸处理、插值/通道与四返回槽",
|
||||
)
|
||||
names = {
|
||||
102: ["cfg"],
|
||||
105: ["noise_seed", "control_after_generate"],
|
||||
109: ["text"],
|
||||
100: ["sampler_name"],
|
||||
107: ["clip_name", "type", "device"],
|
||||
106: ["unet_name", "weight_dtype"],
|
||||
101: ["steps", "width", "height"],
|
||||
144: ["use_custom_resolution", "resolution", "custom_width", "custom_height"],
|
||||
110: ["vae_name"],
|
||||
145: ["rgthree_comparer"],
|
||||
150: [
|
||||
"width",
|
||||
"height",
|
||||
"upscale_method",
|
||||
"keep_proportion",
|
||||
"pad_color",
|
||||
"crop_position",
|
||||
"divisible_by",
|
||||
"device",
|
||||
],
|
||||
108: ["text"],
|
||||
146: ["grow_mask_by"],
|
||||
155: ["image", "upload"],
|
||||
142: ["lora_name", "strength_model"],
|
||||
9: ["filename_prefix"],
|
||||
}
|
||||
# These descriptions are independently authored for this graph, with exact saved values below.
|
||||
mask_detail = (
|
||||
"准确0.21.1以vae.spacial_compression"
|
||||
"_encode()取压缩因数,宽高向下取整;有余数时居中裁pix"
|
||||
"els和mask。mask先reshape并bilinear插到"
|
||||
"pixels尺寸。grow_mask_by=0直接用mask,否"
|
||||
"则round后以全1方核conv2d、ceil((grow_ma"
|
||||
"sk_by-1)/2) padding、clamp到0~1。原m"
|
||||
"ask.round()反转为m,前三颜色通道先减0.5、乘m再加"
|
||||
"0.5,将遮罩内填为0.5;vae.encode后始终返回sam"
|
||||
"ples及裁到x/y并round的noise_mask,不是可选"
|
||||
"布尔开关。这里只静态说明,未运行裁切/膨胀/编码。"
|
||||
)
|
||||
resize_detail = (
|
||||
"准确KJ1.3.9先将64×64占位mask在图像非64×64时"
|
||||
"当无mask;其它mask尺寸不符先单通道bilinear对齐原"
|
||||
"图。resize两尺寸非零用min比例、round到边界内,di"
|
||||
"visible_by>1再各自向下取整。当前nearest-ex"
|
||||
"act下image移通道后common_upscale,mask"
|
||||
"先unsqueeze(1)同法插值后squeeze;lanczo"
|
||||
"s另有重复3通道再取第0通道分支,当前不走。无mask返回64×"
|
||||
"64零占位。返回槽0 IMAGE/槽1 width/槽2 hei"
|
||||
"ght/槽3 MASK,均按准确实现静态解释。"
|
||||
)
|
||||
load_detail = (
|
||||
"准确0.21.1 LoadImage先InputImpl.Vid"
|
||||
"eoFromFile.get_components:images"
|
||||
"批非空时返回images与1-alpha最后通道;无alpha返"
|
||||
"回批量64×64零MASK。保留animated webp的Pi"
|
||||
"llow回退:EXIF转正、RGB归一,按首帧宽高跳过不同尺寸帧"
|
||||
";有A通道取1-A,无A仍64×64零MASK。透明alpha0"
|
||||
"对应mask1,不透明alpha1对应mask0。没有读取素材,"
|
||||
"不能证明已编辑遮罩;64占位进入KJ可能按无mask处理。"
|
||||
)
|
||||
effects = {
|
||||
(
|
||||
105,
|
||||
"noise_seed",
|
||||
): (
|
||||
"保存775361803314234;105→103.no"
|
||||
"ise。randomize仅辅助控制,缓存与实际最终种子"
|
||||
"未知分列,未运行RNG。"
|
||||
),
|
||||
(
|
||||
101,
|
||||
"steps",
|
||||
): (
|
||||
"保存12;101.SIGMAS→103,参考默认20另列"
|
||||
"。只静态说明,不运行调度/采样或保证质量、显存、耗时。"
|
||||
),
|
||||
(
|
||||
108,
|
||||
"text",
|
||||
): (
|
||||
"完整保存“将遮罩中的物品换成紫色葡萄”,是作者修改意图。155."
|
||||
"MASK实际经150槽3→146.mask,区别于此前未接图;接"
|
||||
"通不证明恢复正确或葡萄效果。108→140→102.positi"
|
||||
"ve,未编码原文。"
|
||||
),
|
||||
(
|
||||
109,
|
||||
"text",
|
||||
): (
|
||||
"保存空字符串仍由107.CLIP编码→139,与141同"
|
||||
"一参考latent合入负向→102.negative。空"
|
||||
"串不是ZeroOut或无条件。"
|
||||
),
|
||||
(
|
||||
144,
|
||||
"use_custom_resolution",
|
||||
): (
|
||||
"保存false,准确TT走预设分支;144宽高外线覆盖1"
|
||||
"50的512缓存,不把1024自定义缓存当选中尺寸。"
|
||||
),
|
||||
(
|
||||
144,
|
||||
"resolution",
|
||||
): (
|
||||
"保存720x1280 (9:16) (竖屏),false时预设宽"
|
||||
"高→150;Resize保比例缩放并因数2取整,未读素材尺寸,不"
|
||||
"能保证最终720×1280。"
|
||||
),
|
||||
(
|
||||
150,
|
||||
"width",
|
||||
): ("保存512缓存被144槽0外线覆盖;实际Resize宽槽1直接→101.width,只覆盖调度器一处1024。")
|
||||
+ resize_detail,
|
||||
(
|
||||
150,
|
||||
"height",
|
||||
): ("保存512缓存被144槽1外线覆盖;实际Resize高槽2直接→101.height,只覆盖调度器一处1024。")
|
||||
+ resize_detail,
|
||||
(150, "upscale_method"): "保存nearest-exact,不是lanczos。" + resize_detail,
|
||||
(150, "keep_proportion"): "保存resize,不是crop;不走中心裁切或pad分支。" + resize_detail,
|
||||
(
|
||||
150,
|
||||
"pad_color",
|
||||
): "保存字符串0, 0, 0;当前resize不走padding分支,不能因保存黑色就称已补边。",
|
||||
(150, "crop_position"): "保存center;当前resize不走crop分支,中心选项不证明已中心裁切。",
|
||||
(
|
||||
150,
|
||||
"divisible_by",
|
||||
): ("保存JSON int2,参考默认2、范围0~512、step1;>1对宽高向下取整,不是小志图因数8。")
|
||||
+ resize_detail,
|
||||
(
|
||||
150,
|
||||
"device",
|
||||
): (
|
||||
"保存cpu;准确KJ选择torch.device(cpu"
|
||||
"),返回IMAGE/MASK到cpu。没有运行设备或媒体"
|
||||
"操作,不保证资源占用。"
|
||||
)
|
||||
+ resize_detail,
|
||||
(155, "image"): (
|
||||
"保存ComfyUI_00150_.png;IMAGE→150.image,MASK→150.mask。properties独立列。"
|
||||
)
|
||||
+ load_detail,
|
||||
(
|
||||
155,
|
||||
"upload",
|
||||
): (
|
||||
"保存image上传状态;准确frontend1.36.13上传控"
|
||||
"件仅有限参考,准确后端0.21.1仅image选择,不把额外保存"
|
||||
"状态当实际上传或遮罩已存在。"
|
||||
),
|
||||
(
|
||||
145,
|
||||
"rgthree_comparer",
|
||||
): (
|
||||
"保存一个完整历史列表,含temp_uvrnh_00009/000"
|
||||
"10两对象的name/selected/url;不拆顶层计数、不"
|
||||
"加载URL。A来自104生成图,B来自150缩放图经153→15"
|
||||
"2,不是155直接原图。Slide是独立属性;临时历史不当本次产"
|
||||
"物。"
|
||||
),
|
||||
(
|
||||
142,
|
||||
"lora_name",
|
||||
): (
|
||||
"保存Flux反斜杠consistency-V2_一致性大熊版完整"
|
||||
"文件名,原样不规范化。mode0下106→142→102为活动L"
|
||||
"oRA链;独立0.21.1 ModelOnly继承LoraLoa"
|
||||
"der,以clip=None/strength_clip=0调用"
|
||||
",双零才早退,当前0.8非零,路径缓存或safe_load条件仅"
|
||||
"文本。未加载模型,不保证兼容/许可或一致性。"
|
||||
),
|
||||
(
|
||||
142,
|
||||
"strength_model",
|
||||
): (
|
||||
"保存0.8,独立0.21.1模型强度;非零请求应用LoR"
|
||||
"A,mode0和强度不证明已加载、兼容、一致性或效果。未"
|
||||
"运行safe_load。"
|
||||
),
|
||||
}
|
||||
for name in ["width", "height"]:
|
||||
effects[101, name] = (
|
||||
f"保存1024被150实际{name}槽{1 if name == 'width' else 2}直接外线覆盖;"
|
||||
"本图只有调度器两处1024覆盖,没有空latent尺寸控件。"
|
||||
"调度器按width*height/(16*16)取序列长度、round和经验mu及steps+1变换;"
|
||||
"只静态阅读,不计算sigmas或保证尺寸。"
|
||||
)
|
||||
for name in ["custom_width", "custom_height"]:
|
||||
effects[144, name] = (
|
||||
"保存1024,仅true自定义分支使用;当前false用720x1280竖屏预设,不承诺最终图像尺寸。"
|
||||
)
|
||||
empty_effect = {
|
||||
103: (
|
||||
"146初始LATENT含noise_mask→103.laten"
|
||||
"t_image;准确0.8.2读取noise_mask并传gui"
|
||||
"der.sample的denoise_mask。槽0→104,第"
|
||||
"二LATENT槽1 links=[]未接;x0分支只阅读。"
|
||||
),
|
||||
141: (
|
||||
"150.IMAGE→141.pixels,110.VAE经151"
|
||||
"→141.vae;同一参考LATENT分别→140/139,不是"
|
||||
"146初始latent。"
|
||||
),
|
||||
140: ("108正向编码与141参考latent追加reference_latents→102.positive,不替代采样起点。"),
|
||||
139: "109空串编码与同一141参考latent→102.negative,不是ZeroOut。",
|
||||
104: (
|
||||
"103槽0→104.samples,110.VAE经15"
|
||||
"1→104.vae;解码IMAGE→9与145.A。没有"
|
||||
"最终像素复合回原图链。"
|
||||
),
|
||||
143: "Label仅类名无准确身份;字体标题属性仅文本,不借同名包背书。",
|
||||
153: ("150缩放图→153,分别→146.pixels与152;虚拟Reroute恢复仅有限前端参考。"),
|
||||
152: "153缩放图→152→145.B;不是155直接原图。",
|
||||
151: ("110.VAE→151,扇出到141/146/104的vae三处;不加载VAE或保证UE组合恢复。"),
|
||||
}
|
||||
fields = []
|
||||
empty = []
|
||||
comments = []
|
||||
mapping = {144: 148, 150: 147, 155: 76}
|
||||
for i, n in enumerate(g["nodes"]):
|
||||
nid = n["id"]
|
||||
ptr = f"/nodes/{i}"
|
||||
if n["type"] == "MarkdownNote":
|
||||
c = copy.deepcopy(old["comments"][0])
|
||||
c.update(
|
||||
node_id=str(nid), pointer=ptr + "/widgets_values/0", text=n["widgets_values"][0]
|
||||
)
|
||||
if nid == 154:
|
||||
c["meaning"] = (
|
||||
"作者提示“右键遮罩编辑添加遮罩”。只是操作指南,未打开编"
|
||||
"辑器、读取素材或证明遮罩已存在;实际MASK物理链另列。"
|
||||
)
|
||||
comments.append(c)
|
||||
continue
|
||||
if not n.get("widgets_values"):
|
||||
state = (
|
||||
"missing"
|
||||
if "widgets_values" not in n
|
||||
else "null"
|
||||
if n["widgets_values"] is None
|
||||
else "empty_list"
|
||||
)
|
||||
empty.append(
|
||||
dict(
|
||||
node_id=str(nid),
|
||||
class_type=n["type"],
|
||||
pointer=ptr,
|
||||
scope="root",
|
||||
state=state,
|
||||
effect=(
|
||||
"明确widgets_values=[],不是缺键/null。"
|
||||
if state == "empty_list"
|
||||
else "缺widgets_values键,不补[]或null。"
|
||||
)
|
||||
+ empty_effect[nid],
|
||||
)
|
||||
)
|
||||
continue
|
||||
assert len(names[nid]) == len(n["widgets_values"])
|
||||
for j, (name, v) in enumerate(zip(names[nid], n["widgets_values"], strict=True)):
|
||||
if nid == 146:
|
||||
f = dict(
|
||||
label="遮罩膨胀尺度",
|
||||
schema_default="6",
|
||||
unit="像素方核边长INT",
|
||||
limits="INT 0~64,step1;0不膨胀",
|
||||
effect=(
|
||||
"保存JSON int6;150.mask槽3→146.mask,"
|
||||
"缩放图经153→146.pixels,110.VAE经151→1"
|
||||
"46.vae,输出LATENT→103.latent_image"
|
||||
"。"
|
||||
)
|
||||
+ mask_detail,
|
||||
evidence=[inpaint, sampler, kj],
|
||||
execution_note="源值与参考默认分列;目标模型/素材、组合恢复及真实效果未知。停用、转换关闭、未实跑。",
|
||||
)
|
||||
else:
|
||||
f = copy.deepcopy(common[str(mapping.get(nid, nid)), name])
|
||||
if (nid, name) in effects:
|
||||
f["effect"] = effects[nid, name]
|
||||
if nid == 155:
|
||||
f["evidence"] = [load] + (
|
||||
[x for x in f["evidence"] if sources[x]["id"] == "frontend"]
|
||||
)
|
||||
f["limits"] = (
|
||||
"动态image文件枚举/image_upload=True;准确0.21.1,不读取素材"
|
||||
if name == "image"
|
||||
else "前端上传状态;非准确后端独立schema输入"
|
||||
)
|
||||
if nid == 150:
|
||||
f["evidence"] = [kj]
|
||||
f["limits"] = f["limits"].replace("因数8", "因数2")
|
||||
if nid == 108:
|
||||
f["limits"] = (
|
||||
"STRING multiline/dynamicPrompts;完整中文意图,MASK物理链已接但效果未核"
|
||||
)
|
||||
if nid == 144 and name == "resolution":
|
||||
f["limits"] = "准确预设含720x1280 (9:16) (竖屏);未知预设回退1024对"
|
||||
inp = next((k for k, x in enumerate(n["inputs"]) if x["name"] == name), None)
|
||||
f.update(
|
||||
node_id=str(nid),
|
||||
definition_node_id=str(nid),
|
||||
scope="root",
|
||||
class_type=n["type"],
|
||||
field=name,
|
||||
pointer=f"{ptr}/widgets_values/{j}",
|
||||
value=v,
|
||||
json_type=type(v).__name__,
|
||||
named_pointer="源无widgets_values_named,不构造具名保存指针",
|
||||
input_pointer=f"{ptr}/inputs/{inp}"
|
||||
if inp is not None
|
||||
else "无独立后端输入:前端辅助",
|
||||
input_name=name if inp is not None else None,
|
||||
type=n["inputs"][inp]["type"] if inp is not None else "前端辅助",
|
||||
role="frontend_reference_only"
|
||||
if inp is None or (nid == 155 and name == "upload")
|
||||
else "linked_saved_cache"
|
||||
if n["inputs"][inp].get("link") is not None
|
||||
else "saved_layout_reference",
|
||||
)
|
||||
fields.append(f)
|
||||
assert len(fields) == 34 and len(comments) == 2 and len(empty) == 9
|
||||
overview = (
|
||||
"这张图计划把参考图片遮罩中的物品换成紫色葡萄,并比较缩放参考图与"
|
||||
"生成图。图中确实连接了图像和遮罩:缩放后送入局部重绘编码器作为采"
|
||||
"样起点,另一路图像编码作为正负条件的共同参考。源链接通不等于已编"
|
||||
"辑遮罩或目标节点恢复正确;没有把最终像素复合回原图的链,不能保证"
|
||||
"遮罩外像素严格不变、边界无缝或修复质量。目前仅供阅读核对,未实跑"
|
||||
"。"
|
||||
)
|
||||
flow = [
|
||||
(
|
||||
"独立原字节盘点:根27节点/34物理边,全mode0,无子图;3"
|
||||
"4非注释位置=33标量含上传状态+1完整历史列表,另2完整Mar"
|
||||
"kdownNote。无widgets_values_named;"
|
||||
"103/141/140/139/104为[],143.Label"
|
||||
"和151/152/153.Reroute缺保存键;[]/缺键/n"
|
||||
"ull分开。"
|
||||
),
|
||||
(
|
||||
"155.LoadImage独立core0.21.1,保存Comf"
|
||||
"yUI_00150_.png与image上传状态。IMAGE→1"
|
||||
"50.image、MASK→150.mask;150.image"
|
||||
"槽0经153→146.pixels,同时直接→141.pixel"
|
||||
"s;150.mask槽3→146.mask。110.VAE经15"
|
||||
"1虚拟转接扇出到141/146/104三处。"
|
||||
)
|
||||
+ load_detail,
|
||||
(
|
||||
"146.VAEEncodeForInpaint独立core0.2"
|
||||
"1.1,保存grow_mask_by=JSON int6。输出L"
|
||||
"ATENT→103.latent_image,不再是EmptyF"
|
||||
"lux2LatentImage起点。"
|
||||
)
|
||||
+ mask_detail,
|
||||
(
|
||||
"准确core0.8.2 SamplerCustomAdvance"
|
||||
"d先从latent取samples,复制latent并fix_e"
|
||||
"mpty_latent_channels;若有noise_mas"
|
||||
"k则取出并传给guider.sample的denoise_mas"
|
||||
"k,后续准备遮罩与采样条件仅静态参考。源MASK接通不等于目标插"
|
||||
"件恢复正确或实测仅改遮罩。没有最终像素复合回原图链,不保证遮罩外"
|
||||
"像素严格不变、边界无缝、修复质量;未运行卷积/膨胀/编码/采样。"
|
||||
),
|
||||
(
|
||||
"141编码同一150.Resize图,LATENT分别→140/"
|
||||
"139.ReferenceLatent;107.CLIP分别→1"
|
||||
"08/109,108完整“将遮罩中的物品换成紫色葡萄”,109空"
|
||||
"串,分别→140/139→102正负条件。参考条件支路与146初"
|
||||
"始latent/noise_mask分开;空串负向不是ZeroO"
|
||||
"ut。两份Note全文与解释保留,右键步骤只是作者指南,不启动编"
|
||||
"辑器或作为已存在遮罩证明。"
|
||||
),
|
||||
(
|
||||
"144.TT完整提交b69cf75c2ce5f864e3db53"
|
||||
"01dba46a6b5eeaa8fb;保存false/720x1"
|
||||
"280 (9:16) (竖屏)/1024/1024。false预"
|
||||
"设宽高外线覆盖150保存512/512。150保存nearest"
|
||||
"-exact/resize/字符串0, 0, 0/center/"
|
||||
"因数2/cpu,不套小志crop/lanczos/因数8或大雄总"
|
||||
"像素链。"
|
||||
)
|
||||
+ resize_detail,
|
||||
(
|
||||
"150.width槽1/height槽2直接→101宽高缓存,只"
|
||||
"覆盖调度器两处1024;本图没有空latent的另外两处。未读素"
|
||||
"材尺寸,不试算或保证最终720×1280;保存512及自定义10"
|
||||
"24缓存与外线实际值分列。"
|
||||
),
|
||||
(
|
||||
"105噪声缓存775361803314234/randomize"
|
||||
";102.cfg JSON int5、100.euler、101"
|
||||
".steps12/1024/1024。106模型→142活动Lo"
|
||||
"RA→102.model;142独立core0.21.1保存Fl"
|
||||
"ux反斜杠consistency-V2_一致性大熊版/0.8。辅"
|
||||
"助控制、缓存与实际种子未知分列,12步/强度不保证质量、兼容、显"
|
||||
"存或耗时。不运行RNG或safe_load。"
|
||||
),
|
||||
(
|
||||
"103槽0 output→104解码→9正式保存与145.A;第"
|
||||
"二LATENT denoised_output links=[]"
|
||||
"未接。145.B来自150 Resize图→153→152,而非"
|
||||
"155直接原图;A生成/B缩放参考不能反写。145保存一个完整历"
|
||||
"史列表,含temp_uvrnh_00009/00010的name"
|
||||
"/selected/url,原样不拆顶层计数;Slide属性单列"
|
||||
",URL仅文本不加载、不当本次产物。"
|
||||
),
|
||||
(
|
||||
"模型引用原样:Flux反斜杠flux-2-klein-base-"
|
||||
"9b-fp8.safetensors/default;qwen_"
|
||||
"3_8b_fp8mixed.safetensors/flux2/"
|
||||
"default;flux2-vae.safetensors;Lo"
|
||||
"RA完整路径见逐位置值。properties推荐原样,不规范化或"
|
||||
"由文件名推dtype/安装/设备/兼容/许可。"
|
||||
),
|
||||
(
|
||||
"9前缀Flux2-Klein;准确core0.8.2 SaveI"
|
||||
"mage正式output PNG,命名计数/批次、元数据disa"
|
||||
"ble_metadata与隐藏prompt/extra_pngi"
|
||||
"nfo条件、filename/subfolder/type描述符"
|
||||
"分列。RETURN_TYPES=()无IMAGE返回;准确rgt"
|
||||
"hree比较器继承PreviewImage返回ui.a_imag"
|
||||
"es/ui.b_images临时描述符,与源9/Comparer"
|
||||
"保存IMAGE口协议冲突保留,不补线删口、不改转换执行资格。真实"
|
||||
"目录/history/产物未知。"
|
||||
),
|
||||
(
|
||||
"多数core0.8.2;146.Inpaint/155.Load"
|
||||
"Image/142.LoRA独立core0.21.1。front"
|
||||
"end1.36.13同树依赖、准确TT、KJ1.3.9与rgth"
|
||||
"ree1.0.2604070017独立绑定。本图无ImpactI"
|
||||
"mageInfo,不混入8.28.3。Label身份、TT许可、"
|
||||
"UE7.5.2/7.7/7.8/tab/宿主恢复仍未知。准确包成"
|
||||
"员SHA/CRC不能冒充完整包SHA或Git绑定。"
|
||||
),
|
||||
(
|
||||
"常见问题:有MASK物理链不代表素材已编辑或实测仅修改遮罩;no"
|
||||
"ise_mask是latent数据而非最终像素复合;参考条件不等"
|
||||
"于初始latent;resize保比例不保证720×1280;空"
|
||||
"串仍负向编码;比较B是缩放图、历史不是当前产物。完整Note的B"
|
||||
"FL协议、模型下载/更新建议仅作者文本,不代接受、下载或执行。1"
|
||||
"55完整定稿0/实跑0/新增转换0。"
|
||||
),
|
||||
]
|
||||
flow += ["原物理边 " + json.dumps(e, ensure_ascii=False) for e in g["links"]]
|
||||
flow += [
|
||||
"节点"
|
||||
+ str(n["id"])
|
||||
+ "独立属性 "
|
||||
+ json.dumps(n.get("properties", {}), ensure_ascii=False)
|
||||
for n in g["nodes"]
|
||||
]
|
||||
versions = []
|
||||
for key in ["core", "lora", "frontend", "tt", "kj", "rgthree"]:
|
||||
e = next(s for s in sources if s["id"] == key)
|
||||
versions.append(
|
||||
f"{key} {e['tag']} commit {e['commit']};tree {e['tree']};许可见{e['license_file']}"
|
||||
)
|
||||
versions += [
|
||||
(
|
||||
"local_file以docs/hel-892/flux2-in"
|
||||
"paint-document-evidence为基准;准确文本复"
|
||||
"用../flux2-img-reference,新helper索"
|
||||
"引../flux2-inpaint-reference。源SHA"
|
||||
"256 "
|
||||
)
|
||||
+ hashlib.sha256(raw).hexdigest(),
|
||||
(
|
||||
"KJ/rgthree准确注册包仅必要文本;完整包SHA/"
|
||||
"Git绑定未知;TT许可、Label身份、UE/tab/"
|
||||
"宿主恢复未知;旧49块逐对象冻结。"
|
||||
),
|
||||
]
|
||||
return dict(
|
||||
source_path=PATHS[index],
|
||||
source_sha1=hashlib.sha1(raw).hexdigest(),
|
||||
source_sha256=hashlib.sha256(raw).hexdigest(),
|
||||
canonical_sha256=hashlib.sha256(canonical(g)).hexdigest(),
|
||||
notice="仅参考:目标素材/模型、遮罩/UE恢复和实际效果未核;转换关闭、未实跑。",
|
||||
user_overview=overview,
|
||||
versions=versions,
|
||||
counts=dict(
|
||||
saved_fields=34,
|
||||
root_saved_fields=34,
|
||||
internal_saved_fields=0,
|
||||
linked_saved_fields=4,
|
||||
frontend_only=3,
|
||||
source_nodes=27,
|
||||
root_nodes=27,
|
||||
internal_nodes=0,
|
||||
physical_edges=34,
|
||||
source_notes=2,
|
||||
history_objects=1,
|
||||
final_scalars=0,
|
||||
final_prompt_constructed=False,
|
||||
),
|
||||
fields=fields,
|
||||
sources=sources,
|
||||
comments=comments,
|
||||
flow=flow,
|
||||
flow_evidence=list(range(len(sources))),
|
||||
zero_saved_nodes=empty,
|
||||
boundaries=[],
|
||||
steps=[
|
||||
overview,
|
||||
(
|
||||
"操作1:阅读完整中文提示、两份Note、模型/素材引用与"
|
||||
"历史对象;作者右键遮罩指南仅文本,不打开编辑器或URL。"
|
||||
),
|
||||
(
|
||||
"操作2:核对155双出口→150配对图像/MASK、146初始l"
|
||||
"atent与141参考条件、151三VAE分支、两处调度尺寸覆盖"
|
||||
"及比较B缩放图;随后核目标环境/许可/恢复。"
|
||||
),
|
||||
(
|
||||
"操作3:保持停用;155全量完成审核后才发布。当前不连接目标、不"
|
||||
"构造prompt、不执行上游/模型/GPU/媒体/遮罩/表达式/"
|
||||
"种子/状态/缓存,不下载或代接受协议。"
|
||||
),
|
||||
],
|
||||
)
|
||||
@@ -0,0 +1,336 @@
|
||||
{
|
||||
"base": "559fbf4508ae21143074400c5c33bab0bcc5631c",
|
||||
"files": [
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"purpose": "仅新增局部重绘图的代码拥有定义摘要,原信任/失败关闭逻辑不变",
|
||||
"sha256": "fc05e334fc435ec6c37a8c34ee47026cb4affe45254c6352b67fca62a319be28",
|
||||
"bytes": 13229
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
|
||||
"purpose": "仅新增本图固定参考说明,旧49块和其他审校逐对象冻结",
|
||||
"sha256": "95254f3ad3d40c0155667d6aadee721c8dbb20a53e5c325970742c27a5038833",
|
||||
"bytes": 6314715
|
||||
},
|
||||
{
|
||||
"path": "calliope-backend/tests/test_flux2_inpaint_fixed_document.py",
|
||||
"purpose": "逐位置/全图/来源绑定及嵌套状态失败关闭与MASK链专项",
|
||||
"sha256": "3875d88fdeb7ee6ce71fd8bc97b2e3839892383aa74d8872e012dc1f47d538a4",
|
||||
"bytes": 9829
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/Flux局部重绘图固定参考中文说明.md",
|
||||
"purpose": "实际中文参考说明或交付/实现记录",
|
||||
"sha256": "253f0baa8e07b0fab861672ca938a12d46270582708fb31a67884f2545e33d62",
|
||||
"bytes": 93062
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/actual-4_flux2_klein_图生图_局部重绘.json",
|
||||
"purpose": "隔离库实际doc_json导出,供GET/展示核对",
|
||||
"sha256": "e12a2131eff1a168206848e8f402d875b2a6234367a49e3e875c9eee5fd865db",
|
||||
"bytes": 178792
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/audit-summary.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
|
||||
"bytes": 797
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/backend-final.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "ccc2cf2cb326944edc40db67df79cd0b0291d51c820705cd12c24a0356fa38fc",
|
||||
"bytes": 960
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/backend-request-counts.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "8c40074b981f80676468084cb3bae1e2a409b31f6687c18f0e5e3378bda45560",
|
||||
"bytes": 1860
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/boundaries.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "ced0a0dc22a2a745471afdfce6f2fda7e12c63db4746b6fbe27eb4684a350e40",
|
||||
"bytes": 38632
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/browser-final.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "acc784328699a4e804f510f5d907d7ae48c869dc2aed5bcb3517737dc6e57c4b",
|
||||
"bytes": 101835
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/browser-results.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "855322d16379d511d326aa220875c439bede2784dbbe1f6e415bd01e7badbdec",
|
||||
"bytes": 124054
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/build-final.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "1ae8ac23120fe0fda85788cfbe8517c6eb0ca4e3de48f94e32acc6a3a14a2d2b",
|
||||
"bytes": 24326
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/build-package.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "7d296de894ecc62e2e1b4d4f89afffa6780d2d0f899175f50ee40b26451f9236",
|
||||
"bytes": 209
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/build_definition.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "eab3495bc03ad5b9a7115d2838b8d2094d568f5b878263e6a3e9c98b37cf9ce7",
|
||||
"bytes": 26405
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/check_code.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "4804aaa1e1d27dc74e55b154dac6cdff6e620fd3c8c6001fc7002e2485ee097d",
|
||||
"bytes": 1234
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/collect_browser.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "be8963a28eb927be585cf88dcf2173da647b94b991fdf34f4b9a8d344a5776db",
|
||||
"bytes": 3197
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/definition-0.json",
|
||||
"purpose": "本图规范固定说明对象",
|
||||
"sha256": "aa9651a478cc6a192144671f4c77d8b460607214afce3b62d9ddf5777485adc2",
|
||||
"bytes": 137528
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/delivery-summary.md",
|
||||
"purpose": "实际中文参考说明或交付/实现记录",
|
||||
"sha256": "8419dba5d18d53d24329d4fda99c83b6f83630d3bb50907bfe53504e8f167af1",
|
||||
"bytes": 3287
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/development-notes.md",
|
||||
"purpose": "实际中文参考说明或交付/实现记录",
|
||||
"sha256": "2682955d8fe7f9a1d2b69901923882271f0c16b3649f11f26d10cffcfff01019",
|
||||
"bytes": 2837
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/fixed-source-index.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "abcf694a2de08f1973b8b13c523647821f949296fe329c90d045d91552c6d0d9",
|
||||
"bytes": 75725
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/frozen-resource-check.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "245404c4a5e8b94a2f32327c852be92df1c98bcd5fdfa14543155cf61c37fbf6",
|
||||
"bytes": 40348
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/import-protection.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "8a4932204ad2b0cc77ff19b2d0edfee7bcf32398549f0621286fe53c671fd4d5",
|
||||
"bytes": 1270
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/independent-inventory.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "502a6870c6c878dc83ca668ddf942911d7681f951329aaa474c477d3001d656b",
|
||||
"bytes": 8163
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/index_sources.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "744a8986db8b743dc97921d6d211d653c0af0dc4fa476707e90959cab5fcfd9e",
|
||||
"bytes": 2217
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/inventory.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "8be13966a835100f2249a6e726da813d30b00eb29d843521b5380b06ad5bf5ca",
|
||||
"bytes": 2135
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/lint-final.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "23982f15dec763f3a81ad0bf744a497f87aa72b94fef171c5ced4cb46562a1f8",
|
||||
"bytes": 100
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/npm-ci.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "99aec36e74054441a1e4c2ee0d37b5e5cbe2e3ce61938cf82941f876a338315b",
|
||||
"bytes": 143
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/package-check.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "6919c8eaf9d8599eff53a708c8b19a9de75708735e2cc085865ac5afb56983d8",
|
||||
"bytes": 550
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/pins.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "ecaa1a4e450365efa3be52a6c6bff2a0fae618dd7b3606e60a398087e5846b2e",
|
||||
"bytes": 164
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/ports-independent.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "1e487821f761ab96db779fb3b6fb5e5411005f9027f12a880a779aefb23c50bc",
|
||||
"bytes": 165
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/pr-before.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "3a4f43873a1c44156cc95ee9ecb591d8cc79d0e399f8ea58012384e8fb098abf",
|
||||
"bytes": 189
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/provider-pr-before.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "38f1505efe0f0de1818f222214bcb34fa7fe017c327aeec8b4daf8d75b5bab65",
|
||||
"bytes": 235
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/python-check-files.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "9411cff5ecf5b1dc8689b5357e2d6c157c288e720e9de8428e32276f98bf113c",
|
||||
"bytes": 820
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/rebuild.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "b34f673c0519f0f403684c213b5974081a86a658b2d106c7b5607fd761464fee",
|
||||
"bytes": 2459
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/recompute-final.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "734100ea86229d7e64aae5937e7cbdab9d59bbd858d6750642f482ee63f7f703",
|
||||
"bytes": 254
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/recompute.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "eaef9b45165cca0936c7d1a143fd8e9962e7a4530b362d89212ebdd959a64c70",
|
||||
"bytes": 13765
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/render_report.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "2a77da29204b439330683db1cc06cbae284a4e9faa35889adff84743218d88ef",
|
||||
"bytes": 4729
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/repeat.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "c73280867466a58ac6b781e961b58ceaa407d0a53e13141c1fdf295381b5b1c6",
|
||||
"bytes": 1345
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/repeatability.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "d4960312248f9ccf54a8408f82907911e1bd85e52443bead53aa571ce902e3d9",
|
||||
"bytes": 420
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/review-delta.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "fc7903f6ebd50037f6a181a435e12a4242219f738d99a4a762e9f44f779dd3b8",
|
||||
"bytes": 387
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/service-0.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "e867f1db85eb61530cf22a81e8f265ba6c42fa5fe264c87d9355d401c27d1993",
|
||||
"bytes": 11969
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/service-1.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "cd7e2c6f72ee8cc27eaf8381fbe312b8537e4e97058e5546df4cb1dc927827bc",
|
||||
"bytes": 490
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/service-stop.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
|
||||
"bytes": 65
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/source-check.json",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "d43184233c2f0004a57aa56161952cc9b5042b1325ab640d2d43c4be3786239c",
|
||||
"bytes": 9466
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/validation-commands.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "c6c561cdcbb4b01797fef65a659414ac9220d37e83fca67a363fe6f9b498947a",
|
||||
"bytes": 2756
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/verify_sources.py",
|
||||
"purpose": "离线构建、来源审计、真实旧库保护、包/浏览证据复核或确定性渲染工具",
|
||||
"sha256": "259a26e3ae8f851a790b5d1ddc00ed4812f45934459fb8a81b1206659a02e751",
|
||||
"bytes": 4306
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-document-evidence/visual-review.txt",
|
||||
"purpose": "本轮实际检查结果或复现命令,非全量完成证明",
|
||||
"sha256": "ede281cf94e1ab94499ea8d52edd212659d3a7e7d6b10676f07d8b12a2f74732",
|
||||
"bytes": 662
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-reference/inpaint__comfy__sd.py",
|
||||
"purpose": "准确0.21.1必要文本或准确来源身份索引,不执行上游",
|
||||
"sha256": "3cf8f0aa0e40344d9a455064812f2b371b1464a069b73a041d56b7c15324f9c0",
|
||||
"bytes": 106611
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-reference/inpaint__comfy_api__latest___input_impl____init__.py",
|
||||
"purpose": "准确0.21.1必要文本或准确来源身份索引,不执行上游",
|
||||
"sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c",
|
||||
"bytes": 145
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-reference/inpaint__comfy_api__latest___input_impl__video_types.py",
|
||||
"purpose": "准确0.21.1必要文本或准确来源身份索引,不执行上游",
|
||||
"sha256": "5d6a316b1a8c1da5c00b55026fb488d3381880bcb2ee165d109e0c3256fb2285",
|
||||
"bytes": 22508
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-reference/inpaint__folder_paths.py",
|
||||
"purpose": "准确0.21.1必要文本或准确来源身份索引,不执行上游",
|
||||
"sha256": "1e9e27a040a1c8379d7b75c29abf584d2330583e70877b32face9e581057015e",
|
||||
"bytes": 19027
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-reference/inpaint__node_helpers.py",
|
||||
"purpose": "准确0.21.1必要文本或准确来源身份索引,不执行上游",
|
||||
"sha256": "22317a033cce556331bfedc5f4ab6c2833184fd2bbdf9496c9182a4973a7098a",
|
||||
"bytes": 3188
|
||||
},
|
||||
{
|
||||
"path": "docs/hel-892/flux2-inpaint-reference/sources.json",
|
||||
"purpose": "准确0.21.1必要文本或准确来源身份索引,不执行上游",
|
||||
"sha256": "8e2cd50eaf4176b915a575e2cb858a14129d64ed5f0920d15f7ea549e6ebc5b4",
|
||||
"bytes": 54400
|
||||
},
|
||||
{
|
||||
"path": "e2e/flux2-inpaint-document.mjs",
|
||||
"purpose": "本地GET双屏既有Drawer验证及finally服务回收",
|
||||
"sha256": "ee2ad82d386511891848a2a910b08fde36e6f1fb7d075ba20c5577df25410b33",
|
||||
"bytes": 15874
|
||||
},
|
||||
{
|
||||
"path": "e2e/run-flux2-inpaint-document.py",
|
||||
"purpose": "本地GET双屏既有Drawer验证及finally服务回收",
|
||||
"sha256": "9891463ea1e2d929bd84688512f23c1491591bd621ff8c85032404077bf2b789",
|
||||
"bytes": 3189
|
||||
}
|
||||
],
|
||||
"manifest_self": "不递归哈希自身;最终提交号另附final-head.json"
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
import json
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
FILES = [
|
||||
("calliope-backend/src/calliope/co" + "mfyui/fixed_document.py"),
|
||||
("calliope-backend/tests/test_flux2_inpaint_fixed_document.py"),
|
||||
"e2e/run-flux2-inpaint-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/flux2-inpaint-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()
|
||||
@@ -0,0 +1,78 @@
|
||||
"Collect final completed browser evidence and independently verify port release."
|
||||
|
||||
import collections
|
||||
import json
|
||||
import re
|
||||
import shutil
|
||||
import socket
|
||||
from pathlib import Path
|
||||
from urllib.parse import urlsplit
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
LOCAL = ROOT / (".local-evidence/flux2-inpaint-document/browser")
|
||||
|
||||
|
||||
def main():
|
||||
stopped = json.loads((LOCAL / "service-stop.json").read_bytes())
|
||||
assert stopped["ports_released"] == [8247, 5173]
|
||||
ports = []
|
||||
for port in [8247, 5173]:
|
||||
with socket.socket() as s:
|
||||
s.settimeout(1)
|
||||
result = s.connect_ex(("127.0.0.1", port))
|
||||
assert result != 0
|
||||
ports.append(dict(port=port, connect_ex=result, connection_refused=True))
|
||||
data = json.loads((LOCAL / "browser-results.json").read_bytes())
|
||||
assert not data["errors"] and data["viewports"] == [1440, 390]
|
||||
backend = collections.Counter(
|
||||
re.findall(r'"GET ([^ ]+) HTTP/1.1"', (LOCAL / "service-0.log").read_text())
|
||||
)
|
||||
polling = {p: n for p, n in backend.items() if p in ["/api/events", "/api/jobs"]}
|
||||
fixed = {p: n for p, n in backend.items() if p not in polling}
|
||||
browser = collections.Counter(urlsplit(r["url"]).path for r in data["requests"])
|
||||
intercepted = collections.Counter(urlsplit(r["url"]).path for r in data["interceptions"])
|
||||
expected = browser.copy()
|
||||
for p, n in intercepted.items():
|
||||
expected[p] -= n
|
||||
expected["/api/workflows"] += 1 # Foreground readiness probe, explicitly separate.
|
||||
# Browser result is flushed just before browser.close; a final timer GET can
|
||||
# reach the server after that snapshot. Keep its exact count separately.
|
||||
polling_delta = {p: backend[p] - expected[p] for p in ["/api/jobs", "/api/events"]}
|
||||
assert all(abs(n) <= 1 for n in polling_delta.values())
|
||||
assert {p: n for p, n in expected.items() if p not in polling_delta} == fixed
|
||||
|
||||
counts = dict(
|
||||
fixed_count=sum(fixed.values()),
|
||||
fixed_paths=fixed,
|
||||
polling_count=sum(polling.values()),
|
||||
polling_paths=polling,
|
||||
readiness_gets=1,
|
||||
detail_fixture_intercepts=len(data["interceptions"]),
|
||||
fixed_paths_browser_minus_fixtures_plus_readiness_matches_backend=True,
|
||||
polling_snapshot_delta=polling_delta,
|
||||
polling_snapshot_tolerance=1,
|
||||
)
|
||||
(OUT / "backend-request-counts.json").write_text(
|
||||
json.dumps(counts, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
(OUT / "ports-independent.json").write_text(json.dumps(ports, indent=2) + "\n")
|
||||
for name in ["browser-results.json", "service-stop.json", "service-0.log", "service-1.log"]:
|
||||
shutil.copyfile(LOCAL / name, OUT / name.replace(".log", ".txt"))
|
||||
print(
|
||||
"PASS browser",
|
||||
data["assertion_count"],
|
||||
data["assertionGroups"],
|
||||
"fixed/polling/fixture",
|
||||
data["request_accounting"]["fixed_count"],
|
||||
data["request_accounting"]["polling_count"],
|
||||
len(data["interceptions"]),
|
||||
"backend",
|
||||
counts["fixed_count"],
|
||||
counts["polling_count"],
|
||||
("readiness1; independently refused8247/5173"),
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
||||
第69批仅Flux局部重绘单图参考说明;原PR #25,base main,继续agent/agent/a64a969a6a44。旧基线559fbf4508ae21143074400c5c33bab0bcc5631c。
|
||||
|
||||
实际doc_json、GET及既有Drawer新增34保存位置(33标量含上传状态+1完整历史列表)及两完整MarkdownNote;旧49块1859位置+52注释逐对象不变,现50图1893+54仅参考。源27节点34边、全mode0、无子图/具名保存;[]、缺键和null分开。明确155图像/MASK配对→150、146局部重绘初始latent/noise_mask与141参考条件分支、151三VAE扇出、两处调度缓存覆盖、145.B为缩放参考图,不能保证遮罩外像素不变或边界无缝。
|
||||
|
||||
准确0.21.1 Inpaint/LoadImage/LoRA与core0.8.2混合身份分开;59必要文本69引用核SHA/Git对象或准确包成员CRC。LoadImage透明alpha反转/64占位、KJ配对mask的插值/通道/尺寸处理、Inpaint裁边填充round/膨胀及始终返回noise_mask、0.8.2下游消费仅静态解释。不读取图片、处理遮罩或执行上游。TT许可、Label身份、UE/tab/宿主恢复、完整KJ/rgthree包SHA/Git绑定等未知保留。
|
||||
|
||||
287后台通过(274专项+13库)、1808浏览断言通过(616新图+1176旧49图+2汇总+14共享)。13自写Python Ruff/format、JS语法、前端build、离线wheel/sdist三资源字节核对和双次重建/渲染一致通过。未重跑未改大套件;5个基线既有失败仅沿用历史,不声称全仓通过。依赖构建既有xyflow导入/大chunk提示未扩修。
|
||||
|
||||
真实旧代码隔离库只1更新154跳过,其他154整行不变;幂等、精确回退/再升级、升级前后用户修改各1冲突/29列整行保护。155/排除1、16/139、1217/3660/294、全停用未检查/空时间戳保持。163原件(156源图+7配套API)及191冻结资源字节不变,28profile/9候选/六差分、转换执行资格、Drawer整文件/CSS/依赖均不动。
|
||||
|
||||
1440/390两屏逐位置、完整提示/两Note/历史、流程/版本依据、默认折叠、错绑定/旧空说明回退、迟到/重试、焦点无横溢通过。固定GET浏览163、后台158含就绪1,轮询各12;6详情夹具及字体CSS拦截单列逐路径对账,禁止请求0。finally停止本轮服务,独立确认8247/5173释放;17截图仅附卡,5代表图目验。浏览遗留分组键名称与真实覆盖数的关系见development-notes.md,不累加重跑。
|
||||
|
||||
完整中文说明在docs/hel-892/Flux局部重绘图固定参考中文说明.md。复现入口validation-commands.txt;差分review-delta.json、旧库保护import-protection.json、来源source-check.json、冻结frozen-resource-check.json、包字节package-check.json、逐文件用途/SHA见changed-files.json。
|
||||
|
||||
剩余105目标图无本类参考块;155全量完整定稿0、必要实跑0、本批新增转换0。目标安装/素材/模型/许可/兼容/设备、组合恢复、真实目录/history与效果仍未知。当前不需材料或机器窗口。未连接目标、停TTS、启ComfyUI、构造prompt、执行插件/SDK/表达式/模型/GPU/媒体/遮罩/种子/状态/缓存显存,未下载权重素材字体运行库、增依赖付费、写在线库、合并部署。155全量审核后才发布;请总管接回HEL-893功能+界面审查本批增量。
|
||||
@@ -0,0 +1,11 @@
|
||||
本批先阅读README的系统/工作流边界及library.py、fixed_document.py与上一批实现证据。运行资源只增加单图固定说明及代码拥有摘要,不改导入/转换/执行器或Drawer。通过原分支远端559fbf4核对原PR25 head/base;Multica链接表为空,另以提供方只读API核对open/main/未合并,不创建竞争PR。
|
||||
|
||||
独立读取原字节得到27节点34边、34位置与2完整MarkdownNote,[]与缺键分开。仅复用小志图已审准确schema的共同文字;所有本图顺序/指针/类型/值/输入口/物理边/属性重新读取,TT/Resize/LoadImage映射逐图重绑,新增MASK/初始latent/三VAE分支及比较B缩放图语义。本图没有Impact证据。旧49块逐对象冻结,真实旧库其余154整行保护。
|
||||
|
||||
准确0.21.1 nodes.py/许可/Git树已有字节复用;新增folder_paths.py、node_helpers.py、comfy/sd.py、comfy_api/latest/_input_impl/__init__.py与video_types.py五份必要文本,固定26515acd23fa291a8f5ab53c5997258598de0701,逐blob对同树验证。没有导入或执行上游。LoadImage首选组件alpha反转/无alpha64占位与Pillow回退分列;KJ64占位识别、mask尺寸bilinear对齐、当前nearest-exact配对通道/缩放和无mask返回条件写入说明。Inpaint裁边依VAE压缩因数、填0.5、round/膨胀、始终返回noise_mask与下游0.8.2消费分开。未实际读取/处理素材、表达式、遮罩或采样。
|
||||
|
||||
来源local_file以本evidence目录为基准;sources.json原始条目及license_file以各reference清单所在目录为基准,旧条目许可文件名如core__LICENSE位于flux2-img-reference;新增helper许可../flux2-img-reference/lora__LICENSE。完整commit/tree/tag/blob、URL/SHA/获取时间在sources/index,复核时间见source-check。TT许可、Label身份、UE/tab恢复、完整KJ/rgthree包SHA/Git绑定仍未知,不以成员CRC/SHA或ETag冒充。
|
||||
|
||||
首次专项287项即通过。自写生成器最初长中文行触发Ruff,采用Python相邻字面量分割,格式/导入排序修正;双次重建/渲染证实定义与说明字节不变。最终13自写Python Ruff/format及JS语法通过;未改大套件不机械重跑,5既有失败仅沿用记录。前端build通过,xyflow未用导入与大chunk提示沿用现有依赖输出,不扩修、不称全仓绿。
|
||||
|
||||
浏览脚本沿用已审公共场景,新增本图并保留全部49旧图。遗留group键old_forty_eight对应实际49旧图1176条,new_flux2_img对应本批616条;names数组、逐断言名称与GET逐路径对账可复核,不累加重复运行。两屏1808断言;17截图仅附卡,5代表图目验。前台总控finally关闭全部本轮服务,独立拒绝连接8247/5173。无新pyc入仓。当前不需要机器窗口;仅交总管审核本批,不宣称全量完成。
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,771 @@
|
||||
{
|
||||
"base": "559fbf4508ae21143074400c5c33bab0bcc5631c",
|
||||
"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": "559fbf4508ae21143074400c5c33bab0bcc5631c",
|
||||
"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": 34,
|
||||
"new_notes": 2,
|
||||
"old_saved": 1859,
|
||||
"old_notes": 52,
|
||||
"overviews": 50,
|
||||
"all_disabled": true,
|
||||
"doc_done": 0,
|
||||
"executed": 0
|
||||
}
|
||||
@@ -0,0 +1,387 @@
|
||||
{
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
|
||||
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414",
|
||||
"git_blob_sha1": "86614fdf732b0457d10ac562d722b1b0eec57c1e",
|
||||
"fields": [
|
||||
{
|
||||
"node": 102,
|
||||
"pointer": "/nodes/1/widgets_values/0",
|
||||
"value": 5,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 105,
|
||||
"pointer": "/nodes/2/widgets_values/0",
|
||||
"value": 775361803314234,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 105,
|
||||
"pointer": "/nodes/2/widgets_values/1",
|
||||
"value": "randomize",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 109,
|
||||
"pointer": "/nodes/3/widgets_values/0",
|
||||
"value": "",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 100,
|
||||
"pointer": "/nodes/4/widgets_values/0",
|
||||
"value": "euler",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 107,
|
||||
"pointer": "/nodes/9/widgets_values/0",
|
||||
"value": "qwen_3_8b_fp8mixed.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 107,
|
||||
"pointer": "/nodes/9/widgets_values/1",
|
||||
"value": "flux2",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 107,
|
||||
"pointer": "/nodes/9/widgets_values/2",
|
||||
"value": "default",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 106,
|
||||
"pointer": "/nodes/10/widgets_values/0",
|
||||
"value": "Flux\\flux-2-klein-base-9b-fp8.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 106,
|
||||
"pointer": "/nodes/10/widgets_values/1",
|
||||
"value": "default",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 101,
|
||||
"pointer": "/nodes/12/widgets_values/0",
|
||||
"value": 12,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 101,
|
||||
"pointer": "/nodes/12/widgets_values/1",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 101,
|
||||
"pointer": "/nodes/12/widgets_values/2",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 144,
|
||||
"pointer": "/nodes/13/widgets_values/0",
|
||||
"value": false,
|
||||
"json_type": "bool",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 144,
|
||||
"pointer": "/nodes/13/widgets_values/1",
|
||||
"value": "720x1280 (9:16) (竖屏)",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 144,
|
||||
"pointer": "/nodes/13/widgets_values/2",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 144,
|
||||
"pointer": "/nodes/13/widgets_values/3",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 110,
|
||||
"pointer": "/nodes/14/widgets_values/0",
|
||||
"value": "flux2-vae.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 145,
|
||||
"pointer": "/nodes/17/widgets_values/0",
|
||||
"value": [
|
||||
{
|
||||
"name": "A",
|
||||
"selected": true,
|
||||
"url": "/api/view?filename=rgthree.compare._temp_uvrnh_00009_.png&type=temp&subfolder=&rand=0.3590508457123851"
|
||||
},
|
||||
{
|
||||
"name": "B",
|
||||
"selected": true,
|
||||
"url": "/api/view?filename=rgthree.compare._temp_uvrnh_00010_.png&type=temp&subfolder=&rand=0.10528664350627004"
|
||||
}
|
||||
],
|
||||
"json_type": "list",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/0",
|
||||
"value": 512,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/1",
|
||||
"value": 512,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/2",
|
||||
"value": "nearest-exact",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/3",
|
||||
"value": "resize",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/4",
|
||||
"value": "0, 0, 0",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/5",
|
||||
"value": "center",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/6",
|
||||
"value": 2,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/7",
|
||||
"value": "cpu",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 108,
|
||||
"pointer": "/nodes/21/widgets_values/0",
|
||||
"value": "将遮罩中的物品换成紫色葡萄",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 146,
|
||||
"pointer": "/nodes/23/widgets_values/0",
|
||||
"value": 6,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 155,
|
||||
"pointer": "/nodes/24/widgets_values/0",
|
||||
"value": "ComfyUI_00150_.png",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 155,
|
||||
"pointer": "/nodes/24/widgets_values/1",
|
||||
"value": "image",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 142,
|
||||
"pointer": "/nodes/25/widgets_values/0",
|
||||
"value": "Flux\\Flux2-Klein-9B-consistency-V2_一致性大熊版.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 142,
|
||||
"pointer": "/nodes/25/widgets_values/1",
|
||||
"value": 0.8,
|
||||
"json_type": "float",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 9,
|
||||
"pointer": "/nodes/26/widgets_values/0",
|
||||
"value": "Flux2-Klein",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
}
|
||||
],
|
||||
"empty": [
|
||||
{
|
||||
"node": 103,
|
||||
"pointer": "/nodes/5",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 141,
|
||||
"pointer": "/nodes/6",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 140,
|
||||
"pointer": "/nodes/7",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 139,
|
||||
"pointer": "/nodes/8",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 143,
|
||||
"pointer": "/nodes/11",
|
||||
"state": "missing"
|
||||
},
|
||||
{
|
||||
"node": 153,
|
||||
"pointer": "/nodes/15",
|
||||
"state": "missing"
|
||||
},
|
||||
{
|
||||
"node": 152,
|
||||
"pointer": "/nodes/16",
|
||||
"state": "missing"
|
||||
},
|
||||
{
|
||||
"node": 104,
|
||||
"pointer": "/nodes/19",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 151,
|
||||
"pointer": "/nodes/20",
|
||||
"state": "missing"
|
||||
}
|
||||
],
|
||||
"nodes": 27,
|
||||
"edges": 34,
|
||||
"notes": 2,
|
||||
"named_nodes": 0,
|
||||
"modes": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"extra": {
|
||||
"frontendVersion": "1.36.13",
|
||||
"workflowRendererVersion": "LG",
|
||||
"VHS_latentpreview": false,
|
||||
"VHS_latentpreviewrate": 0,
|
||||
"VHS_MetadataImage": true,
|
||||
"VHS_KeepIntermediate": true,
|
||||
"ue_links": [],
|
||||
"links_added_by_ue": [],
|
||||
"ds": {
|
||||
"scale": 1.5839267353437354,
|
||||
"offset": [
|
||||
-2177.9016921855778,
|
||||
-591.5619644156155
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,62 @@
|
||||
"Pinned necessary text only; verify Git objects, never import upstream."
|
||||
|
||||
import datetime
|
||||
import hashlib
|
||||
import json
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
REF = Path(__file__).resolve().parent.parent / "flux2-inpaint-reference"
|
||||
OLD = REF.parent / "flux2-img-reference"
|
||||
|
||||
|
||||
def main():
|
||||
rows = []
|
||||
for e in json.loads((OLD / "sources.json").read_bytes())["sources"]:
|
||||
rows.append(
|
||||
dict(
|
||||
e,
|
||||
local_file="../flux2-img-reference/" + e["local_file"],
|
||||
license_file="../flux2-img-reference/" + e["license_file"],
|
||||
applicability="本局部重绘图独立绑定;准确版本参考,不证明目标恢复",
|
||||
)
|
||||
)
|
||||
base = next(e for e in rows if e["id"] == "lora")
|
||||
tree = json.loads((OLD / "lora-tree.json").read_bytes())
|
||||
for file in [
|
||||
"folder_paths.py",
|
||||
"node_helpers.py",
|
||||
"comfy/sd.py",
|
||||
"comfy_api/latest/_input_impl/__init__.py",
|
||||
"comfy_api/latest/_input_impl/video_types.py",
|
||||
]:
|
||||
name = "inpaint__" + file.replace("/", "__")
|
||||
url = f"https://raw.githubusercontent.com/{base['repo']}/{base['commit']}/{file}"
|
||||
p = REF / name
|
||||
if not p.exists():
|
||||
with urllib.request.urlopen(url, timeout=30) as r:
|
||||
p.write_bytes(r.read())
|
||||
raw = p.read_bytes()
|
||||
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
assert next(e["sha"] for e in tree["tree"] if e["path"] == file) == blob
|
||||
rows.append(
|
||||
dict(
|
||||
base,
|
||||
file=file,
|
||||
local_file=name,
|
||||
url=url,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=blob,
|
||||
acquisition_time=datetime.datetime.fromtimestamp(
|
||||
p.stat().st_mtime, datetime.timezone.utc
|
||||
).isoformat(),
|
||||
transport="HTTPS exact commit text matched exact Git tree; no upstream execution",
|
||||
)
|
||||
)
|
||||
(REF / "sources.json").write_text(
|
||||
json.dumps({"sources": rows}, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,64 @@
|
||||
"Independent original byte inventory; no reference-layout assumptions."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[3]
|
||||
OUT = Path(__file__).resolve().parent
|
||||
PATH = "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json"
|
||||
|
||||
|
||||
def inventory():
|
||||
raw = (ROOT / PATH).read_bytes()
|
||||
g = json.loads(raw)
|
||||
fields = []
|
||||
empty = []
|
||||
for i, n in enumerate(g["nodes"]):
|
||||
p = f"/nodes/{i}"
|
||||
if "widgets_values" not in n or not n["widgets_values"]:
|
||||
empty.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=p,
|
||||
state="missing"
|
||||
if "widgets_values" not in n
|
||||
else "null"
|
||||
if n["widgets_values"] is None
|
||||
else "empty_list",
|
||||
)
|
||||
)
|
||||
if n["type"] in ["Note", "MarkdownNote"]:
|
||||
continue
|
||||
for j, v in enumerate(n.get("widgets_values") or []):
|
||||
fields.append(
|
||||
dict(
|
||||
node=n["id"],
|
||||
pointer=f"{p}/widgets_values/{j}",
|
||||
value=v,
|
||||
json_type=type(v).__name__,
|
||||
scope="root",
|
||||
named=n.get("widgets_values_named"),
|
||||
)
|
||||
)
|
||||
return dict(
|
||||
path=PATH,
|
||||
sha256=hashlib.sha256(raw).hexdigest(),
|
||||
git_blob_sha1=hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest(),
|
||||
fields=fields,
|
||||
empty=empty,
|
||||
nodes=len(g["nodes"]),
|
||||
edges=len(g["links"]),
|
||||
notes=sum(n["type"] in ["Note", "MarkdownNote"] for n in g["nodes"]),
|
||||
named_nodes=sum("widgets_values_named" in n for n in g["nodes"]),
|
||||
modes=[n["mode"] for n in g["nodes"]],
|
||||
extra=g["extra"],
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
x = inventory()
|
||||
(OUT / "independent-inventory.json").write_text(
|
||||
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
print(len(x["fields"]), x["nodes"], x["edges"], x["named_nodes"], x["empty"])
|
||||
@@ -0,0 +1,3 @@
|
||||
All checks passed!
|
||||
13 files already formatted
|
||||
PASS 13 authored Python files and one JS syntax check
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
added 255 packages, and audited 256 packages in 1s
|
||||
|
||||
59 packages are looking for funding
|
||||
run `npm fund` for details
|
||||
|
||||
found 0 vulnerabilities
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
{
|
||||
"file": "fixed_document.py",
|
||||
"sha256": "fc05e334fc435ec6c37a8c34ee47026cb4affe45254c6352b67fca62a319be28",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 50
|
||||
},
|
||||
{
|
||||
"file": "source_reviews.json",
|
||||
"sha256": "95254f3ad3d40c0155667d6aadee721c8dbb20a53e5c325970742c27a5038833",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 50
|
||||
},
|
||||
{
|
||||
"file": "library.py",
|
||||
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
|
||||
"wheel": true,
|
||||
"sdist": true,
|
||||
"definitions": 50
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json": "d967308e737a617a4d1a19c0f391dd3aea0285547fcbe57f086b5e9307e09724"
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"port": 8247,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
},
|
||||
{
|
||||
"port": 5173,
|
||||
"connect_ex": 111,
|
||||
"connection_refused": true
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"auto_complete": {
|
||||
"issue_disabled": false,
|
||||
"pull_request_ids": [],
|
||||
"state": "none",
|
||||
"target_status": "done",
|
||||
"workspace_enabled": true
|
||||
},
|
||||
"pull_requests": []
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"number": 25,
|
||||
"state": "open",
|
||||
"merged": false,
|
||||
"html_url": "http://gitea.xbay.cc/leefer/aigc-home/pulls/25",
|
||||
"head": "agent/agent/a64a969a6a44",
|
||||
"head_sha": "559fbf4508ae21143074400c5c33bab0bcc5631c",
|
||||
"base": "main"
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
[
|
||||
"calliope-backend/src/calliope/comfyui/fixed_document.py",
|
||||
"calliope-backend/tests/test_flux2_inpaint_fixed_document.py",
|
||||
"e2e/run-flux2-inpaint-document.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/build_definition.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/check_code.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/collect_browser.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/index_sources.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/inventory.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/rebuild.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/recompute.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/render_report.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/repeat.py",
|
||||
"docs/hel-892/flux2-inpaint-document-evidence/verify_sources.py"
|
||||
]
|
||||
@@ -0,0 +1,64 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import subprocess
|
||||
|
||||
from build_definition import OUT, PATHS, REPO, build, canonical
|
||||
|
||||
BASE = "559fbf4508ae21143074400c5c33bab0bcc5631c"
|
||||
RESOURCE = ("calliope-backend/src/calliope/" + "co") + "mfyui/source_reviews.json"
|
||||
|
||||
|
||||
def build_all():
|
||||
previous = json.loads(subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO))
|
||||
reviews = json.loads(json.dumps(previous, ensure_ascii=False))
|
||||
for i, path in enumerate(PATHS):
|
||||
block = build(i)
|
||||
assert reviews[path]["source_sha"] == block["source_sha1"]
|
||||
assert "fixed_version_document" not in previous[path]
|
||||
reviews[path]["fixed_version_document"] = block
|
||||
return reviews, previous
|
||||
|
||||
|
||||
def main():
|
||||
current = json.loads((REPO / RESOURCE).read_bytes())
|
||||
reviews, _previous = build_all()
|
||||
(REPO / RESOURCE).write_text(json.dumps(reviews, ensure_ascii=False, indent=2) + "\n")
|
||||
pins = {}
|
||||
for i, path in enumerate(PATHS):
|
||||
block = reviews[path]["fixed_version_document"]
|
||||
pins[path] = hashlib.sha256(canonical(block)).hexdigest()
|
||||
(OUT / f"definition-{i}.json").write_text(
|
||||
json.dumps(block, ensure_ascii=False, indent=2) + "\n"
|
||||
)
|
||||
# Explicit maintenance of the code-owned allowlist, never trust runtime caller digests.
|
||||
module = REPO / (("calliope-backend/src/calliope/" + "co") + "mfyui/fixed_document.py")
|
||||
text = module.read_text()
|
||||
for path, digest in pins.items():
|
||||
old_block = current[path].get("fixed_version_document")
|
||||
old_digest = hashlib.sha256(canonical(old_block)).hexdigest() if old_block else None
|
||||
if old_digest and old_digest in text:
|
||||
text = text.replace(old_digest, digest)
|
||||
elif digest in text:
|
||||
pass
|
||||
else:
|
||||
text = text.replace(
|
||||
"DEFINITIONS = {",
|
||||
"DEFINITIONS = {\n (\n"
|
||||
+ "".join(
|
||||
" " + repr(path[i : i + 41]) + "\n" for i in range(0, len(path), 41)
|
||||
)
|
||||
+ " ): "
|
||||
+ repr(digest)
|
||||
+ ",",
|
||||
)
|
||||
module.write_text(text)
|
||||
(OUT / "pins.json").write_text(json.dumps(pins, ensure_ascii=False, indent=2) + "\n")
|
||||
print(("PASS one new definition; other 155 reviews and old 49 blocks unchanged"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,2 @@
|
||||
PASS 59 exact source texts; 69 citations; 34 positions, 2 Notes, 34 edges
|
||||
PASS actual 559fbf4508ae21143074400c5c33bab0bcc5631c upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 50 definitions, frozen boundaries, wheel/sdist
|
||||
@@ -0,0 +1,368 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import io
|
||||
import json
|
||||
import os
|
||||
import sqlite3
|
||||
import subprocess
|
||||
import sys
|
||||
import tarfile
|
||||
import tempfile
|
||||
import zipfile
|
||||
from pathlib import Path
|
||||
|
||||
from build_definition import OUT, PATHS, REPO, canonical
|
||||
from rebuild import BASE, RESOURCE, build_all
|
||||
|
||||
BASE = os.environ.get("TTS_IMPORT_BASE", BASE)
|
||||
|
||||
sys.path.insert(0, str(REPO / "calliope-backend"))
|
||||
|
||||
|
||||
def write(name, value):
|
||||
(OUT / name).write_text(json.dumps(value, ensure_ascii=False, indent=2) + "\n")
|
||||
|
||||
|
||||
def require_packages():
|
||||
dist = REPO / "calliope-backend/dist"
|
||||
w = sorted(dist.glob("*.whl"))
|
||||
s = sorted(dist.glob("*.tar.gz"))
|
||||
if not w or not s:
|
||||
raise SystemExit(
|
||||
(
|
||||
"缺少wheel/sdist包产物,请先在仓库根执行:uv bui"
|
||||
+ "ld --project calliope-backend --"
|
||||
+ "offline"
|
||||
)
|
||||
)
|
||||
return w[-1], s[-1]
|
||||
|
||||
|
||||
def main():
|
||||
from calliope.comfyui.fixed_document import DEFINITIONS
|
||||
from calliope.comfyui.library import rollback_batch
|
||||
from scripts.audit_library_documents import audit
|
||||
|
||||
wheels, sdists = require_packages()
|
||||
from verify_sources import main as verify_sources
|
||||
|
||||
verify_sources()
|
||||
rebuilt, previous = build_all()
|
||||
assert rebuilt == json.loads((REPO / RESOURCE).read_bytes())
|
||||
old_blocks = {
|
||||
p: r[("fixed_version_document")]
|
||||
for p, r in previous.items()
|
||||
if ("fixed_version_document") in r
|
||||
}
|
||||
assert len(old_blocks) == 49
|
||||
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()) == 1859
|
||||
for p, d in DEFINITIONS.items():
|
||||
assert hashlib.sha256(canonical(rebuilt[p]["fixed_version_document"])).hexdigest() == d
|
||||
write(
|
||||
"review-delta.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"changed_paths": PATHS,
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 49,
|
||||
"old_saved": 1859,
|
||||
"old_notes": 52,
|
||||
"new_saved": 34,
|
||||
"new_notes": 2,
|
||||
"total_documents": 50,
|
||||
"total_saved": 1893,
|
||||
"total_notes": 54,
|
||||
},
|
||||
)
|
||||
with tempfile.TemporaryDirectory() as directory:
|
||||
work = Path(directory)
|
||||
old = work / "old"
|
||||
old.mkdir()
|
||||
data = subprocess.check_output(["git", "archive", BASE, ("calliope-backend/src")], cwd=REPO)
|
||||
with tarfile.open(fileobj=io.BytesIO(data)) as a:
|
||||
a.extractall(old, filter="data")
|
||||
db = work / "library.db"
|
||||
|
||||
def run(name, historical=False):
|
||||
out = work / name
|
||||
env = {
|
||||
**os.environ,
|
||||
"PYTHONPATH": str((old if historical else REPO) / "calliope-backend/src"),
|
||||
}
|
||||
subprocess.run(
|
||||
[
|
||||
sys.executable,
|
||||
"-m",
|
||||
"calliope.comfyui.library_cli",
|
||||
"import",
|
||||
"--root",
|
||||
str(REPO / "example_ComfyUI_workflows"),
|
||||
"--db",
|
||||
str(db),
|
||||
"--source-commit",
|
||||
BASE,
|
||||
"--companions",
|
||||
str(REPO / (("docs/hel-892/supplied-api/mani" + "fe") + "st.json")),
|
||||
"--output-dir",
|
||||
str(out),
|
||||
],
|
||||
cwd=REPO,
|
||||
env=env,
|
||||
check=True,
|
||||
stdout=subprocess.DEVNULL,
|
||||
)
|
||||
return json.loads((out / "import_report.json").read_bytes()), out
|
||||
|
||||
def rows():
|
||||
with sqlite3.connect(db) as c:
|
||||
c.row_factory = sqlite3.Row
|
||||
return {
|
||||
r["source_repo_path"]: dict(r) for r in c.execute(("SELECT * FROM workflows"))
|
||||
}
|
||||
|
||||
first, _ = run("historical", True)
|
||||
before = rows()
|
||||
assert first["counts"] == {"imported": 155, "user_excluded": 1}
|
||||
assert all(
|
||||
"fixed_version" in json.loads(before[p]["doc_json"])
|
||||
if BASE.startswith("3c307e0")
|
||||
else "fixed_version" not in json.loads(before[p]["doc_json"])
|
||||
for p in PATHS
|
||||
)
|
||||
assert all(
|
||||
json.loads(before[p]["doc_json"])["fixed_version"]["matched"]
|
||||
for p in DEFINITIONS
|
||||
if p not in PATHS
|
||||
)
|
||||
original = db
|
||||
protected = []
|
||||
|
||||
def protect(name):
|
||||
nonlocal db
|
||||
db = work / (name + ".db")
|
||||
with sqlite3.connect(original) as src, sqlite3.connect(db) as dst:
|
||||
src.backup(dst)
|
||||
for p in PATHS:
|
||||
dst.execute(
|
||||
(
|
||||
(("UPDATE workflows SET descripti") + "on")
|
||||
+ ("=? WHERE source_repo_path=?")
|
||||
),
|
||||
(name, p),
|
||||
)
|
||||
snapshot = rows()
|
||||
r, _ = run(name)
|
||||
assert r["counts"] == {"conflict": 1, "skipped": 154, "user_excluded": 1}
|
||||
assert rows() == snapshot and all(len(snapshot[p]) == 29 for p in PATHS)
|
||||
protected.append({"phase": name, "counts": r["counts"], "whole_rows": 1, "columns": 29})
|
||||
db = original
|
||||
|
||||
protect("user-before")
|
||||
upgrade, exported = run("upgrade")
|
||||
after = rows()
|
||||
assert upgrade["counts"] == {"updated": 1, "skipped": 154, "user_excluded": 1}
|
||||
for p, row in after.items():
|
||||
if p not in PATHS:
|
||||
assert row == before[p]
|
||||
continue
|
||||
assert len(row) == 29
|
||||
assert all(
|
||||
row[k] == before[p][k]
|
||||
for k in row.keys() - {"doc_json", "batch_id", "imported_at", "library_fingerprint"}
|
||||
)
|
||||
d = json.loads(row["doc_json"])
|
||||
assert d["fixed_version"]["matched"]
|
||||
old_doc = json.loads(before[p]["doc_json"])
|
||||
without = dict(d)
|
||||
fixed = without.pop("fixed_version")
|
||||
# Output-reference enrichment appends two existing steps after the generic
|
||||
# three for this graph. Replace only the actual original generic segment.
|
||||
generic = [
|
||||
f"打开源工作流 {p},逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。",
|
||||
]
|
||||
offset = old_doc["steps"].index(generic[0])
|
||||
assert old_doc["steps"][offset : offset + 3] == generic
|
||||
assert (
|
||||
without["steps"]
|
||||
== old_doc["steps"][:offset] + fixed["steps"] + old_doc["steps"][offset + 3 :]
|
||||
)
|
||||
without["steps"] = old_doc["steps"]
|
||||
assert without.pop("source_review_sha") != old_doc.pop("source_review_sha")
|
||||
old_doc.pop("fixed_version", None)
|
||||
assert without == old_doc
|
||||
write("actual-" + Path(p).stem + ".json", d)
|
||||
repeat, _ = run("repeat")
|
||||
assert repeat["counts"] == {"skipped": 155, "user_excluded": 1}
|
||||
with sqlite3.connect(db) as c:
|
||||
c.row_factory = sqlite3.Row
|
||||
r = rollback_batch(c, upgrade["batch_id"])
|
||||
assert len(r["files"]) == 1 and all(f["result"] == "restored" for f in r["files"])
|
||||
assert rows() == before
|
||||
redo, _ = run("redo")
|
||||
assert redo["counts"] == upgrade["counts"]
|
||||
protect("user-after")
|
||||
db = work / "fresh.db"
|
||||
fresh, exported = run("fresh")
|
||||
fresh_repeat, _ = run("fresh-repeat")
|
||||
assert fresh["counts"] == first["counts"] and fresh_repeat["counts"] == repeat["counts"]
|
||||
assert fresh["states"] == {"pending_check": 16, "needs_conversion": 139}
|
||||
companion = 0
|
||||
for row in rows().values():
|
||||
d = json.loads(row["doc_json"])
|
||||
companion += sum(
|
||||
p.get("value_origin") == ("supplied_api_companion") for p in d["params"]
|
||||
)
|
||||
assert (
|
||||
not row["is_enabled"]
|
||||
and row["doc_completed_at"] is None
|
||||
and row["exec_verified_at"] is None
|
||||
)
|
||||
assert not d["status"]["doc_done"] and not d["status"]["exec_verified"]
|
||||
assert d["dependencies"]["check_state"] == "unchecked"
|
||||
report = audit(REPO, exported)
|
||||
assert (
|
||||
report["named_values_preserved"] == 1217
|
||||
and report["unnamed_widget_nodes"] == 3660
|
||||
and companion == 294
|
||||
)
|
||||
assert report["full_documents_completed"] == report["real_executions"] == 0
|
||||
write("audit-summary.json", {k: v for k, v in report.items() if k != "files"})
|
||||
write(
|
||||
"import-protection.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"first": first["counts"],
|
||||
"upgrade": upgrade["counts"],
|
||||
"repeat": repeat["counts"],
|
||||
"restored_rows": 1,
|
||||
"untouched_whole_rows": 154,
|
||||
"eligibility_unchanged": True,
|
||||
"redo": redo["counts"],
|
||||
"user_protection": protected,
|
||||
"fresh": fresh["counts"],
|
||||
"fresh_repeat": fresh_repeat["counts"],
|
||||
"states": fresh["states"],
|
||||
"source_named_fields": 1217,
|
||||
"positional_widgets": 3660,
|
||||
"companion_values": companion,
|
||||
"new_saved": 34,
|
||||
"new_notes": 2,
|
||||
"old_saved": 1859,
|
||||
"old_notes": 52,
|
||||
"overviews": 50,
|
||||
"all_disabled": True,
|
||||
"doc_done": 0,
|
||||
"executed": 0,
|
||||
},
|
||||
)
|
||||
old_reviews = json.loads(
|
||||
subprocess.check_output(["git", "show", f"{BASE}:{RESOURCE}"], cwd=REPO)
|
||||
)
|
||||
current = json.loads((REPO / RESOURCE).read_bytes())
|
||||
for p in PATHS:
|
||||
current[p].pop("fixed_version_document")
|
||||
old_reviews[p].pop("fixed_version_document", None)
|
||||
assert current == old_reviews
|
||||
boundaries = json.loads(
|
||||
(
|
||||
REPO / (("docs/hel-892/h3-document-evide" + "nc") + "e/unchanged-boundaries.json")
|
||||
).read_bytes()
|
||||
)
|
||||
paths = (
|
||||
[f["path"] for f in boundaries["files"]]
|
||||
+ boundaries["frozen_conversion_and_audits"]
|
||||
+ [("calliope-backend/src/calliope/co" + "mfyui/library.py")]
|
||||
)
|
||||
kept = []
|
||||
for p in paths:
|
||||
raw = (REPO / p).read_bytes()
|
||||
assert raw == subprocess.check_output(["git", "show", f"{BASE}:{p}"], cwd=REPO)
|
||||
kept.append({"path": p, "sha256": hashlib.sha256(raw).hexdigest()})
|
||||
ui = ("calliope-web/src/lib/component" + "s/") + "WorkflowDocumentDrawer.svelte"
|
||||
drawer_bytes = (REPO / ui).read_bytes()
|
||||
assert drawer_bytes == subprocess.check_output(["git", "show", f"{BASE}:{ui}"], cwd=REPO)
|
||||
|
||||
write(
|
||||
"boundaries.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"files": kept,
|
||||
"originals": 163,
|
||||
"old_forty_nine_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/" + "co") + "mfyui/"))
|
||||
and p
|
||||
not in [
|
||||
RESOURCE,
|
||||
((("calliope-backend/src/calliope/") + "co") + ("mfyui/fixed_document.py")),
|
||||
]
|
||||
]
|
||||
for p in frozen:
|
||||
assert (REPO / p).read_bytes() == subprocess.check_output(
|
||||
["git", "show", f"{BASE}:{p}"], cwd=REPO
|
||||
)
|
||||
write(
|
||||
"frozen-resource-check.json",
|
||||
{
|
||||
"base": BASE,
|
||||
"files": [
|
||||
{"path": p, "sha256": hashlib.sha256((REPO / p).read_bytes()).hexdigest()}
|
||||
for p in frozen
|
||||
],
|
||||
"original_files": sum(p.startswith("example_ComfyUI_workflows/") for p in frozen),
|
||||
"all_unchanged": True,
|
||||
},
|
||||
)
|
||||
packages = []
|
||||
with zipfile.ZipFile(wheels) as w, tarfile.open(sdists) as s:
|
||||
for name in ["fixed_document.py", "source_reviews.json", "library.py"]:
|
||||
raw = (
|
||||
REPO / ((("calliope-backend/src/calliope/") + "co") + "mfyui") / name
|
||||
).read_bytes()
|
||||
assert w.read("calliope/comfyui/" + name) == raw
|
||||
member = next(n for n in s.getnames() if n.endswith(("/src/calliope/comfyui/") + name))
|
||||
assert s.extractfile(member).read() == raw
|
||||
packages.append(
|
||||
{
|
||||
"file": name,
|
||||
"sha256": hashlib.sha256(raw).hexdigest(),
|
||||
"wheel": True,
|
||||
"sdist": True,
|
||||
"definitions": 50,
|
||||
}
|
||||
)
|
||||
write("package-check.json", packages)
|
||||
print(
|
||||
f"PASS actual {BASE} upgrade1/skip154, repe"
|
||||
"at155, rollback1, edits1"
|
||||
"/29cols, fresh155,"
|
||||
" 1217/3660/294, 50 defin"
|
||||
"itions, frozen bou"
|
||||
"ndaries, wheel/sdist"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,133 @@
|
||||
"Offline batch evidence tooling; no upstream execution."
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
OUT = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def main():
|
||||
lines = [
|
||||
"# Flux局部重绘图固定参考中文说明",
|
||||
"",
|
||||
(
|
||||
"新增34保存位置/2注释;旧49块1859位置+52注释逐对象不变,50"
|
||||
"图1893+54仅参考;155定稿0/实跑0/新增转换0。"
|
||||
),
|
||||
"",
|
||||
(
|
||||
("来源local_file以docs/hel-892/flux2-inpaint-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["named_pointer"] + "`;作用域:" + f["scope"],
|
||||
"",
|
||||
"定义默认:" + f["schema_default"] + ";单位:" + f["unit"],
|
||||
"",
|
||||
"范围/条件:" + f["limits"],
|
||||
"",
|
||||
f["execution_note"],
|
||||
"",
|
||||
"依据:",
|
||||
]
|
||||
for k in f["evidence"]:
|
||||
e = b["sources"][k]
|
||||
lines += [
|
||||
(
|
||||
f"- [{k}] {e['claim']};{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 / "Flux局部重绘图固定参考中文说明.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,48 @@
|
||||
"Compare deterministic definitions and rendered artifacts."
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
|
||||
from build_definition import OUT, REPO, canonical
|
||||
from rebuild import RESOURCE, build_all
|
||||
from render_report import main as render
|
||||
|
||||
|
||||
def main():
|
||||
a, old = build_all()
|
||||
b, previous = build_all()
|
||||
assert a == b and old == previous
|
||||
assert a == json.loads((REPO / RESOURCE).read_bytes())
|
||||
render()
|
||||
paths = [
|
||||
OUT / "fixed-source-index.json",
|
||||
OUT.parent / "Flux局部重绘图固定参考中文说明.md",
|
||||
]
|
||||
before = {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths}
|
||||
render()
|
||||
assert before == {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in paths}
|
||||
(OUT / "repeatability.json").write_text(
|
||||
json.dumps(
|
||||
{
|
||||
"definitions": 50,
|
||||
"repeated_build_equal": True,
|
||||
"repeated_render_equal": True,
|
||||
"resource_sha256": hashlib.sha256(canonical(a)).hexdigest(),
|
||||
"artifacts": before,
|
||||
},
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print(
|
||||
(
|
||||
("PASS deterministic definitions" + " a")
|
||||
+ ("nd rendered artifacts: zero di" + "ff")
|
||||
+ "erence"
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"definitions": 50,
|
||||
"repeated_build_equal": true,
|
||||
"repeated_render_equal": true,
|
||||
"resource_sha256": "503aebe5b3e404c61fef1f09345219318ff92f7662d25112c7f90b6f8e9ac467",
|
||||
"artifacts": {
|
||||
"fixed-source-index.json": "abcf694a2de08f1973b8b13c523647821f949296fe329c90d045d91552c6d0d9",
|
||||
"Flux局部重绘图固定参考中文说明.md": "253f0baa8e07b0fab861672ca938a12d46270582708fb31a67884f2545e33d62"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"base": "559fbf4508ae21143074400c5c33bab0bcc5631c",
|
||||
"changed_paths": [
|
||||
"example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json"
|
||||
],
|
||||
"other_reviews_unchanged": 155,
|
||||
"old_blocks_unchanged": 49,
|
||||
"old_saved": 1859,
|
||||
"old_notes": 52,
|
||||
"new_saved": 34,
|
||||
"new_notes": 2,
|
||||
"total_documents": 50,
|
||||
"total_saved": 1893,
|
||||
"total_notes": 54
|
||||
}
|
||||
@@ -0,0 +1,179 @@
|
||||
INFO: Started server process [914685]
|
||||
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': {'imported': 155, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}}
|
||||
INFO: 127.0.0.1:60558 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39112 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39102 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39128 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:39126 - "GET /api/settings HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39144 - "GET /api/workflows HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39160 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39164 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:39178 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39190 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39198 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39208 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39216 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39226 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39228 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:39234 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41954 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41960 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41966 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:41980 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41984 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41992 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:41994 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:41998 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42004 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42016 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42022 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42028 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42040 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42048 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42056 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42058 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42062 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42078 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42082 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42090 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42102 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42114 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42118 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42124 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42134 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42142 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42150 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:42160 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:42168 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54680 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54688 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:54698 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54710 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54726 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54738 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54742 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54750 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54754 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54762 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54772 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54782 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54786 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54790 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54798 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54812 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54814 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:54830 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:54832 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33056 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33058 - "GET /api/workflows/48 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33066 - "GET /api/workflows/46 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33068 - "GET /api/workflows/45 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33072 - "GET /api/workflows/42 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33084 - "GET /api/workflows/41 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33096 - "GET /api/workflows/40 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33098 - "GET /api/workflows/39 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33114 - "GET /api/workflows/38 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33116 - "GET /api/workflows/37 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33124 - "GET /api/workflows/18 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33128 - "GET /api/workflows/20 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33132 - "GET /api/workflows/30 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33138 - "GET /api/workflows/32 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33146 - "GET /api/workflows/34 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33156 - "GET /api/workflows/33 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33168 - "GET /api/workflows/31 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33172 - "GET /api/workflows/29 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33174 - "GET /api/workflows/28 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33188 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33194 - "GET /api/workflows/27 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33196 - "GET /api/workflows/26 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33208 - "GET /api/workflows/17 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33224 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33238 - "GET /api/workflows/4 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33254 - "GET /api/workflows/15 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33266 - "GET /api/workflows/11 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33344 - "GET /api/workflows/3 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33360 - "GET /api/workflows/9 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33368 - "GET /api/workflows/16 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33378 - "GET /api/workflows/10 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33392 - "GET /api/workflows/23 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33396 - "GET /api/workflows/8 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33400 - "GET /api/workflows/22 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33406 - "GET /api/workflows/5 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33412 - "GET /api/workflows/6 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33422 - "GET /api/workflows/7 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33424 - "GET /api/workflows/19 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33440 - "GET /api/workflows/13 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33444 - "GET /api/workflows/12 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33454 - "GET /api/workflows/64 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33458 - "GET /api/workflows/62 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33462 - "GET /api/workflows/70 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33474 - "GET /api/workflows/1 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33476 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33492 - "GET /api/workflows/36 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33508 - "GET /api/workflows/35 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33524 - "GET /api/workflows/2 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33532 - "GET /api/jobs HTTP/1.1" 404 Not Found
|
||||
INFO: 127.0.0.1:33546 - "GET /api/workflows/25 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33548 - "GET /api/workflows/24 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33554 - "GET /api/workflows/21 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33564 - "GET /api/workflows/14 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33580 - "GET /api/workflows/156 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:33594 - "GET /api/workflows/157 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49734 - "GET /api/workflows/47 HTTP/1.1" 200 OK
|
||||
INFO: 127.0.0.1:49750 - "GET /api/workflows/49 HTTP/1.1" 200 OK
|
||||
INFO: Shutting down
|
||||
INFO: Waiting for application shutdown.
|
||||
INFO: Application shutdown complete.
|
||||
INFO: Finished server process [914685]
|
||||
@@ -0,0 +1,10 @@
|
||||
6:03:39 AM [vite] (client) Forced re-optimization of dependencies
|
||||
|
||||
VITE v6.4.3 ready in 453 ms
|
||||
|
||||
➜ Local: http://127.0.0.1:5173/
|
||||
6:03:40 AM [vite] (ssr) page reload .svelte-kit/generated/shared/error-template.js
|
||||
6:03:40 AM [vite] (ssr) page reload .svelte-kit/generated/server/internal.js
|
||||
6:03:40 AM [vite] (ssr) page reload .svelte-kit/generated/root.js
|
||||
6:03:40 AM [vite] (ssr) page reload .svelte-kit/generated/root.svelte
|
||||
6:03:40 AM [vite] (client) page reload build/index.html
|
||||
@@ -0,0 +1 @@
|
||||
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
|
||||
@@ -0,0 +1,409 @@
|
||||
{
|
||||
"all_pass": true,
|
||||
"reverified_at": "2026-10-30T22:03:04.387919+00:00",
|
||||
"source_files": 59,
|
||||
"citations": 69,
|
||||
"counts": {
|
||||
"saved_fields": 34,
|
||||
"root_saved_fields": 34,
|
||||
"internal_saved_fields": 0,
|
||||
"linked_saved_fields": 4,
|
||||
"frontend_only": 3,
|
||||
"source_nodes": 27,
|
||||
"root_nodes": 27,
|
||||
"internal_nodes": 0,
|
||||
"physical_edges": 34,
|
||||
"source_notes": 2,
|
||||
"history_objects": 1,
|
||||
"final_scalars": 0,
|
||||
"final_prompt_constructed": false
|
||||
},
|
||||
"inventory": {
|
||||
"path": "example_ComfyUI_workflows/3-图像生成/Flux/4_flux2_klein_图生图_局部重绘.json",
|
||||
"sha256": "d1d57bd401959975cbe6fd70f97706cec21bbed0a5ec3747447b9f192631f414",
|
||||
"git_blob_sha1": "86614fdf732b0457d10ac562d722b1b0eec57c1e",
|
||||
"fields": [
|
||||
{
|
||||
"node": 102,
|
||||
"pointer": "/nodes/1/widgets_values/0",
|
||||
"value": 5,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 105,
|
||||
"pointer": "/nodes/2/widgets_values/0",
|
||||
"value": 775361803314234,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 105,
|
||||
"pointer": "/nodes/2/widgets_values/1",
|
||||
"value": "randomize",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 109,
|
||||
"pointer": "/nodes/3/widgets_values/0",
|
||||
"value": "",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 100,
|
||||
"pointer": "/nodes/4/widgets_values/0",
|
||||
"value": "euler",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 107,
|
||||
"pointer": "/nodes/9/widgets_values/0",
|
||||
"value": "qwen_3_8b_fp8mixed.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 107,
|
||||
"pointer": "/nodes/9/widgets_values/1",
|
||||
"value": "flux2",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 107,
|
||||
"pointer": "/nodes/9/widgets_values/2",
|
||||
"value": "default",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 106,
|
||||
"pointer": "/nodes/10/widgets_values/0",
|
||||
"value": "Flux\\flux-2-klein-base-9b-fp8.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 106,
|
||||
"pointer": "/nodes/10/widgets_values/1",
|
||||
"value": "default",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 101,
|
||||
"pointer": "/nodes/12/widgets_values/0",
|
||||
"value": 12,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 101,
|
||||
"pointer": "/nodes/12/widgets_values/1",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 101,
|
||||
"pointer": "/nodes/12/widgets_values/2",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 144,
|
||||
"pointer": "/nodes/13/widgets_values/0",
|
||||
"value": false,
|
||||
"json_type": "bool",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 144,
|
||||
"pointer": "/nodes/13/widgets_values/1",
|
||||
"value": "720x1280 (9:16) (竖屏)",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 144,
|
||||
"pointer": "/nodes/13/widgets_values/2",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 144,
|
||||
"pointer": "/nodes/13/widgets_values/3",
|
||||
"value": 1024,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 110,
|
||||
"pointer": "/nodes/14/widgets_values/0",
|
||||
"value": "flux2-vae.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 145,
|
||||
"pointer": "/nodes/17/widgets_values/0",
|
||||
"value": [
|
||||
{
|
||||
"name": "A",
|
||||
"selected": true,
|
||||
"url": "/api/view?filename=rgthree.compare._temp_uvrnh_00009_.png&type=temp&subfolder=&rand=0.3590508457123851"
|
||||
},
|
||||
{
|
||||
"name": "B",
|
||||
"selected": true,
|
||||
"url": "/api/view?filename=rgthree.compare._temp_uvrnh_00010_.png&type=temp&subfolder=&rand=0.10528664350627004"
|
||||
}
|
||||
],
|
||||
"json_type": "list",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/0",
|
||||
"value": 512,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/1",
|
||||
"value": 512,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/2",
|
||||
"value": "nearest-exact",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/3",
|
||||
"value": "resize",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/4",
|
||||
"value": "0, 0, 0",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/5",
|
||||
"value": "center",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/6",
|
||||
"value": 2,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 150,
|
||||
"pointer": "/nodes/18/widgets_values/7",
|
||||
"value": "cpu",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 108,
|
||||
"pointer": "/nodes/21/widgets_values/0",
|
||||
"value": "将遮罩中的物品换成紫色葡萄",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 146,
|
||||
"pointer": "/nodes/23/widgets_values/0",
|
||||
"value": 6,
|
||||
"json_type": "int",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 155,
|
||||
"pointer": "/nodes/24/widgets_values/0",
|
||||
"value": "ComfyUI_00150_.png",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 155,
|
||||
"pointer": "/nodes/24/widgets_values/1",
|
||||
"value": "image",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 142,
|
||||
"pointer": "/nodes/25/widgets_values/0",
|
||||
"value": "Flux\\Flux2-Klein-9B-consistency-V2_一致性大熊版.safetensors",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 142,
|
||||
"pointer": "/nodes/25/widgets_values/1",
|
||||
"value": 0.8,
|
||||
"json_type": "float",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
},
|
||||
{
|
||||
"node": 9,
|
||||
"pointer": "/nodes/26/widgets_values/0",
|
||||
"value": "Flux2-Klein",
|
||||
"json_type": "str",
|
||||
"scope": "root",
|
||||
"named": null
|
||||
}
|
||||
],
|
||||
"empty": [
|
||||
{
|
||||
"node": 103,
|
||||
"pointer": "/nodes/5",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 141,
|
||||
"pointer": "/nodes/6",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 140,
|
||||
"pointer": "/nodes/7",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 139,
|
||||
"pointer": "/nodes/8",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 143,
|
||||
"pointer": "/nodes/11",
|
||||
"state": "missing"
|
||||
},
|
||||
{
|
||||
"node": 153,
|
||||
"pointer": "/nodes/15",
|
||||
"state": "missing"
|
||||
},
|
||||
{
|
||||
"node": 152,
|
||||
"pointer": "/nodes/16",
|
||||
"state": "missing"
|
||||
},
|
||||
{
|
||||
"node": 104,
|
||||
"pointer": "/nodes/19",
|
||||
"state": "empty_list"
|
||||
},
|
||||
{
|
||||
"node": 151,
|
||||
"pointer": "/nodes/20",
|
||||
"state": "missing"
|
||||
}
|
||||
],
|
||||
"nodes": 27,
|
||||
"edges": 34,
|
||||
"notes": 2,
|
||||
"named_nodes": 0,
|
||||
"modes": [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0
|
||||
],
|
||||
"extra": {
|
||||
"frontendVersion": "1.36.13",
|
||||
"workflowRendererVersion": "LG",
|
||||
"VHS_latentpreview": false,
|
||||
"VHS_latentpreviewrate": 0,
|
||||
"VHS_MetadataImage": true,
|
||||
"VHS_KeepIntermediate": true,
|
||||
"ue_links": [],
|
||||
"links_added_by_ue": [],
|
||||
"ds": {
|
||||
"scale": 1.5839267353437354,
|
||||
"offset": [
|
||||
-2177.9016921855778,
|
||||
-591.5619644156155
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"upstream_executed": false
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
# 仓库根执行;第69批只补局部重绘图。原PR25/main,基线559fbf4508ae21143074400c5c33bab0bcc5631c。
|
||||
uv sync --project calliope-backend --offline --extra dev
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-inpaint-document-evidence/inventory.py
|
||||
# index_sources.py仅首次按固定commit取五份必要文本;后续复核全离线,禁止执行上游。
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-inpaint-document-evidence/verify_sources.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-inpaint-document-evidence/rebuild.py
|
||||
uv run --project calliope-backend --offline ruff format --config calliope-backend/pyproject.toml calliope-backend/src/calliope/comfyui/fixed_document.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-inpaint-document-evidence/repeat.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_flux2_inpaint_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-inpaint-document-evidence/check_code.py
|
||||
PYTHONDONTWRITEBYTECODE=1 uv build --project calliope-backend --offline
|
||||
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline python docs/hel-892/flux2-inpaint-document-evidence/recompute.py
|
||||
npm ci --offline --ignore-scripts --prefix calliope-web
|
||||
npm run build --prefix calliope-web
|
||||
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-flux2-inpaint-document.py
|
||||
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/flux2-inpaint-document-evidence/collect_browser.py
|
||||
# 287后台=274专项+13库;1808浏览=616新图+1176旧49图+2汇总+14共享。
|
||||
# 浏览结果沿用的group键new_flux2_img指本批inpaint、old_forty_eight实际覆盖49旧图;以names、断言明细和计数为准。
|
||||
# 双次定义重建/说明渲染一致;真实旧库仅1更新154跳过;幂等/精确回退/再升级及升级前后各1用户冲突/29列保护。
|
||||
# 59准确来源文本/69引用;只新增五份0.21.1 helper必要文本,其余准确字节复用并独立绑定。
|
||||
# 50图1893位置+54注释仅参考;155完整定稿0/实跑0/新增转换0。
|
||||
# 固定GET浏览163/后台158含就绪1,轮询各12;6详情夹具及字体CSS拦截单列逐路径对账。
|
||||
# 17截图仅附卡,5代表图目验;finally停服务,独立确认8247/5173释放。
|
||||
# 未机械重跑未改大套件;5旧失败沿用历史,不称全仓绿。
|
||||
@@ -0,0 +1,116 @@
|
||||
"Verify exact source bytes, objects, citations and every graph binding offline."
|
||||
|
||||
import datetime
|
||||
import hashlib
|
||||
import json
|
||||
import zlib
|
||||
|
||||
from build_definition import OUT, REF, REPO, build, canonical
|
||||
from inventory import inventory
|
||||
|
||||
|
||||
def main():
|
||||
b = build()
|
||||
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
|
||||
identity = REF.parent / "flux2-img-reference"
|
||||
for e in rows:
|
||||
raw = (REF / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
|
||||
if e["id"] in ["kj", "rgthree"]:
|
||||
info = next(
|
||||
x
|
||||
for x in json.loads((identity / (e["id"] + "-members.json")).read_bytes())
|
||||
if x["name"] == e["file"]
|
||||
)
|
||||
assert zlib.crc32(raw) == info["crc"] == e["member_crc32"]
|
||||
assert e["git_commit_binding"] == "unknown"
|
||||
assert (
|
||||
json.loads((identity / (e["id"] + "-registry.json")).read_bytes())["version"]
|
||||
== e["tag"]
|
||||
)
|
||||
continue
|
||||
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
|
||||
assert blob == e["git_blob_sha1"]
|
||||
tree = json.loads((identity / (e["id"] + "-tree.json")).read_bytes())
|
||||
assert tree["sha"] == e["tree"] and not tree["truncated"]
|
||||
assert next(x["sha"] for x in tree["tree"] if x["path"] == e["file"]) == blob
|
||||
c = (identity / (e["id"] + "-commit.txt")).read_bytes()
|
||||
assert (
|
||||
hashlib.sha1(b"commit " + str(len(c)).encode() + b"\0" + c).hexdigest() == e["commit"]
|
||||
)
|
||||
assert c.decode().splitlines()[0] == "tree " + e["tree"]
|
||||
tag = json.loads((identity / (e["id"] + "-tag.json")).read_bytes())
|
||||
tr = (identity / (e["id"] + "-tag.txt")).read_bytes()
|
||||
assert tag["commit"] == e["commit"]
|
||||
if tag["object"] != tag["commit"]:
|
||||
assert (
|
||||
hashlib.sha1(b"tag " + str(len(tr)).encode() + b"\0" + tr).hexdigest()
|
||||
== tag["object"]
|
||||
)
|
||||
assert tr.decode().startswith("object " + e["commit"] + "\n")
|
||||
else:
|
||||
assert tr == c
|
||||
inv = inventory()
|
||||
assert (len(inv["fields"]), inv["nodes"], inv["edges"], inv["notes"], inv["named_nodes"]) == (
|
||||
34,
|
||||
27,
|
||||
34,
|
||||
2,
|
||||
0,
|
||||
)
|
||||
assert {x["node"]: x["state"] for x in inv["empty"]} == {
|
||||
103: "empty_list",
|
||||
141: "empty_list",
|
||||
140: "empty_list",
|
||||
139: "empty_list",
|
||||
104: "empty_list",
|
||||
143: "missing",
|
||||
151: "missing",
|
||||
152: "missing",
|
||||
153: "missing",
|
||||
}
|
||||
for a, f in zip(inv["fields"], b["fields"], strict=True):
|
||||
assert (a["pointer"], a["json_type"], canonical(a["value"])) == (
|
||||
f["pointer"],
|
||||
f["json_type"],
|
||||
canonical(f["value"]),
|
||||
)
|
||||
g = json.loads((REPO / b["source_path"]).read_bytes())
|
||||
ns = {n["id"]: n for n in g["nodes"]}
|
||||
for edge, src, slot, dst, port, kind in g["links"]:
|
||||
assert edge in ns[src]["outputs"][slot]["links"]
|
||||
assert ns[dst]["inputs"][port]["link"] == edge
|
||||
assert ns[src]["outputs"][slot]["type"] == kind
|
||||
assert all(n["mode"] == 0 for n in g["nodes"]) and not g.get("definitions")
|
||||
assert ns[103]["outputs"][1]["links"] == [] and g["extra"]["frontendVersion"] == "1.36.13"
|
||||
for e in b["sources"]:
|
||||
data = (OUT / e["local_file"]).read_bytes()
|
||||
assert hashlib.sha256(data).hexdigest() == e["sha256"]
|
||||
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(data.decode().splitlines())
|
||||
(OUT / "source-check.json").write_text(
|
||||
json.dumps(
|
||||
dict(
|
||||
all_pass=True,
|
||||
reverified_at=datetime.datetime.now(datetime.timezone.utc).isoformat(),
|
||||
source_files=len(rows),
|
||||
citations=len(b["sources"]),
|
||||
counts=b["counts"],
|
||||
inventory=inv,
|
||||
upstream_executed=False,
|
||||
),
|
||||
ensure_ascii=False,
|
||||
indent=2,
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print(
|
||||
"PASS",
|
||||
len(rows),
|
||||
"exact source texts;",
|
||||
len(b["sources"]),
|
||||
"citations; 34 positions, 2 Notes, 34 edges",
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,3 @@
|
||||
目验5代表截图:1440-49-default.png、390-49-default.png、1440-49-branch-flow.png、390-49-fixed-sources-corrected.png、390-49-154-note.png。
|
||||
默认用途先于技术依据,状态明确停用/未检查/未定稿/未实跑;展开内容能读到MASK与Inpaint初始latent、共享VAE及0.21.1条件,grow_mask_by原int6、单位/范围/精确commit/行号可核;右键遮罩完整Note与源文相符;两宽度无横溢、没有新视觉样式。
|
||||
17截图全部保留于交付附件;浏览自动核对全部34位置、两Note、历史对象、旧49图状态、折叠、错误回退/迟到/重试和焦点。截图无实际生成/目标媒体。
|
||||
File diff suppressed because it is too large
Load Diff
+7
@@ -0,0 +1,7 @@
|
||||
from .video_types import VideoFromFile, VideoFromComponents
|
||||
|
||||
__all__ = [
|
||||
# Implementations
|
||||
"VideoFromFile",
|
||||
"VideoFromComponents",
|
||||
]
|
||||
+531
@@ -0,0 +1,531 @@
|
||||
from __future__ import annotations
|
||||
from av.container import InputContainer
|
||||
from av.subtitles.stream import SubtitleStream
|
||||
from fractions import Fraction
|
||||
from typing import Optional
|
||||
from .._input import AudioInput, VideoInput
|
||||
import av
|
||||
import io
|
||||
import itertools
|
||||
import json
|
||||
import numpy as np
|
||||
import math
|
||||
import torch
|
||||
from .._util import VideoContainer, VideoCodec, VideoComponents
|
||||
import logging
|
||||
|
||||
|
||||
def container_to_output_format(container_format: str | None) -> str | None:
|
||||
"""
|
||||
A container's `format` may be a comma-separated list of formats.
|
||||
E.g., iso container's `format` may be `mov,mp4,m4a,3gp,3g2,mj2`.
|
||||
However, writing to a file/stream with `av.open` requires a single format,
|
||||
or `None` to auto-detect.
|
||||
"""
|
||||
if not container_format:
|
||||
return None # Auto-detect
|
||||
|
||||
if "," not in container_format:
|
||||
return container_format
|
||||
|
||||
formats = container_format.split(",")
|
||||
return formats[0]
|
||||
|
||||
def get_open_write_kwargs(
|
||||
dest: str | io.BytesIO, container_format: str, to_format: str | None
|
||||
) -> dict:
|
||||
"""Get kwargs for writing a `VideoFromFile` to a file/stream with `av.open`"""
|
||||
open_kwargs = {
|
||||
"mode": "w",
|
||||
# If isobmff, preserve custom metadata tags (workflow, prompt, extra_pnginfo)
|
||||
"options": {"movflags": "use_metadata_tags"},
|
||||
}
|
||||
|
||||
is_write_to_buffer = isinstance(dest, io.BytesIO)
|
||||
if is_write_to_buffer:
|
||||
# Set output format explicitly, since it cannot be inferred from file extension
|
||||
if to_format == VideoContainer.AUTO:
|
||||
to_format = container_format.lower()
|
||||
elif isinstance(to_format, str):
|
||||
to_format = to_format.lower()
|
||||
open_kwargs["format"] = container_to_output_format(to_format)
|
||||
|
||||
return open_kwargs
|
||||
|
||||
|
||||
class VideoFromFile(VideoInput):
|
||||
"""
|
||||
Class representing video input from a file.
|
||||
"""
|
||||
|
||||
def __init__(self, file: str | io.BytesIO, *, start_time: float=0, duration: float=0):
|
||||
"""
|
||||
Initialize the VideoFromFile object based off of either a path on disk or a BytesIO object
|
||||
containing the file contents.
|
||||
"""
|
||||
self.__file = file
|
||||
self.__start_time = start_time
|
||||
self.__duration = duration
|
||||
|
||||
def get_stream_source(self) -> str | io.BytesIO:
|
||||
"""
|
||||
Return the underlying file source for efficient streaming.
|
||||
This avoids unnecessary memory copies when the source is already a file path.
|
||||
"""
|
||||
if isinstance(self.__file, io.BytesIO):
|
||||
self.__file.seek(0)
|
||||
return self.__file
|
||||
|
||||
def get_dimensions(self) -> tuple[int, int]:
|
||||
"""
|
||||
Returns the dimensions of the video input.
|
||||
|
||||
Returns:
|
||||
Tuple of (width, height)
|
||||
"""
|
||||
if isinstance(self.__file, io.BytesIO):
|
||||
self.__file.seek(0) # Reset the BytesIO object to the beginning
|
||||
with av.open(self.__file, mode='r') as container:
|
||||
for stream in container.streams:
|
||||
if stream.type == 'video':
|
||||
assert isinstance(stream, av.VideoStream)
|
||||
return stream.width, stream.height
|
||||
raise ValueError(f"No video stream found in file '{self.__file}'")
|
||||
|
||||
def get_duration(self) -> float:
|
||||
"""
|
||||
Returns the duration of the video in seconds.
|
||||
|
||||
Returns:
|
||||
Duration in seconds
|
||||
"""
|
||||
raw_duration = self._get_raw_duration()
|
||||
if self.__start_time < 0:
|
||||
duration_from_start = min(raw_duration, -self.__start_time)
|
||||
else:
|
||||
duration_from_start = raw_duration - self.__start_time
|
||||
if self.__duration:
|
||||
return min(self.__duration, duration_from_start)
|
||||
return duration_from_start
|
||||
|
||||
def _get_raw_duration(self) -> float:
|
||||
if isinstance(self.__file, io.BytesIO):
|
||||
self.__file.seek(0)
|
||||
with av.open(self.__file, mode="r") as container:
|
||||
if container.duration is not None:
|
||||
return float(container.duration / av.time_base)
|
||||
|
||||
# Fallback: calculate from frame count and frame rate
|
||||
video_stream = next(
|
||||
(s for s in container.streams if s.type == "video"), None
|
||||
)
|
||||
if video_stream and video_stream.frames and video_stream.average_rate:
|
||||
return float(video_stream.frames / video_stream.average_rate)
|
||||
|
||||
# Last resort: decode frames to count them
|
||||
if video_stream and video_stream.average_rate:
|
||||
frame_count = 0
|
||||
container.seek(0)
|
||||
frame_iterator = (
|
||||
container.decode(video_stream)
|
||||
if video_stream.codec.capabilities & 0x100
|
||||
else container.demux(video_stream)
|
||||
)
|
||||
for packet in frame_iterator:
|
||||
frame_count += 1
|
||||
if frame_count > 0:
|
||||
return float(frame_count / video_stream.average_rate)
|
||||
|
||||
raise ValueError(f"Could not determine duration for file '{self.__file}'")
|
||||
|
||||
def get_frame_count(self) -> int:
|
||||
"""
|
||||
Returns the number of frames in the video without materializing them as
|
||||
torch tensors.
|
||||
"""
|
||||
if isinstance(self.__file, io.BytesIO):
|
||||
self.__file.seek(0)
|
||||
|
||||
with av.open(self.__file, mode="r") as container:
|
||||
video_stream = self._get_first_video_stream(container)
|
||||
# 1. Prefer the frames field if available and usable
|
||||
if (
|
||||
video_stream.frames
|
||||
and video_stream.frames > 0
|
||||
and not self.__start_time
|
||||
and not self.__duration
|
||||
):
|
||||
return int(video_stream.frames)
|
||||
|
||||
# 2. Try to estimate from duration and average_rate using only metadata
|
||||
if (
|
||||
getattr(video_stream, "duration", None) is not None
|
||||
and getattr(video_stream, "time_base", None) is not None
|
||||
and video_stream.average_rate
|
||||
):
|
||||
raw_duration = float(video_stream.duration * video_stream.time_base)
|
||||
if self.__start_time < 0:
|
||||
duration_from_start = min(raw_duration, -self.__start_time)
|
||||
else:
|
||||
duration_from_start = raw_duration - self.__start_time
|
||||
duration_seconds = min(self.__duration, duration_from_start)
|
||||
estimated_frames = int(round(duration_seconds * float(video_stream.average_rate)))
|
||||
if estimated_frames > 0:
|
||||
return estimated_frames
|
||||
|
||||
# 3. Last resort: decode frames and count them (streaming)
|
||||
if self.__start_time < 0:
|
||||
start_time = max(self._get_raw_duration() + self.__start_time, 0)
|
||||
else:
|
||||
start_time = self.__start_time
|
||||
frame_count = 1
|
||||
start_pts = int(start_time / video_stream.time_base)
|
||||
end_pts = int((start_time + self.__duration) / video_stream.time_base)
|
||||
container.seek(start_pts, stream=video_stream)
|
||||
frame_iterator = (
|
||||
container.decode(video_stream)
|
||||
if video_stream.codec.capabilities & 0x100
|
||||
else container.demux(video_stream)
|
||||
)
|
||||
for frame in frame_iterator:
|
||||
if frame.pts >= start_pts:
|
||||
break
|
||||
else:
|
||||
raise ValueError(f"Could not determine frame count for file '{self.__file}'\nNo frames exist for start_time {self.__start_time}")
|
||||
for frame in frame_iterator:
|
||||
if frame.pts >= end_pts:
|
||||
break
|
||||
frame_count += 1
|
||||
return frame_count
|
||||
|
||||
def get_frame_rate(self) -> Fraction:
|
||||
"""
|
||||
Returns the average frame rate of the video using container metadata
|
||||
without decoding all frames.
|
||||
"""
|
||||
if isinstance(self.__file, io.BytesIO):
|
||||
self.__file.seek(0)
|
||||
|
||||
with av.open(self.__file, mode="r") as container:
|
||||
video_stream = self._get_first_video_stream(container)
|
||||
# Preferred: use PyAV's average_rate (usually already a Fraction-like)
|
||||
if video_stream.average_rate:
|
||||
return Fraction(video_stream.average_rate)
|
||||
|
||||
# Fallback: estimate from frames + duration if available
|
||||
if video_stream.frames and container.duration:
|
||||
duration_seconds = float(container.duration / av.time_base)
|
||||
if duration_seconds > 0:
|
||||
return Fraction(video_stream.frames / duration_seconds).limit_denominator()
|
||||
|
||||
# Last resort: match get_components_internal default
|
||||
return Fraction(1)
|
||||
|
||||
def get_container_format(self) -> str:
|
||||
"""
|
||||
Returns the container format of the video (e.g., 'mp4', 'mov', 'avi').
|
||||
|
||||
Returns:
|
||||
Container format as string
|
||||
"""
|
||||
if isinstance(self.__file, io.BytesIO):
|
||||
self.__file.seek(0)
|
||||
with av.open(self.__file, mode='r') as container:
|
||||
return container.format.name
|
||||
|
||||
def get_components_internal(self, container: InputContainer) -> VideoComponents:
|
||||
video_stream = self._get_first_video_stream(container)
|
||||
if self.__start_time < 0:
|
||||
start_time = max(self._get_raw_duration() + self.__start_time, 0)
|
||||
else:
|
||||
start_time = self.__start_time
|
||||
|
||||
# Get video frames
|
||||
frames = []
|
||||
audio_frames = []
|
||||
alphas = None
|
||||
start_pts = int(start_time / video_stream.time_base)
|
||||
end_pts = int((start_time + self.__duration) / video_stream.time_base)
|
||||
|
||||
if start_pts != 0:
|
||||
container.seek(start_pts, stream=video_stream)
|
||||
|
||||
image_format = 'gbrpf32le'
|
||||
process_image_format = lambda a: a
|
||||
audio = None
|
||||
|
||||
streams = [video_stream]
|
||||
has_first_audio_frame = False
|
||||
checked_alpha = False
|
||||
|
||||
# Default to False so we decode until EOF if duration is 0
|
||||
video_done = False
|
||||
audio_done = True
|
||||
|
||||
if len(container.streams.audio):
|
||||
audio_stream = container.streams.audio[-1]
|
||||
streams += [audio_stream]
|
||||
resampler = av.audio.resampler.AudioResampler(format='fltp')
|
||||
audio_done = False
|
||||
|
||||
for packet in container.demux(*streams):
|
||||
if video_done and audio_done:
|
||||
break
|
||||
|
||||
if packet.stream.type == "video":
|
||||
if video_done:
|
||||
continue
|
||||
try:
|
||||
for frame in packet.decode():
|
||||
if frame.pts < start_pts:
|
||||
continue
|
||||
if self.__duration and frame.pts >= end_pts:
|
||||
video_done = True
|
||||
break
|
||||
|
||||
if not checked_alpha:
|
||||
alpha_channel = False
|
||||
for comp in frame.format.components:
|
||||
if comp.is_alpha or frame.format.name == "pal8":
|
||||
alphas = []
|
||||
alpha_channel = True
|
||||
break
|
||||
if frame.format.name in ("yuvj420p", "yuvj422p", "yuvj444p", "rgb24", "rgba", "pal8"):
|
||||
process_image_format = lambda a: a.float() / 255.0
|
||||
if alpha_channel:
|
||||
image_format = 'rgba'
|
||||
else:
|
||||
image_format = 'rgb24'
|
||||
else:
|
||||
process_image_format = lambda a: a
|
||||
if alpha_channel:
|
||||
image_format = 'gbrapf32le'
|
||||
else:
|
||||
image_format = 'gbrpf32le'
|
||||
|
||||
checked_alpha = True
|
||||
|
||||
img = frame.to_ndarray(format=image_format) # shape: (H, W, 4)
|
||||
if frame.rotation != 0:
|
||||
k = int(round(frame.rotation // 90))
|
||||
img = np.rot90(img, k=k, axes=(0, 1)).copy()
|
||||
if alphas is None:
|
||||
frames.append(torch.from_numpy(img))
|
||||
else:
|
||||
frames.append(torch.from_numpy(img[..., :-1]))
|
||||
alphas.append(torch.from_numpy(img[..., -1:]))
|
||||
except av.error.InvalidDataError:
|
||||
logging.info("pyav decode error")
|
||||
|
||||
elif packet.stream.type == "audio":
|
||||
if audio_done:
|
||||
continue
|
||||
|
||||
aframes = itertools.chain.from_iterable(
|
||||
map(resampler.resample, packet.decode())
|
||||
)
|
||||
for frame in aframes:
|
||||
if self.__duration and frame.time > start_time + self.__duration:
|
||||
audio_done = True
|
||||
break
|
||||
|
||||
if not has_first_audio_frame:
|
||||
offset_seconds = start_time - frame.pts * audio_stream.time_base
|
||||
to_skip = max(0, int(offset_seconds * audio_stream.sample_rate))
|
||||
if to_skip < frame.samples:
|
||||
has_first_audio_frame = True
|
||||
audio_frames.append(frame.to_ndarray()[..., to_skip:])
|
||||
else:
|
||||
audio_frames.append(frame.to_ndarray())
|
||||
|
||||
images = process_image_format(torch.stack(frames)) if len(frames) > 0 else torch.zeros(0, 0, 0, 3)
|
||||
if alphas is not None:
|
||||
alphas = process_image_format(torch.stack(alphas)) if len(alphas) > 0 else torch.zeros(0, 0, 0, 1)
|
||||
|
||||
# Get frame rate
|
||||
frame_rate = Fraction(video_stream.average_rate) if video_stream.average_rate else Fraction(1)
|
||||
|
||||
if len(audio_frames) > 0:
|
||||
audio_data = np.concatenate(audio_frames, axis=1) # shape: (channels, total_samples)
|
||||
if self.__duration:
|
||||
audio_data = audio_data[..., :int(self.__duration * audio_stream.sample_rate)]
|
||||
|
||||
audio_tensor = torch.from_numpy(audio_data).unsqueeze(0) # shape: (1, channels, total_samples)
|
||||
audio = AudioInput({
|
||||
"waveform": audio_tensor,
|
||||
"sample_rate": int(audio_stream.sample_rate) if audio_stream.sample_rate else 1,
|
||||
})
|
||||
|
||||
metadata = container.metadata
|
||||
return VideoComponents(images=images, alpha=alphas, audio=audio, frame_rate=frame_rate, metadata=metadata)
|
||||
|
||||
def get_components(self) -> VideoComponents:
|
||||
if isinstance(self.__file, io.BytesIO):
|
||||
self.__file.seek(0) # Reset the BytesIO object to the beginning
|
||||
with av.open(self.__file, mode='r') as container:
|
||||
return self.get_components_internal(container)
|
||||
raise ValueError(f"No video stream found in file '{self.__file}'")
|
||||
|
||||
def save_to(
|
||||
self,
|
||||
path: str | io.BytesIO,
|
||||
format: VideoContainer = VideoContainer.AUTO,
|
||||
codec: VideoCodec = VideoCodec.AUTO,
|
||||
metadata: Optional[dict] = None,
|
||||
):
|
||||
if isinstance(self.__file, io.BytesIO):
|
||||
self.__file.seek(0) # Reset the BytesIO object to the beginning
|
||||
with av.open(self.__file, mode='r') as container:
|
||||
container_format = container.format.name
|
||||
video_encoding = container.streams.video[0].codec.name if len(container.streams.video) > 0 else None
|
||||
reuse_streams = True
|
||||
if format != VideoContainer.AUTO and format not in container_format.split(","):
|
||||
reuse_streams = False
|
||||
if codec != VideoCodec.AUTO and codec != video_encoding and video_encoding is not None:
|
||||
reuse_streams = False
|
||||
if self.__start_time or self.__duration:
|
||||
reuse_streams = False
|
||||
|
||||
if not reuse_streams:
|
||||
components = self.get_components_internal(container)
|
||||
video = VideoFromComponents(components)
|
||||
return video.save_to(
|
||||
path, format=format, codec=codec, metadata=metadata
|
||||
)
|
||||
|
||||
streams = container.streams
|
||||
|
||||
open_kwargs = get_open_write_kwargs(path, container_format, format)
|
||||
with av.open(path, **open_kwargs) as output_container:
|
||||
# Copy over the original metadata
|
||||
for key, value in container.metadata.items():
|
||||
if metadata is None or key not in metadata:
|
||||
output_container.metadata[key] = value
|
||||
|
||||
# Add our new metadata
|
||||
if metadata is not None:
|
||||
for key, value in metadata.items():
|
||||
if isinstance(value, str):
|
||||
output_container.metadata[key] = value
|
||||
else:
|
||||
output_container.metadata[key] = json.dumps(value)
|
||||
|
||||
# Add streams to the new container
|
||||
stream_map = {}
|
||||
for stream in streams:
|
||||
if isinstance(stream, (av.VideoStream, av.AudioStream, SubtitleStream)):
|
||||
out_stream = output_container.add_stream_from_template(template=stream, opaque=True)
|
||||
stream_map[stream] = out_stream
|
||||
|
||||
# Write packets to the new container
|
||||
for packet in container.demux():
|
||||
if packet.stream in stream_map and packet.dts is not None:
|
||||
packet.stream = stream_map[packet.stream]
|
||||
output_container.mux(packet)
|
||||
|
||||
def _get_first_video_stream(self, container: InputContainer):
|
||||
if len(container.streams.video):
|
||||
return container.streams.video[0]
|
||||
raise ValueError(f"No video stream found in file '{self.__file}'")
|
||||
|
||||
def as_trimmed(
|
||||
self, start_time: float = 0, duration: float = 0, strict_duration: bool = True
|
||||
) -> VideoInput | None:
|
||||
trimmed = VideoFromFile(
|
||||
self.get_stream_source(),
|
||||
start_time=start_time + self.__start_time,
|
||||
duration=duration,
|
||||
)
|
||||
if trimmed.get_duration() < duration and strict_duration:
|
||||
return None
|
||||
return trimmed
|
||||
|
||||
|
||||
class VideoFromComponents(VideoInput):
|
||||
"""
|
||||
Class representing video input from tensors.
|
||||
"""
|
||||
|
||||
def __init__(self, components: VideoComponents):
|
||||
self.__components = components
|
||||
|
||||
def get_components(self) -> VideoComponents:
|
||||
return VideoComponents(
|
||||
images=self.__components.images,
|
||||
audio=self.__components.audio,
|
||||
frame_rate=self.__components.frame_rate,
|
||||
)
|
||||
|
||||
def save_to(
|
||||
self,
|
||||
path: str,
|
||||
format: VideoContainer = VideoContainer.AUTO,
|
||||
codec: VideoCodec = VideoCodec.AUTO,
|
||||
metadata: Optional[dict] = None,
|
||||
):
|
||||
"""Save the video to a file path or BytesIO buffer."""
|
||||
if format != VideoContainer.AUTO and format != VideoContainer.MP4:
|
||||
raise ValueError("Only MP4 format is supported for now")
|
||||
if codec != VideoCodec.AUTO and codec != VideoCodec.H264:
|
||||
raise ValueError("Only H264 codec is supported for now")
|
||||
extra_kwargs = {}
|
||||
if isinstance(format, VideoContainer) and format != VideoContainer.AUTO:
|
||||
extra_kwargs["format"] = format.value
|
||||
elif isinstance(path, io.BytesIO):
|
||||
# BytesIO has no file extension, so av.open can't infer the format.
|
||||
# Default to mp4 since that's the only supported format anyway.
|
||||
extra_kwargs["format"] = "mp4"
|
||||
with av.open(path, mode='w', options={'movflags': 'use_metadata_tags'}, **extra_kwargs) as output:
|
||||
# Add metadata before writing any streams
|
||||
if metadata is not None:
|
||||
for key, value in metadata.items():
|
||||
output.metadata[key] = json.dumps(value)
|
||||
|
||||
frame_rate = Fraction(round(self.__components.frame_rate * 1000), 1000)
|
||||
# Create a video stream
|
||||
video_stream = output.add_stream('h264', rate=frame_rate)
|
||||
video_stream.width = self.__components.images.shape[2]
|
||||
video_stream.height = self.__components.images.shape[1]
|
||||
video_stream.pix_fmt = 'yuv420p'
|
||||
|
||||
# Create an audio stream
|
||||
audio_sample_rate = 1
|
||||
audio_stream: Optional[av.AudioStream] = None
|
||||
if self.__components.audio:
|
||||
audio_sample_rate = int(self.__components.audio['sample_rate'])
|
||||
waveform = self.__components.audio['waveform']
|
||||
waveform = waveform[0, :, :math.ceil((audio_sample_rate / frame_rate) * self.__components.images.shape[0])]
|
||||
layout = {1: 'mono', 2: 'stereo', 6: '5.1'}.get(waveform.shape[0], 'stereo')
|
||||
audio_stream = output.add_stream('aac', rate=audio_sample_rate, layout=layout)
|
||||
|
||||
# Encode video
|
||||
for i, frame in enumerate(self.__components.images):
|
||||
img = (frame * 255).clamp(0, 255).byte().cpu().numpy() # shape: (H, W, 3)
|
||||
frame = av.VideoFrame.from_ndarray(img, format='rgb24')
|
||||
frame = frame.reformat(format='yuv420p') # Convert to YUV420P as required by h264
|
||||
packet = video_stream.encode(frame)
|
||||
output.mux(packet)
|
||||
|
||||
# Flush video
|
||||
packet = video_stream.encode(None)
|
||||
output.mux(packet)
|
||||
|
||||
if audio_stream and self.__components.audio:
|
||||
frame = av.AudioFrame.from_ndarray(waveform.float().cpu().contiguous().numpy(), format='fltp', layout=layout)
|
||||
frame.sample_rate = audio_sample_rate
|
||||
frame.pts = 0
|
||||
output.mux(audio_stream.encode(frame))
|
||||
|
||||
# Flush encoder
|
||||
output.mux(audio_stream.encode(None))
|
||||
|
||||
def as_trimmed(
|
||||
self,
|
||||
start_time: float | None = None,
|
||||
duration: float | None = None,
|
||||
strict_duration: bool = True,
|
||||
) -> VideoInput | None:
|
||||
if self.get_duration() < start_time + duration:
|
||||
return None
|
||||
#TODO Consider tracking duration and trimming at time of save?
|
||||
return VideoFromFile(self.get_stream_source(), start_time=start_time, duration=duration)
|
||||
@@ -0,0 +1,504 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import time
|
||||
import mimetypes
|
||||
import logging
|
||||
from typing import Literal, List
|
||||
from collections.abc import Collection
|
||||
|
||||
from comfy.cli_args import args
|
||||
|
||||
supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
|
||||
|
||||
folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {}
|
||||
|
||||
# --base-directory - Resets all default paths configured in folder_paths with a new base path
|
||||
if args.base_directory:
|
||||
base_path = os.path.abspath(args.base_directory)
|
||||
else:
|
||||
base_path = os.path.dirname(os.path.realpath(__file__))
|
||||
|
||||
models_dir = os.path.join(base_path, "models")
|
||||
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
|
||||
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
|
||||
|
||||
folder_names_and_paths["loras"] = ([os.path.join(models_dir, "loras")], supported_pt_extensions)
|
||||
folder_names_and_paths["vae"] = ([os.path.join(models_dir, "vae")], supported_pt_extensions)
|
||||
folder_names_and_paths["text_encoders"] = ([os.path.join(models_dir, "text_encoders"), os.path.join(models_dir, "clip")], supported_pt_extensions)
|
||||
folder_names_and_paths["diffusion_models"] = ([os.path.join(models_dir, "unet"), os.path.join(models_dir, "diffusion_models")], supported_pt_extensions)
|
||||
folder_names_and_paths["clip_vision"] = ([os.path.join(models_dir, "clip_vision")], supported_pt_extensions)
|
||||
folder_names_and_paths["style_models"] = ([os.path.join(models_dir, "style_models")], supported_pt_extensions)
|
||||
folder_names_and_paths["embeddings"] = ([os.path.join(models_dir, "embeddings")], supported_pt_extensions)
|
||||
folder_names_and_paths["diffusers"] = ([os.path.join(models_dir, "diffusers")], ["folder"])
|
||||
folder_names_and_paths["vae_approx"] = ([os.path.join(models_dir, "vae_approx")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["controlnet"] = ([os.path.join(models_dir, "controlnet"), os.path.join(models_dir, "t2i_adapter")], supported_pt_extensions)
|
||||
folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["latent_upscale_models"] = ([os.path.join(models_dir, "latent_upscale_models")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
|
||||
|
||||
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
|
||||
|
||||
folder_names_and_paths["model_patches"] = ([os.path.join(models_dir, "model_patches")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["audio_encoders"] = ([os.path.join(models_dir, "audio_encoders")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["background_removal"] = ([os.path.join(models_dir, "background_removal")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["frame_interpolation"] = ([os.path.join(models_dir, "frame_interpolation")], supported_pt_extensions)
|
||||
|
||||
folder_names_and_paths["optical_flow"] = ([os.path.join(models_dir, "optical_flow")], supported_pt_extensions)
|
||||
|
||||
output_directory = os.path.join(base_path, "output")
|
||||
temp_directory = os.path.join(base_path, "temp")
|
||||
input_directory = os.path.join(base_path, "input")
|
||||
user_directory = os.path.join(base_path, "user")
|
||||
|
||||
filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
|
||||
class CacheHelper:
|
||||
"""
|
||||
Helper class for managing file list cache data.
|
||||
"""
|
||||
def __init__(self):
|
||||
self.cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
|
||||
self.active = False
|
||||
|
||||
def get(self, key: str, default=None) -> tuple[list[str], dict[str, float], float]:
|
||||
if not self.active:
|
||||
return default
|
||||
return self.cache.get(key, default)
|
||||
|
||||
def set(self, key: str, value: tuple[list[str], dict[str, float], float]) -> None:
|
||||
if self.active:
|
||||
self.cache[key] = value
|
||||
|
||||
def clear(self):
|
||||
self.cache.clear()
|
||||
|
||||
def __enter__(self):
|
||||
self.active = True
|
||||
return self
|
||||
|
||||
def __exit__(self, exc_type, exc_value, traceback):
|
||||
self.active = False
|
||||
self.clear()
|
||||
|
||||
cache_helper = CacheHelper()
|
||||
|
||||
extension_mimetypes_cache = {
|
||||
"webp" : "image",
|
||||
"fbx" : "model",
|
||||
}
|
||||
|
||||
def map_legacy(folder_name: str) -> str:
|
||||
legacy = {"unet": "diffusion_models",
|
||||
"clip": "text_encoders"}
|
||||
return legacy.get(folder_name, folder_name)
|
||||
|
||||
if not os.path.exists(input_directory):
|
||||
try:
|
||||
os.makedirs(input_directory)
|
||||
except:
|
||||
logging.error("Failed to create input directory")
|
||||
|
||||
def set_output_directory(output_dir: str) -> None:
|
||||
global output_directory
|
||||
output_directory = output_dir
|
||||
|
||||
def set_temp_directory(temp_dir: str) -> None:
|
||||
global temp_directory
|
||||
temp_directory = temp_dir
|
||||
|
||||
def set_input_directory(input_dir: str) -> None:
|
||||
global input_directory
|
||||
input_directory = input_dir
|
||||
|
||||
def get_output_directory() -> str:
|
||||
global output_directory
|
||||
return output_directory
|
||||
|
||||
def get_temp_directory() -> str:
|
||||
global temp_directory
|
||||
return temp_directory
|
||||
|
||||
def get_input_directory() -> str:
|
||||
global input_directory
|
||||
return input_directory
|
||||
|
||||
def get_user_directory() -> str:
|
||||
return user_directory
|
||||
|
||||
def set_user_directory(user_dir: str) -> None:
|
||||
global user_directory
|
||||
user_directory = user_dir
|
||||
|
||||
|
||||
# System User Protection - Protects system directories from HTTP endpoint access
|
||||
# System Users are internal-only users that cannot be accessed via HTTP endpoints.
|
||||
# They use the '__' prefix convention (similar to Python's private member convention).
|
||||
SYSTEM_USER_PREFIX = "__"
|
||||
|
||||
|
||||
def get_system_user_directory(name: str = "system") -> str:
|
||||
"""
|
||||
Get the path to a System User directory.
|
||||
|
||||
System User directories (prefixed with '__') are only accessible via internal API,
|
||||
not through HTTP endpoints. Use this for storing system-internal data that
|
||||
should not be exposed to users.
|
||||
|
||||
Args:
|
||||
name: System user name (e.g., "system", "cache"). Must be alphanumeric
|
||||
with underscores allowed, but cannot start with underscore.
|
||||
|
||||
Returns:
|
||||
Absolute path to the system user directory.
|
||||
|
||||
Raises:
|
||||
ValueError: If name is empty, invalid, or starts with underscore.
|
||||
|
||||
Example:
|
||||
>>> get_system_user_directory("cache")
|
||||
'/path/to/user/__cache'
|
||||
"""
|
||||
if not name or not isinstance(name, str):
|
||||
raise ValueError("System user name cannot be empty")
|
||||
if not name.replace("_", "").isalnum():
|
||||
raise ValueError(f"Invalid system user name: '{name}'")
|
||||
if name.startswith("_"):
|
||||
raise ValueError("System user name should not start with underscore")
|
||||
return os.path.join(get_user_directory(), f"{SYSTEM_USER_PREFIX}{name}")
|
||||
|
||||
|
||||
def get_public_user_directory(user_id: str) -> str | None:
|
||||
"""
|
||||
Get the path to a Public User directory for HTTP endpoint access.
|
||||
|
||||
This function provides structural security by returning None for any
|
||||
System User (prefixed with '__'). All HTTP endpoints should use this
|
||||
function instead of directly constructing user paths.
|
||||
|
||||
Args:
|
||||
user_id: User identifier from HTTP request.
|
||||
|
||||
Returns:
|
||||
Absolute path to the user directory, or None if user_id is invalid
|
||||
or refers to a System User.
|
||||
|
||||
Example:
|
||||
>>> get_public_user_directory("default")
|
||||
'/path/to/user/default'
|
||||
>>> get_public_user_directory("__system")
|
||||
None
|
||||
"""
|
||||
if not user_id or not isinstance(user_id, str):
|
||||
return None
|
||||
if user_id.startswith(SYSTEM_USER_PREFIX):
|
||||
return None
|
||||
return os.path.join(get_user_directory(), user_id)
|
||||
|
||||
|
||||
#NOTE: used in http server so don't put folders that should not be accessed remotely
|
||||
def get_directory_by_type(type_name: str) -> str | None:
|
||||
if type_name == "output":
|
||||
return get_output_directory()
|
||||
if type_name == "temp":
|
||||
return get_temp_directory()
|
||||
if type_name == "input":
|
||||
return get_input_directory()
|
||||
return None
|
||||
|
||||
def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> list[str]:
|
||||
"""
|
||||
Example:
|
||||
files = os.listdir(folder_paths.get_input_directory())
|
||||
videos = filter_files_content_types(files, ["video"])
|
||||
|
||||
Note:
|
||||
- 'model' in MIME context refers to 3D models, not files containing trained weights and parameters
|
||||
"""
|
||||
global extension_mimetypes_cache
|
||||
result = []
|
||||
for file in files:
|
||||
extension = file.split('.')[-1]
|
||||
if extension not in extension_mimetypes_cache:
|
||||
mime_type, _ = mimetypes.guess_type(file, strict=False)
|
||||
if not mime_type:
|
||||
continue
|
||||
content_type = mime_type.split('/')[0]
|
||||
extension_mimetypes_cache[extension] = content_type
|
||||
else:
|
||||
content_type = extension_mimetypes_cache[extension]
|
||||
|
||||
if content_type in content_types:
|
||||
result.append(file)
|
||||
return result
|
||||
|
||||
# determine base_dir rely on annotation if name is 'filename.ext [annotation]' format
|
||||
# otherwise use default_path as base_dir
|
||||
def annotated_filepath(name: str) -> tuple[str, str | None]:
|
||||
if name.endswith("[output]"):
|
||||
base_dir = get_output_directory()
|
||||
name = name[:-9]
|
||||
elif name.endswith("[input]"):
|
||||
base_dir = get_input_directory()
|
||||
name = name[:-8]
|
||||
elif name.endswith("[temp]"):
|
||||
base_dir = get_temp_directory()
|
||||
name = name[:-7]
|
||||
else:
|
||||
return name, None
|
||||
|
||||
return name, base_dir
|
||||
|
||||
|
||||
def get_annotated_filepath(name: str, default_dir: str | None=None) -> str:
|
||||
name, base_dir = annotated_filepath(name)
|
||||
|
||||
if base_dir is None:
|
||||
if default_dir is not None:
|
||||
base_dir = default_dir
|
||||
else:
|
||||
base_dir = get_input_directory() # fallback path
|
||||
|
||||
return os.path.join(base_dir, name)
|
||||
|
||||
|
||||
def exists_annotated_filepath(name) -> bool:
|
||||
name, base_dir = annotated_filepath(name)
|
||||
|
||||
if base_dir is None:
|
||||
base_dir = get_input_directory() # fallback path
|
||||
|
||||
filepath = os.path.join(base_dir, name)
|
||||
return os.path.exists(filepath)
|
||||
|
||||
|
||||
def add_model_folder_path(folder_name: str, full_folder_path: str, is_default: bool = False) -> None:
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name in folder_names_and_paths:
|
||||
paths, _exts = folder_names_and_paths[folder_name]
|
||||
if full_folder_path in paths:
|
||||
if is_default and paths[0] != full_folder_path:
|
||||
# If the path to the folder is not the first in the list, move it to the beginning.
|
||||
paths.remove(full_folder_path)
|
||||
paths.insert(0, full_folder_path)
|
||||
else:
|
||||
if is_default:
|
||||
paths.insert(0, full_folder_path)
|
||||
else:
|
||||
paths.append(full_folder_path)
|
||||
else:
|
||||
folder_names_and_paths[folder_name] = ([full_folder_path], set())
|
||||
|
||||
def get_folder_paths(folder_name: str) -> list[str]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
return folder_names_and_paths[folder_name][0][:]
|
||||
|
||||
def recursive_search(directory: str, excluded_dir_names: list[str] | None=None) -> tuple[list[str], dict[str, float]]:
|
||||
if not os.path.isdir(directory):
|
||||
return [], {}
|
||||
|
||||
if excluded_dir_names is None:
|
||||
excluded_dir_names = []
|
||||
|
||||
result = []
|
||||
dirs = {}
|
||||
|
||||
# Attempt to add the initial directory to dirs with error handling
|
||||
try:
|
||||
dirs[directory] = os.path.getmtime(directory)
|
||||
except FileNotFoundError:
|
||||
logging.warning(f"Warning: Unable to access {directory}. Skipping this path.")
|
||||
|
||||
logging.debug("recursive file list on directory {}".format(directory))
|
||||
dirpath: str
|
||||
subdirs: list[str]
|
||||
filenames: list[str]
|
||||
|
||||
for dirpath, subdirs, filenames in os.walk(directory, followlinks=True, topdown=True):
|
||||
subdirs[:] = [d for d in subdirs if d not in excluded_dir_names]
|
||||
for file_name in filenames:
|
||||
try:
|
||||
relative_path = os.path.relpath(os.path.join(dirpath, file_name), directory)
|
||||
result.append(relative_path)
|
||||
except:
|
||||
logging.warning(f"Warning: Unable to access {file_name}. Skipping this file.")
|
||||
continue
|
||||
|
||||
for d in subdirs:
|
||||
path: str = os.path.join(dirpath, d)
|
||||
try:
|
||||
dirs[path] = os.path.getmtime(path)
|
||||
except FileNotFoundError:
|
||||
logging.warning(f"Warning: Unable to access {path}. Skipping this path.")
|
||||
continue
|
||||
logging.debug("found {} files".format(len(result)))
|
||||
return result, dirs
|
||||
|
||||
def filter_files_extensions(files: Collection[str], extensions: Collection[str]) -> list[str]:
|
||||
return sorted(list(filter(lambda a: os.path.splitext(a)[-1].lower() in extensions or len(extensions) == 0, files)))
|
||||
|
||||
|
||||
|
||||
def get_full_path(folder_name: str, filename: str) -> str | None:
|
||||
"""
|
||||
Get the full path of a file in a folder, has to be a file
|
||||
"""
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name not in folder_names_and_paths:
|
||||
return None
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
filename = os.path.relpath(os.path.join("/", filename), "/")
|
||||
for x in folders[0]:
|
||||
full_path = os.path.join(x, filename)
|
||||
if os.path.isfile(full_path):
|
||||
return full_path
|
||||
elif os.path.islink(full_path):
|
||||
logging.warning("WARNING path {} exists but doesn't link anywhere, skipping.".format(full_path))
|
||||
|
||||
return None
|
||||
|
||||
|
||||
def get_full_path_or_raise(folder_name: str, filename: str) -> str:
|
||||
"""
|
||||
Get the full path of a file in a folder, has to be a file
|
||||
"""
|
||||
full_path = get_full_path(folder_name, filename)
|
||||
if full_path is None:
|
||||
raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.")
|
||||
return full_path
|
||||
|
||||
|
||||
def get_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
global folder_names_and_paths
|
||||
output_list = set()
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
output_folders = {}
|
||||
for x in folders[0]:
|
||||
files, folders_all = recursive_search(x, excluded_dir_names=[".git"])
|
||||
output_list.update(filter_files_extensions(files, folders[1]))
|
||||
output_folders = {**output_folders, **folders_all}
|
||||
|
||||
return sorted(list(output_list)), output_folders, time.perf_counter()
|
||||
|
||||
def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float] | None:
|
||||
strong_cache = cache_helper.get(folder_name)
|
||||
if strong_cache is not None:
|
||||
return strong_cache
|
||||
|
||||
global filename_list_cache
|
||||
global folder_names_and_paths
|
||||
folder_name = map_legacy(folder_name)
|
||||
if folder_name not in filename_list_cache:
|
||||
return None
|
||||
out = filename_list_cache[folder_name]
|
||||
|
||||
for x in out[1]:
|
||||
time_modified = out[1][x]
|
||||
folder = x
|
||||
if os.path.getmtime(folder) != time_modified:
|
||||
return None
|
||||
|
||||
folders = folder_names_and_paths[folder_name]
|
||||
for x in folders[0]:
|
||||
if os.path.isdir(x):
|
||||
if x not in out[1]:
|
||||
return None
|
||||
|
||||
return out
|
||||
|
||||
def get_filename_list(folder_name: str) -> list[str]:
|
||||
folder_name = map_legacy(folder_name)
|
||||
out = cached_filename_list_(folder_name)
|
||||
if out is None:
|
||||
out = get_filename_list_(folder_name)
|
||||
global filename_list_cache
|
||||
filename_list_cache[folder_name] = out
|
||||
cache_helper.set(folder_name, out)
|
||||
return list(out[0])
|
||||
|
||||
def get_save_image_path(filename_prefix: str, output_dir: str, image_width=0, image_height=0) -> tuple[str, str, int, str, str]:
|
||||
def map_filename(filename: str) -> tuple[int, str]:
|
||||
prefix_len = len(os.path.basename(filename_prefix))
|
||||
prefix = filename[:prefix_len + 1]
|
||||
try:
|
||||
remainder = filename[prefix_len + 1:]
|
||||
base_remainder = remainder.split('.')[0]
|
||||
digits = int(base_remainder.split('_')[0])
|
||||
except:
|
||||
digits = 0
|
||||
return digits, prefix
|
||||
|
||||
def compute_vars(input: str, image_width: int, image_height: int) -> str:
|
||||
input = input.replace("%width%", str(image_width))
|
||||
input = input.replace("%height%", str(image_height))
|
||||
now = time.localtime()
|
||||
input = input.replace("%year%", str(now.tm_year))
|
||||
input = input.replace("%month%", str(now.tm_mon).zfill(2))
|
||||
input = input.replace("%day%", str(now.tm_mday).zfill(2))
|
||||
input = input.replace("%hour%", str(now.tm_hour).zfill(2))
|
||||
input = input.replace("%minute%", str(now.tm_min).zfill(2))
|
||||
input = input.replace("%second%", str(now.tm_sec).zfill(2))
|
||||
return input
|
||||
|
||||
if "%" in filename_prefix:
|
||||
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
|
||||
|
||||
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
|
||||
filename = os.path.basename(os.path.normpath(filename_prefix))
|
||||
|
||||
full_output_folder = os.path.join(output_dir, subfolder)
|
||||
|
||||
if os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) != output_dir:
|
||||
err = "**** ERROR: Saving image outside the output folder is not allowed." + \
|
||||
"\n full_output_folder: " + os.path.abspath(full_output_folder) + \
|
||||
"\n output_dir: " + output_dir + \
|
||||
"\n commonpath: " + os.path.commonpath((output_dir, os.path.abspath(full_output_folder)))
|
||||
logging.error(err)
|
||||
raise Exception(err)
|
||||
|
||||
try:
|
||||
counter = max(filter(lambda a: os.path.normcase(a[1][:-1]) == os.path.normcase(filename) and a[1][-1] == "_", map(map_filename, os.listdir(full_output_folder))))[0] + 1
|
||||
except ValueError:
|
||||
counter = 1
|
||||
except FileNotFoundError:
|
||||
os.makedirs(full_output_folder, exist_ok=True)
|
||||
counter = 1
|
||||
return full_output_folder, filename, counter, subfolder, filename_prefix
|
||||
|
||||
def get_input_subfolders() -> list[str]:
|
||||
"""Returns a list of all subfolder paths in the input directory, recursively.
|
||||
|
||||
Returns:
|
||||
List of folder paths relative to the input directory, excluding the root directory
|
||||
"""
|
||||
input_dir = get_input_directory()
|
||||
folders = []
|
||||
|
||||
try:
|
||||
if not os.path.exists(input_dir):
|
||||
return []
|
||||
|
||||
for root, dirs, _ in os.walk(input_dir):
|
||||
rel_path = os.path.relpath(root, input_dir)
|
||||
if rel_path != ".": # Only include non-root directories
|
||||
# Normalize path separators to forward slashes
|
||||
folders.append(rel_path.replace(os.sep, '/'))
|
||||
|
||||
return sorted(folders)
|
||||
except FileNotFoundError:
|
||||
return []
|
||||
@@ -0,0 +1,91 @@
|
||||
import hashlib
|
||||
import torch
|
||||
import logging
|
||||
|
||||
from comfy.cli_args import args
|
||||
|
||||
from PIL import ImageFile, UnidentifiedImageError
|
||||
|
||||
def conditioning_set_values(conditioning, values={}, append=False):
|
||||
c = []
|
||||
for t in conditioning:
|
||||
n = [t[0], t[1].copy()]
|
||||
for k in values:
|
||||
val = values[k]
|
||||
if append:
|
||||
old_val = n[1].get(k, None)
|
||||
if old_val is not None:
|
||||
val = old_val + val
|
||||
|
||||
n[1][k] = val
|
||||
c.append(n)
|
||||
|
||||
return c
|
||||
|
||||
def conditioning_set_values_with_timestep_range(conditioning, values={}, start_percent=0.0, end_percent=1.0):
|
||||
"""
|
||||
Apply values to conditioning only during [start_percent, end_percent], keeping the
|
||||
original conditioning active outside that range. Respects existing per-entry ranges.
|
||||
"""
|
||||
if start_percent > end_percent:
|
||||
logging.warning(f"start_percent ({start_percent}) must be <= end_percent ({end_percent})")
|
||||
return conditioning
|
||||
|
||||
EPS = 1e-5 # the sampler gates entries with strict > / <, shift boundaries slightly to ensure only one conditioning is active per timestep
|
||||
c = []
|
||||
for t in conditioning:
|
||||
cond_start = t[1].get("start_percent", 0.0)
|
||||
cond_end = t[1].get("end_percent", 1.0)
|
||||
intersect_start = max(start_percent, cond_start)
|
||||
intersect_end = min(end_percent, cond_end)
|
||||
|
||||
if intersect_start >= intersect_end: # no overlap: emit unchanged
|
||||
c.append(t)
|
||||
continue
|
||||
|
||||
if intersect_start > cond_start: # part before the requested range
|
||||
c.extend(conditioning_set_values([t], {"start_percent": cond_start, "end_percent": intersect_start - EPS}))
|
||||
|
||||
c.extend(conditioning_set_values([t], {**values, "start_percent": intersect_start, "end_percent": intersect_end}))
|
||||
|
||||
if intersect_end < cond_end: # part after the requested range
|
||||
c.extend(conditioning_set_values([t], {"start_percent": intersect_end + EPS, "end_percent": cond_end}))
|
||||
return c
|
||||
|
||||
def pillow(fn, arg):
|
||||
prev_value = None
|
||||
try:
|
||||
x = fn(arg)
|
||||
except (OSError, UnidentifiedImageError, ValueError): #PIL issues #4472 and #2445, also fixes ComfyUI issue #3416
|
||||
prev_value = ImageFile.LOAD_TRUNCATED_IMAGES
|
||||
ImageFile.LOAD_TRUNCATED_IMAGES = True
|
||||
x = fn(arg)
|
||||
finally:
|
||||
if prev_value is not None:
|
||||
ImageFile.LOAD_TRUNCATED_IMAGES = prev_value
|
||||
return x
|
||||
|
||||
def hasher():
|
||||
hashfuncs = {
|
||||
"md5": hashlib.md5,
|
||||
"sha1": hashlib.sha1,
|
||||
"sha256": hashlib.sha256,
|
||||
"sha512": hashlib.sha512
|
||||
}
|
||||
return hashfuncs[args.default_hashing_function]
|
||||
|
||||
def string_to_torch_dtype(string):
|
||||
if string == "fp32":
|
||||
return torch.float32
|
||||
if string == "fp16":
|
||||
return torch.float16
|
||||
if string == "bf16":
|
||||
return torch.bfloat16
|
||||
|
||||
def image_alpha_fix(destination, source):
|
||||
if destination.shape[-1] < source.shape[-1]:
|
||||
source = source[...,:destination.shape[-1]]
|
||||
elif destination.shape[-1] > source.shape[-1]:
|
||||
source = torch.nn.functional.pad(source, (0, 1))
|
||||
source[..., -1] = 1.0
|
||||
return destination, source
|
||||
@@ -0,0 +1,984 @@
|
||||
{
|
||||
"sources": [
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../flux2-img-reference/core__nodes.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/nodes.py",
|
||||
"sha256": "dd4b10eebd746da29178e0f8f75781f98edbf1f0620eb42afe2d03156a6c7c33",
|
||||
"git_blob_sha1": "56b74ebe31303dd420542d8096abf7e1c1226bfb",
|
||||
"acquisition_time": "2026-10-30T21:08:28.247217+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "folder_paths.py",
|
||||
"local_file": "../flux2-img-reference/core__folder_paths.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/folder_paths.py",
|
||||
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
|
||||
"git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8",
|
||||
"acquisition_time": "2026-10-30T21:08:28.248691+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_custom_sampler.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy_extras__nodes_custom_sampler.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_extras/nodes_custom_sampler.py",
|
||||
"sha256": "8e8c3763a618fa9058f2333dcc09be3b60889362875b8c6377aee23f9ea1abd2",
|
||||
"git_blob_sha1": "f19adf4b9eb52de4105188de1c457e5d796ca4aa",
|
||||
"acquisition_time": "2026-10-30T21:08:28.250324+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_flux.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy_extras__nodes_flux.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_extras/nodes_flux.py",
|
||||
"sha256": "a10f6890f81589e43f5384fc9d5e4e68e3d53b900abce84cb07740376e0135c6",
|
||||
"git_blob_sha1": "12c8ed3e6492162ade6c32822c6fde4e5fd69aea",
|
||||
"acquisition_time": "2026-10-30T21:08:28.251736+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_primitive.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy_extras__nodes_primitive.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_extras/nodes_primitive.py",
|
||||
"sha256": "e3916389cbf848f73fd79f67feca97f3e666a2c541409bba2aef4500b6f7393b",
|
||||
"git_blob_sha1": "937321800249090e3949b4cadcab17864f858d01",
|
||||
"acquisition_time": "2026-10-30T21:08:28.252762+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy/samplers.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy__samplers.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/samplers.py",
|
||||
"sha256": "a7b0dec5aea19214cc640dd725d927ac8246377885d46c956a5c0d9fe79b1a47",
|
||||
"git_blob_sha1": "1989ef107adca2e5c560caa623ce746afe27d312",
|
||||
"acquisition_time": "2026-10-30T21:08:28.254065+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy/sample.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy__sample.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/sample.py",
|
||||
"sha256": "794be52ca4ad9be470aedfc79a595492f8116c2666101cf48c108a09cdc6dac6",
|
||||
"git_blob_sha1": "2f8f3a51c5fc30e804e643c75a1b267fb0a94697",
|
||||
"acquisition_time": "2026-10-30T21:08:28.255055+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy/sd.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy__sd.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/sd.py",
|
||||
"sha256": "e20431cac19074ff6ab931d4076aa867b2be1419c6a3be42b0700002f8184727",
|
||||
"git_blob_sha1": "5a7221620290bec7841cbbad990ae7f5d2adf83e",
|
||||
"acquisition_time": "2026-10-30T21:08:28.256755+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../flux2-img-reference/core__LICENSE",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"acquisition_time": "2026-10-30T21:08:28.258556+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "tt",
|
||||
"repo": "AICoderTudou/ComfyUI-TT-Resolution_selector-Node",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../flux2-img-reference/tt____init__.py",
|
||||
"commit": "b69cf75c2ce5f864e3db5301dba46a6b5eeaa8fb",
|
||||
"tree": "3cc7ce7cdee4808d369b17db26c6ea1a34fa8704",
|
||||
"tag": "固定完整commit,无tag声明",
|
||||
"url": "https://raw.githubusercontent.com/AICoderTudou/ComfyUI-TT-Resolution_selector-Node/b69cf75c2ce5f864e3db5301dba46a6b5eeaa8fb/__init__.py",
|
||||
"sha256": "8f8bc02db78b29be1c8623e0b092eee9b7243db4756fad14748cce49f8ec460e",
|
||||
"git_blob_sha1": "817a424def57ae64c89ffae19cd5e450012c9785",
|
||||
"acquisition_time": "2026-10-30T21:08:33.570677+00:00",
|
||||
"license_file": "../flux2-img-reference/未知:准确完整树无LICENSE文件;不推定授权",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_api/latest/_io.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy_api__latest___io.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_api/latest/_io.py",
|
||||
"sha256": "41ebad9670bf980b7f85527a4839e3a15b18094583746515ea2d516d3946a1e5",
|
||||
"git_blob_sha1": "764fa8b2b4dabddf313bf0821bb2d9e436d3b8b4",
|
||||
"acquisition_time": "2026-10-30T21:08:55.269845+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_api/latest/_io_public.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy_api__latest___io_public.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_api/latest/_io_public.py",
|
||||
"sha256": "c805d754d61aba1ea72ed2d9d5c371de35be9affa5305d35426fb298fcb7c046",
|
||||
"git_blob_sha1": "43c7680f3283cec64bf89023ca7ec90314a3499d",
|
||||
"acquisition_time": "2026-10-30T21:08:55.272201+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy/cli_args.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy__cli_args.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/cli_args.py",
|
||||
"sha256": "b08dd1d029b3b7d64efee2c3125e7046ed5f07840200fffef4d564c600615e34",
|
||||
"git_blob_sha1": "dae9a895de8a8449910133e481a657c0645479f1",
|
||||
"acquisition_time": "2026-10-30T21:08:55.274830+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "latent_preview.py",
|
||||
"local_file": "../flux2-img-reference/core__latent_preview.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/latent_preview.py",
|
||||
"sha256": "c59708b07494615d2f7640d528df17f9281f4d77affe638b2e0efb9a49fa3cee",
|
||||
"git_blob_sha1": "d52e3f7a1fd03a343161ba4d62580a357b486ade",
|
||||
"acquisition_time": "2026-10-30T21:08:55.277141+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "tt",
|
||||
"repo": "AICoderTudou/ComfyUI-TT-Resolution_selector-Node",
|
||||
"file": "nodes/resolution_selector.py",
|
||||
"local_file": "../flux2-img-reference/tt__nodes__resolution_selector.py",
|
||||
"commit": "b69cf75c2ce5f864e3db5301dba46a6b5eeaa8fb",
|
||||
"tree": "3cc7ce7cdee4808d369b17db26c6ea1a34fa8704",
|
||||
"tag": "固定完整commit,无tag声明",
|
||||
"url": "https://raw.githubusercontent.com/AICoderTudou/ComfyUI-TT-Resolution_selector-Node/b69cf75c2ce5f864e3db5301dba46a6b5eeaa8fb/nodes/resolution_selector.py",
|
||||
"sha256": "b4b074e5edaf047034afed54acb7f569842169fbdb83689a332b650c163a2ace",
|
||||
"git_blob_sha1": "ced4bca2f8e4f13fb13212b3da35436a4b2efc6a",
|
||||
"acquisition_time": "2026-10-30T21:08:55.283325+00:00",
|
||||
"license_file": "../flux2-img-reference/未知:准确完整树无LICENSE文件;不推定授权",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "lora",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "nodes.py",
|
||||
"local_file": "../flux2-img-reference/lora__nodes.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
|
||||
"tag": "v0.21.1",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/nodes.py",
|
||||
"sha256": "e09534d2c275b2bd389ba7d28677a24d86ce174cdb2419f3d424ff5e50b5d62a",
|
||||
"git_blob_sha1": "2b63f9fbb7ddbf9c89e63c22c82a5ad80e3e74b6",
|
||||
"acquisition_time": "2026-10-30T21:19:26.379673+00:00",
|
||||
"license_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "lora",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "folder_paths.py",
|
||||
"local_file": "../flux2-img-reference/lora__folder_paths.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
|
||||
"tag": "v0.21.1",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/folder_paths.py",
|
||||
"sha256": "1e9e27a040a1c8379d7b75c29abf584d2330583e70877b32face9e581057015e",
|
||||
"git_blob_sha1": "92e8df3cf01047951395f0f85580fbbe01056ffa",
|
||||
"acquisition_time": "2026-10-30T21:19:27.029434+00:00",
|
||||
"license_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "lora",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy/sd.py",
|
||||
"local_file": "../flux2-img-reference/lora__comfy__sd.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
|
||||
"tag": "v0.21.1",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/comfy/sd.py",
|
||||
"sha256": "3cf8f0aa0e40344d9a455064812f2b371b1464a069b73a041d56b7c15324f9c0",
|
||||
"git_blob_sha1": "ab2718892d91797c33f777bd176fc6ae2fea985b",
|
||||
"acquisition_time": "2026-10-30T21:19:27.695882+00:00",
|
||||
"license_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "lora",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
|
||||
"tag": "v0.21.1",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"acquisition_time": "2026-10-30T21:19:28.338555+00:00",
|
||||
"license_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "package.json",
|
||||
"local_file": "../flux2-img-reference/frontend__package.json",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/package.json",
|
||||
"sha256": "b1be1d068dbee752b44b382c83be9ee8f1c75a5a9ae728c96e2e1bda84cd7a22",
|
||||
"git_blob_sha1": "d4bc08e96823253c8e6de1b636514456b766ad07",
|
||||
"acquisition_time": "2026-10-30T21:19:30.308382+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "pnpm-lock.yaml",
|
||||
"local_file": "../flux2-img-reference/frontend__pnpm-lock.yaml",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/pnpm-lock.yaml",
|
||||
"sha256": "bc16299891aa6489d075e9cf95e8c710b4a3e230ac275133d08a3cd5ba139eed",
|
||||
"git_blob_sha1": "2188bf0e4e7ca045fe3f27d1efdb5bbf08f43e05",
|
||||
"acquisition_time": "2026-10-30T21:19:31.003827+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/scripts/widgets.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__scripts__widgets.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/scripts/widgets.ts",
|
||||
"sha256": "e8bb428cbf69635015de43a4ebc89817b3443f876cbed52eeafe67d26f2398d8",
|
||||
"git_blob_sha1": "50dabe011f326aa77b3b032c0932491eaac18586",
|
||||
"acquisition_time": "2026-10-30T21:19:31.656210+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/scripts/app.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__scripts__app.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/scripts/app.ts",
|
||||
"sha256": "1035fbc0313170282d6b0a05e30c04c7458648da6503ec70c67af03858a7a37e",
|
||||
"git_blob_sha1": "cd75be7f76c7ec29c2ac9ca1c5d27ed5e200d8a4",
|
||||
"acquisition_time": "2026-10-30T21:19:32.319800+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/extensions/core/widgetInputs.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__extensions__core__widgetInputs.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/extensions/core/widgetInputs.ts",
|
||||
"sha256": "488d38eb209816778a6da8cb8f734f539e3fbd7f77aae41ec649a52b8764b613",
|
||||
"git_blob_sha1": "c7f9f6eb828df61463d316669629ff7368fa882f",
|
||||
"acquisition_time": "2026-10-30T21:19:32.951757+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/extensions/core/rerouteNode.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__extensions__core__rerouteNode.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/extensions/core/rerouteNode.ts",
|
||||
"sha256": "53abe69665c97427faa7e41d4d0b9b33c8c1415fff84f582ed51862bdf7bfcd8",
|
||||
"git_blob_sha1": "44c3f3150f113870548f41bb4d4f6be834031cf5",
|
||||
"acquisition_time": "2026-10-30T21:19:33.587960+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/extensions/core/noteNode.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__extensions__core__noteNode.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/extensions/core/noteNode.ts",
|
||||
"sha256": "1014f719e3d67d9c5183a5e8631d4c2d6581dfe67083f32eb23774ec3074bef2",
|
||||
"git_blob_sha1": "7e0ec56a6fb83f81c754efd30eb597b45bd5b072",
|
||||
"acquisition_time": "2026-10-30T21:19:34.243582+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/extensions/core/uploadImage.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__extensions__core__uploadImage.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/extensions/core/uploadImage.ts",
|
||||
"sha256": "935687284bebc3bbb49616976ccaf83c31998dd7abba231e5c8eaab0e8aa9e04",
|
||||
"git_blob_sha1": "4cb910dae13d47bbaacc9733dc7bf0d38b9ae095",
|
||||
"acquisition_time": "2026-10-30T21:19:34.884730+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/LGraphNode.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/lib/litegraph/src/LGraphNode.ts",
|
||||
"sha256": "ce4078003ea69ec804d8f4c5e6ca021a952c05c299a3dab6c20f7e4123b8619f",
|
||||
"git_blob_sha1": "036bc56607390f903c2426b0152622b9039a2663",
|
||||
"acquisition_time": "2026-10-30T21:19:35.534909+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/src/Reroute.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__lib__litegraph__src__Reroute.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/lib/litegraph/src/Reroute.ts",
|
||||
"sha256": "8d235116da40cf91de59ab8789f892fff89b507965d6c4e8142a9a4b514fa68c",
|
||||
"git_blob_sha1": "6436df532233f2b26a62cfc72b95b95600aff22a",
|
||||
"acquisition_time": "2026-10-30T21:19:36.285527+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/utils/migration/migrateReroute.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__utils__migration__migrateReroute.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/utils/migration/migrateReroute.ts",
|
||||
"sha256": "51e4e0cbc4da3f89239d5a333c615d31ea10745579d33350c0914c08e017d161",
|
||||
"git_blob_sha1": "07ba18dc3aafec598834d95026a902099c22162d",
|
||||
"acquisition_time": "2026-10-30T21:19:36.943340+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/utils/executionUtil.ts",
|
||||
"local_file": "../flux2-img-reference/frontend__src__utils__executionUtil.ts",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/utils/executionUtil.ts",
|
||||
"sha256": "4e51bc54e35cb7ac9bb7cba418a74ccdd5974f640b9b088aa4ae7668f746ab36",
|
||||
"git_blob_sha1": "3f7f982c4fba00555a6fb5e4c009233938c62260",
|
||||
"acquisition_time": "2026-10-30T21:19:37.608572+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "src/lib/litegraph/LICENSE",
|
||||
"local_file": "../flux2-img-reference/frontend__src__lib__litegraph__LICENSE",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/src/lib/litegraph/LICENSE",
|
||||
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
|
||||
"git_blob_sha1": "1b52aa11c186c25f8d66f1de74c0d378851bfcff",
|
||||
"acquisition_time": "2026-10-30T21:19:38.302821+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "frontend",
|
||||
"repo": "Comfy-Org/ComfyUI_frontend",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"commit": "b3ca1fb5a0531153efa04bb7af2a47b3d708ba95",
|
||||
"tree": "9f023603a90562413c91b1431b86675c3de5756e",
|
||||
"tag": "v1.36.13",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/b3ca1fb5a0531153efa04bb7af2a47b3d708ba95/LICENSE",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
|
||||
"acquisition_time": "2026-10-30T21:19:38.962407+00:00",
|
||||
"license_file": "../flux2-img-reference/frontend__LICENSE",
|
||||
"transport": "filtered git; selected text blobs only",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_extras/nodes_edit_model.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy_extras__nodes_edit_model.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy_extras/nodes_edit_model.py",
|
||||
"sha256": "e8d03a4ca5f7b8025f565d0fa7b4f0119693f2f35837db2a4114361537f78da3",
|
||||
"git_blob_sha1": "36da66f34e1d19e54ed2ffc8338a232bf8879945",
|
||||
"acquisition_time": "2026-10-30T21:20:30.726665+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "node_helpers.py",
|
||||
"local_file": "../flux2-img-reference/core__node_helpers.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/node_helpers.py",
|
||||
"sha256": "5ee43a50f57b84c64781f1bcfeb717d17ee2d07038d5d7d75eb788898fb72de0",
|
||||
"git_blob_sha1": "4ff960ef8afeadd935b6e48a9a683b7ef6970b2f",
|
||||
"acquisition_time": "2026-10-30T21:20:31.119372+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "core",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy/utils.py",
|
||||
"local_file": "../flux2-img-reference/core__comfy__utils.py",
|
||||
"commit": "2e9d51680a90bca9cc375ba7767f7bf3ed27d563",
|
||||
"tree": "618eabb5ce059e55ba51a90a4f0a7dbd297c5cec",
|
||||
"tag": "v0.8.2",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/2e9d51680a90bca9cc375ba7767f7bf3ed27d563/comfy/utils.py",
|
||||
"sha256": "dfd937c200548753a053befe53357c32deafb2384c9895bdde96b01a1d9ee4d6",
|
||||
"git_blob_sha1": "ffa98c9b1b8149917238ef0431c8e77211de669c",
|
||||
"acquisition_time": "2026-10-30T21:20:31.545290+00:00",
|
||||
"license_file": "../flux2-img-reference/core__LICENSE",
|
||||
"transport": "git exact tag text; no execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "kj",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../flux2-img-reference/kj____init__.py",
|
||||
"url": "https://cdn.comfy.org/kijai/comfyui-kjnodes/1.3.9/node.zip",
|
||||
"commit": "comfyui-kjnodes@1.3.9;Git绑定未知",
|
||||
"tag": "1.3.9",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "comfyui-kjnodes",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "a977e2319ff77881af9ac54964d84b2f98fa390ff83ec52a0901f6f9aad79992",
|
||||
"member_crc32": 828987883,
|
||||
"acquisition_time": "2026-10-30T21:21:00.561089+00:00",
|
||||
"license_file": "../flux2-img-reference/kj__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "kj",
|
||||
"file": "nodes/image_nodes.py",
|
||||
"local_file": "../flux2-img-reference/kj__nodes__image_nodes.py",
|
||||
"url": "https://cdn.comfy.org/kijai/comfyui-kjnodes/1.3.9/node.zip",
|
||||
"commit": "comfyui-kjnodes@1.3.9;Git绑定未知",
|
||||
"tag": "1.3.9",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "comfyui-kjnodes",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "774d650968f7c46a8813b9030faae1f3b6491a56341a35d311e0137361804a91",
|
||||
"member_crc32": 3524352847,
|
||||
"acquisition_time": "2026-10-30T21:21:01.299742+00:00",
|
||||
"license_file": "../flux2-img-reference/kj__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "kj",
|
||||
"file": "utility/utility.py",
|
||||
"local_file": "../flux2-img-reference/kj__utility__utility.py",
|
||||
"url": "https://cdn.comfy.org/kijai/comfyui-kjnodes/1.3.9/node.zip",
|
||||
"commit": "comfyui-kjnodes@1.3.9;Git绑定未知",
|
||||
"tag": "1.3.9",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "comfyui-kjnodes",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "8c391d63a3d7e9ef094126896d5b7c19a52bdc3a69320bad1987967af3bdfd5b",
|
||||
"member_crc32": 1224130403,
|
||||
"acquisition_time": "2026-10-30T21:21:01.895638+00:00",
|
||||
"license_file": "../flux2-img-reference/kj__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "kj",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../flux2-img-reference/kj__LICENSE",
|
||||
"url": "https://cdn.comfy.org/kijai/comfyui-kjnodes/1.3.9/node.zip",
|
||||
"commit": "comfyui-kjnodes@1.3.9;Git绑定未知",
|
||||
"tag": "1.3.9",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "comfyui-kjnodes",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
|
||||
"member_crc32": 2540125440,
|
||||
"acquisition_time": "2026-10-30T21:21:03.012457+00:00",
|
||||
"license_file": "../flux2-img-reference/kj__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "kj",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "../flux2-img-reference/kj__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/kijai/comfyui-kjnodes/1.3.9/node.zip",
|
||||
"commit": "comfyui-kjnodes@1.3.9;Git绑定未知",
|
||||
"tag": "1.3.9",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "comfyui-kjnodes",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "fbfec982d1a02710b29706a2b6db96800c2cfd431dedffaaffde4605aded33a1",
|
||||
"member_crc32": 4014217252,
|
||||
"acquisition_time": "2026-10-30T21:21:03.603314+00:00",
|
||||
"license_file": "../flux2-img-reference/kj__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "__init__.py",
|
||||
"local_file": "../flux2-img-reference/rgthree____init__.py",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "06174f22e7246b2b0771961cc0681846f452b853ccb927ca507e074f340abc61",
|
||||
"member_crc32": 2275993398,
|
||||
"acquisition_time": "2026-10-30T21:21:05.868412+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "py/image_comparer.py",
|
||||
"local_file": "../flux2-img-reference/rgthree__py__image_comparer.py",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "43ccce9b6f9413d5196ce4a7a3ef544969ae1ce2b52c44345f6cc8fb28c596fc",
|
||||
"member_crc32": 526403025,
|
||||
"acquisition_time": "2026-10-30T21:21:06.597693+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "py/constants.py",
|
||||
"local_file": "../flux2-img-reference/rgthree__py__constants.py",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "50dee946013b1d88d01fe9d63c2a7ab4d4c59be218cf80171f3542b43f0d8558",
|
||||
"member_crc32": 3439315536,
|
||||
"acquisition_time": "2026-10-30T21:21:07.233116+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "py/utils.py",
|
||||
"local_file": "../flux2-img-reference/rgthree__py__utils.py",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "57038116cf0c6ebc417e998a5c36c4b7e74e73d61d495c20e5fe18a6ad8afbc7",
|
||||
"member_crc32": 2062994225,
|
||||
"acquisition_time": "2026-10-30T21:21:07.864382+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "web/comfyui/image_comparer.js",
|
||||
"local_file": "../flux2-img-reference/rgthree__web__comfyui__image_comparer.js",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "b6dd39b71a2722774ecad101e12823220c6905f9f2a3d1cefca077e1aaa08a49",
|
||||
"member_crc32": 914019580,
|
||||
"acquisition_time": "2026-10-30T21:21:08.514976+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "web/comfyui/base_node.js",
|
||||
"local_file": "../flux2-img-reference/rgthree__web__comfyui__base_node.js",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "c3ff5ba72f284f8e894dd464b2936f01369838291fb817cc4e304df576a1eba6",
|
||||
"member_crc32": 1635828396,
|
||||
"acquisition_time": "2026-10-30T21:21:09.152446+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "web/comfyui/utils.js",
|
||||
"local_file": "../flux2-img-reference/rgthree__web__comfyui__utils.js",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "0bd26067a033689d5b1dfbe6faec2855bb2a8947d1031a5060e48ed1415111a7",
|
||||
"member_crc32": 1209114011,
|
||||
"acquisition_time": "2026-10-30T21:21:09.796301+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "web/comfyui/label.js",
|
||||
"local_file": "../flux2-img-reference/rgthree__web__comfyui__label.js",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "5a0f8d72d0be3c6573477943a18295310f82dd4b1d99a506517bb6956af1790d",
|
||||
"member_crc32": 17780801,
|
||||
"acquisition_time": "2026-10-30T21:21:10.435591+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "web/comfyui/utils_widgets.js",
|
||||
"local_file": "../flux2-img-reference/rgthree__web__comfyui__utils_widgets.js",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "211ec018039e3bd5bcc78cafd4c64db33bcb1f02df60c93d45ff76ac96718b18",
|
||||
"member_crc32": 231795646,
|
||||
"acquisition_time": "2026-10-30T21:21:11.081929+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "web/comfyui/utils_canvas.js",
|
||||
"local_file": "../flux2-img-reference/rgthree__web__comfyui__utils_canvas.js",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "1da57fc68e7e57b28d0396e237b5ac98fc21f0933d27f3dc1f6aa11e5fb09229",
|
||||
"member_crc32": 2214402011,
|
||||
"acquisition_time": "2026-10-30T21:21:11.708899+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "web/comfyui/constants.js",
|
||||
"local_file": "../flux2-img-reference/rgthree__web__comfyui__constants.js",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "01bddadcbeb27f4f3519987fb1e3f8fbed5b8c5e0bff1180e0f6cf3348c89ad9",
|
||||
"member_crc32": 4186641302,
|
||||
"acquisition_time": "2026-10-30T21:21:12.352964+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "LICENSE",
|
||||
"local_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "b34faf7c3e2975fe08d0169958e2b39f076d4d4289cbe2560dd7dd5b1a613ed1",
|
||||
"member_crc32": 2654743090,
|
||||
"acquisition_time": "2026-10-30T21:21:13.020684+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "rgthree",
|
||||
"file": "pyproject.toml",
|
||||
"local_file": "../flux2-img-reference/rgthree__pyproject.toml",
|
||||
"url": "https://cdn.comfy.org/rgthree/rgthree-comfy/1.0.2604070017/node.zip",
|
||||
"commit": "rgthree-comfy@1.0.2604070017;Git绑定未知",
|
||||
"tag": "1.0.2604070017",
|
||||
"tree": "发布包中央目录;Git tree未知",
|
||||
"repo": "rgthree-comfy",
|
||||
"git_commit_binding": "unknown",
|
||||
"package_sha256": "unknown: Range仅必要文本,未获取完整包",
|
||||
"sha256": "8287e30a551ac6574f6d34a0889910091e6ae3eb74e9189f25ee17cd672a53a8",
|
||||
"member_crc32": 1781548861,
|
||||
"acquisition_time": "2026-10-30T21:21:13.637486+00:00",
|
||||
"license_file": "../flux2-img-reference/rgthree__LICENSE",
|
||||
"transport": "HTTP206 Range selected text ZIP members; CRC checked by zipfile",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "lora",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "folder_paths.py",
|
||||
"local_file": "inpaint__folder_paths.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
|
||||
"tag": "v0.21.1",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/folder_paths.py",
|
||||
"sha256": "1e9e27a040a1c8379d7b75c29abf584d2330583e70877b32face9e581057015e",
|
||||
"git_blob_sha1": "92e8df3cf01047951395f0f85580fbbe01056ffa",
|
||||
"acquisition_time": "2026-10-30T22:00:16.106160+00:00",
|
||||
"license_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"transport": "HTTPS exact commit text matched exact Git tree; no upstream execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "lora",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "node_helpers.py",
|
||||
"local_file": "inpaint__node_helpers.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
|
||||
"tag": "v0.21.1",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/node_helpers.py",
|
||||
"sha256": "22317a033cce556331bfedc5f4ab6c2833184fd2bbdf9496c9182a4973a7098a",
|
||||
"git_blob_sha1": "cac4e88dd14276160146262c824fa39a542eaa24",
|
||||
"acquisition_time": "2026-10-30T22:00:16.514151+00:00",
|
||||
"license_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"transport": "HTTPS exact commit text matched exact Git tree; no upstream execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "lora",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy/sd.py",
|
||||
"local_file": "inpaint__comfy__sd.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
|
||||
"tag": "v0.21.1",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/comfy/sd.py",
|
||||
"sha256": "3cf8f0aa0e40344d9a455064812f2b371b1464a069b73a041d56b7c15324f9c0",
|
||||
"git_blob_sha1": "ab2718892d91797c33f777bd176fc6ae2fea985b",
|
||||
"acquisition_time": "2026-10-30T22:00:16.994141+00:00",
|
||||
"license_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"transport": "HTTPS exact commit text matched exact Git tree; no upstream execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "lora",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_api/latest/_input_impl/__init__.py",
|
||||
"local_file": "inpaint__comfy_api__latest___input_impl____init__.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
|
||||
"tag": "v0.21.1",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/comfy_api/latest/_input_impl/__init__.py",
|
||||
"sha256": "9aa2f9fef661ae1016edf8fb650c805c3e40c01d82597717f125b253507ec72c",
|
||||
"git_blob_sha1": "02901b8b933caa569cd9dd45eb8e39e7c66e43a1",
|
||||
"acquisition_time": "2026-10-30T22:00:17.450131+00:00",
|
||||
"license_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"transport": "HTTPS exact commit text matched exact Git tree; no upstream execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
},
|
||||
{
|
||||
"id": "lora",
|
||||
"repo": "Comfy-Org/ComfyUI",
|
||||
"file": "comfy_api/latest/_input_impl/video_types.py",
|
||||
"local_file": "inpaint__comfy_api__latest___input_impl__video_types.py",
|
||||
"commit": "26515acd23fa291a8f5ab53c5997258598de0701",
|
||||
"tree": "cedcf310af41cf9d335080c68218b31abb0cccdc",
|
||||
"tag": "v0.21.1",
|
||||
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/26515acd23fa291a8f5ab53c5997258598de0701/comfy_api/latest/_input_impl/video_types.py",
|
||||
"sha256": "5d6a316b1a8c1da5c00b55026fb488d3381880bcb2ee165d109e0c3256fb2285",
|
||||
"git_blob_sha1": "942278d88bdbf3434031df50f0dd1ab09830ae27",
|
||||
"acquisition_time": "2026-10-30T22:00:17.906121+00:00",
|
||||
"license_file": "../flux2-img-reference/lora__LICENSE",
|
||||
"transport": "HTTPS exact commit text matched exact Git tree; no upstream execution",
|
||||
"applicability": "本局部重绘图独立绑定;准确版本参考,不证明目标恢复"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,109 @@
|
||||
// Local GET-only: 34 raw positions, complete Note/history, 49 frozen summaries.
|
||||
import fs from 'node:fs';
|
||||
import assert from 'node:assert/strict';
|
||||
const { chromium } = await import(process.env.PLAYWRIGHT_MODULE || 'playwright');
|
||||
const out='.local-evidence/flux2-inpaint-document/browser';fs.mkdirSync(out,{recursive:true});
|
||||
const checks=[],requests=[],errors=[],blockedFonts=[],assertionGroups={},interceptions=[];let group='aggregate';
|
||||
function check(condition,label){assert.ok(condition,label);checks.push(label);assertionGroups[group]=(assertionGroups[group]||0)+1;console.log('PASS '+label);}
|
||||
const browser=await chromium.launch({headless:true,executablePath:process.env.BROWSER_EXECUTABLE});
|
||||
try {
|
||||
const page=await browser.newPage({viewport:{width:1440,height:1000}});
|
||||
await page.route('**/*',route=>{
|
||||
const u=new URL(route.request().url());
|
||||
if(u.hostname==='fonts.googleapis.com'){blockedFonts.push(String(u));return route.fulfill({contentType:'text/css',body:''});}
|
||||
if(route.request().method()!=='GET'||u.hostname!=='127.0.0.1'||u.pathname==='/api/view'||(/\.(mp4|png|wav|mp3|webm)$/i.test(u.pathname)&&u.pathname!=='/favicon.png')){errors.push('Forbidden request '+u);return route.abort();}
|
||||
return route.continue();
|
||||
});
|
||||
page.on('request',r=>{if(r.url().includes('/api/'))requests.push({method:r.method(),url:r.url()});});
|
||||
page.on('pageerror',e=>errors.push(e.message));
|
||||
requests.push({method:'GET',url:'http://127.0.0.1:8247/api/workflows'});
|
||||
const records=await(await fetch('http://127.0.0.1:8247/api/workflows')).json();
|
||||
const names=['4_flux2_klein_图生图_局部重绘','3_flux2_klein_图生图一致性增强(大雄lora)','3_flux2_klein_图生图一致性增强(小志lora)','2_flux2_klein_图生图','1_flux2_klein_文生图','minimax_music_文生音乐','ace_step_1.5+Qwen3.5_自动歌词音乐生成','ace_step1_5_xl_turbo_8Step极速音乐生成','index-TTS2-情绪控制-音频参考-文本控制-克隆-多人对话','Qwen3-TTS_语音设计+语音克隆','Qwen3-TTS_多角色对话','Llama-cpp+Qwen3.5-提示词','moge3_深度图_几何图_线稿图','Seedvr2_视频放大FOR循环长视频','VOSR2_视频放大_分批循环长视频','视频模型放大插帧(简单快速版)','图像放大比较','VOSR2_图像超分放大','Seedvr2_3b_int8_视频放大','Seedvr2_3b_int8_图像放大','RTX_video_upscale','RTX_image_upscale','手动按分镜视频截取','sam3_图像视频-提示词遮罩分割','多视频合成分屏展示','图像4种添加水印节点','birefnet_图像移除背景','加载本地latent解码','截取视频每一帧','双图像或视频合并显示','视频转gif动图图片','加载图片合成视频','视频倒放','NLF_视频人物动作骨架获取','openpose-video-姿态检测','sdpose_视频人物姿势骨架提取','gemma4_提示词反推(图像视频音频)','图像合并成四宫格','图像分割-多宫格分割','Qwen_image2.1_图像编辑_背景移除','Qwen_image2.1_图像编辑_提示词增强','Qwen_image2.1_文生图_提示词增强','ControlNet_aux_常用样例','Qwen3-ASR-语音转文字','Qwen3-ASR-Subtitle语音转字幕','Minimax-H3提示词增强','音频转MP3格式','音频人声分离','视频-音频分离','图像嵌入文字描述'];
|
||||
const details=[];
|
||||
for(const name of names){const r=records.find(r=>r.name===name);assert.ok(r);const url=`http://127.0.0.1:8247/api/workflows/${r.id}`;requests.push({method:'GET',url});details.push(await(await fetch(url)).json());}
|
||||
check(details.length===50&&details.reduce((n,d)=>n+d.doc_json.fixed_version.fields.length,0)===1893,'50图1893保存位置');
|
||||
check(details.reduce((n,d)=>n+(d.doc_json.source_notes?.length||0),0)===54,'50图54源注释');
|
||||
await page.goto('http://127.0.0.1:5173/connections',{waitUntil:'networkidle'});
|
||||
const dialog=page.getByRole('dialog',{name:'工作流说明'});
|
||||
const fixedCard=dialog.locator('.card').filter({has:page.getByText('固定版本参数说明',{exact:true})});
|
||||
async function begin(name){const row=page.locator('.wf-row').filter({has:page.locator('.wf-name').filter({hasText:name})}).first();const button=row.getByRole('button',{name:'说明',exact:true});await button.focus();await page.keyboard.press('Enter');return button;}
|
||||
async function loaded(){await dialog.getByText('用途与来源',{exact:true}).waitFor();await dialog.evaluate(el=>Promise.all(el.getAnimations().map(a=>a.finished)));}
|
||||
for(const width of [1440,390]){
|
||||
await page.setViewportSize({width,height:width===390?844:1000});
|
||||
for(const d of details){
|
||||
group=details.indexOf(d)<1?'new_flux2_img':'old_forty_eight';const b=d.doc_json.fixed_version,button=await begin(d.name);await loaded();
|
||||
const overview=dialog.locator('.card').filter({has:page.getByText('用途与来源',{exact:true})});
|
||||
check((await overview.innerText()).includes(b.user_overview),`${width} ${d.name}默认中文用途`);
|
||||
check(!(await dialog.getByText('源图与审校记录',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}源审校默认折叠`);
|
||||
check(!(await dialog.getByText('核对范围与来源依据',{exact:true}).locator('..').evaluate(el=>el.open)),`${width} ${d.name}技术范围默认折叠`);
|
||||
const visible=await fixedCard.innerText();
|
||||
check(!visible.includes('执行标量')&&!visible.includes('widgetId')&&!visible.includes(b.source_sha256)&&!visible.includes('UUID'),`${width} ${d.name}默认无执行计数/实现标识`);
|
||||
check(visible.includes('依据固定版本整理,目标环境与实际效果未核对。'),`${width} ${d.name}默认依据限制可见`);
|
||||
for(const t of ['说明未定稿','未验证实跑','未检查'])check((await dialog.innerText()).includes(t),`${width} ${d.name} ${t}`);
|
||||
check(!d.is_enabled&&!d.doc_completed_at&&!d.exec_verified_at,`${width} ${d.name}停用/时间戳空`);
|
||||
check(await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===b.fields.length,`${width} ${d.name}参数全保留`);
|
||||
check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width} ${d.name}默认无溢出`);
|
||||
await dialog.locator('.drawer-body').evaluate(el=>el.scrollTop=0);
|
||||
if(details.indexOf(d)<1)await page.screenshot({path:`${out}/${width}-${d.id}-default.png`});
|
||||
if(details.indexOf(d)>0){await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}旧图归还焦点`);continue;}
|
||||
await dialog.getByText('源图与审校记录',{exact:true}).click();
|
||||
check((await overview.innerText()).includes(d.doc_json.purpose)&&(await overview.innerText()).includes(d.source_repo_path),`${width} ${d.name}原用途/源路径展开保留`);
|
||||
await dialog.getByText('核对范围与来源依据',{exact:true}).click();
|
||||
const flowText=await fixedCard.innerText();check(flowText.includes('被连线覆盖 4 项')&&flowText.includes('仅前端控制 3 项'),`${width}准确覆盖与前端位置计数`);
|
||||
for(const line of b.flow)check(flowText.includes(line),`${width} ${d.name}展开流程 ${b.flow.indexOf(line)}`);
|
||||
if(width===1440){await fixedCard.getByText(b.flow[2],{exact:true}).evaluate(el=>el.scrollIntoView({block:'center'}));await page.screenshot({path:`${out}/${width}-${d.id}-branch-flow.png`});}
|
||||
await dialog.getByText('版本、源图与连线依据',{exact:true}).click();
|
||||
check((await fixedCard.innerText()).includes(b.source_sha256)&&b.versions.every(v=>(v&&true)),`${width} ${d.name}原件摘要可展开`);
|
||||
const versionText=await fixedCard.innerText();
|
||||
for(const v of b.versions)check(versionText.includes(v),`${width} ${d.name}版本 ${b.versions.indexOf(v)}`);
|
||||
if(details.indexOf(d)<1){
|
||||
for(const f of b.fields){
|
||||
const summary=fixedCard.locator(`details[data-fixed-field="${f.pointer}"] > summary`);await summary.focus();await page.keyboard.press('Enter');const box=summary.locator('..');
|
||||
check(await box.evaluate(el=>el.open),`${width} ${f.node_id}.${f.field}键盘展开`);
|
||||
let text=await box.innerText();check(text.includes(f.effect)&&text.includes(f.limits)&&text.includes(f.schema_default)&&text.includes(f.execution_note)&&text.includes(f.unit),`${width} ${f.node_id}.${f.field}用途/单位/范围/来源条件`);
|
||||
check(await box.locator(':scope > pre').textContent()===(typeof f.value==='string'?f.value:JSON.stringify(f.value,null,2)),`${width} ${f.node_id}.${f.field}精确保留现值`);
|
||||
check(!text.includes(f.pointer),`${width} ${f.node_id}.${f.field}指针默认折叠`);
|
||||
await box.getByText('来源依据',{exact:true}).click();text=await box.innerText();
|
||||
check(text.includes(f.pointer)&&text.includes(f.named_pointer)&&text.includes(f.class_type)&&text.includes(f.json_type)&&f.evidence.every(i=>{const e=b.sources[i];return (!e.commit||text.includes(e.commit))&&text.includes(e.sha256)&&text.includes(e.lines.join('~'));}),`${width} ${f.node_id}.${f.field}精确源码/类型/指针`);
|
||||
check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width} ${f.node_id}.${f.field}展开无溢出`);
|
||||
if(f.node_id==='146'&&f.field==='grow_mask_by'){
|
||||
await page.screenshot({path:`${out}/${width}-${d.id}-fixed-sources-corrected.png`});
|
||||
await box.getByText('来源依据',{exact:true}).evaluate(el=>el.scrollIntoView({block:'start'}));
|
||||
check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width}准确来源展开无横溢`);
|
||||
await page.screenshot({path:`${out}/${width}-${d.id}-source-citations.png`});
|
||||
}
|
||||
if(f.node_id==='145'){await summary.evaluate(el=>el.scrollIntoView({block:'start'}));await page.screenshot({path:`${out}/${width}-${d.id}-history.png`});}
|
||||
if((f.node_id==='155'&&f.field==='image')||(f.node_id==='150'&&f.field==='keep_proportion')||(f.node_id==='108'&&f.field==='text'))await page.screenshot({path:`${out}/${width}-${d.id}-${f.node_id}-${f.field}.png`});
|
||||
await summary.click();
|
||||
}
|
||||
for(const n of b.comments){const summary=dialog.getByText(`节点 ${n.node_id}`,{exact:true});await summary.click();const expected=d.doc_json.source_notes.find(x=>String(x.node_id)===n.node_id);check(await summary.locator('..').locator('pre').textContent()===JSON.stringify(expected.content,null,2),`${width}注释${n.node_id}全文`);check(await dialog.locator('.drawer-body').evaluate(el=>el.scrollWidth<=el.clientWidth),`${width}注释${n.node_id}无溢出`);if(width===390){await summary.evaluate(el=>el.scrollIntoView({block:'start'}));await page.screenshot({path:`${out}/${width}-${d.id}-${n.node_id}-note.png`});}await summary.click();}
|
||||
await dialog.getByRole('button',{name:'关闭',exact:true}).focus();await page.keyboard.press('Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}Tab焦点保留`);await page.keyboard.press('Shift+Tab');check(await dialog.evaluate(el=>el.contains(document.activeElement)),`${width}ShiftTab焦点保留`);
|
||||
}
|
||||
await page.keyboard.press('Escape');await dialog.waitFor({state:'hidden'});check(await button.evaluate(el=>el===document.activeElement),`${width} ${d.name}关闭归还焦点`);
|
||||
}
|
||||
}
|
||||
group='shared_regressions';
|
||||
for(const name of ['旧工作流回退(隔离测试夹具)','空说明回退(隔离测试夹具)']){await begin(name);await loaded();check((await dialog.innerText()).includes('隔离库旧条目回退测试'),'旧/空说明回退 '+name);await page.keyboard.press('Escape');}
|
||||
// Missing summary and mismatched bindings are tested with local GET fixtures, without writes.
|
||||
for(const variant of ['missing-overview','mismatched','html-summary']){
|
||||
const d=structuredClone(details[0]);
|
||||
if(variant==='missing-overview')delete d.doc_json.fixed_version.user_overview;
|
||||
if(variant==='mismatched')d.doc_json.fixed_version={matched:false,notice:'固定版本参数说明待核对:源文件、声明版本或说明依据未匹配,未采用旧定义。'};
|
||||
if(variant==='html-summary')d.doc_json.fixed_version.user_overview='<img src="https://example.invalid/forbidden">仅纯文本';
|
||||
await page.route(`**/api/workflows/${d.id}`,route=>{interceptions.push({variant,url:route.request().url()});return route.fulfill({json:d});});await begin(d.name);await loaded();
|
||||
if(variant==='missing-overview')check((await dialog.innerText()).includes('这张图的用途和操作重点可在下方使用步骤中查看;目标环境与实际效果仍待核对。'),'缺摘要自然中文回退');
|
||||
if(variant==='mismatched')check((await dialog.innerText()).includes(d.doc_json.fixed_version.notice)&&!await dialog.getByText('核对范围与来源依据',{exact:true}).count(),'错绑定提示明确且不展示旧字段');
|
||||
if(variant==='html-summary')check((await dialog.innerText()).includes(d.doc_json.fixed_version.user_overview)&&await dialog.locator('img').count()===0,'摘要HTML仅纯文本不创建图像或请求');
|
||||
check(!(await dialog.innerText()).includes('undefined'),'回退不暴露undefined');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${d.id}`);
|
||||
}
|
||||
let release,entered,delivered;const hold=new Promise(r=>release=r),intercept=new Promise(r=>entered=r),done=new Promise(r=>delivered=r);
|
||||
await page.route(`**/api/workflows/${details[0].id}`,async route=>{interceptions.push({variant:"late",url:route.request().url()});entered();await hold;await route.fulfill({json:details[0]});delivered();});
|
||||
await begin(details[0].name);await intercept;await page.keyboard.press('Escape');await begin(details[1].name);await loaded();release();await done;
|
||||
check((await dialog.innerText()).includes(details[1].doc_json.fixed_version.user_overview)&&await fixedCard.locator('summary').filter({hasText:/^节点 [\d:]+ · /}).count()===details[1].doc_json.fixed_version.fields.length,'迟到局部重绘图响应不覆盖旧图摘要/字段');await page.keyboard.press('Escape');await page.unroute(`**/api/workflows/${details[0].id}`);
|
||||
await page.route(`**/api/workflows/${details[0].id}`,route=>{interceptions.push({variant:'failure',url:route.request().url()});return route.fulfill({status:500,json:{detail:'隔离失败夹具'}});});await begin(details[0].name);await dialog.getByRole('alert').waitFor({timeout:20000});check(await dialog.getByRole('button',{name:'重试',exact:true}).isVisible(),'GET失败显示重试');check(await dialog.getByText('用途与来源',{exact:true}).count()===0,'读取失败隐藏旧摘要');await page.unroute(`**/api/workflows/${details[0].id}`);await dialog.getByRole('button',{name:'重试',exact:true}).click();await loaded();check((await dialog.innerText()).includes(details[0].doc_json.fixed_version.user_overview),'重试恢复摘要');await page.keyboard.press('Escape');
|
||||
check(errors.length===0,'无脚本错误或禁止请求 '+JSON.stringify(errors));check(requests.every(r=>r.method==='GET'&&new URL(r.url).hostname==='127.0.0.1'&&!r.url.includes('/api/view')),'全程本地GET无写/生成/目标/历史预览请求');
|
||||
const polling=requests.filter(r=>['/api/jobs','/api/events'].includes(new URL(r.url).pathname));
|
||||
const fixed=requests.filter(r=>!polling.includes(r));
|
||||
const frequencies=rs=>Object.fromEntries([...new Set(rs.map(r=>new URL(r.url).pathname))].sort().map(p=>[p,rs.filter(r=>new URL(r.url).pathname===p).length]));
|
||||
fs.writeFileSync(`${out}/browser-results.json`,JSON.stringify({request_accounting:{fixed_count:fixed.length,fixed_paths:frequencies(fixed),polling_count:polling.length,polling_paths:frequencies(polling),polling_tolerance:1,reason:'定时轮询可因浏览耗时与计时器边界相差±1;固定请求逐条保存,不忽略真实新请求,禁止请求零容忍。'},assertion_count:checks.length,assertionGroups,interceptions,checks,requests,errors,blockedFonts,viewports:[1440,390]},null,2));
|
||||
} finally {await browser.close();}
|
||||
@@ -0,0 +1,95 @@
|
||||
"""Foreground local browser check; stop every owned service before returning."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import signal
|
||||
import subprocess
|
||||
import sys
|
||||
import time
|
||||
import urllib.error
|
||||
import urllib.request
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
OUT = ROOT / ".local-evidence/flux2-inpaint-document/browser"
|
||||
|
||||
|
||||
def main():
|
||||
OUT.mkdir(parents=True, exist_ok=True)
|
||||
# Refuse to reuse another operator's service or port.
|
||||
import socket
|
||||
|
||||
for port in (8247, 5173):
|
||||
with socket.socket() as sock:
|
||||
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
sock.bind(("127.0.0.1", port))
|
||||
processes = []
|
||||
logs = []
|
||||
try:
|
||||
commands = [
|
||||
([sys.executable, str(ROOT / "e2e/workflow-document-server.py")], ROOT),
|
||||
(
|
||||
["node", "node_modules/vite/bin/vite.js", "--host", "127.0.0.1"],
|
||||
ROOT / "calliope-web",
|
||||
),
|
||||
]
|
||||
for i, (command, cwd) in enumerate(commands):
|
||||
log = (OUT / f"service-{i}.log").open("w")
|
||||
logs.append(log)
|
||||
processes.append(
|
||||
subprocess.Popen(command, cwd=cwd, stdout=log, stderr=log, start_new_session=True)
|
||||
)
|
||||
for url in (
|
||||
"http://127.0.0.1:8247/api/workflows",
|
||||
"http://127.0.0.1:5173/connections",
|
||||
):
|
||||
deadline = time.monotonic() + 30
|
||||
while True:
|
||||
if any(p.poll() is not None for p in processes):
|
||||
raise RuntimeError("Local service exited; inspect service logs")
|
||||
try:
|
||||
with urllib.request.urlopen(url, timeout=1) as response:
|
||||
if response.status == 200:
|
||||
break
|
||||
except (urllib.error.URLError, TimeoutError):
|
||||
pass
|
||||
if time.monotonic() > deadline:
|
||||
raise TimeoutError(url)
|
||||
time.sleep(0.2)
|
||||
names = ["flux2-inpaint"]
|
||||
for name in names:
|
||||
subprocess.run(["node", f"e2e/{name}-document.mjs"], cwd=ROOT, check=True)
|
||||
finally:
|
||||
for p in processes:
|
||||
if p.poll() is None:
|
||||
os.killpg(p.pid, signal.SIGTERM)
|
||||
try:
|
||||
p.wait(timeout=10)
|
||||
except subprocess.TimeoutExpired:
|
||||
os.killpg(p.pid, signal.SIGKILL)
|
||||
p.wait(timeout=5)
|
||||
for log in logs:
|
||||
log.close()
|
||||
import json
|
||||
|
||||
released = []
|
||||
for port in (8247, 5173):
|
||||
with socket.socket() as sock:
|
||||
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
sock.bind(("127.0.0.1", port))
|
||||
released.append(port)
|
||||
(OUT / "service-stop.json").write_text(
|
||||
json.dumps(
|
||||
{
|
||||
"ports_released": released,
|
||||
"child_exit_codes": [p.returncode for p in processes],
|
||||
}
|
||||
)
|
||||
+ "\n"
|
||||
)
|
||||
print("All owned browser services stopped; ports released.")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
Reference in New Issue
Block a user