HEL-892: document pinned ACE and Qwen lyrics workflow references

Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
leefer
2026-10-31 04:47:28 +08:00
co-authored by multica-agent
parent 08c907e160
commit 6164495d78
99 changed files with 73837 additions and 1 deletions
@@ -15,6 +15,9 @@ DEFINITION_SHA256 = "c4c7f04fde29dc7485a341207397fcf6191e3fcbe89ecc2d238f4a4f5bc
# Explicit path allowlist; a recomputed caller-supplied digest cannot extend trust.
DEFINITIONS = {
(
"example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json"
): "35a1601122006b455ce5cbe853956a336712dcee60c5eb61ae2ad8b673632785",
(
"example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json"
): "b47d1431f13993629a2cc0a9a6f1ce0bc1b1374906dec294222a87447b8802e3",
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,202 @@
"ACE notes preserve exact-version schema gaps and cannot enable execution."
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/ace-qwen-document-evidence"
PATH = next(p for p in DEFINITIONS if p.endswith("/ace_step_1.5+Qwen3.5_自动歌词音乐生成.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, path):
for part in path.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_all_77_positions_keep_raw_types_separate_ports_and_citations(f):
assert canonical(pointer(SOURCE, f["pointer"])) == canonical(f["value"])
assert type(pointer(SOURCE, f["pointer"])).__name__ == f["json_type"]
assert not f["named_pointer"].startswith("/") and "named_value" not in f
if f["input_pointer"].startswith("/"):
assert pointer(SOURCE, f["input_pointer"])["name"] == f["input_name"]
assert "未知" in f["execution_note"]
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", ["source", "definition"])
def test_caller_rehash_cannot_bypass_saved_values_or_editorial_text(f, variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
if variant == "source":
parent, _, key = f["pointer"].rpartition("/")
pointer(s, parent)[int(key)] = "forged"
else:
r["fixed_version_document"]["fields"][BLOCK["fields"].index(f)]["effect"] = "forged"
refuse(s, r)
@pytest.mark.parametrize("ni", range(22))
@pytest.mark.parametrize("variant", ["mode", "identity", "named-values"])
def test_modes_exact_or_absent_identity_and_named_values_bound(ni, variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
n = s["nodes"][ni]
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("ei", range(24))
def test_every_physical_edge_bound(ei):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
s["links"][ei][3] = 99999
refuse(s, r)
@pytest.mark.parametrize(
"variant",
[
"overview",
"citation",
"source_sha",
"missing",
"empty",
"frontend",
"notes",
"zero",
"counts",
],
)
def test_all_metadata_fail_closed(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 == "source_sha":
r["source_sha"] = "forged"
elif variant == "missing":
r.pop("fixed_version_document")
elif variant == "empty":
r["fixed_version_document"] = {}
elif variant == "frontend":
s["extra"]["frontendVersion"] = "1.52.7"
elif variant == "notes":
b["comments"][0]["text"] = "forged"
elif variant == "zero":
b["fields"][0]["unit"] = "forged"
else:
b["counts"]["final_prompt_constructed"] = True
assert not doc(s, r)["fixed_version"]["matched"]
def test_exact_version_conflicts_and_linked_caches_survive_actual_doc():
b = runpy.run_path(str(OUT / "build_definition.py"))["build"]()
assert canonical(b) == canonical(BLOCK)
assert len(DEFINITIONS) == 44 and len(b["fields"]) == 77
f = {(f["node_id"], f["field"]): f for f in b["fields"]}
assert f["116", "from_right"]["value"] == "false"
assert f["116", "from_right"]["json_type"] == "str"
assert sum(x["role"] == "linked_saved_cache" for x in b["fields"]) == 9
assert sum(x["role"] == "frontend_reference_only" for x in b["fields"]) == 5
for nid in ["109", "110", "111"]:
for field in b["fields"]:
if field["node_id"] == nid:
assert "准确Git提交fetch拒绝" in field["effect"]
assert "未知" in field["limits"]
assert f["110", "model"]["value"] == "Qwen3.5-9b-heretic-v2-q8_0.gguf"
assert "presence_penalty" in f["111", "presence_penalty"]["effect"]
assert f["99", "value"]["value"] == 120
assert f["102", "value"]["value"] == 966457091644585
assert "FLOAT" in f["99", "value"]["unit"]
assert "INT" in f["102", "value"]["unit"]
for name in ["tags", "lyrics"]:
assert "物理外线覆盖" in f["94", name]["effect"]
assert "qscale=1" in f["107", "quality"]["effect"]
assert f["107", "filename_prefix"]["value"] == "audio/ComfyUI"
assert (
"中文" in f["118", "history_text"]["value"] or "假如" in f["118", "history_text"]["value"]
)
assert f["112", "prompt"]["value"].startswith("# ACE Step 1.5")
assert f["113", "prompt"]["value"] == "假如没有学AI就好了,中文歌词"
assert {x["node_id"] for x in b["zero_saved_nodes"]} == {"47", "18"}
assert all("1.44.0" not in x["execution_note"] for x in b["fields"])
text = "\n".join(b["flow"])
for term in [
"1.38.0",
"没有TextEncodeAceStepAudio1.5",
"schema默认V0",
"未新增API候选",
"完整定稿0/实跑0/新增转换0",
"not our ref",
"7/13/10",
"UE7.8/7.5.2",
]:
assert term in text
d = doc()
assert d["fixed_version"]["matched"]
assert hashlib.sha256(canonical(BLOCK)).hexdigest() == DEFINITIONS[PATH]
assert not d["status"]["doc_done"] and not d["status"]["exec_verified"]
@pytest.mark.parametrize("node", [47, 18])
@pytest.mark.parametrize("variant", ["missing", "null", "one"])
def test_empty_array_is_distinct_from_missing_null_and_added_slot(node, variant):
s, r = copy.deepcopy(SOURCE), copy.deepcopy(REVIEW)
n = next(n for n in s["nodes"] if n["id"] == node)
if variant == "missing":
del n["widgets_values"]
else:
n["widgets_values"] = None if variant == "null" else [0]
refuse(s, r)
def test_exact_split_missing_delimiter_returns_capture_list_without_running_upstream():
import ast
path = OUT.parent / "ace-qwen-reference/various__comfyui_primitive_ops.py"
module = ast.parse(path.read_text())
func = next(
n
for n in module.body
if isinstance(n, ast.FunctionDef) and isinstance(n.body[-1], ast.Match)
)
case = func.body[-1].cases[-1]
assert isinstance(case.pattern, ast.MatchAs) and case.pattern.name == "a"
result = case.body[0].value
assert isinstance(result, ast.Tuple)
assert isinstance(result.elts[0], ast.Name) and result.elts[0].id == "a"
assert isinstance(result.elts[1], ast.Constant) and result.elts[1].value == ""
field = next(f for f in BLOCK["fields"] if f["node_id"] == "116")
assert "返回列表与空串" in field["effect"] and "STRING槽冲突" in field["effect"]
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,63 @@
{
"fixed_count": 140,
"fixed_paths": {
"/api/workflows": 3,
"/api/workflows/41": 4,
"/api/workflows/40": 4,
"/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": 14,
"polling_paths": {
"/api/jobs": 14
},
"status_counts": {
"200": 140,
"404": 14
},
"readiness_in_fixed_count": 1,
"source": "final service-0.log; all statuses, polling404 because no job router/worker; fixture interceptions not backend"
}
@@ -0,0 +1,728 @@
{
"base": "08c907e16027e5e04de38f1c993f4695d8822841",
"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_three_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...
4:42:49 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>
4:42:49 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...
4:42:51 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>
4:42:52 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.DSMvlwdD.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.BX4gyKdn.js 0.16 kB │ gzip: 0.14 kB
.svelte-kit/output/client/_app/immutable/nodes/9.-NTsxeOg.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/BdC4Fy4l.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.BnU5gjYH.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.DgLQIY_s.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.CPDKMxnd.js 1.18 kB │ gzip: 0.70 kB
.svelte-kit/output/client/_app/immutable/chunks/Dp1pzeXC.js 1.27 kB │ gzip: 0.73 kB
.svelte-kit/output/client/_app/immutable/nodes/6.CjRSlXDJ.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/DGZCiGiC.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.BratIOOE.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/CjZiak8-.js 6.87 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.D2V6B9DC.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.BJMp0mEL.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.C_clRZsD.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.D6EbRJBA.js 23.02 kB │ gzip: 7.51 kB
.svelte-kit/output/client/_app/immutable/chunks/Bg6Ovx2n.js 23.99 kB │ gzip: 9.32 kB
.svelte-kit/output/client/_app/immutable/nodes/11.CVxsyT5U.js 24.95 kB │ gzip: 8.35 kB
.svelte-kit/output/client/_app/immutable/nodes/3.CPhPiRAf.js 25.68 kB │ gzip: 8.33 kB
.svelte-kit/output/client/_app/immutable/nodes/4.B30pmGrQ.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/BWyawmjL.js 38.54 kB │ gzip: 13.86 kB
.svelte-kit/output/client/_app/immutable/chunks/CPluiqx0.js 41.30 kB │ gzip: 15.68 kB
.svelte-kit/output/client/_app/immutable/nodes/19.dSL92NA5.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/Jg9MGjsR.js 81.38 kB │ gzip: 27.49 kB
.svelte-kit/output/client/_app/immutable/nodes/8.CjSGHl1Q.js 86.49 kB │ gzip: 28.96 kB
.svelte-kit/output/client/_app/immutable/nodes/7.CONj9eoM.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.54s
.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.71s
Run npm run preview to preview your production build locally.
> Using @sveltejs/adapter-static
Wrote site to "build"
✔ done
@@ -0,0 +1,648 @@
"Static Chinese references for one source graph; never execute upstream code."
from __future__ import annotations
import copy
import hashlib
import json
from pathlib import Path
REPO = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "ace-qwen-reference"
PATHS = [("example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json")]
OLD_PATH = "example_ComfyUI_workflows/2-音乐生成/ace_step1_5_xl_turbo_8Step极速音乐生成.json"
def canonical(value):
return json.dumps(value, ensure_ascii=False, sort_keys=True, separators=(",", ":")).encode()
def build(index=0):
raw = (REPO / PATHS[index]).read_bytes()
g = json.loads(raw)
old = json.loads((OUT.parent / "ace-document-evidence/definition-0.json").read_bytes())
manifest = json.loads((REF / "sources.json").read_bytes())["sources"]
sources = []
def cite(file, claim, first=1, last=None):
e = next(e for e in manifest if e["local_file"] == file)
data = (REF / file).read_bytes()
assert hashlib.sha256(data).hexdigest() == e["sha256"]
last = last or len(data.decode().splitlines())
assert 1 <= first <= last <= len(data.decode().splitlines())
row = dict(e, local_file="../ace-qwen-reference/" + file, lines=[first, last], claim=claim)
if row not in sources:
sources.append(row)
return sources.index(row)
def existing_source(i):
e = old["sources"][i]
name = e["local_file"].split("/")[-1]
assert not name.startswith("primitive__")
claim = e["claim"].replace("1.44.0", "1.38.0")
# Recheck whole exact new file; line layouts differ across frontend versions.
return cite(name, claim)
# Common backend definitions are exact same bytes; frontend citations rebuilt at 1.38.0.
old_fields = {(f["node_id"], f["field"]): f for f in old["fields"]}
names = {
106: ["vae_name"],
99: ["value", "fixed"],
98: ["seconds", "batch_size"],
47: [],
78: ["shift"],
111: [
"max_tokens",
"top_k",
"top_p",
"min_p",
"typical_p",
"temperature",
"repeat_penalty",
"frequency_penalty",
"presence_penalty",
"mirostat_mode",
"mirostat_eta",
"mirostat_tau",
"state_uid",
],
115: ["purge_cache", "purge_models"],
110: [
"model",
"mmproj",
"chat_handler",
"n_ctx",
"vram_limit",
"image_min_tokens",
"image_max_tokens",
],
109: [
"preset_prompt",
"custom_prompt",
"system_prompt",
"inference_mode",
"max_frames",
"max_size",
"seed",
"randomize",
"force_offload",
"save_states",
],
105: ["clip_name1", "clip_name2", "type", "device"],
18: [],
116: ["source", "split_by", "from_right"],
102: ["value", "randomize"],
118: ["history_text"],
112: ["prompt"],
94: [f["field"] for f in old["fields"] if f["node_id"] == "94"],
3: [f["field"] for f in old["fields"] if f["node_id"] == "3"],
107: ["filename_prefix", "quality"],
117: ["history_text"],
113: ["prompt"],
104: ["unet_name", "weight_dtype"],
}
labels = dict(
fixed="生成前后数值控制",
max_tokens="文本长度上限意图",
top_k="候选数量意图",
top_p="累计概率意图",
min_p="最小概率意图",
typical_p="典型采样意图",
temperature="文本采样温度意图",
repeat_penalty="重复惩罚意图",
frequency_penalty="频次惩罚意图",
presence_penalty="出现惩罚意图",
mirostat_mode="自适应采样模式意图",
mirostat_eta="自适应调整参数意图",
mirostat_tau="自适应目标参数意图",
state_uid="状态标识意图",
purge_cache="缓存清理意图",
purge_models="模型清理意图",
model="语言模型文件",
mmproj="视觉投影文件",
chat_handler="对话处理方式意图",
n_ctx="上下文长度意图",
vram_limit="显存限制意图",
image_min_tokens="图像最少token意图",
image_max_tokens="图像最多token意图",
preset_prompt="预设文本意图",
custom_prompt="用户文本缓存",
system_prompt="系统指南缓存",
inference_mode="推理组织方式意图",
max_frames="视频帧数上限意图",
max_size="图像尺寸上限意图",
seed="语言模型种子意图",
randomize="生成前后数值控制",
force_offload="卸载意图",
save_states="保存状态意图",
source="待拆分文本缓存",
split_by="分隔标记",
from_right="拆分方向",
history_text="历史展示文本",
prompt="歌词指南与创作主题",
value="共享数值",
)
virtual = cite(
("frontend__src__extensions__core__widgetInputs.ts"),
"准确1.38.0 PrimitiveNode虚拟身份、首目标控件构造及值复制;不执行",
)
widgets = cite(
"frontend__src__scripts__widgets.ts",
("准确1.38.0数值辅助控件fixed/randomize与serialize=false;不执行队列钩子"),
)
various = cite(
"various__comfyui_primitive_ops.py",
"准确JWStringSplit注册/签名/schema生成器及返回槽,仅静态说明",
1,
285,
)
various_init = cite("various____init__.py", "准确注册导入路径;未执行")
cr = cite(
"cr__nodes__nodes_core.py", "准确CR_PromptText schema与原文本/帮助字符串返回", 204, 224
)
crreg = cite("cr__node_mappings.py", "准确CR Prompt Text注册映射")
show = cite(
"showtext__py__show_text.py",
(
"准确registry1.2.5 ShowText列表输入、hidden元"
"数据、ui.text/result及widgets_values历史写入"
),
)
showjs = cite(
"showtext__web__js__showText.js",
"准确1.2.5前端只读展示/执行通知/恢复历史控件;Git提交未知,未运行",
)
for name in ["showtext____init__.py", "showtext__pyproject.toml", "showtext__LICENSE"]:
cite(name, "准确1.2.5发布包成员/入口/许可,完整包SHA与Git未知绑定分列")
fields, comments, empty = [], [], []
for ni, n in enumerate(g["nodes"]):
nid = n["id"]
if n["type"] == "MarkdownNote":
comments.append(
dict(
node_id=str(nid),
scope="root",
pointer=f"/nodes/{ni}/widgets_values/0",
text=n["widgets_values"][0],
meaning=(
"完整模型指南/路径树/更新建议原文保留并中文解释:扩散模型、VAE和双文"
"本编码器分别放各模型目录。作者建议不证明安装或兼容;本源实际UNET有A"
"ceStep反斜杠子目录。所有链接只作文本,不授权下载或更新。"
),
)
)
continue
assert len(names[nid]) == len(n["widgets_values"])
if not n["widgets_values"]:
item = copy.deepcopy(
next(z for z in old["zero_saved_nodes"] if z["node_id"] == str(nid))
)
item["evidence"] = [existing_source(i) for i in item["evidence"]]
empty.append(item)
for k, (name, value) in enumerate(zip(names[nid], n["widgets_values"], strict=True)):
key = (str(nid), name)
inp = next((i for i, p in enumerate(n.get("inputs", [])) if p["name"] == name), None)
if key in old_fields and nid != 99:
f = copy.deepcopy(old_fields[key])
f["evidence"] = [existing_source(i) for i in f["evidence"]]
for prop in ["effect", "execution_note", "limits", "schema_default"]:
f[prop] = (
f[prop]
.replace("1.44.0", "1.38.0")
.replace("109的INT", "102的INT")
.replace("109.INT", "102.INT")
)
if nid == 94:
if name in ["tags", "lyrics"]:
f["effect"] = (
(
"位置标签不等于已认证控件映射。准确core0.11.1缺本带"
"1.5类,默认/范围/分支未知。保存英文全文仅是缓存,被11"
"6槽"
)
+ ("0" if name == "tags" else "1")
+ "物理外线覆盖;不当最终送入文本或实际歌词/风格遵循证据。"
)
if name == "seed":
f["effect"] = f["effect"].replace("缓存0", "缓存966457091644585")
if name in ["bpm", "keyscale"]:
f["effect"] = f["effect"].replace("95/E minor", "190/E minor")
if name == "language":
f["effect"] += (
" 生成中文主题、历史中文歌词和源英文缓存分开,不保证本次中文输出。"
)
if nid == 107 and name == "filename_prefix":
f["effect"] = f["effect"].replace("audio/ACE_Step1.5_xl_turbo", "audio/ComfyUI")
else:
f = dict(
label=labels[name],
schema_default="未知:准确接口或恢复未证",
unit="未知,不由源值推断单位",
limits="未知;不补默认、范围或分支",
effect="",
evidence=[],
role="unverified_saved_intent",
)
if nid in [99, 102]:
f.update(
role="frontend_virtual_reference",
evidence=[virtual, widgets],
schema_default="由首目标控件构造;目标缺类或组合恢复未知",
unit="源JSON整数;出口" + ("FLOAT" if nid == 99 else "INT") + "声明分列",
limits="目标控件与辅助控制分列;不运行恢复/队列钩子",
effect="共享"
+ (
"时长意图120,FLOAT出口分别覆盖98.seconds与94.duration。"
if nid == 99
else (
"种子意图966457091644585,INT出口分别覆盖94.seed与3.seed同值缓存。"
)
)
+ (
"源无节点提供方/版本;准确前端1.38.0只作PrimitiveNode"
"虚拟注册/首目标构造/值复制有限参考。UE7.8/宿主组合恢复未知,不求"
"值、不构造后端调用、不保证成品时长或最终种子。"
),
)
elif nid in [109, 110, 111]:
f["effect"] = (
"此位置仅按本源保存结构及可得同名输入口记录"
+ labels[name]
+ (
",不是已认证控件布局。源cnr_id原样llama-cpp_vllm,声"
"明20571a3cf504b8308781d3cad2e432444ec"
"3d75b;registry指向ComfyUI-llama-cpp_vl"
"m,但准确Git提交fetch拒绝且raw节点文件404。schema/"
"默认/单位/范围/实现/恢复/SDK/许可绑定未知,不套f2209ccc"
"参考或按端口顺序认证,不归一vllm/vlm。"
)
)
if nid == 110:
f["effect"] += (
" 7个保存值均原样保留,不补load_mtp;两个GGUF文件只是引用,"
"mmproj不证明本图使用图像,images未接,chat_handle"
"r/上下文/显存/图像token零值或-1含义未证,不检查或下载模型。"
)
elif nid == 111:
f["effect"] += (
" 13个值原样保留;presence_penalty拼写不改presen"
"t_penalty。参数对象→109.parameters;未证max_"
"tokens单位/惩罚算法、mirostat/零值/-1状态行为,不套通"
"用LLM定义或操作缓存。"
)
else:
f["effect"] += (
" 110模型和111参数对象进入本节点,images/queue_han"
"dler未接;输出分支进入116拆分与115清理意图;不模拟生成、状态、"
"卸载或队列。"
)
if name in ["custom_prompt", "system_prompt"]:
f["effect"] += (
" 保存空串被"
+ (
"113创作主题"
if name == "custom_prompt"
else "112完整ACE歌词指南"
)
+ "外线覆盖,不当最终空输入。"
)
if name == "randomize":
f["evidence"] = [widgets]
elif nid == 115:
f["effect"] = (
"保存true表示"
+ labels[name]
+ (
"。源没有提供方和版本,准确schema/默认/副作用/执行条件未知;不借"
"旧LayerStyle证明本机行为。109输出进入anything,但1"
"15无返回音乐链,不能保证被调度执行;不执行缓存/模型/显存清理。"
)
)
elif nid == 116:
f.update(
role="saved_layout_reference",
evidence=[various, various_init],
unit="字符串或字符串枚举",
limits="签名生成schema与源位置分列,未认证UE7.5.2/1.38.0组合恢复",
schema_default={
"source": "a,b",
"split_by": ",",
"from_right": "签名None;schema枚举false/true未设default",
}[name],
effect=(
"准确注册JWStringSplit:签名source字符串默认a,b、s"
"plit_by默认逗号、from_right为Literal字符串fal"
"se/true;仅字符串等于true才从右rsplit一次,否则spli"
"t一次。匹配两段返回左右槽0/1;未找到分隔符时case a"
"捕获整张拆分列表,返回列表与空串;与声明STRING槽冲突。"
"空分隔符异常路径无专门捕获,不试算本源。保存第三值为STRING fal"
"se不是布尔;source缓存a,b被109外线覆盖,保存分隔符---。"
"槽0同时接117历史显示与94.tags,槽1同时接118历史显示与94"
".lyrics;不执行拆分或假定实际生成格式符合指南。"
),
)
elif nid in [117, 118]:
f.update(
role="history_display_only",
evidence=[show, showjs],
schema_default="无历史输出默认;后端text是forceInput STRING",
unit="完整历史展示字符串",
limits=("INPUT_IS_LIST/OUTPUT_IS_LIST;OUTPUT_NODE=True;非本次文本或媒体"),
effect="这里保留"
+ ("英文风格全文" if nid == 117 else "中文歌词及结构标签全文")
+ (
"作为历史展示。准确registry1.2.5 ShowText接text"
"列表,返回ui.text与result列表,可在hidden workf"
"low元数据写widgets_values;JS构造只读控件并在conf"
"igure/onConfigure恢复历史。发布包成员SHA明确,Git"
"绑定未知。当前外线来自116槽"
)
+ ("0" if nid == 117 else "1")
+ ";历史正文不当本次产物,不反向覆盖94或保证音乐遵循,未执行展示插件。",
)
inp = None
elif nid in [112, 113]:
f.update(
role="saved_layout_reference",
evidence=[cr, crreg],
schema_default="prompt",
unit="完整多行字符串",
limits="STRING multiline=True;未声明长度/单位限制",
effect=(
(
"完整ACE指南规定只输出Global Tags与Lyrics,以---分"
"隔,包含结构标签/模板/规则。该指南是原源文本,不当准确音乐类schem"
"a或保证模型遵循。"
)
if nid == 112
else (
"创作主题“假如没有学AI就好了,中文歌词”原样保留,"
"是期望,不是已生成中文歌曲。"
)
)
+ (
"准确CR_PromptText原值返回槽0(prompt),"
"槽1是show_help字符串;本源仅槽0接109."
)
+ ("system_prompt" if nid == 112 else "custom_prompt")
+ ",覆盖保存空串。不执行指南、表达式或文本替换,帮助链接只文本。",
)
if name in ["fixed", "randomize"]:
f["role"] = "frontend_reference_only"
inp = None
f["effect"] += (
" 源"
+ str(value)
+ (
"辅助控制与整数分开;准确1.38.0选项fixed/increment/"
"decrement/randomize、serialize=false不"
"入prompt。fixed分支不随机/增减,randomize意图不证明"
"最终种子;before/after钩子及UE顺序未知,未执行。"
)
)
f["evidence"] = list(dict.fromkeys(f["evidence"] + [widgets, virtual]))
linked = (nid, name) in [
(98, "seconds"),
(94, "duration"),
(94, "seed"),
(3, "seed"),
(94, "tags"),
(94, "lyrics"),
(109, "custom_prompt"),
(109, "system_prompt"),
(116, "source"),
]
if linked:
f["role"] = "linked_saved_cache"
f.update(
node_id=str(nid),
definition_node_id=str(nid),
scope="root",
class_type=n["type"],
field=name,
pointer=f"/nodes/{ni}/widgets_values/{k}",
value=value,
json_type=type(value).__name__,
named_pointer="源缺widgets_values_named,不制造具名保存指针",
input_pointer=f"/nodes/{ni}/inputs/{inp}"
if inp is not None
else "无已证对应输入口,不制造",
input_name=n["inputs"][inp]["name"] if inp is not None else None,
type=n["inputs"][inp]["type"] if inp is not None else "保存/辅助状态",
execution_note=(
"mode0仅保存模式;准确类/版本缺口、前端1.38.0与UE7.8/7"
".5.2组合恢复、目标模型/素材/设备及实际效果未知;转换关闭、未实跑。"
),
)
fields.append(f)
assert len(fields) == 77 and len(comments) == 1 and len(empty) == 2
# Cite licenses/identities independently for this graph; never claim absent licenses exist.
for name in [
"core__LICENSE",
"frontend__LICENSE",
"frontend__src__lib__litegraph__LICENSE",
"frontend__package.json",
"frontend__pnpm-lock.yaml",
]:
cite(
name,
(
"本图准确版本许可/锁定依赖原字节;LiteGraph为同树源"
"码,不证明插件/模型/素材许可或目标安装"
),
)
overview = (
"这张图先让Qwen按主题编写曲风和歌词,再把分隔后的两段送入ACE音乐链"
",计划导出MP3。保存了中文创作主题、完整指南和历史展示,但语言插件准确"
"提交不可得,音乐声明版本也缺类/类别冲突,目前仅供阅读核对,不能保证能运"
"行或生成中文歌曲。"
)
flow = [
(
"独立原字节盘点22根节点/24物理边、全mode0、无子图;77非注释保"
"存位置+1完整MarkdownNote;47/18明确[],没有具名保存"
"值。源frontendVersion=1.38.0,LG仅rendere"
"r;不继承1.44.0/1.52.7适用规则。"
),
(
"110.loader→109.llama_model,111.param"
"eters→109.parameters。112完整ACE指南→109."
"system_prompt,113中文创作主题→109.custom_p"
"rompt,覆盖109两个空串;images/queue_handler"
"未接,不证明图像或队列执行行为。"
),
(
"109输出→116.JWStringSplit.source,同时分支→"
"115.PurgeVRAM V2。115没有返回音乐链,其实际调度/副作"
'用未知,不执行显存/缓存清理。116保存["a,b","---","fa'
'lse"],STRING false与布尔分开,source缓存被连线覆'
"盖。准确实现只静态追踪首/末分隔一次、找不到时列表/空串(c"
"ase a捕获整张列表,与STRING槽冲突),不实际拆分输"
"入"
"。"
),
(
"116槽0同时→117.ShowText与94.tags,槽1同时→11"
"8.ShowText与94.lyrics。94英文保存tags/lyri"
"cs均被外线覆盖;117英文风格/118中文结构歌词是完整历史展示,不是"
"本次产物,不能替代真实生成结果或保证音乐遵循。"
),
(
"104.UNET→78.AuraFlow(shift3)→3.KSamp"
"ler.model;105.DualCLIP→94条件→3.positi"
"ve,94也→47.ZeroOut→3.negative;98.late"
"nt→3→18.VAEDecodeAudio,106.VAE→18,18"
".audio→107.SaveAudioMP3。ZeroOut并非清空全"
"部元数据。"
),
(
"准确core0.11.1没有TextEncodeAceStepAudio"
"1.5/EmptyAceStep1.5LatentAudio,DualC"
"LIP类别枚举无ace;不借旧类/新版补默认、范围、零值、时长公式或ge"
"nerate_audio_codes分支。未新增API候选。"
),
(
"99.PrimitiveNode保存JSON int120/fixed,"
"FLOAT出口分别覆盖98.seconds和94.duration缓存1"
"20。102.PrimitiveNode保存96645709164458"
"5/randomize,INT出口覆盖94.seed及3.seed同值缓"
"存;94/3另各fixed。两虚拟节点都无提供方/版本,仅准确1.38."
"0构造有限参考;不运行复制、RNG或队列钩子,不宣称最终种子确定或成品两"
"分钟。"
),
(
"109/110/111源cnr_id精确保留llama-cpp_vllm"
"与20571a3cf504b8308781d3cad2e432444ec"
"3d75b。registry指向仓名ComfyUI-llama-cpp_"
"vlm;准确commit fetch not our ref、raw n"
"odes.py 404,schema/实现/恢复/许可未知。保留7/13"
"/10位置,不套f2209ccc,不补load_mtp,不改presen"
"ce/present拼名。"
),
(
"109保存Normal - Describe/空串/空串/one by "
"one/24/256/926731712482802/randomize"
"/false/false;110两GGUF引用与Qwen3.5/8192"
"/-1/0/0、111所有原值完整保留,零值/-1与SDK/状态/显存语"
"义未知,不执行上游或SDK。"
),
(
"94保存bpm190/duration120/timesignature"
"字符串4/zh/E minor/true/cfg_scale2/temp"
"erature0.85/top_p0.9/top_k0/min_p0。3"
"保存steps8/cfg1/euler/simple/denoise1;"
"两种引导分属不同入口,8步不保证质量/耗时/成功,源英文缓存与中文创作意"
"图分开。"
),
(
"104原AceStep反斜杠路径与default、105两个编码器/ac"
"e/default及106.VAE文件原样;文件名不证明dtype/设备"
"/安装。107保存audio/ComfyUI/V0,准确正式output"
" MP3:V0仅qscale=1而非固定码率;schema默认V0、方法"
"缺省128k分列,未保存或请求媒体。"
),
(
"116准确comfyui-various@5bd85aaf7616878"
"471469c4ec7e11bbd0cef3bf2;CR准确d78b78"
"0ae43fcf8c6b7c6505e6ffb4584281ceca。两"
"准确树未发现许可文件,许可未知。ShowText准确registry1."
"2.5包SHA/成员/许可固定,Git提交未知,不套609f3afa。前"
"端同树LiteGraph/锁文件、UE7.8/7.5.2/宿主恢复未知分"
"层。"
),
(
"常见问题:指南分隔格式不是模型遵循证据;历史显示不是本次歌词;缺类/类别"
"冲突不能借新版补证;randomize不证明最终种子;V0不是固定码率;"
"链接/推荐模型不是下载授权;完整定稿0/实跑0/新增转换0,155全量停"
"用未检查/空时间戳保持。"
),
]
flow += ["原物理边 " + json.dumps(e, ensure_ascii=False) for e in g["links"]]
flow += ["原分组 " + json.dumps(e, ensure_ascii=False) for e in g.get("groups", [])]
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=(
"仅参考:准确语言插件提交不可得;core0.11.1缺ACE1.5类与D"
"ualCLIP类别冲突;组合恢复和实际效果未知,转换关闭、未实跑。"
),
user_overview=overview,
versions=[
"ShowText准确1.2.5包SHA256:"
+ next(e["package_sha256"] for e in manifest if e["id"] == "showtext"),
(
"核心准确0.11.1沿用相同原字节,独立绑定本图;commi"
"t/tree/blob/SHA/许可见来源,缺类/类别冲突保"
"留。"
),
(
"前端准确v1.38.0→0f1e54530cfc1bf6f5dc0c4b"
"946bb626d327587f,LiteGraph同树锁定;不是其它图"
"1.44.0或1.52.7。"
),
(
"语言源ID llama-cpp_vllm与完整声明提交原样;准确Git/"
"raw取证失败保留未知,注册库仓名vlm不改源vllm拼写。"
),
(
"JWStringSplit准确5bd85aaf7616878471469"
"c4ec7e11bbd0cef3bf2、CR准确d78b780ae43f"
"cf8c6b7c6505e6ffb4584281ceca;未发现许可文件"
"。"
),
(
"ShowText registry1.2.5发布包/成员SHA固定;Gi"
"t提交/目标绑定未知。PrimitiveNode无节点身份,UE7.8/"
"7.5.2组合恢复未知。"
),
(
"local_file以docs/hel-892/ace-qwen-doc"
"ument-evidence为基准,manifest以ace-qwen-"
"reference为基准;获取时间为本地原件写入观测,不冒充提交时间。"
),
],
counts=dict(
saved_fields=77,
root_saved_fields=77,
internal_saved_fields=0,
linked_saved_fields=9,
frontend_only=5,
source_nodes=22,
root_nodes=22,
internal_nodes=0,
physical_edges=24,
internal_edge_records=0,
source_notes=1,
history_objects=0,
history_strings=2,
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:阅读112完整指南、113创作主题、117/118历史文本与94"
"外线覆盖关系;先区分保存缓存、历史展示和生成意图,不实际构造prompt"
"。"
),
(
"操作2:分别核对语言插件准确提交不可得、core缺类/类别冲突、1.38"
".0及UE恢复、文件/设备与许可未知,不用端口顺序猜控件,不借新版补证。"
),
(
"操作3:155全量完成审核后才发布;当前保持停用,不启ComfyUI、不"
"执行模型/GPU/音频/SDK/拆分/种子/状态/缓存清理,不下载权重素"
"材。"
),
],
)
@@ -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_ace_qwen_fixed_document.py",
"e2e/run-ace-qwen-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/ace-qwen-document.mjs"], cwd=ROOT, check=True)
(OUT / "python-check-files.json").write_text(json.dumps(FILES, indent=2) + "\n")
print("PASS", len(FILES), (("authored Python files and one " + "JS") + " syntax check"))
if __name__ == "__main__":
main()
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,595 @@
{
"base": "08c907e16027e5e04de38f1c993f4695d8822841",
"files": [
{
"path": "calliope-backend/src/calliope/comfyui/fixed_document.py",
"bytes": 12168,
"sha256": "0b04bc79da9751b520be8c76b72d396754bc9ab3499aa96dfa0a1f95ed608b16",
"purpose": "新增本图代码拥有摘要绑定;不扩信任或执行资格"
},
{
"path": "calliope-backend/src/calliope/comfyui/source_reviews.json",
"bytes": 5596402,
"sha256": "0d9bdd29c58d1d109098d6ea49ef099114ea51d4074ac111f87df7397b823eab",
"purpose": "仅本图实际中文固定参考块;旧43块逐对象冻结"
},
{
"path": "calliope-backend/tests/test_ace_qwen_fixed_document.py",
"bytes": 7870,
"sha256": "5f7110f160e7bb56f5e2df2c63d70560d6207f653dff981d302efcf38ed03451",
"purpose": "新增本图代码拥有摘要绑定;不扩信任或执行资格"
},
{
"path": "docs/hel-892/ACE与Qwen自动歌词音乐固定参考中文说明.md",
"bytes": 147226,
"sha256": "260a19c8768f2f56f2870ae3cb67da6b4a690c223d325cb0112ddb446f8212f9",
"purpose": "逐位置中文说明或交付范围/限制说明"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/actual-ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"bytes": 210857,
"sha256": "a6d3b99c2236e6122f2a6699bca2e8f2ba84f3d251a819c3e462e1ddef9a5caa",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/audit-summary.json",
"bytes": 797,
"sha256": "b79c3f138241cc4c82f8530637349ec411fc8bd92de0668a07e2a88c4a2cbb7a",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/backend-request-counts.json",
"bytes": 1661,
"sha256": "d9f516e1892212aec72e18b6e0eba2b46f923263f198bf79291bdb915b0fc5af",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/boundaries.json",
"bytes": 38633,
"sha256": "b6a13d06055b53cf369cdaef6f1f304789bd3e521fdcfd68dbb6a102fab57c31",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/browser-results.json",
"bytes": 132062,
"sha256": "0015656633d14edfebe6fe85167fb613421cad8209f156ec1268af4874031dd1",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/browser.txt",
"bytes": 110883,
"sha256": "d88ecf3b458393fdf631837e7619f7fddbf5a5d5bb0f1b2044d4570501713a6e",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/build.txt",
"bytes": 24326,
"sha256": "fabe5ecc2c1aca4380c23e2b153cd088ae42d9fffbc9424531c54d4493a94cb7",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/build_definition.py",
"bytes": 31269,
"sha256": "cd9b791420321c81ae2b2da3115b09c4e4b0fdbd4c745f948e1d1139dd5d56ba",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/check_code.py",
"bytes": 1217,
"sha256": "039b40fac029adffc3a9dc2434b6904360e521267c90f5389e59bb0281d2c55f",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/definition-0.json",
"bytes": 159226,
"sha256": "abb02e80a68b94c6933528a7727654ea133590ce1a23c3679c9fcb3fdd96b2cf",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/delivery-summary.md",
"bytes": 4907,
"sha256": "aae09cabcb5bbced8020155cdc85697e0960c0f7cf0db854c07c217e6d3cdb05",
"purpose": "逐位置中文说明或交付范围/限制说明"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/development-notes.json",
"bytes": 678,
"sha256": "83547363c9eeb916db0749fe18c9ba760b905659f89c1324bb2d34b55728d00c",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/fetch_sources.py",
"bytes": 8071,
"sha256": "de3bfbf2c7b1b09881dfc8daee1c917985aefd93bae2ac547df1c03ea30742e6",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/fixed-source-index.json",
"bytes": 34331,
"sha256": "ce05880003372998c3bbda33443a13c4a81b1d81e9a3c4dcfd0eec3b0ca2aa49",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/frozen-resource-check.json",
"bytes": 40348,
"sha256": "2c75dc46a92390dfb441467ac761ddb3e62d8ff2442b524adadb728163a5d1ba",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/import-protection.json",
"bytes": 1270,
"sha256": "4df884356416590c1ed5b2dc1b0eb6713b19c6d58ea065fed26b3cf025d110aa",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/independent-inventory.json",
"bytes": 22052,
"sha256": "481715f13886af052f01ac238f669ce329dee3fe729516efb3fcda7364b2c569",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/inventory.py",
"bytes": 2312,
"sha256": "0dd8a4a68f192629564235a5bafdeac75f650a63c5970c54f3a3be1b86918aa5",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/lint.txt",
"bytes": 100,
"sha256": "ba3ad488d916696d5b35456e7287d7d18bf5b5b11a65c8345c7fc47948bddea9",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/npm-ci.txt",
"bytes": 143,
"sha256": "99aec36e74054441a1e4c2ee0d37b5e5cbe2e3ce61938cf82941f876a338315b",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/package-check.json",
"bytes": 550,
"sha256": "3619d5a8d802ddbe48f31a0bd1d83f3f10bd76950d22b19947e47dee61e58cc9",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/pins.json",
"bytes": 168,
"sha256": "1f9a99185b3331852e2aa13b524c2fecd2fc38a6c18c81998b329304fa253099",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/ports-independent.json",
"bytes": 143,
"sha256": "266133a9b9d283c5e201a3a7b621da4f100e673cc58e8849cb94ee43a9f19bff",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/pr-before.json",
"bytes": 8270,
"sha256": "0067370779be9577ed1f423891155c016547894b11b947e916bab26c365e9c9a",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/python-check-files.json",
"bytes": 696,
"sha256": "fcf56364a9f3df3c91d77af032dcd44171a3cc9248968ff34c85a9ddeb994a13",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/raw-whitespace.json",
"bytes": 20376,
"sha256": "81fbb984442d15dfe97861195b201d3e90a899bd105b1eb5c809905ca258e62d",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/rebuild.py",
"bytes": 2539,
"sha256": "db4d505c9a75829ffb4b57683cee1ac76fe392ec38ece0b1d774ead43aa1c344",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/recompute.py",
"bytes": 12930,
"sha256": "ea1619032ea6cc3c80306b9c6eecc6aa424374a0c657a980d3ff18cc66f261aa",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/recompute.txt",
"bytes": 281,
"sha256": "aa98fd5c757eb66da931db166ce476e6e1f5e6bee15446d947e88c857618a68e",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/render_report.py",
"bytes": 4754,
"sha256": "b23307e9721a3c290c1716a79da36cb3c3ba513e156a95a14817a8d575bacc93",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/repeat.py",
"bytes": 1358,
"sha256": "a0f29d173a9be2d156b201f6b14170cca9f8361f99982dd609898ef6b6427bed",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/repeatability.json",
"bytes": 429,
"sha256": "1710e2a986de301493995a967c15a5b942d2d4609aa804ba362b4675523118fd",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/review-delta.json",
"bytes": 391,
"sha256": "56e149b72f1bd7f685b7ff3383c93b01c8816f258caa2f69020ba77b7388d18b",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/screenshots.json",
"bytes": 2345,
"sha256": "9dae89c6eaacba176e78a4b8c12a8b57dbd971fc7219cc8c6bfa02d0a6295be5",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/service-0.log",
"bytes": 10892,
"sha256": "844e473555313733e8ec12e6f2cbe4c797aba861de37e5932f17e2b6b23966e6",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/service-1.log",
"bytes": 72,
"sha256": "c09a1eba64cc2ba8a35d06aea7282f8fbf9e1ce56300de25e0c4f2fd8cf854fa",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/service-stop.json",
"bytes": 65,
"sha256": "26a1c53a887aaa01778530a87c33062e6121fde93e9eacea671c3561b8fe5594",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/source-check.json",
"bytes": 1164,
"sha256": "e143fa43e2b92c4d4d63dda3fea6bd412cb3c6f12cb10db3504959f00e76acae",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/tests.txt",
"bytes": 1040,
"sha256": "9002f0223505906a42f23d5d773bab60cce2058ed1f627e04cc963a226f112d8",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/validation-commands.txt",
"bytes": 4187,
"sha256": "29e86f47c8212adc8ecf402b20135c402ad5e83719cd25978f9b92bf3db48616",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/verify_sources.py",
"bytes": 4472,
"sha256": "74cefe113bfa597d954d3a7bc54dacf52eeb89badd298a0c2e078582451a4093",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "docs/hel-892/ace-qwen-document-evidence/visual-inspection.json",
"bytes": 631,
"sha256": "a44238478e2a1c6d7e9c9c79bf131fa90ba1df32a49cd78c97de47e55154fe2a",
"purpose": "本批实际验证结果、来源索引或复现证据"
},
{
"path": "docs/hel-892/ace-qwen-reference/core-commit.json",
"bytes": 1117,
"sha256": "08f8f5636538f1e71161f7dbb97cdd53ed3cd8038364a2c07cdb02346f980980",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core-tag.json",
"bytes": 339,
"sha256": "4ba60c24f35d218e42fb972dd3949fe5820db4466c3560ba30cafb9e1d3a307a",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core-tree.json",
"bytes": 185089,
"sha256": "bbf364f1829bc3328da9782510e7c7e870016b73151b1dbdeed43786c1b5c120",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__LICENSE",
"bytes": 35149,
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy__model_sampling.py",
"bytes": 13485,
"sha256": "127dd382157084b35d7500c83552bb40c0b9287ed09096ee699dd3695aa7c04a",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy__sample.py",
"bytes": 4151,
"sha256": "7123f89ac74e6bef191b8686aa71d11d6f6041b8689dce6a1757e8dcd4cc11c3",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy__samplers.py",
"bytes": 49683,
"sha256": "a7b0dec5aea19214cc640dd725d927ac8246377885d46c956a5c0d9fe79b1a47",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy__sd.py",
"bytes": 91640,
"sha256": "9376efb33348885d89bd414274f092aa7f01f61afc049fc5cf19dbb878cf8758",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy__text_encoders__ace.py",
"bytes": 6323,
"sha256": "f200d0a8579b43e4e9994bdba7298063c5fc8aa5f06fe0c377f704341a5f4bb4",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy_api__latest___ui.py",
"bytes": 17849,
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy_api__latest___ui_public.py",
"bytes": 33,
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy_extras__nodes_ace.py",
"bytes": 2238,
"sha256": "ebb930f0d878f51327866ac541bc0d13b5147310150a6b964688cb7ad0cde91b",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy_extras__nodes_audio.py",
"bytes": 24618,
"sha256": "d47eefe226c273f20561545f6a664bfdfa5c193cec7178c925b5dc5ccb642a9c",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__comfy_extras__nodes_model_advanced.py",
"bytes": 12292,
"sha256": "cab5da60111decf37246e2311cf419e3d25f4776ed5718202bb41d95129b916d",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__folder_paths.py",
"bytes": 18573,
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/core__nodes.py",
"bytes": 102870,
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/cr-commit.txt",
"bytes": 213,
"sha256": "f0750ede9b152940785afe67185819fd6fb70cf289f9161e9cc80466aff1826a",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/cr-tree.json",
"bytes": 22941,
"sha256": "bc66e77166d8ddedef846c23cc83d6afd1ba7d1cf1f443fae298d67e16a557d0",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/cr__node_mappings.py",
"bytes": 24479,
"sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py",
"bytes": 17213,
"sha256": "cece30b4134527ee0b9e7b083de0d3cc389124c02d5f1785284c023ba6756ece",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend-commit.txt",
"bytes": 1428,
"sha256": "7711fe2a1388e70ed43c772aeec7fb8f1ff2139ddde990a704048cf74bc85a57",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend-tag.json",
"bytes": 150,
"sha256": "00fd4528f82ba6cbb786c0998fd181eb5bf05ab49fec705c60355ba3833b603e",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend-tree.json",
"bytes": 403576,
"sha256": "2b311a499c7f619ab0d75e20d178bcfe94c8b683fa754188f1d7c3ebd3548f0f",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__LICENSE",
"bytes": 35149,
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__package.json",
"bytes": 7745,
"sha256": "8b6877c0d4470afbd3074cca470d81bf573a8b75243fcfaf70098845a6815161",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__pnpm-lock.yaml",
"bytes": 590318,
"sha256": "eafae7b293da785f758f6a73318775a6590476e2f0027bc17bb70e0c58916b8c",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__src__extensions__core__uploadAudio.ts",
"bytes": 13335,
"sha256": "0a11f1ad5651d238130bc06aca2a4b31a41f8bec98d0f8512e02ffb42b262e66",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__src__extensions__core__widgetInputs.ts",
"bytes": 17863,
"sha256": "488d38eb209816778a6da8cb8f734f539e3fbd7f77aae41ec649a52b8764b613",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE",
"bytes": 1077,
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"bytes": 124196,
"sha256": "706225a8a06cd7929f9e04fe2388bcdb8f158cdac756c65c45657c020ab7b319",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useFloatWidget.ts",
"bytes": 2869,
"sha256": "a6536de10db2ee4dca8f858f1b2ee68077e9313393e3657e9c22a49c408629e5",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useIntWidget.ts",
"bytes": 2731,
"sha256": "68cb754c9c9ba48da2031981d65eca244d66c611314fc5690e96fdb941a0e8ff",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__src__schemas__nodeDef__migration.ts",
"bytes": 3739,
"sha256": "ae357da184625b93c492c0b73ce9bd2f3b49d158ca19a2944c6500f924a7a533",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__src__scripts__app.ts",
"bytes": 55293,
"sha256": "e57985f7d365abb035bc2fc755a8f5b10efbca97a7dcb5b2a4a05bcbc78b9d5c",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/frontend__src__scripts__widgets.ts",
"bytes": 10923,
"sha256": "e8bb428cbf69635015de43a4ebc89817b3443f876cbed52eeafe67d26f2398d8",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/llama-registry.json",
"bytes": 1387,
"sha256": "d1b7a0051016d2789324260a6d738c054007f2b729005fa520cc023172917cc0",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/llama-unavailable.json",
"bytes": 385,
"sha256": "b74f3350c3ffc8190abf8ec104c069aebc8f85ae24c6e86a88b99b3e1195c8da",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/show-registry.json",
"bytes": 449,
"sha256": "e1d95d5d05b7a0326449bae22a55b502d5d1afce97246a46f167575e27c98ea1",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/showtext-1.2.5.zip",
"bytes": 162699,
"sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/showtext-members.json",
"bytes": 1909,
"sha256": "509dbd9c82425f999801e26c921a1e5cd89f0fd04c63a2d70ddfc4944d541cca",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/showtext__LICENSE",
"bytes": 1069,
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/showtext____init__.py",
"bytes": 1004,
"sha256": "ced0aa0ea33f81d7d97b59b66ff0abc77b068bd17183f42480875e71708a0684",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/showtext__py__show_text.py",
"bytes": 1453,
"sha256": "fb4182f541caed98621fd30cf4ad87d7a7deb2680cfafbcfbeb769355570cc8e",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/showtext__pyproject.toml",
"bytes": 358,
"sha256": "4f22f2c2075881cfd27fda80678a70bbb86e4b2445b8bb005f5b768786e1e140",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/showtext__web__js__showText.js",
"bytes": 2555,
"sha256": "faf44e1452d1f5965bcae9b69a5f6669597dbbe05ebedd85dad7256a14ef6975",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/sources.json",
"bytes": 32153,
"sha256": "38f912c42a9f304446b918cd364c2245aa205f842090d7f5f55075a6a5dcf23c",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/various-commit.txt",
"bytes": 252,
"sha256": "5012f4b86131ef927df05ad6576c88e3b6c9d643f114650ffda0962fc2e44cb9",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/various-tree.json",
"bytes": 3269,
"sha256": "efdd8cd070a44f69cb5036ae0250885dbf892596ecf0100dfb838d942565802a",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/various____init__.py",
"bytes": 1952,
"sha256": "d4546186eb0caf1e18806e577505e5b126a54068044cb35e888ace86925a2802",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "docs/hel-892/ace-qwen-reference/various__comfyui_primitive_ops.py",
"bytes": 9457,
"sha256": "22b3e74e5ae7f592ab5d819ac5cb47467dba1fceaa162a954fece70b4dd418c6",
"purpose": "准确版本源码/许可/原包/注册发现或Git对象元数据;原字节不格式化,供静态来源核对"
},
{
"path": "e2e/ace-qwen-document.mjs",
"bytes": 15433,
"sha256": "4de21a817836a8974ec872d59c54167a31ea920ea6da5cc3f6c5b17dfedd4f19",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
},
{
"path": "e2e/run-ace-qwen-document.py",
"bytes": 3179,
"sha256": "dcb9ff7a8bdd533636597461a149797db33973909a1ea9dbe5f66328b24fd870",
"purpose": "专项自动验证/离线确定性重建/取证或隔离GET双屏验收;不执行上游"
}
],
"manifest_excludes_itself": true,
"screenshots": "18代表截图只附卡不入仓"
}
@@ -0,0 +1,17 @@
第63批ACE+Qwen自动歌词音乐单图参考说明完成,待HEL-893功能+界面审核;155全量未完成,不合并、不部署。
- 原PR25/main、分支agent/agent/a64a969a6a44、基线08c907e16027e5e04de38f1c993f4695d8822841。完整交付SHA在附卡final-head.json;提供方已确认原PR open/未合并,head原分支、base main。Multica链接表空,不盲改PR。
- 原字节独立盘点22根节点/24物理边、全mode0、无子图、77保存位置+1完整MarkdownNote;47/18明确[]、全部无具名保存。原值/JSON类型/指针/作用域/可得端口/默认/单位/范围/条件与未知逐位置保留,9处覆盖/5个前端辅助、2完整历史展示字符串分列;完整ACE指南、主题、历史风格歌词、Note原文+中文解释可读取。
- source_reviews.json仅加本图fixed_version_document,fixed_document.py仅加代码拥有的完整定义摘要;真实doc_json/GET/既有Drawer显示。旧43块1621位置+46注释逐对象不变,现44图1698+47仅参考。未扩其它图、转换器或执行器,Drawer整文件/CSS/依赖未改。
- 准确core0.11.1缺两种带1.5源类,DualCLIP类别无ace;不套旧类/新版默认范围/零值/代码生成分支。共享120/FLOAT、966457091644585/INT、randomize/fixed、外线覆盖与缓存分开;不声称最终种子或时长确定。MP3正式output/V0仅qscale=1,非固定码率,schema默认与方法缺省分列。
- 源语言ID精确保留llama-cpp_vllm、声明20571a3cf504b8308781d3cad2e432444ec3d75b。registry指向仓名ComfyUI-llama-cpp_vlm,但精确Git fetch not our ref、raw nodes.py 404;7/13/10位置保存意图保留,准确schema/实现/恢复/SDK/许可未知,不套f2209ccc、不补load_mtp、不改presence/present拼名。
- JWStringSplit准确5bd85aaf:from_right为STRING false而非bool;只有字符串true走rsplit一次。两段匹配返回左右槽;无分隔符case a捕获整个列表,返回列表/空串,与声明STRING槽冲突,静态AST断言锁定,未实际拆分。source缓存/109输出/槽0到117与94.tags/槽1到118与94.lyrics分层。115无提供方版本且不回音乐链,副作用/调度未知,未清显存。
- CR准确d78b780、ShowText准确registry1.2.5原包/成员SHA(Git绑定未知)、前端准确1.38.0 tag→0f1e54530cfc1bf6f5dc0c4b946bb626d327587f及同树LiteGraph/锁文件。34原件来源行;准确commit/tree/blob/SHA/获取时间/行号/许可与local_file基准明确,CR/various树无许可文件、语言准确许可未知。UE7.8/7.5.2/宿主恢复保留未知,不继承1.44.0/1.52.7其它图适用规则,不执行上游。
- 最终351后台通过(338专项+13库),2106浏览断言通过(新图1058+旧43图1032+汇总2+共享14)。12自写Python Ruff/format、JS语法与前端build通过;离线wheel/sdist三资源字节一致,双次重建/渲染确定性通过。不累加开发期重跑,未重跑无关全套,不称全仓绿;旧5失败仅沿用历史记录。
- 真实08c907e旧代码隔离库仅1更新/154跳过,其余154整行不变;幂等/精确回退/再升级、前后用户修改各1冲突/29列整行保护通过。155/排除1、16/139、1217/3660/294,全停用/未检查/空时间戳,完整定稿0/实跑0/新增转换0保持。163原件/191资源/28profile/9候选/六差分/转换执行资格冻结。
- 两屏1440/390逐77位置、完整Note/指南/历史长文、来源/覆盖关系、默认折叠、旧/空/错绑定回退、迟到响应、失败重试、焦点和无横溢通过。18截图只附卡不入仓,8代表图目验。Note沿用JSON原文呈现/系统字体,路径树部分emoji缺字形,不下载字体或改界面。
- 浏览固定GET145/轮询14;后端固定GET140含就绪1/轮询14(无job router的404),6详情拦截夹具、字体CSS拦截另列,禁止请求0。finally停本轮服务,独立确认8247/5173连接拒绝,无新增pyc。
复现入口validation-commands.txt;逐文件用途/SHA清单delivery-files.json;独立源盘点independent-inventory.json;source-check.json核原件/版本/缺口;review-delta.json旧块差分;import-protection.json真实旧库/整行保护;boundaries.json/frozen-resource-check.json冻结;browser-results.json/backend-request-counts.json与service日志列请求证据;actual-*.json为隔离库实际说明,相邻中文报告为完整逐位置呈现。
剩余111图无本类参考块。本图语言准确提交缺失、核心类/类别冲突、前端UE/宿主恢复、模型/素材/设备/许可/实际效果尚待核实;本批不需材料窗口。未连接目标、停TTS、启ComfyUI、构造prompt、执行上游/插件/SDK/表达式/拆分/模型/GPU/音频/随机种子/状态/缓存显存;未下载模型权重/素材/字体/运行库、增依赖/付费、写在线库、合并部署。155全量完成审核后才发布。
@@ -0,0 +1,10 @@
{
"final_backend": 351,
"final_browser": 2106,
"counts_not_cumulative": true,
"development_reruns": "初次全流程通过后,静态发现JWStringSplit缺分隔符列表返回分支,修订说明/AST断言并重跑受影响专项、重建/渲染、包/导入保护和双屏浏览;只报告最终执行一次。最终JS只修改注释/断言标签,无行为变化。",
"full_suite_not_run": true,
"baseline_five_failures": "仅沿用历史记录,本轮未运行或修复无关旧失败。",
"no_added_pyc": true,
"fetch_limits": "GitHub API限流后改准确Git文本对象获取;llama精确fetch拒绝/raw404保留未知,不引入替代提交。"
}
@@ -0,0 +1,203 @@
"Acquire bounded exact text only, verifying Git objects; never import upstream."
import datetime
import hashlib
import importlib.util
import io
import json
import subprocess
import zipfile
from pathlib import Path
OUT = Path(__file__).resolve().parent
REF = OUT.parent / "ace-qwen-reference"
spec = importlib.util.spec_from_file_location(
"acquire", OUT.parent / "ace-document-evidence/fetch_sources.py"
)
m = importlib.util.module_from_spec(spec)
spec.loader.exec_module(m)
m.OUT = REF
def main():
REF.mkdir(exist_ok=True)
old = OUT.parent / "ace-reference"
rows = []
for e in json.loads((old / "sources.json").read_bytes())["sources"]:
if e["id"] == "core":
(REF / e["local_file"]).write_bytes((old / e["local_file"]).read_bytes())
rows.append(e)
for f in ["core-tag.json", "core-tree.json", "core-commit.json"]:
(REF / f).write_bytes((old / f).read_bytes())
(REF / "sources.json").write_text(
json.dumps({"sources": rows}, ensure_ascii=False, indent=2) + "\n"
)
rev = "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f"
(REF / "frontend-tag.json").write_text(
json.dumps(
{
"ref": "refs/tags/v1.38.0",
"object": {"sha": rev, "type": "commit"},
"transport": "git ls-remote exact tag",
}
)
+ "\n"
)
specs = {
"frontend": (
"Comfy-Org/ComfyUI_frontend",
rev,
[
"package.json",
"pnpm-lock.yaml",
"src/scripts/widgets.ts",
"src/scripts/app.ts",
"src/extensions/core/widgetInputs.ts",
"src/lib/litegraph/src/LGraphNode.ts",
"LICENSE",
"src/lib/litegraph/LICENSE",
("src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts"),
("src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts"),
"src/schemas/nodeDef/migration.ts",
"src/extensions/core/uploadAudio.ts",
],
),
"llama": (
"lihaoyun6/ComfyUI-llama-cpp_vlm",
"20571a3cf504b8308781d3cad2e432444ec3d75b",
["nodes.py", "__init__.py", "pyproject.toml", "support/gguf_layers.py"],
),
"various": (
"jamesWalker55/comfyui-various",
"5bd85aaf7616878471469c4ec7e11bbd0cef3bf2",
["comfyui_primitive_ops.py", "__init__.py", "LICENSE"],
),
"cr": (
"Suzie1/ComfyUI_Comfyroll_CustomNodes",
"d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
["nodes/nodes_core.py", "node_mappings.py", "LICENSE"],
),
}
for key, (repo, rev, files) in specs.items():
print("Fetching", key, flush=True)
cache = OUT.parents[2] / ".local-evidence" / ("ace-qwen-" + key + "-git")
if key == "llama":
(REF / "llama-unavailable.json").write_text(
json.dumps(
dict(
repo=repo,
requested_commit=rev,
registry_id="llama-cpp_vllm",
attempts=[
"git fetch exact commit: upload-pack not our ref",
"pinned raw nodes.py: HTTP 404",
],
conclusion="准确提交不可得;不套f2209ccc或其它版,三个节点schema/实现/恢复/许可绑定未知",
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
continue
if not cache.exists():
cache.mkdir(parents=True)
subprocess.run(
["git", "init", "--bare", str(cache)], check=True, stdout=subprocess.DEVNULL
)
subprocess.run(
[
"git",
"-C",
str(cache),
"fetch",
"--depth=1",
"https://github.com/" + repo + ".git",
rev,
],
check=True,
)
def git(*args):
return subprocess.check_output(["git", "-C", str(cache), *args])
commit = git("cat-file", "commit", rev)
tree = []
for line in git("ls-tree", "-r", rev).decode().splitlines():
head, path = line.split("\t", 1)
mode, kind, sha = head.split()
tree.append(dict(path=path, mode=mode, type=kind, sha=sha))
tree_sha = git("rev-parse", rev + "^{tree}").decode().strip()
(REF / (key + "-commit.txt")).write_bytes(commit)
(REF / (key + "-tree.json")).write_text(
json.dumps(dict(sha=tree_sha, truncated=False, tree=tree), indent=2) + "\n"
)
for file in files:
entry = next((e for e in tree if e["path"] == file), None)
if entry is None:
print("Absent at exact tree:", key, file, flush=True)
continue
raw = git("show", rev + ":" + file)
name = key + "__" + file.replace("/", "__")
(REF / name).write_bytes(raw)
rows.append(
dict(
id=key,
repo=repo,
file=file,
local_file=name,
commit=rev,
tree=tree_sha,
url=f"https://raw.githubusercontent.com/{repo}/{rev}/{file}",
sha256=hashlib.sha256(raw).hexdigest(),
git_blob_sha1=entry["sha"],
acquisition_time=datetime.datetime.now(datetime.timezone.utc).isoformat(),
license_file=key + "__LICENSE"
if any(e["path"] == "LICENSE" for e in tree)
else "unknown: exact tree lacks LICENSE",
applicability="准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
transport="git exact commit text; no checkout/execution",
)
)
(REF / "sources.json").write_text(
json.dumps({"sources": rows}, ensure_ascii=False, indent=2) + "\n"
)
# Registry version package: preserve complete original ZIP and exact selected members.
meta = json.loads((REF / "show-registry.json").read_bytes())
p = REF / "showtext-1.2.5.zip"
if not p.exists():
p.write_bytes(m.get(meta["downloadUrl"]))
z = zipfile.ZipFile(io.BytesIO(p.read_bytes()))
(REF / "showtext-members.json").write_text(json.dumps(z.namelist(), indent=2) + "\n")
for f in ["py/show_text.py", "web/js/showText.js", "__init__.py", "LICENSE", "pyproject.toml"]:
raw = z.read(f)
name = "showtext__" + f.replace("/", "__")
(REF / name).write_bytes(raw)
rows.append(
dict(
id="showtext",
repo="pythongosssss/ComfyUI-Custom-Scripts",
file=f,
local_file=name,
commit=None,
tree=None,
git_blob_sha1=None,
version="1.2.5",
url=meta["downloadUrl"],
sha256=hashlib.sha256(raw).hexdigest(),
package_sha256=hashlib.sha256(p.read_bytes()).hexdigest(),
package_file="showtext-1.2.5.zip",
package_member=f,
acquisition_time=datetime.datetime.now(datetime.timezone.utc).isoformat(),
license_file="showtext__LICENSE",
applicability="准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
transport="registry package member bytes; no execution",
)
)
(REF / "sources.json").write_text(
json.dumps({"sources": rows}, ensure_ascii=False, indent=2) + "\n"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,661 @@
[
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/widgetInputs.ts",
"local_file": "../ace-qwen-reference/frontend__src__extensions__core__widgetInputs.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/extensions/core/widgetInputs.ts",
"sha256": "488d38eb209816778a6da8cb8f734f539e3fbd7f77aae41ec649a52b8764b613",
"git_blob_sha1": "c7f9f6eb828df61463d316669629ff7368fa882f",
"acquisition_time": "2026-10-30T20:40:15.306525+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
614
],
"claim": "准确1.38.0 PrimitiveNode虚拟身份、首目标控件构造及值复制;不执行"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/widgets.ts",
"local_file": "../ace-qwen-reference/frontend__src__scripts__widgets.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/scripts/widgets.ts",
"sha256": "e8bb428cbf69635015de43a4ebc89817b3443f876cbed52eeafe67d26f2398d8",
"git_blob_sha1": "50dabe011f326aa77b3b032c0932491eaac18586",
"acquisition_time": "2026-10-30T20:40:15.301410+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
308
],
"claim": "准确1.38.0数值辅助控件fixed/randomize与serialize=false;不执行队列钩子"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "various",
"repo": "jamesWalker55/comfyui-various",
"file": "comfyui_primitive_ops.py",
"local_file": "../ace-qwen-reference/various__comfyui_primitive_ops.py",
"commit": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2",
"tree": "1d7fd1283572899e40699c8f0c9af4343184d236",
"url": "https://raw.githubusercontent.com/jamesWalker55/comfyui-various/5bd85aaf7616878471469c4ec7e11bbd0cef3bf2/comfyui_primitive_ops.py",
"sha256": "22b3e74e5ae7f592ab5d819ac5cb47467dba1fceaa162a954fece70b4dd418c6",
"git_blob_sha1": "a3404f408ff61dce10aeafb3b83340284c180530",
"acquisition_time": "2026-10-30T20:40:15.334647+00:00",
"license_file": "unknown: exact tree lacks LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
285
],
"claim": "准确JWStringSplit注册/签名/schema生成器及返回槽,仅静态说明"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "various",
"repo": "jamesWalker55/comfyui-various",
"file": "__init__.py",
"local_file": "../ace-qwen-reference/various____init__.py",
"commit": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2",
"tree": "1d7fd1283572899e40699c8f0c9af4343184d236",
"url": "https://raw.githubusercontent.com/jamesWalker55/comfyui-various/5bd85aaf7616878471469c4ec7e11bbd0cef3bf2/__init__.py",
"sha256": "d4546186eb0caf1e18806e577505e5b126a54068044cb35e888ace86925a2802",
"git_blob_sha1": "980a252f4f4ad564162a4a220dc41edd2552183a",
"acquisition_time": "2026-10-30T20:40:15.335929+00:00",
"license_file": "unknown: exact tree lacks LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
80
],
"claim": "准确注册导入路径;未执行"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "cr",
"repo": "Suzie1/ComfyUI_Comfyroll_CustomNodes",
"file": "nodes/nodes_core.py",
"local_file": "../ace-qwen-reference/cr__nodes__nodes_core.py",
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
"tree": "12c141b4c99138cd6beb2d5197574b9fe264bc74",
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_core.py",
"sha256": "cece30b4134527ee0b9e7b083de0d3cc389124c02d5f1785284c023ba6756ece",
"git_blob_sha1": "02af795eace2b04226fcecd2df0c85db544caa37",
"acquisition_time": "2026-10-30T20:40:15.345762+00:00",
"license_file": "unknown: exact tree lacks LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
204,
224
],
"claim": "准确CR_PromptText schema与原文本/帮助字符串返回"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "cr",
"repo": "Suzie1/ComfyUI_Comfyroll_CustomNodes",
"file": "node_mappings.py",
"local_file": "../ace-qwen-reference/cr__node_mappings.py",
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
"tree": "12c141b4c99138cd6beb2d5197574b9fe264bc74",
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py",
"sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633",
"git_blob_sha1": "a4a1bc4ff001961a64e24bcfa59de528fbc8a6ea",
"acquisition_time": "2026-10-30T20:40:15.347061+00:00",
"license_file": "unknown: exact tree lacks LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
532
],
"claim": "准确CR Prompt Text注册映射"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "py/show_text.py",
"local_file": "../ace-qwen-reference/showtext__py__show_text.py",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "fb4182f541caed98621fd30cf4ad87d7a7deb2680cfafbcfbeb769355570cc8e",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "py/show_text.py",
"acquisition_time": "2026-10-30T20:40:15.348316+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution",
"lines": [
1,
49
],
"claim": "准确registry1.2.5 ShowText列表输入、hidden元数据、ui.text/result及widgets_values历史写入"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "web/js/showText.js",
"local_file": "../ace-qwen-reference/showtext__web__js__showText.js",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "faf44e1452d1f5965bcae9b69a5f6669597dbbe05ebedd85dad7256a14ef6975",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "web/js/showText.js",
"acquisition_time": "2026-10-30T20:40:15.348489+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution",
"lines": [
1,
78
],
"claim": "准确1.2.5前端只读展示/执行通知/恢复历史控件;Git提交未知,未运行"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "__init__.py",
"local_file": "../ace-qwen-reference/showtext____init__.py",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "ced0aa0ea33f81d7d97b59b66ff0abc77b068bd17183f42480875e71708a0684",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "__init__.py",
"acquisition_time": "2026-10-30T20:40:15.348636+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution",
"lines": [
1,
25
],
"claim": "准确1.2.5发布包成员/入口/许可,完整包SHA与Git未知绑定分列"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "pyproject.toml",
"local_file": "../ace-qwen-reference/showtext__pyproject.toml",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "4f22f2c2075881cfd27fda80678a70bbb86e4b2445b8bb005f5b768786e1e140",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "pyproject.toml",
"acquisition_time": "2026-10-30T20:40:15.348918+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution",
"lines": [
1,
13
],
"claim": "准确1.2.5发布包成员/入口/许可,完整包SHA与Git未知绑定分列"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "LICENSE",
"local_file": "../ace-qwen-reference/showtext__LICENSE",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "LICENSE",
"acquisition_time": "2026-10-30T20:40:15.348780+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution",
"lines": [
1,
21
],
"claim": "准确1.2.5发布包成员/入口/许可,完整包SHA与Git未知绑定分列"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../ace-qwen-reference/core__nodes.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/nodes.py",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"git_blob_sha1": "ad474d3cda5a710899dde9fc2ab88a2d7f601991",
"verified_at": "2026-10-30T20:22:48.543778+00:00",
"acquisition_time": "2026-10-30T20:21:47.424914+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
2501
],
"claim": "准确0.11.1 VAE/UNET/DualCLIP加载器及注册;DualCLIP type枚举没有ace"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "folder_paths.py",
"local_file": "../ace-qwen-reference/core__folder_paths.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/folder_paths.py",
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8",
"verified_at": "2026-10-30T20:22:48.543862+00:00",
"acquisition_time": "2026-10-30T20:21:47.876941+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
496
],
"claim": "动态模型目录和正式output路径/计数helper,目标资源/目录存在未知"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_ace.py",
"local_file": "../ace-qwen-reference/core__comfy_extras__nodes_ace.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_ace.py",
"sha256": "ebb930f0d878f51327866ac541bc0d13b5147310150a6b964688cb7ad0cde91b",
"git_blob_sha1": "1409233c924f6828c4d8467a57605318b810b5d0",
"verified_at": "2026-10-30T20:22:48.543899+00:00",
"acquisition_time": "2026-10-30T20:21:48.332968+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
63
],
"claim": "准确0.11.1仅注册旧TextEncodeAceStepAudio/EmptyAceStepLatentAudio,缺两种带1.5源类;不套旧类默认/公式"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../ace-qwen-reference/core__nodes.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/nodes.py",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"git_blob_sha1": "ad474d3cda5a710899dde9fc2ab88a2d7f601991",
"verified_at": "2026-10-30T20:22:48.543778+00:00",
"acquisition_time": "2026-10-30T20:21:47.424914+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
2501
],
"claim": "ConditioningZeroOut复制条件字典并清零主张量/pooled_output/conditioning_lyrics;不是全部元数据清空"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_model_advanced.py",
"local_file": "../ace-qwen-reference/core__comfy_extras__nodes_model_advanced.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_model_advanced.py",
"sha256": "cab5da60111decf37246e2311cf419e3d25f4776ed5718202bb41d95129b916d",
"git_blob_sha1": "f22b333fce9e1e28be5635006c958deaa30d81ed",
"verified_at": "2026-10-30T20:22:48.543994+00:00",
"acquisition_time": "2026-10-30T20:21:49.253023+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
330
],
"claim": "AuraFlow继承SD3 patch,clone并设shift、multiplier=1,不证明模型类别或最佳值"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_audio.py",
"local_file": "../ace-qwen-reference/core__comfy_extras__nodes_audio.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_audio.py",
"sha256": "d47eefe226c273f20561545f6a664bfdfa5c193cec7178c925b5dc5ccb642a9c",
"git_blob_sha1": "271b75fbd37a94db5a6d19d8b1bc9c51ba30ced2",
"verified_at": "2026-10-30T20:22:48.543952+00:00",
"acquisition_time": "2026-10-30T20:21:48.812997+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
693
],
"claim": "准确VAEDecodeAudio/SaveAudioMP3 schema与调用;不执行解码或保存"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/widgetInputs.ts",
"local_file": "../ace-qwen-reference/frontend__src__extensions__core__widgetInputs.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/extensions/core/widgetInputs.ts",
"sha256": "488d38eb209816778a6da8cb8f734f539e3fbd7f77aae41ec649a52b8764b613",
"git_blob_sha1": "c7f9f6eb828df61463d316669629ff7368fa882f",
"acquisition_time": "2026-10-30T20:40:15.306525+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
614
],
"claim": "准确1.38.0 PrimitiveNode注册/虚拟身份、首目标控件构造、fixed辅助、恢复及applyToGraph复制值;不执行"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"local_file": "../ace-qwen-reference/frontend__src__renderer__extensions__vueNodes__widgets__composables__useIntWidget.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"sha256": "68cb754c9c9ba48da2031981d65eca244d66c611314fc5690e96fdb941a0e8ff",
"git_blob_sha1": "0c257c15b19b78c52b48a7bd3c291960e8705d5c",
"acquisition_time": "2026-10-30T20:40:15.318811+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
89
],
"claim": "准确INT控件无default回退0;seed/noise_seed或显式control_after_generate添加辅助控件"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/widgets.ts",
"local_file": "../ace-qwen-reference/frontend__src__scripts__widgets.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/scripts/widgets.ts",
"sha256": "e8bb428cbf69635015de43a4ebc89817b3443f876cbed52eeafe67d26f2398d8",
"git_blob_sha1": "50dabe011f326aa77b3b032c0932491eaac18586",
"acquisition_time": "2026-10-30T20:40:15.301410+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
308
],
"claim": "准确数值构造适配与fixed/increment/decrement/randomize队列控制;serialize=false不入prompt,不执行"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "../ace-qwen-reference/frontend__src__lib__litegraph__src__LGraphNode.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "706225a8a06cd7929f9e04fe2388bcdb8f158cdac756c65c45657c020ab7b319",
"git_blob_sha1": "0ca41a7320f3dd075cbdbb71ed38552147c98588",
"acquisition_time": "2026-10-30T20:40:15.311647+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
4198
],
"claim": "准确同树LiteGraph:保存按原索引、恢复跳serialize=false后顺序,缺键/null/[]分开"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "../ace-qwen-reference/core__nodes.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/nodes.py",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"git_blob_sha1": "ad474d3cda5a710899dde9fc2ab88a2d7f601991",
"verified_at": "2026-10-30T20:22:48.543778+00:00",
"acquisition_time": "2026-10-30T20:21:47.424914+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
2501
],
"claim": "准确KSampler schema/common_ksampler调用;种子/steps/cfg/算法/调度/denoise分列"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_ui.py",
"local_file": "../ace-qwen-reference/core__comfy_api__latest___ui.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_api/latest/_ui.py",
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
"git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa",
"verified_at": "2026-10-30T20:22:48.544322+00:00",
"acquisition_time": "2026-10-30T20:22:31.807545+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
475
],
"claim": "SavedResult/音频UI和MP3 helper:output、元数据、libmp3lame、qscale、描述符;不执行"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_audio.py",
"local_file": "../ace-qwen-reference/core__comfy_extras__nodes_audio.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_audio.py",
"sha256": "d47eefe226c273f20561545f6a664bfdfa5c193cec7178c925b5dc5ccb642a9c",
"git_blob_sha1": "271b75fbd37a94db5a6d19d8b1bc9c51ba30ced2",
"verified_at": "2026-10-30T20:22:48.543952+00:00",
"acquisition_time": "2026-10-30T20:21:48.812997+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
693
],
"claim": "准确音频扩展注册及入口"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "../ace-qwen-reference/core__LICENSE",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"verified_at": "2026-10-30T20:22:48.544400+00:00",
"acquisition_time": "2026-10-30T20:22:02.397803+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded",
"lines": [
1,
674
],
"claim": "本图准确版本许可/锁定依赖原字节;LiteGraph为同树源码,不证明插件/模型/素材许可或目标安装"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "LICENSE",
"local_file": "../ace-qwen-reference/frontend__LICENSE",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-30T20:40:15.314716+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
674
],
"claim": "本图准确版本许可/锁定依赖原字节;LiteGraph为同树源码,不证明插件/模型/素材许可或目标安装"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/LICENSE",
"local_file": "../ace-qwen-reference/frontend__src__lib__litegraph__LICENSE",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/lib/litegraph/LICENSE",
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
"git_blob_sha1": "1b52aa11c186c25f8d66f1de74c0d378851bfcff",
"acquisition_time": "2026-10-30T20:40:15.316449+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
19
],
"claim": "本图准确版本许可/锁定依赖原字节;LiteGraph为同树源码,不证明插件/模型/素材许可或目标安装"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "package.json",
"local_file": "../ace-qwen-reference/frontend__package.json",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/package.json",
"sha256": "8b6877c0d4470afbd3074cca470d81bf573a8b75243fcfaf70098845a6815161",
"git_blob_sha1": "8672b0cd2e681317848616c52edb0bb049d14492",
"acquisition_time": "2026-10-30T20:40:15.286106+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
196
],
"claim": "本图准确版本许可/锁定依赖原字节;LiteGraph为同树源码,不证明插件/模型/素材许可或目标安装"
},
{
"document": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "pnpm-lock.yaml",
"local_file": "../ace-qwen-reference/frontend__pnpm-lock.yaml",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/pnpm-lock.yaml",
"sha256": "eafae7b293da785f758f6a73318775a6590476e2f0027bc17bb70e0c58916b8c",
"git_blob_sha1": "b0fd3de72afec8bc69e1b09d4057a188ae5c5d2a",
"acquisition_time": "2026-10-30T20:40:15.298832+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution",
"lines": [
1,
17360
],
"claim": "本图准确版本许可/锁定依赖原字节;LiteGraph为同树源码,不证明插件/模型/素材许可或目标安装"
}
]
@@ -0,0 +1,771 @@
{
"base": "08c907e16027e5e04de38f1c993f4695d8822841",
"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": "08c907e16027e5e04de38f1c993f4695d8822841",
"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": 77,
"new_notes": 1,
"old_saved": 1621,
"old_notes": 46,
"overviews": 44,
"all_disabled": true,
"doc_done": 0,
"executed": 0
}
@@ -0,0 +1,666 @@
{
"path": "example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json",
"sha256": "518085b1e8d12257e68427dcc0f01e6cda5018ec353fd90fdf366afb4fc89b85",
"fields": [
{
"scope": "root",
"node": 106,
"pointer": "/nodes/0/widgets_values/0",
"json_type": "str",
"value": "ace_1.5_vae.safetensors"
},
{
"scope": "root",
"node": 99,
"pointer": "/nodes/1/widgets_values/0",
"json_type": "int",
"value": 120
},
{
"scope": "root",
"node": 99,
"pointer": "/nodes/1/widgets_values/1",
"json_type": "str",
"value": "fixed"
},
{
"scope": "root",
"node": 98,
"pointer": "/nodes/2/widgets_values/0",
"json_type": "int",
"value": 120
},
{
"scope": "root",
"node": 98,
"pointer": "/nodes/2/widgets_values/1",
"json_type": "int",
"value": 1
},
{
"scope": "root",
"node": 78,
"pointer": "/nodes/4/widgets_values/0",
"json_type": "int",
"value": 3
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/0",
"json_type": "int",
"value": 1024
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/1",
"json_type": "int",
"value": 30
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/2",
"json_type": "float",
"value": 0.9
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/3",
"json_type": "float",
"value": 0.05
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/4",
"json_type": "int",
"value": 1
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/5",
"json_type": "float",
"value": 0.8
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/6",
"json_type": "int",
"value": 1
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/7",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/8",
"json_type": "int",
"value": 1
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/9",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/10",
"json_type": "float",
"value": 0.1
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/11",
"json_type": "int",
"value": 5
},
{
"scope": "root",
"node": 111,
"pointer": "/nodes/6/widgets_values/12",
"json_type": "int",
"value": -1
},
{
"scope": "root",
"node": 115,
"pointer": "/nodes/7/widgets_values/0",
"json_type": "bool",
"value": true
},
{
"scope": "root",
"node": 115,
"pointer": "/nodes/7/widgets_values/1",
"json_type": "bool",
"value": true
},
{
"scope": "root",
"node": 110,
"pointer": "/nodes/8/widgets_values/0",
"json_type": "str",
"value": "Qwen3.5-9b-heretic-v2-q8_0.gguf"
},
{
"scope": "root",
"node": 110,
"pointer": "/nodes/8/widgets_values/1",
"json_type": "str",
"value": "Qwen3.5-9b-mmproj-BF16.gguf"
},
{
"scope": "root",
"node": 110,
"pointer": "/nodes/8/widgets_values/2",
"json_type": "str",
"value": "Qwen3.5"
},
{
"scope": "root",
"node": 110,
"pointer": "/nodes/8/widgets_values/3",
"json_type": "int",
"value": 8192
},
{
"scope": "root",
"node": 110,
"pointer": "/nodes/8/widgets_values/4",
"json_type": "int",
"value": -1
},
{
"scope": "root",
"node": 110,
"pointer": "/nodes/8/widgets_values/5",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 110,
"pointer": "/nodes/8/widgets_values/6",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/0",
"json_type": "str",
"value": "Normal - Describe"
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/1",
"json_type": "str",
"value": ""
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/2",
"json_type": "str",
"value": ""
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/3",
"json_type": "str",
"value": "one by one"
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/4",
"json_type": "int",
"value": 24
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/5",
"json_type": "int",
"value": 256
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/6",
"json_type": "int",
"value": 926731712482802
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/7",
"json_type": "str",
"value": "randomize"
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/8",
"json_type": "bool",
"value": false
},
{
"scope": "root",
"node": 109,
"pointer": "/nodes/9/widgets_values/9",
"json_type": "bool",
"value": false
},
{
"scope": "root",
"node": 105,
"pointer": "/nodes/10/widgets_values/0",
"json_type": "str",
"value": "qwen_0.6b_ace15.safetensors"
},
{
"scope": "root",
"node": 105,
"pointer": "/nodes/10/widgets_values/1",
"json_type": "str",
"value": "qwen_4b_ace15.safetensors"
},
{
"scope": "root",
"node": 105,
"pointer": "/nodes/10/widgets_values/2",
"json_type": "str",
"value": "ace"
},
{
"scope": "root",
"node": 105,
"pointer": "/nodes/10/widgets_values/3",
"json_type": "str",
"value": "default"
},
{
"scope": "root",
"node": 116,
"pointer": "/nodes/12/widgets_values/0",
"json_type": "str",
"value": "a,b"
},
{
"scope": "root",
"node": 116,
"pointer": "/nodes/12/widgets_values/1",
"json_type": "str",
"value": "---"
},
{
"scope": "root",
"node": 116,
"pointer": "/nodes/12/widgets_values/2",
"json_type": "str",
"value": "false"
},
{
"scope": "root",
"node": 102,
"pointer": "/nodes/13/widgets_values/0",
"json_type": "int",
"value": 966457091644585
},
{
"scope": "root",
"node": 102,
"pointer": "/nodes/13/widgets_values/1",
"json_type": "str",
"value": "randomize"
},
{
"scope": "root",
"node": 118,
"pointer": "/nodes/14/widgets_values/0",
"json_type": "str",
"value": "\n\n[Lyrics]\n[Intro] [Glitchy arpeggio, Rain on window, Fading in]\n(Instrumental)\n\n[Verse] [Intimate, Low intensity, As if whispering]\n假如时光能按个暂停键\n退回那个手写的夏天\n没有屏幕的光刺破视线\n只有风铃在耳边盘旋\n\n[Prechorus] [Building tension, Synth swell, Slightly faster]\n指尖划过冰冷的界面\n却触不到真实的温暖\n数据洪流把梦境冲散\n只剩这一声轻叹\n\n[Chorus] [Explosive vocal, High energy, Wide stereo spread]\n假如没有学 AI 就好了\n就不用懂那些逻辑的牢锁\n假如没有学 AI 就好了\n就能在简单的世界里快乐\n\n[Verse] [Narrative progression, Bass line driven, Steady]\n代码写成了深夜的诗歌\n却忘了怎么读懂眼眸\n算法算尽万千种结果\n却算不出心动的理由\n\n[Prechorus] [Tension rising, Vocal layering, Urgent]\n虚拟的温柔太容易拥有\n却像泡沫一触就破\n在比特流里独自漂流\n寻找那个最初的自我\n\n[Chorus] [Explosive vocal, Layered harmonies, Emotional peak]\n假如没有学 AI 就好了\n就不用懂那些逻辑的牢锁\n假如没有学 AI 就好了\n就能在简单的世界里快乐\n\n[Bridge] [Dynamic drop, Minimal beat, Intimate vocal, Key change]\n是不是人类太爱做选择\n才把灵魂关进网格\n当机器开始学会思考\n谁才是那个被替代的人呢\n\n[Chorus] [Full band return, Softer dynamics, Nostalgic filter]\n假如没有学 AI 就好了\n就不用懂那些逻辑的牢锁\n假如没有学 AI 就好了\n就能在简单的世界里快乐\n\n[Outro] [Fading synth, Glitch effect, Spoken softly]\n(Whispered) 假如...\n(Fading out) 没有学 AI...\n(Click of a keyboard)"
},
{
"scope": "root",
"node": 112,
"pointer": "/nodes/15/widgets_values/0",
"json_type": "str",
"value": "# ACE Step 1.5 Prompt 模板\n\n## 格式说明\nACE Step 1.5 支持两种输入方式的组合:\n1. **全局风格描述**(自然语言或标签串,置于歌词前)\n2. **结构化歌词**(包含段落标签 `[Intro]`, `[Verse]`, `[Chorus]`, `[Bridge]`, `[Outro]` 以及可选的细粒度风格标签)\n\n## Strict Output Rules (严格输出规则)\n1. **禁止闲聊**:不要输出“好的,这是为您生成的歌曲”、“根据故事...”等任何前言或后语。\n2. **禁止复述**:不要在输出中包含输入的故事情节。\n3. **格式要求**:只输出两个部分——**Global Tags** 和 **Lyrics**。Global Tags 与 Lyrics 中间使用 “---”分隔\n4. **防干扰写法**:结构与风格必须合并,格式为 `[Structure: Style description]`(冒号后为英文描述)。\n\n推荐模板如下(直接复制并替换 `[你的内容]`):\n\n---\n\n### 模板正文\n[Global Tags]\nGenre: [流派, e.g., Pop, Folk, Electronic, Ballad, Rock]\nGender: [性别, e.g., Male, Female, Duet]\nMood: [情绪, e.g., Sad, Happy, Melancholic, Energetic, Nostalgic]\nTempo: [速度, e.g., Slow, Moderate, Fast]\nInstrument: [主要乐器, e.g., Piano, Acoustic Guitar, Synth, Strings]\nVocal Style: [人声风格, e.g., Soft, Explosive, Whispering, Soulful]\nProduction: [制作风格, e.g., Lo-fi, Orchestral, Minimal, Cinematic]\n---\n[Lyrics]\n[Intro] [可选细粒度描述, e.g., Soft piano solo, Rain ambiance]\n(Instrumental 或 无词哼唱)\n\n[Verse] [可选细粒度描述, e.g., Introspective vocal, Low intensity]\n[第一段主歌歌词]\n\n[Prechorus] [可选细粒度描述, e.g., Subtle build, Tension rising]\n[预副歌歌词]\n\n[Chorus] [可选细粒度描述, e.g., High energy, Explosive vocal, Full band]\n[副歌歌词]\n\n[Verse] [可选细粒度描述, e.g., Narrative progression, Slightly varied melody]\n[第二段主歌歌词]\n\n[Chorus] [重复副歌,可加变化描述]\n[副歌歌词重复或变体]\n\n[Bridge] [可选细粒度描述, e.g., Dynamic drop, Intimate vocal, Key change]\n[桥段歌词]\n\n[Chorus] [可选细粒度描述, e.g., Softer, Fading energy]\n[最后副歌歌词]\n\n[Outro] [可选细粒度描述, e.g., Fading piano, Electronic crackle, Spoken word]\n(结尾处理)\n\ntext\n\n---\n\n### 示例(填充后)\nGenre: Folk, Electronic, Ballad\nGender: Male\nMood: Melancholic, Reflective, Nostalgic\nTempo: Slow to Moderate\nInstrument: Piano, Acoustic Guitar, Soft Synth Pad\nVocal Style: Introspective, Gentle, Slightly Weary\nProduction: Minimal, Ambient, Lo-fi\n\n[Intro] [Soft piano arpeggio, Lonely atmosphere, Rain texture]\n(Instrumental)\n\n[Verse] [Moderate intensity, Narrative progression, Whispering tone]\nCode runs deep into the night\nAlgorithms steal my light\n...\n\n[Chorus] [Explosive vocal, High energy sustain, Emotional release]\nIf I never learned AI, I'd be fine\nI could write a simple song, take my time\n...\n\n[Outro] [Fading piano, Spoken-soft hum]\n(Humming) If I never learned AI...\n\ntext\n\n---\n\n### 使用提示\n- 全局描述可以用逗号分隔的标签串(如 `Pop, male, Sad, Piano`)或完整英文句子。\n- 段落标签必须大写并带方括号,ACE Step 1.5 会据此识别结构。\n- 细粒度风格标签紧跟在段落标签后,也用方括号,例如 `[Chorus] [High energy, Explosive vocal]`。\n- 若无歌词段落(如纯器乐 Intro/Outro),标注 `(Instrumental)`。\n\n**现在,请处理以下用户输入:**"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/0",
"json_type": "str",
"value": "Rock: A powerful, high-energy modern rock track with a raw and rebellious edge.\nDriven by distorted electric guitars, punchy live drums, and a strong bassline.\nThe song builds dynamically from tension to explosion, balancing aggression and emotion."
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/1",
"json_type": "str",
"value": "[Verse 1]\nStatic in the air, I feel it in my bones\nEvery step I take, I’m carving out my own\nNo more shadows telling me who to be\nI draw the line, now watch me break free\n\n[Pre-Chorus]\nHear the sound, it’s getting louder\nPressure turning into power\nI won’t wait, I won’t fall back\nThis is the moment, this is the attack\n\n[Chorus]\nShout it out, I’m alive tonight\nBurning bright in the dead of night\nHands up, feel the ground shake\nThis is everything I’m gonna take\n\n[Bridge]\nSilence hits before the storm\nHeart beats fast, I transform\n\n[Final Chorus]\nShout it out, I’m alive tonight\nNo more fear, no need to hide\nTurn it up, let the walls break\nThis is the fire you can’t escape"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/2",
"json_type": "int",
"value": 966457091644585
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/3",
"json_type": "str",
"value": "fixed"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/4",
"json_type": "int",
"value": 190
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/5",
"json_type": "int",
"value": 120
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/6",
"json_type": "str",
"value": "4"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/7",
"json_type": "str",
"value": "zh"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/8",
"json_type": "str",
"value": "E minor"
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/9",
"json_type": "bool",
"value": true
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/10",
"json_type": "int",
"value": 2
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/11",
"json_type": "float",
"value": 0.85
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/12",
"json_type": "float",
"value": 0.9
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/13",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 94,
"pointer": "/nodes/16/widgets_values/14",
"json_type": "int",
"value": 0
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/17/widgets_values/0",
"json_type": "int",
"value": 966457091644585
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/17/widgets_values/1",
"json_type": "str",
"value": "fixed"
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/17/widgets_values/2",
"json_type": "int",
"value": 8
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/17/widgets_values/3",
"json_type": "int",
"value": 1
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/17/widgets_values/4",
"json_type": "str",
"value": "euler"
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/17/widgets_values/5",
"json_type": "str",
"value": "simple"
},
{
"scope": "root",
"node": 3,
"pointer": "/nodes/17/widgets_values/6",
"json_type": "int",
"value": 1
},
{
"scope": "root",
"node": 107,
"pointer": "/nodes/18/widgets_values/0",
"json_type": "str",
"value": "audio/ComfyUI"
},
{
"scope": "root",
"node": 107,
"pointer": "/nodes/18/widgets_values/1",
"json_type": "str",
"value": "V0"
},
{
"scope": "root",
"node": 117,
"pointer": "/nodes/19/widgets_values/0",
"json_type": "str",
"value": "Genre: Synth-Pop, Indie Electronic\nGender: Female\nMood: Regretful, Wistful, Melancholic\nTempo: Moderate\nInstrument: Analog Synths, Glitchy Beats, Clean Electric Guitar\nVocal Style: Breathless, Conversational, Emotive\nProduction: Retrowave, Atmospheric, Slightly Detuned\n\n[Global Tags]\n[Soft, ethereal pads, Digital nostalgia, Bittersweet]\n\n"
},
{
"scope": "root",
"node": 113,
"pointer": "/nodes/20/widgets_values/0",
"json_type": "str",
"value": "假如没有学AI就好了,中文歌词"
},
{
"scope": "root",
"node": 104,
"pointer": "/nodes/21/widgets_values/0",
"json_type": "str",
"value": "AceStep\\acestep_v1.5_xl_turbo_bf16.safetensors"
},
{
"scope": "root",
"node": 104,
"pointer": "/nodes/21/widgets_values/1",
"json_type": "str",
"value": "default"
}
],
"notes": [
{
"scope": "root",
"node": 108,
"pointer": "/nodes/5/widgets_values/0",
"json_type": "str",
"value": "Guide: [Subgraph](https://docs.comfy.org/interface/features/subgraph)\n\n## Model Links (for Local Users)\n\n**diffusion_models**\n\n- [acestep_v1.5_turbo.safetensors](https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/main/split_files/diffusion_models/acestep_v1.5_turbo.safetensors)\n\n**vae**\n\n- [ace_1.5_vae.safetensors](https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/main/split_files/vae/ace_1.5_vae.safetensors)\n\n**text_encoders**\n\n- [qwen_0.6b_ace15.safetensors](https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/main/split_files/text_encoders/qwen_0.6b_ace15.safetensors)\n- [qwen_4b_ace15.safetensors](https://huggingface.co/Comfy-Org/ace_step_1.5_ComfyUI_files/resolve/main/split_files/text_encoders/qwen_4b_ace15.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ └── acestep_v1.5_turbo.safetensors\n│ ├── 📂 vae/\n│ │ └── ace_1.5_vae.safetensors\n│ └── 📂 text_encoders/\n│ ├── qwen_0.6b_ace15.safetensors\n│ └── qwen_4b_ace15.safetensors\n```\n\n## Report Issue\n\nNote: Please update ComfyUI first ([guide](https://docs.comfy.org/installation/update_comfyui)) and prepare required models. Desktop/Cloud updates follow stable releases, so some nightly-supported models may not be available yet.\n\n- Cannot run / runtime errors: [ComfyUI/issues](https://github.com/comfyanonymous/ComfyUI/issues)\n- UI / frontend issues: [ComfyUI_frontend/issues](https://github.com/Comfy-Org/ComfyUI_frontend/issues)\n- Workflow issues: [workflow_templates/issues](https://github.com/Comfy-Org/workflow_templates/issues)\n"
}
],
"empty": [
{
"scope": "root",
"node": 47,
"state": "list",
"value": []
},
{
"scope": "root",
"node": 18,
"state": "list",
"value": []
}
],
"scopes": [
{
"scope": "root",
"nodes": 22,
"edges": 24,
"canonical_sha256": "aa3a1360b2d910ebc1e9cb29b7d3e9510e75a29af163c75dccf25a35063e4ff7",
"modes": [
{
"node": 106,
"mode": 0
},
{
"node": 99,
"mode": 0
},
{
"node": 98,
"mode": 0
},
{
"node": 47,
"mode": 0
},
{
"node": 78,
"mode": 0
},
{
"node": 108,
"mode": 0
},
{
"node": 111,
"mode": 0
},
{
"node": 115,
"mode": 0
},
{
"node": 110,
"mode": 0
},
{
"node": 109,
"mode": 0
},
{
"node": 105,
"mode": 0
},
{
"node": 18,
"mode": 0
},
{
"node": 116,
"mode": 0
},
{
"node": 102,
"mode": 0
},
{
"node": 118,
"mode": 0
},
{
"node": 112,
"mode": 0
},
{
"node": 94,
"mode": 0
},
{
"node": 3,
"mode": 0
},
{
"node": 107,
"mode": 0
},
{
"node": 117,
"mode": 0
},
{
"node": 113,
"mode": 0
},
{
"node": 104,
"mode": 0
}
]
}
]
}
@@ -0,0 +1,70 @@
"Offline batch evidence tooling; no upstream execution."
import hashlib
import json
from pathlib import Path
ROOT = Path(__file__).resolve().parents[3]
OUT = Path(__file__).resolve().parent
def inventory():
p = next(
(ROOT / "example_ComfyUI_workflows").rglob("ace_step_1.5+Qwen3.5_自动歌词音乐生成.json")
)
raw = p.read_bytes()
g = json.loads(raw)
fields = []
notes = []
empty = []
scopes = [("root", "", g)]
for scope, base, graph in scopes:
for i, n in enumerate(graph["nodes"]):
ptr = f"{base}/nodes/{i}/widgets_values"
if "widgets_values" not in n:
empty.append({"scope": scope, "node": n["id"], "state": "missing"})
continue
w = n["widgets_values"]
if not w:
empty.append(
{"scope": scope, "node": n["id"], "state": type(w).__name__, "value": w}
)
for k in w if isinstance(w, dict) else range(len(w)):
v = w[k]
e = {
"scope": scope,
"node": n["id"],
"pointer": ptr + "/" + str(k),
"json_type": type(v).__name__,
"value": v,
}
(notes if n["type"] in ["Note", "MarkdownNote"] else fields).append(e)
return {
"path": str(p.relative_to(ROOT)),
"sha256": hashlib.sha256(raw).hexdigest(),
"fields": fields,
"notes": notes,
"empty": empty,
"scopes": [
{
"scope": s,
"nodes": len(gr["nodes"]),
"edges": len(gr["links"]),
"canonical_sha256": hashlib.sha256(
json.dumps(
gr, ensure_ascii=False, sort_keys=True, separators=(",", ":")
).encode()
).hexdigest(),
"modes": [{"node": n["id"], "mode": n["mode"]} for n in gr["nodes"]],
}
for s, _, gr in scopes
],
}
if __name__ == "__main__":
x = inventory()
(OUT / "independent-inventory.json").write_text(
json.dumps(x, ensure_ascii=False, indent=2) + "\n"
)
print(len(x["fields"]), len(x["notes"]), x["scopes"])
@@ -0,0 +1,3 @@
All checks passed!
12 files already formatted
PASS 12 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": "0b04bc79da9751b520be8c76b72d396754bc9ab3499aa96dfa0a1f95ed608b16",
"wheel": true,
"sdist": true,
"definitions": 44
},
{
"file": "source_reviews.json",
"sha256": "0d9bdd29c58d1d109098d6ea49ef099114ea51d4074ac111f87df7397b823eab",
"wheel": true,
"sdist": true,
"definitions": 44
},
{
"file": "library.py",
"sha256": "b9cbfce28267642e6db3ebe9d591cf8dd260c7772a5a21a8d36cb98915eca13c",
"wheel": true,
"sdist": true,
"definitions": 44
}
]
@@ -0,0 +1,3 @@
{
"example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json": "35a1601122006b455ce5cbe853956a336712dcee60c5eb61ae2ad8b673632785"
}
@@ -0,0 +1,12 @@
[
{
"port": 8247,
"connect_ex": 111,
"refused": true
},
{
"port": 5173,
"connect_ex": 111,
"refused": true
}
]
File diff suppressed because one or more lines are too long
@@ -0,0 +1,14 @@
[
"calliope-backend/src/calliope/comfyui/fixed_document.py",
"calliope-backend/tests/test_ace_qwen_fixed_document.py",
"e2e/run-ace-qwen-document.py",
"docs/hel-892/ace-qwen-document-evidence/build_definition.py",
"docs/hel-892/ace-qwen-document-evidence/check_code.py",
"docs/hel-892/ace-qwen-document-evidence/fetch_sources.py",
"docs/hel-892/ace-qwen-document-evidence/inventory.py",
"docs/hel-892/ace-qwen-document-evidence/rebuild.py",
"docs/hel-892/ace-qwen-document-evidence/recompute.py",
"docs/hel-892/ace-qwen-document-evidence/render_report.py",
"docs/hel-892/ace-qwen-document-evidence/repeat.py",
"docs/hel-892/ace-qwen-document-evidence/verify_sources.py"
]
@@ -0,0 +1,237 @@
{
"git_diff_check_exit": 2,
"upstream_original_issues": 229,
"authored_issues": [],
"policy": "上游原字节不格式化;自写Python Ruff/format和JS语法通过",
"details": [
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:37: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:48: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:51: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:54: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:56: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:57: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:60: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:61: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:67: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:71: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:72: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:74: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:76: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:77: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:78: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:83: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:84: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:89: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:90: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:92: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:94: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:95: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:96: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:100: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:108: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:119: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:124: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:125: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:126: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:132: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:134: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:138: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:141: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:143: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:145: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:146: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:151: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:154: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:158: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:159: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:164: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:165: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:168: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:170: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:173: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:177: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:186: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:189: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:191: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:193: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:195: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:202: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:206: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:208: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:211: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:213: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:214: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:215: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:217: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:218: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:221: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:222: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:226: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:228: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:229: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:232: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:238: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:240: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:241: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:243: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:245: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:250: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:254: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:256: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:258: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:262: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:264: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:265: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:266: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:268: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:277: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:278: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:279: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:284: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:289: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:296: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:301: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:303: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:307: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:309: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:310: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:317: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:319: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:323: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:324: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:325: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:328: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:336: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:337: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:339: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:341: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:342: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:343: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:355: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:362: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:366: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:371: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:372: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:373: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:378: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:380: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:384: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:389: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:390: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:391: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:392: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:402: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:403: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:410: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:413: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:414: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:417: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:430: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:435: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:437: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:439: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:446: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:449: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:450: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:452: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:460: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:464: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:466: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:472: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:473: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:480: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:482: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:484: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:485: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:487: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:489: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:494: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:498: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:500: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:502: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:506: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:508: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:509: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:510: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:515: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:518: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:519: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:520: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:530: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__node_mappings.py:531: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:2: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:3: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:34: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:36: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:37: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:45: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:58: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:60: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:76: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:80: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:83: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:85: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:90: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:125: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:138: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:139: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:144: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:146: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:156: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:219: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:221: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:235: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:246: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:248: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:250: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:252: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:258: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:260: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:263: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:273: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:281: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:286: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:314: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:328: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:331: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:334: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:336: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:343: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:353: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:355: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:358: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:369: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:377: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:386: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:391: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:400: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:401: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:405: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:406: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:411: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:413: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:427: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/cr__nodes__nodes_core.py:431: new blank line at EOF.",
"docs/hel-892/ace-qwen-reference/frontend-commit.txt:6: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend-commit.txt:21: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:1: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:2: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:3: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:4: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:5: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:6: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:7: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:8: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:9: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:10: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:11: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:12: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:13: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:14: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:15: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:16: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:17: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:18: trailing whitespace.",
"docs/hel-892/ace-qwen-reference/frontend__src__lib__litegraph__LICENSE:19: trailing whitespace."
]
}
@@ -0,0 +1,70 @@
"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 = "08c907e16027e5e04de38f1c993f4695d8822841"
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 definition; other 155" + " r")
+ ("eviews and old 43 blocks uncha" + "ng")
+ "ed"
)
)
if __name__ == "__main__":
main()
@@ -0,0 +1,343 @@
"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) == 43
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()) == 1621
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": 43,
"old_saved": 1621,
"old_notes": 46,
"new_saved": 77,
"new_notes": 1,
"total_documents": 44,
"total_saved": 1698,
"total_notes": 47,
},
)
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")
replaced_steps = len(old_doc.get("fixed_version", {}).get("steps", [])) or 3
assert without["steps"] == old_doc["steps"][:-replaced_steps] + fixed["steps"]
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": 77,
"new_notes": 1,
"old_saved": 1621,
"old_notes": 46,
"overviews": 44,
"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_three_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": 44,
}
)
write("package-check.json", packages)
print(
f"PASS actual {BASE} upgrade1/skip154, repe"
"at155, rollback1, edits1/29cols, fresh155,"
" 1217/3660/294, 44 definitions, frozen bou"
"ndaries, wheel/sdist"
)
if __name__ == "__main__":
main()
@@ -0,0 +1,2 @@
PASS exact text/Git/package identities; independent 77 positions, Note, 24 edges; unknowns preserved
PASS actual 08c907e16027e5e04de38f1c993f4695d8822841 upgrade1/skip154, repeat155, rollback1, edits1/29cols, fresh155, 1217/3660/294, 44 definitions, frozen boundaries, wheel/sdist
@@ -0,0 +1,135 @@
"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 = [
"# ACE与Qwen自动歌词音乐固定参考中文说明",
"",
(
"新增77保存位置/1注释;旧43块1621位置+46注释逐对象不变,44"
"图1698+47仅参考;155定稿0/实跑0/新增转换0。"
),
"",
(
"来源local_file以docs/hel-892/ace-qwen-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 / "ACE与Qwen自动歌词音乐固定参考中文说明.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 / "ACE与Qwen自动歌词音乐固定参考中文说明.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": 44,
"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": 44,
"repeated_build_equal": true,
"repeated_render_equal": true,
"resource_sha256": "dd6f7b5d7f616093e844d6747d628a97a7bdbe571213beb0d705860c0cc6dcbc",
"artifacts": {
"fixed-source-index.json": "ce05880003372998c3bbda33443a13c4a81b1d81e9a3c4dcfd0eec3b0ca2aa49",
"ACE与Qwen自动歌词音乐固定参考中文说明.md": "260a19c8768f2f56f2870ae3cb67da6b4a690c223d325cb0112ddb446f8212f9"
}
}
@@ -0,0 +1,15 @@
{
"base": "08c907e16027e5e04de38f1c993f4695d8822841",
"changed_paths": [
"example_ComfyUI_workflows/2-音乐生成/ace_step_1.5+Qwen3.5_自动歌词音乐生成.json"
],
"other_reviews_unchanged": 155,
"old_blocks_unchanged": 43,
"old_saved": 1621,
"old_notes": 46,
"new_saved": 77,
"new_notes": 1,
"total_documents": 44,
"total_saved": 1698,
"total_notes": 47
}
@@ -0,0 +1,74 @@
[
{
"file": "1440-41-112-prompt.png",
"sha256": "eac6c3c5e9b4e8dd58e46999d21ca32c6ff83acc54bf078a75088e4051841d47"
},
{
"file": "1440-41-117-history_text.png",
"sha256": "c68e11b7709e413e67be50e1fef8063fcd75170812660dbe68de3b7e506286dd"
},
{
"file": "1440-41-118-history_text.png",
"sha256": "15d093cf2a7b77abebcc16fdc3f34952411171223e364f6073e77b5457ccfbed"
},
{
"file": "1440-41-94-lyrics.png",
"sha256": "10655c1605ccb37985c7981c9492cc57ef80bfe674a905c3244fadf48dbd7975"
},
{
"file": "1440-41-94-tags.png",
"sha256": "5927607cc2a39cd2dcde0e984555823b4dd56e5132f9324c883712431b8d334b"
},
{
"file": "1440-41-branch-flow.png",
"sha256": "aab477735b6355f1e7889f824831aa23e88654f912c00ad3dfef2ae3384bf728"
},
{
"file": "1440-41-default.png",
"sha256": "d949024c9a47f8aa9070343019e08a0a32122b23a1b6216c13917727804e988b"
},
{
"file": "1440-41-fixed-sources-corrected.png",
"sha256": "34d68f330e43605f3f9aa584df151c3b5424a370508675af09f0153ef3060728"
},
{
"file": "1440-41-source-citations.png",
"sha256": "d1e9e9281b94436c58c6930603d9eedbacbfe2969c406c39f04d88210838150b"
},
{
"file": "390-41-108-note.png",
"sha256": "d7ea2ce394a0ccf1ff9d29a74b881d536a516db9b9b08bed832ec39b7b2f13d5"
},
{
"file": "390-41-112-prompt.png",
"sha256": "4ad6f7085681a656221052f4ab4d77568b92d22f3fe709b7d983c17c5c7a468b"
},
{
"file": "390-41-117-history_text.png",
"sha256": "4f15afece4709d136121f940e070a9a105a40318e9a391d57bb2d1d6a0a2dac9"
},
{
"file": "390-41-118-history_text.png",
"sha256": "6872fe412836b908966ccfee6b94fd65c76ec095f8ffcc54db444a1853b0b4f6"
},
{
"file": "390-41-94-lyrics.png",
"sha256": "65b73ed5ccca6a0b130a1d8724bbd74f722ae438965f97e4e89a9ac95c29cd6e"
},
{
"file": "390-41-94-tags.png",
"sha256": "c2e39ce56ce217039ffc2a83986b254e30234103ee311bd0f2e1a2ad5d126863"
},
{
"file": "390-41-default.png",
"sha256": "248d7b0fd626a7cfed5850a500d6461b150fe24a9a0b3f0de657b21cda444a35"
},
{
"file": "390-41-fixed-sources-corrected.png",
"sha256": "7b9fd59d70f345b7a04361bcfc5fe436d7206deea5b2d055baab418e4eaf476c"
},
{
"file": "390-41-source-citations.png",
"sha256": "6e74681056fc95815bd77a5942956eecc758aff4c84aa27b939dd9a81678b5f0"
}
]
@@ -0,0 +1,163 @@
INFO: Started server process [868417]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8247 (Press CTRL+C to quit)
{'counts': {'skipped': 154, 'updated': 1, 'user_excluded': 1}, 'states': {'pending_check': 16, 'needs_conversion': 139}}
INFO: 127.0.0.1:44714 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44734 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:44720 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35408 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35402 - "GET /api/settings HTTP/1.1" 200 OK
INFO: 127.0.0.1:35418 - "GET /api/workflows HTTP/1.1" 200 OK
INFO: 127.0.0.1:35428 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35434 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35436 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35534 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35536 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35540 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35550 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35558 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35566 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35574 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35586 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35588 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35600 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35604 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35612 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35626 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35634 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35650 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35658 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35674 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35690 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35700 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35712 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35722 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35736 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:35738 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:35750 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38610 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38616 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38620 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38632 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38644 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38654 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38666 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38672 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38674 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38690 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38696 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38700 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38716 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38722 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38734 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38750 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38762 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38766 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38770 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38776 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38782 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38792 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38794 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38810 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38822 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: 127.0.0.1:50006 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:50010 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:50022 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38782 - "GET /api/workflows/39 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38784 - "GET /api/workflows/38 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38788 - "GET /api/workflows/37 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38804 - "GET /api/workflows/18 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38806 - "GET /api/workflows/20 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38822 - "GET /api/workflows/30 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38826 - "GET /api/workflows/32 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38838 - "GET /api/workflows/34 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38844 - "GET /api/workflows/33 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38860 - "GET /api/workflows/31 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38866 - "GET /api/workflows/29 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38878 - "GET /api/workflows/28 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38886 - "GET /api/workflows/27 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38896 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38912 - "GET /api/workflows/26 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38914 - "GET /api/workflows/17 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38930 - "GET /api/workflows/4 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38940 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:38942 - "GET /api/workflows/15 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38958 - "GET /api/workflows/11 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38974 - "GET /api/workflows/3 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38978 - "GET /api/workflows/9 HTTP/1.1" 200 OK
INFO: 127.0.0.1:38994 - "GET /api/workflows/16 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39002 - "GET /api/workflows/10 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39018 - "GET /api/workflows/23 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39030 - "GET /api/workflows/8 HTTP/1.1" 200 OK
INFO: 127.0.0.1:39034 - "GET /api/workflows/22 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55020 - "GET /api/workflows/5 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55024 - "GET /api/workflows/6 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55036 - "GET /api/workflows/7 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55040 - "GET /api/workflows/19 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55042 - "GET /api/workflows/13 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55054 - "GET /api/workflows/12 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55056 - "GET /api/workflows/64 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55072 - "GET /api/workflows/62 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55088 - "GET /api/workflows/70 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55098 - "GET /api/workflows/1 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55114 - "GET /api/workflows/36 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55118 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55134 - "GET /api/workflows/35 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55140 - "GET /api/workflows/2 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55146 - "GET /api/jobs HTTP/1.1" 404 Not Found
INFO: 127.0.0.1:55152 - "GET /api/workflows/25 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55160 - "GET /api/workflows/24 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55164 - "GET /api/workflows/21 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55180 - "GET /api/workflows/14 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55182 - "GET /api/workflows/156 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55192 - "GET /api/workflows/157 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55196 - "GET /api/workflows/40 HTTP/1.1" 200 OK
INFO: 127.0.0.1:55198 - "GET /api/workflows/41 HTTP/1.1" 200 OK
INFO: Shutting down
INFO: Waiting for application shutdown.
INFO: Application shutdown complete.
INFO: Finished server process [868417]
@@ -0,0 +1,4 @@
VITE v6.4.3 ready in 293 ms
➜ Local: http://127.0.0.1:5173/
@@ -0,0 +1 @@
{"ports_released": [8247, 5173], "child_exit_codes": [-15, 143]}
@@ -0,0 +1,39 @@
{
"all_pass": true,
"source_files": 34,
"citations": 29,
"counts": {
"saved_fields": 77,
"root_saved_fields": 77,
"internal_saved_fields": 0,
"linked_saved_fields": 9,
"frontend_only": 5,
"source_nodes": 22,
"root_nodes": 22,
"internal_nodes": 0,
"physical_edges": 24,
"internal_edge_records": 0,
"source_notes": 1,
"history_objects": 0,
"history_strings": 2,
"final_scalars": 0,
"final_prompt_constructed": false
},
"source_frontend": "1.38.0",
"llama_exact_commit_unavailable": {
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
"requested_commit": "20571a3cf504b8308781d3cad2e432444ec3d75b",
"registry_id": "llama-cpp_vllm",
"attempts": [
"git fetch exact commit: upload-pack not our ref",
"pinned raw nodes.py: HTTP 404"
],
"conclusion": "准确提交不可得;不套f2209ccc或其它版,三个节点schema/实现/恢复/许可绑定未知"
},
"ace15_missing_and_dual_clip_enum_conflict_preserved": true,
"license_gaps": [
"llama accurate tree unavailable",
"various/cr no license file in exact trees"
],
"upstream_executed": false
}
@@ -0,0 +1,12 @@
........................................................................ [ 20%]
........................................................................ [ 41%]
........................................................................ [ 61%]
........................................................................ [ 82%]
............................................................... [100%]
=============================== warnings summary ===============================
calliope-backend/.venv/lib/python3.12/site-packages/starlette/testclient.py:53
/home/xiaomo/multica_workspaces/hello-af23464d222e/hel-892-c64021a2b1bf/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
351 passed, 1 warning in 5.31s
@@ -0,0 +1,32 @@
# 仓库根;第63批仅ACE+Qwen自动歌词音乐;原PR25/main基线08c907e16027e5e04de38f1c993f4695d8822841。
uv sync --project calliope-backend --offline --extra dev
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/ace-qwen-document-evidence/inventory.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/ace-qwen-document-evidence/verify_sources.py
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/ace-qwen-document-evidence/rebuild.py
PYTHONDONTWRITEBYTECODE=1 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/ace-qwen-document-evidence/repeat.py
PYTHONDONTWRITEBYTECODE=1 uv run --project calliope-backend --offline pytest calliope-backend/tests/test_ace_qwen_fixed_document.py calliope-backend/tests/test_workflow_library.py -q
PYTHONDONTWRITEBYTECODE=1 python3 docs/hel-892/ace-qwen-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/ace-qwen-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-ace-qwen-document.py
# 以上只使用本地隔离库与现有依赖;不启动worker/ComfyUI或调用上游函数。
# 最终351后台(338专项+13库),只计最终执行,不累加开发期重跑;未跑无关全仓套件,不称全仓绿。
# source-check.json:原字节77位置/1注释/24边,准确1.38.0前端、0.11.1核心及第三方包/提交;语言准确提交不可得、核心缺类/类别冲突不补证。
# 原语言ID llama-cpp_vllm精确保留,registry仓名vlm仅发现来源,两个准确地址失败不借f2209ccc。
# JWStringSplit缺分隔符分支case a捕获整张列表,返回列表/空串,与声明STRING冲突:仅静态AST验证,不执行拆分。
# sources.json local_file以ace-qwen-reference为基准;definition/fixed-source-index的local_file以ace-qwen-document-evidence为基准。
# frontend1.38.0 tag由git ls-remote绑定,完整commit原件与tree/blob独立校验;同树LiteGraph/锁定文件原字节保留。
# ShowText发布包1.2.5原件/成员/SHA固定;Git提交未知。CR/various准确树无许可文件;语言准确许可未知。
# 获取时间为本地原件写入观测,不冒充提交时间;旧核心缓存保留此前获取时间并重新核字节。
# 双次重建/渲染确定性、wheel/sdist三资源字节、真实08c907e旧代码导入升级/回退/重升/前后用户修改整行29列保护通过。
# 旧43块1621位置+46注释逐对象不变;新增77+1,现44图1698+47,仅参考,尚111图无本类块。
# 155/排除1、16/139、1217/3660/294;全停用/未检查/空时间戳,完整定稿0/实跑0/新增转换0。
# 163原件/191资源、28profile/9候选/六差分、转换执行链/Drawer整文件不变;不改界面/CSS/依赖。
# 两屏1440/390逐位置、长指南/历史风格歌词/完整Note、9覆盖/5前端控制、版本来源、旧43摘要/状态、回退/迟到/重试/焦点/无溢出。
# browser-results.json固定GET/轮询/详情夹具/字体CSS拦截分列;backend-request-counts.json后端GET含就绪单列;禁止请求零容忍。
# finally停本轮子服务,ports-independent.json独立核8247/5173连接拒绝;截图只附卡不入仓。
# fetch_sources.py为可选在线源码收集入口,不是离线验证必需步骤;不执行上游/插件/SDK/表达式/模型/GPU/音频/种子/状态/显存操作。
# 本批准确版本缺口/前端UE恢复/模型文件/设备/兼容与实际效果保留未知;不需材料窗口,不合并部署,155全量审核后才发布。
@@ -0,0 +1,105 @@
"Independently verify pinned text/Git objects/package members and raw inventory."
import hashlib
import json
import zipfile
from build_definition import OUT, REF, REPO, build, canonical
from inventory import inventory
def main():
block = build()
rows = json.loads((REF / "sources.json").read_bytes())["sources"]
for e in rows:
raw = (REF / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
if e["id"] == "showtext":
p = REF / e["package_file"]
assert hashlib.sha256(p.read_bytes()).hexdigest() == e["package_sha256"]
with zipfile.ZipFile(p) as z:
assert z.read(e["package_member"]) == raw
assert e["commit"] is None
continue
blob = hashlib.sha1(b"blob " + str(len(raw)).encode() + b"\0" + raw).hexdigest()
assert blob == e["git_blob_sha1"]
t = json.loads((REF / (e["id"] + "-tree.json")).read_bytes())
assert not t["truncated"]
assert next(x["sha"] for x in t["tree"] if x["path"] == e["file"]) == blob
if e["id"] == "core":
c = json.loads((REF / "core-commit.json").read_bytes())
assert c["sha"] == e["commit"] and c["tree"]["sha"] == e["tree"]
else:
c = (REF / (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"] == "tree " + t["sha"]
inv = inventory()
assert len(inv["fields"]) == 77 and len(inv["notes"]) == 1
for a, f in zip(inv["fields"], block["fields"], strict=True):
assert (a["pointer"], a["scope"], a["json_type"], canonical(a["value"])) == (
f["pointer"],
f["scope"],
f["json_type"],
canonical(f["value"]),
)
assert inv["notes"][0]["value"] == block["comments"][0]["text"]
for e in block["sources"]:
raw = (OUT / e["local_file"]).read_bytes()
assert hashlib.sha256(raw).hexdigest() == e["sha256"]
assert 1 <= e["lines"][0] <= e["lines"][1] <= len(raw.decode().splitlines())
g = json.loads((REPO / block["source_path"]).read_bytes())
ns = {n["id"]: n for n in g["nodes"]}
assert g["extra"]["frontendVersion"] == "1.38.0"
assert not g.get("definitions") and all("widgets_values_named" not in n for n in ns.values())
assert len(ns) == 22 and all(n["mode"] == 0 for n in ns.values()) and len(g["links"]) == 24
for eid, src, slot, dst, inp, _ in g["links"]:
assert eid in ns[src]["outputs"][slot]["links"] and ns[dst]["inputs"][inp]["link"] == eid
ace = (REF / "core__comfy_extras__nodes_ace.py").read_text()
assert "TextEncodeAceStepAudio1.5" not in ace and "EmptyAceStep1.5LatentAudio" not in ace
loader = (
(REF / "core__nodes.py")
.read_text()
.split("class DualCLIPLoader:")[1]
.split("class CLIPVisionLoader:")[0]
)
assert '"ace"' not in loader.split("def load_clip")[0]
assert {n["id"] for n in ns.values() if n.get("widgets_values") == []} == {47, 18}
assert ns[116]["widgets_values"][2] == "false" and isinstance(ns[116]["widgets_values"][2], str)
unavailable = json.loads((REF / "llama-unavailable.json").read_bytes())
assert unavailable["requested_commit"] == ns[109]["properties"]["ver"]
assert not any(e["id"] == "llama" for e in rows)
(OUT / "source-check.json").write_text(
json.dumps(
dict(
all_pass=True,
source_files=len(rows),
citations=len(block["sources"]),
counts=block["counts"],
source_frontend="1.38.0",
llama_exact_commit_unavailable=unavailable,
ace15_missing_and_dual_clip_enum_conflict_preserved=True,
license_gaps=[
"llama accurate tree unavailable",
"various/cr no license file in exact trees",
],
upstream_executed=False,
),
ensure_ascii=False,
indent=2,
)
+ "\n"
)
print(
(
"PASS exact text/Git/package identiti"
"es; independent 77 positions, Note, "
"24 edges; unknowns preserved"
)
)
if __name__ == "__main__":
main()
@@ -0,0 +1,19 @@
{
"viewports": [
1440,
390
],
"inspected": [
"1440-41-default.png",
"1440-41-branch-flow.png",
"390-41-default.png",
"390-41-112-prompt.png",
"390-41-118-history_text.png",
"390-41-source-citations.png",
"390-41-108-note.png",
"390-41-94-lyrics.png"
],
"result": "默认中文用途/状态、技术默认折叠、展开流程/准确来源/歌词指南/历史歌词/完整Note可读,无横向溢出。Note沿用既有JSON原文呈现和系统字体;树状emoji部分缺字形,未下载字体或修改Drawer。",
"final_capture_count": 18,
"screenshots_committed": false
}
@@ -0,0 +1 @@
{"sha":"b0d9708974f50fce7d2448ac84e9260c87f7ade3","node_id":"C_kwDOIygeJtoAKGIwZDk3MDg5NzRmNTBmY2U3ZDI0NDhhYzg0ZTkyNjBjODdmN2FkZTM","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/b0d9708974f50fce7d2448ac84e9260c87f7ade3","html_url":"https://github.com/Comfy-Org/ComfyUI/commit/b0d9708974f50fce7d2448ac84e9260c87f7ade3","author":{"name":"comfyanonymous","email":"comfyanonymous@protonmail.com","date":"2026-01-29T05:27:23Z"},"committer":{"name":"comfyanonymous","email":"comfyanonymous@protonmail.com","date":"2026-01-29T05:27:23Z"},"tree":{"sha":"d45aa53a1ae1a288a50f8e323cf6696dd21046e1","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/trees/d45aa53a1ae1a288a50f8e323cf6696dd21046e1"},"message":"ComfyUI v0.11.1","parents":[{"sha":"c9b633d84f1dd9c2e6fb5dbc733a0687e5a9764b","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/c9b633d84f1dd9c2e6fb5dbc733a0687e5a9764b","html_url":"https://github.com/Comfy-Org/ComfyUI/commit/c9b633d84f1dd9c2e6fb5dbc733a0687e5a9764b"}],"verification":{"verified":false,"reason":"unsigned","signature":null,"payload":null,"verified_at":null}}
@@ -0,0 +1 @@
{"ref":"refs/tags/v0.11.1","node_id":"REF_kwDOIygeJrFyZWZzL3RhZ3MvdjAuMTEuMQ","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/refs/tags/v0.11.1","object":{"sha":"b0d9708974f50fce7d2448ac84e9260c87f7ade3","type":"commit","url":"https://api.github.com/repos/Comfy-Org/ComfyUI/git/commits/b0d9708974f50fce7d2448ac84e9260c87f7ade3"}}
File diff suppressed because one or more lines are too long
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
@@ -0,0 +1,389 @@
import torch
from comfy.ldm.modules.diffusionmodules.util import make_beta_schedule
import math
def rescale_zero_terminal_snr_sigmas(sigmas):
alphas_cumprod = 1 / ((sigmas * sigmas) + 1)
alphas_bar_sqrt = alphas_cumprod.sqrt()
# Store old values.
alphas_bar_sqrt_0 = alphas_bar_sqrt[0].clone()
alphas_bar_sqrt_T = alphas_bar_sqrt[-1].clone()
# Shift so the last timestep is zero.
alphas_bar_sqrt -= (alphas_bar_sqrt_T)
# Scale so the first timestep is back to the old value.
alphas_bar_sqrt *= alphas_bar_sqrt_0 / (alphas_bar_sqrt_0 - alphas_bar_sqrt_T)
# Convert alphas_bar_sqrt to betas
alphas_bar = alphas_bar_sqrt**2 # Revert sqrt
alphas_bar[-1] = 4.8973451890853435e-08
return ((1 - alphas_bar) / alphas_bar) ** 0.5
def reshape_sigma(sigma, noise_dim):
if sigma.nelement() == 1:
return sigma.view(())
else:
return sigma.view(sigma.shape[:1] + (1,) * (noise_dim - 1))
class EPS:
def calculate_input(self, sigma, noise):
sigma = reshape_sigma(sigma, noise.ndim)
return noise / (sigma ** 2 + self.sigma_data ** 2) ** 0.5
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input - model_output * sigma
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
if max_denoise:
noise = noise * torch.sqrt(1.0 + sigma ** 2.0)
else:
noise = noise * sigma
noise += latent_image
return noise
def inverse_noise_scaling(self, sigma, latent):
return latent
class V_PREDICTION(EPS):
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input * self.sigma_data ** 2 / (sigma ** 2 + self.sigma_data ** 2) - model_output * sigma * self.sigma_data / (sigma ** 2 + self.sigma_data ** 2) ** 0.5
class EDM(V_PREDICTION):
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input * self.sigma_data ** 2 / (sigma ** 2 + self.sigma_data ** 2) + model_output * sigma * self.sigma_data / (sigma ** 2 + self.sigma_data ** 2) ** 0.5
class CONST:
def calculate_input(self, sigma, noise):
return noise
def calculate_denoised(self, sigma, model_output, model_input):
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input - model_output * sigma
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
return sigma * noise + (1.0 - sigma) * latent_image
def inverse_noise_scaling(self, sigma, latent):
sigma = reshape_sigma(sigma, latent.ndim)
return latent / (1.0 - sigma)
class X0(EPS):
def calculate_denoised(self, sigma, model_output, model_input):
return model_output
class IMG_TO_IMG(X0):
def calculate_input(self, sigma, noise):
return noise
class COSMOS_RFLOW:
def calculate_input(self, sigma, noise):
sigma = (sigma / (sigma + 1))
sigma = reshape_sigma(sigma, noise.ndim)
return noise * (1.0 - sigma)
def calculate_denoised(self, sigma, model_output, model_input):
sigma = (sigma / (sigma + 1))
sigma = reshape_sigma(sigma, model_output.ndim)
return model_input * (1.0 - sigma) - model_output * sigma
def noise_scaling(self, sigma, noise, latent_image, max_denoise=False):
sigma = reshape_sigma(sigma, noise.ndim)
noise = noise * sigma
noise += latent_image
return noise
def inverse_noise_scaling(self, sigma, latent):
return latent
class ModelSamplingDiscrete(torch.nn.Module):
def __init__(self, model_config=None, zsnr=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
beta_schedule = sampling_settings.get("beta_schedule", "linear")
linear_start = sampling_settings.get("linear_start", 0.00085)
linear_end = sampling_settings.get("linear_end", 0.012)
timesteps = sampling_settings.get("timesteps", 1000)
if zsnr is None:
zsnr = sampling_settings.get("zsnr", False)
self._register_schedule(given_betas=None, beta_schedule=beta_schedule, timesteps=timesteps, linear_start=linear_start, linear_end=linear_end, cosine_s=8e-3, zsnr=zsnr)
self.sigma_data = 1.0
def _register_schedule(self, given_betas=None, beta_schedule="linear", timesteps=1000,
linear_start=1e-4, linear_end=2e-2, cosine_s=8e-3, zsnr=False):
if given_betas is not None:
betas = given_betas
else:
betas = make_beta_schedule(beta_schedule, timesteps, linear_start=linear_start, linear_end=linear_end, cosine_s=cosine_s)
alphas = 1. - betas
alphas_cumprod = torch.cumprod(alphas, dim=0)
timesteps, = betas.shape
self.num_timesteps = int(timesteps)
self.linear_start = linear_start
self.linear_end = linear_end
self.zsnr = zsnr
# self.register_buffer('betas', torch.tensor(betas, dtype=torch.float32))
# self.register_buffer('alphas_cumprod', torch.tensor(alphas_cumprod, dtype=torch.float32))
# self.register_buffer('alphas_cumprod_prev', torch.tensor(alphas_cumprod_prev, dtype=torch.float32))
sigmas = ((1 - alphas_cumprod) / alphas_cumprod) ** 0.5
if self.zsnr:
sigmas = rescale_zero_terminal_snr_sigmas(sigmas)
self.set_sigmas(sigmas)
def set_sigmas(self, sigmas):
self.register_buffer('sigmas', sigmas.float())
self.register_buffer('log_sigmas', sigmas.log().float())
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
log_sigma = sigma.log()
dists = log_sigma.to(self.log_sigmas.device) - self.log_sigmas[:, None]
return dists.abs().argmin(dim=0).view(sigma.shape).to(sigma.device)
def sigma(self, timestep):
t = torch.clamp(timestep.float().to(self.log_sigmas.device), min=0, max=(len(self.sigmas) - 1))
low_idx = t.floor().long()
high_idx = t.ceil().long()
w = t.frac()
log_sigma = (1 - w) * self.log_sigmas[low_idx] + w * self.log_sigmas[high_idx]
return log_sigma.exp().to(timestep.device)
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 999999999.9
if percent >= 1.0:
return 0.0
percent = 1.0 - percent
return self.sigma(torch.tensor(percent * 999.0)).item()
class ModelSamplingDiscreteEDM(ModelSamplingDiscrete):
def timestep(self, sigma):
return 0.25 * sigma.log()
def sigma(self, timestep):
return (timestep / 0.25).exp()
class ModelSamplingContinuousEDM(torch.nn.Module):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
sigma_min = sampling_settings.get("sigma_min", 0.002)
sigma_max = sampling_settings.get("sigma_max", 120.0)
sigma_data = sampling_settings.get("sigma_data", 1.0)
self.set_parameters(sigma_min, sigma_max, sigma_data)
def set_parameters(self, sigma_min, sigma_max, sigma_data):
self.sigma_data = sigma_data
sigmas = torch.linspace(math.log(sigma_min), math.log(sigma_max), 1000).exp()
self.register_buffer('sigmas', sigmas) #for compatibility with some schedulers
self.register_buffer('log_sigmas', sigmas.log())
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
return 0.25 * sigma.log()
def sigma(self, timestep):
return (timestep / 0.25).exp()
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 999999999.9
if percent >= 1.0:
return 0.0
percent = 1.0 - percent
log_sigma_min = math.log(self.sigma_min)
return math.exp((math.log(self.sigma_max) - log_sigma_min) * percent + log_sigma_min)
class ModelSamplingContinuousV(ModelSamplingContinuousEDM):
def timestep(self, sigma):
return sigma.atan() / math.pi * 2
def sigma(self, timestep):
return (timestep * math.pi / 2).tan()
def time_snr_shift(alpha, t):
if alpha == 1.0:
return t
return alpha * t / (1 + (alpha - 1) * t)
class ModelSamplingDiscreteFlow(torch.nn.Module):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
self.set_parameters(shift=sampling_settings.get("shift", 1.0), multiplier=sampling_settings.get("multiplier", 1000))
def set_parameters(self, shift=1.0, timesteps=1000, multiplier=1000):
self.shift = shift
self.multiplier = multiplier
ts = self.sigma((torch.arange(1, timesteps + 1, 1) / timesteps) * multiplier)
self.register_buffer('sigmas', ts)
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
return sigma * self.multiplier
def sigma(self, timestep):
return time_snr_shift(self.shift, timestep / self.multiplier)
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 1.0
if percent >= 1.0:
return 0.0
return time_snr_shift(self.shift, 1.0 - percent)
class StableCascadeSampling(ModelSamplingDiscrete):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
self.set_parameters(sampling_settings.get("shift", 1.0))
def set_parameters(self, shift=1.0, cosine_s=8e-3):
self.shift = shift
self.cosine_s = torch.tensor(cosine_s)
self._init_alpha_cumprod = torch.cos(self.cosine_s / (1 + self.cosine_s) * torch.pi * 0.5) ** 2
#This part is just for compatibility with some schedulers in the codebase
self.num_timesteps = 10000
sigmas = torch.empty((self.num_timesteps), dtype=torch.float32)
for x in range(self.num_timesteps):
t = (x + 1) / self.num_timesteps
sigmas[x] = self.sigma(t)
self.set_sigmas(sigmas)
def sigma(self, timestep):
alpha_cumprod = (torch.cos((timestep + self.cosine_s) / (1 + self.cosine_s) * torch.pi * 0.5) ** 2 / self._init_alpha_cumprod)
if self.shift != 1.0:
var = alpha_cumprod
logSNR = (var/(1-var)).log()
logSNR += 2 * torch.log(1.0 / torch.tensor(self.shift))
alpha_cumprod = logSNR.sigmoid()
alpha_cumprod = alpha_cumprod.clamp(0.0001, 0.9999)
return ((1 - alpha_cumprod) / alpha_cumprod) ** 0.5
def timestep(self, sigma):
var = 1 / ((sigma * sigma) + 1)
var = var.clamp(0, 1.0)
s, min_var = self.cosine_s.to(var.device), self._init_alpha_cumprod.to(var.device)
t = (((var * min_var) ** 0.5).acos() / (torch.pi * 0.5)) * (1 + s) - s
return t
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 999999999.9
if percent >= 1.0:
return 0.0
percent = 1.0 - percent
return self.sigma(torch.tensor(percent))
def flux_time_shift(mu: float, sigma: float, t):
return math.exp(mu) / (math.exp(mu) + (1 / t - 1) ** sigma)
class ModelSamplingFlux(torch.nn.Module):
def __init__(self, model_config=None):
super().__init__()
if model_config is not None:
sampling_settings = model_config.sampling_settings
else:
sampling_settings = {}
self.set_parameters(shift=sampling_settings.get("shift", 1.15))
def set_parameters(self, shift=1.15, timesteps=10000):
self.shift = shift
ts = self.sigma((torch.arange(1, timesteps + 1, 1) / timesteps))
self.register_buffer('sigmas', ts)
@property
def sigma_min(self):
return self.sigmas[0]
@property
def sigma_max(self):
return self.sigmas[-1]
def timestep(self, sigma):
return sigma
def sigma(self, timestep):
return flux_time_shift(self.shift, 1.0, timestep)
def percent_to_sigma(self, percent):
if percent <= 0.0:
return 1.0
if percent >= 1.0:
return 0.0
return flux_time_shift(self.shift, 1.0, 1.0 - percent)
class ModelSamplingCosmosRFlow(ModelSamplingContinuousEDM):
def timestep(self, sigma):
return sigma / (sigma + 1)
def sigma(self, timestep):
sigma_max = self.sigma_max
if timestep >= (sigma_max / (sigma_max + 1)):
return sigma_max
return timestep / (1 - timestep)
@@ -0,0 +1,73 @@
import torch
import comfy.model_management
import comfy.samplers
import comfy.utils
import numpy as np
import logging
import comfy.nested_tensor
def prepare_noise_inner(latent_image, generator, noise_inds=None):
if noise_inds is None:
return torch.randn(latent_image.size(), dtype=latent_image.dtype, layout=latent_image.layout, generator=generator, device="cpu")
unique_inds, inverse = np.unique(noise_inds, return_inverse=True)
noises = []
for i in range(unique_inds[-1]+1):
noise = torch.randn([1] + list(latent_image.size())[1:], dtype=latent_image.dtype, layout=latent_image.layout, generator=generator, device="cpu")
if i in unique_inds:
noises.append(noise)
noises = [noises[i] for i in inverse]
return torch.cat(noises, axis=0)
def prepare_noise(latent_image, seed, noise_inds=None):
"""
creates random noise given a latent image and a seed.
optional arg skip can be used to skip and discard x number of noise generations for a given seed
"""
generator = torch.manual_seed(seed)
if latent_image.is_nested:
tensors = latent_image.unbind()
noises = []
for t in tensors:
noises.append(prepare_noise_inner(t, generator, noise_inds))
noises = comfy.nested_tensor.NestedTensor(noises)
else:
noises = prepare_noise_inner(latent_image, generator, noise_inds)
return noises
def fix_empty_latent_channels(model, latent_image, downscale_ratio_spacial=None):
if latent_image.is_nested:
return latent_image
latent_format = model.get_model_object("latent_format") #Resize the empty latent image so it has the right number of channels
if torch.count_nonzero(latent_image) == 0:
if latent_format.latent_channels != latent_image.shape[1]:
latent_image = comfy.utils.repeat_to_batch_size(latent_image, latent_format.latent_channels, dim=1)
if downscale_ratio_spacial is not None:
if downscale_ratio_spacial != latent_format.spacial_downscale_ratio:
ratio = downscale_ratio_spacial / latent_format.spacial_downscale_ratio
latent_image = comfy.utils.common_upscale(latent_image, round(latent_image.shape[-1] * ratio), round(latent_image.shape[-2] * ratio), "nearest-exact", crop="disabled")
if latent_format.latent_dimensions == 3 and latent_image.ndim == 4:
latent_image = latent_image.unsqueeze(2)
return latent_image
def prepare_sampling(model, noise_shape, positive, negative, noise_mask):
logging.warning("Warning: comfy.sample.prepare_sampling isn't used anymore and can be removed")
return model, positive, negative, noise_mask, []
def cleanup_additional_models(models):
logging.warning("Warning: comfy.sample.cleanup_additional_models isn't used anymore and can be removed")
def sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=1.0, disable_noise=False, start_step=None, last_step=None, force_full_denoise=False, noise_mask=None, sigmas=None, callback=None, disable_pbar=False, seed=None):
sampler = comfy.samplers.KSampler(model, steps=steps, device=model.load_device, sampler=sampler_name, scheduler=scheduler, denoise=denoise, model_options=model.model_options)
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
samples = samples.to(comfy.model_management.intermediate_device())
return samples
def sample_custom(model, noise, cfg, sampler, sigmas, positive, negative, latent_image, noise_mask=None, callback=None, disable_pbar=False, seed=None):
samples = comfy.samplers.sample(model, noise, positive, negative, cfg, model.load_device, sampler, sigmas, model_options=model.model_options, latent_image=latent_image, denoise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
samples = samples.to(comfy.model_management.intermediate_device())
return samples
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,153 @@
from comfy import sd1_clip
from .spiece_tokenizer import SPieceTokenizer
import comfy.text_encoders.t5
import os
import re
import torch
import logging
from tokenizers import Tokenizer
from .ace_text_cleaners import multilingual_cleaners, japanese_to_romaji
SUPPORT_LANGUAGES = {
"en": 259, "de": 260, "fr": 262, "es": 284, "it": 285,
"pt": 286, "pl": 294, "tr": 295, "ru": 267, "cs": 293,
"nl": 297, "ar": 5022, "zh": 5023, "ja": 5412, "hu": 5753,
"ko": 6152, "hi": 6680
}
structure_pattern = re.compile(r"\[.*?\]")
DEFAULT_VOCAB_FILE = os.path.join(os.path.join(os.path.dirname(os.path.realpath(__file__)), "ace_lyrics_tokenizer"), "vocab.json")
class VoiceBpeTokenizer:
def __init__(self, vocab_file=DEFAULT_VOCAB_FILE):
self.tokenizer = None
if vocab_file is not None:
self.tokenizer = Tokenizer.from_file(vocab_file)
def preprocess_text(self, txt, lang):
txt = multilingual_cleaners(txt, lang)
return txt
def encode(self, txt, lang='en'):
# lang = lang.split("-")[0] # remove the region
# self.check_input_length(txt, lang)
txt = self.preprocess_text(txt, lang)
lang = "zh-cn" if lang == "zh" else lang
txt = f"[{lang}]{txt}"
txt = txt.replace(" ", "[SPACE]")
return self.tokenizer.encode(txt).ids
def get_lang(self, line):
if line.startswith("[") and line[3:4] == ']':
lang = line[1:3].lower()
if lang in SUPPORT_LANGUAGES:
return lang, line[4:]
return "en", line
def __call__(self, string):
lines = string.split("\n")
lyric_token_idx = [261]
for line in lines:
line = line.strip()
if not line:
lyric_token_idx += [2]
continue
lang, line = self.get_lang(line)
if lang not in SUPPORT_LANGUAGES:
lang = "en"
if "zh" in lang:
lang = "zh"
if "spa" in lang:
lang = "es"
try:
line_out = japanese_to_romaji(line)
if line_out != line:
lang = "ja"
line = line_out
except:
pass
try:
if structure_pattern.match(line):
token_idx = self.encode(line, "en")
else:
token_idx = self.encode(line, lang)
lyric_token_idx = lyric_token_idx + token_idx + [2]
except Exception as e:
logging.warning("tokenize error {} for line {} major_language {}".format(e, line, lang))
return {"input_ids": lyric_token_idx}
@staticmethod
def from_pretrained(path, **kwargs):
return VoiceBpeTokenizer(path, **kwargs)
def get_vocab(self):
return {}
class UMT5BaseModel(sd1_clip.SDClipModel):
def __init__(self, device="cpu", layer="last", layer_idx=None, dtype=None, model_options={}):
textmodel_json_config = os.path.join(os.path.dirname(os.path.realpath(__file__)), "umt5_config_base.json")
super().__init__(device=device, layer=layer, layer_idx=layer_idx, textmodel_json_config=textmodel_json_config, dtype=dtype, special_tokens={"end": 1, "pad": 0}, model_class=comfy.text_encoders.t5.T5, enable_attention_masks=True, zero_out_masked=False, model_options=model_options)
class UMT5BaseTokenizer(sd1_clip.SDTokenizer):
def __init__(self, embedding_directory=None, tokenizer_data={}):
tokenizer = tokenizer_data.get("spiece_model", None)
super().__init__(tokenizer, pad_with_end=False, embedding_size=768, embedding_key='umt5base', tokenizer_class=SPieceTokenizer, has_start_token=False, pad_to_max_length=False, max_length=99999999, min_length=1, pad_token=0, tokenizer_data=tokenizer_data)
def state_dict(self):
return {"spiece_model": self.tokenizer.serialize_model()}
class LyricsTokenizer(sd1_clip.SDTokenizer):
def __init__(self, embedding_directory=None, tokenizer_data={}):
tokenizer = os.path.join(os.path.join(os.path.dirname(os.path.realpath(__file__)), "ace_lyrics_tokenizer"), "vocab.json")
super().__init__(tokenizer, pad_with_end=False, embedding_size=1024, embedding_key='lyrics', tokenizer_class=VoiceBpeTokenizer, has_start_token=True, pad_to_max_length=False, max_length=99999999, min_length=1, pad_token=2, has_end_token=False, tokenizer_data=tokenizer_data)
class AceT5Tokenizer:
def __init__(self, embedding_directory=None, tokenizer_data={}):
self.voicebpe = LyricsTokenizer(embedding_directory=embedding_directory, tokenizer_data=tokenizer_data)
self.umt5base = UMT5BaseTokenizer(embedding_directory=embedding_directory, tokenizer_data=tokenizer_data)
def tokenize_with_weights(self, text:str, return_word_ids=False, **kwargs):
out = {}
out["lyrics"] = self.voicebpe.tokenize_with_weights(kwargs.get("lyrics", ""), return_word_ids, **kwargs)
out["umt5base"] = self.umt5base.tokenize_with_weights(text, return_word_ids, **kwargs)
return out
def untokenize(self, token_weight_pair):
return self.umt5base.untokenize(token_weight_pair)
def state_dict(self):
return self.umt5base.state_dict()
class AceT5Model(torch.nn.Module):
def __init__(self, device="cpu", dtype=None, model_options={}, **kwargs):
super().__init__()
self.umt5base = UMT5BaseModel(device=device, dtype=dtype, model_options=model_options)
self.dtypes = set()
if dtype is not None:
self.dtypes.add(dtype)
def set_clip_options(self, options):
self.umt5base.set_clip_options(options)
def reset_clip_options(self):
self.umt5base.reset_clip_options()
def encode_token_weights(self, token_weight_pairs):
token_weight_pairs_umt5base = token_weight_pairs["umt5base"]
token_weight_pairs_lyrics = token_weight_pairs["lyrics"]
t5_out, t5_pooled = self.umt5base.encode_token_weights(token_weight_pairs_umt5base)
lyrics_embeds = torch.tensor(list(map(lambda a: a[0], token_weight_pairs_lyrics[0]))).unsqueeze(0)
return t5_out, None, {"conditioning_lyrics": lyrics_embeds}
def load_sd(self, sd):
return self.umt5base.load_sd(sd)
@@ -0,0 +1,475 @@
from __future__ import annotations
import json
import os
import random
import uuid
from io import BytesIO
import av
import numpy as np
import torch
try:
import torchaudio
TORCH_AUDIO_AVAILABLE = True
except:
TORCH_AUDIO_AVAILABLE = False
from PIL import Image as PILImage
from PIL.PngImagePlugin import PngInfo
import folder_paths
# used for image preview
from comfy.cli_args import args
from ._io import ComfyNode, FolderType, Image, _UIOutput
class SavedResult(dict):
def __init__(self, filename: str, subfolder: str, type: FolderType):
super().__init__(filename=filename, subfolder=subfolder,type=type.value)
@property
def filename(self) -> str:
return self["filename"]
@property
def subfolder(self) -> str:
return self["subfolder"]
@property
def type(self) -> FolderType:
return FolderType(self["type"])
class SavedImages(_UIOutput):
"""A UI output class to represent one or more saved images, potentially animated."""
def __init__(self, results: list[SavedResult], is_animated: bool = False):
super().__init__()
self.results = results
self.is_animated = is_animated
def as_dict(self) -> dict:
data = {"images": self.results}
if self.is_animated:
data["animated"] = (True,)
return data
class SavedAudios(_UIOutput):
"""UI wrapper around one or more audio files on disk (FLAC / MP3 / Opus)."""
def __init__(self, results: list[SavedResult]):
super().__init__()
self.results = results
def as_dict(self) -> dict:
return {"audio": self.results}
def _get_directory_by_folder_type(folder_type: FolderType) -> str:
if folder_type == FolderType.input:
return folder_paths.get_input_directory()
if folder_type == FolderType.output:
return folder_paths.get_output_directory()
return folder_paths.get_temp_directory()
class ImageSaveHelper:
"""A helper class with static methods to handle image saving and metadata."""
@staticmethod
def _convert_tensor_to_pil(image_tensor: torch.Tensor) -> PILImage.Image:
"""Converts a single torch tensor to a PIL Image."""
return PILImage.fromarray(np.clip(255.0 * image_tensor.cpu().numpy(), 0, 255).astype(np.uint8))
@staticmethod
def _create_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None:
"""Creates a PngInfo object with prompt and extra_pnginfo."""
if args.disable_metadata or cls is None or not cls.hidden:
return None
metadata = PngInfo()
if cls.hidden.prompt:
metadata.add_text("prompt", json.dumps(cls.hidden.prompt))
if cls.hidden.extra_pnginfo:
for x in cls.hidden.extra_pnginfo:
metadata.add_text(x, json.dumps(cls.hidden.extra_pnginfo[x]))
return metadata
@staticmethod
def _create_animated_png_metadata(cls: type[ComfyNode] | None) -> PngInfo | None:
"""Creates a PngInfo object with prompt and extra_pnginfo for animated PNGs (APNG)."""
if args.disable_metadata or cls is None or not cls.hidden:
return None
metadata = PngInfo()
if cls.hidden.prompt:
metadata.add(
b"comf",
"prompt".encode("latin-1", "strict")
+ b"\0"
+ json.dumps(cls.hidden.prompt).encode("latin-1", "strict"),
after_idat=True,
)
if cls.hidden.extra_pnginfo:
for x in cls.hidden.extra_pnginfo:
metadata.add(
b"comf",
x.encode("latin-1", "strict")
+ b"\0"
+ json.dumps(cls.hidden.extra_pnginfo[x]).encode("latin-1", "strict"),
after_idat=True,
)
return metadata
@staticmethod
def _create_webp_metadata(pil_image: PILImage.Image, cls: type[ComfyNode] | None) -> PILImage.Exif:
"""Creates EXIF metadata bytes for WebP images."""
exif_data = pil_image.getexif()
if args.disable_metadata or cls is None or cls.hidden is None:
return exif_data
if cls.hidden.prompt is not None:
exif_data[0x0110] = "prompt:{}".format(json.dumps(cls.hidden.prompt)) # EXIF 0x0110 = Model
if cls.hidden.extra_pnginfo is not None:
inital_exif_tag = 0x010F # EXIF 0x010f = Make
for key, value in cls.hidden.extra_pnginfo.items():
exif_data[inital_exif_tag] = "{}:{}".format(key, json.dumps(value))
inital_exif_tag -= 1
return exif_data
@staticmethod
def save_images(
images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, compress_level = 4,
) -> list[SavedResult]:
"""Saves a batch of images as individual PNG files."""
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
)
results = []
metadata = ImageSaveHelper._create_png_metadata(cls)
for batch_number, image_tensor in enumerate(images):
img = ImageSaveHelper._convert_tensor_to_pil(image_tensor)
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
file = f"{filename_with_batch_num}_{counter:05}_.png"
img.save(os.path.join(full_output_folder, file), pnginfo=metadata, compress_level=compress_level)
results.append(SavedResult(file, subfolder, folder_type))
counter += 1
return results
@staticmethod
def get_save_images_ui(images, filename_prefix: str, cls: type[ComfyNode] | None, compress_level=4) -> SavedImages:
"""Saves a batch of images and returns a UI object for the node output."""
return SavedImages(
ImageSaveHelper.save_images(
images,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
compress_level=compress_level,
)
)
@staticmethod
def save_animated_png(
images, filename_prefix: str, folder_type: FolderType, cls: type[ComfyNode] | None, fps: float, compress_level: int
) -> SavedResult:
"""Saves a batch of images as a single animated PNG."""
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
)
pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images]
metadata = ImageSaveHelper._create_animated_png_metadata(cls)
file = f"{filename}_{counter:05}_.png"
save_path = os.path.join(full_output_folder, file)
pil_images[0].save(
save_path,
pnginfo=metadata,
compress_level=compress_level,
save_all=True,
duration=int(1000.0 / fps),
append_images=pil_images[1:],
)
return SavedResult(file, subfolder, folder_type)
@staticmethod
def get_save_animated_png_ui(
images, filename_prefix: str, cls: type[ComfyNode] | None, fps: float, compress_level: int
) -> SavedImages:
"""Saves an animated PNG and returns a UI object for the node output."""
result = ImageSaveHelper.save_animated_png(
images,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
fps=fps,
compress_level=compress_level,
)
return SavedImages([result], is_animated=len(images) > 1)
@staticmethod
def save_animated_webp(
images,
filename_prefix: str,
folder_type: FolderType,
cls: type[ComfyNode] | None,
fps: float,
lossless: bool,
quality: int,
method: int,
) -> SavedResult:
"""Saves a batch of images as a single animated WebP."""
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type), images[0].shape[1], images[0].shape[0]
)
pil_images = [ImageSaveHelper._convert_tensor_to_pil(img) for img in images]
pil_exif = ImageSaveHelper._create_webp_metadata(pil_images[0], cls)
file = f"{filename}_{counter:05}_.webp"
pil_images[0].save(
os.path.join(full_output_folder, file),
save_all=True,
duration=int(1000.0 / fps),
append_images=pil_images[1:],
exif=pil_exif,
lossless=lossless,
quality=quality,
method=method,
)
return SavedResult(file, subfolder, folder_type)
@staticmethod
def get_save_animated_webp_ui(
images,
filename_prefix: str,
cls: type[ComfyNode] | None,
fps: float,
lossless: bool,
quality: int,
method: int,
) -> SavedImages:
"""Saves an animated WebP and returns a UI object for the node output."""
result = ImageSaveHelper.save_animated_webp(
images,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
fps=fps,
lossless=lossless,
quality=quality,
method=method,
)
return SavedImages([result], is_animated=len(images) > 1)
class AudioSaveHelper:
"""A helper class with static methods to handle audio saving and metadata."""
_OPUS_RATES = [8000, 12000, 16000, 24000, 48000]
@staticmethod
def save_audio(
audio: dict,
filename_prefix: str,
folder_type: FolderType,
cls: type[ComfyNode] | None,
format: str = "flac",
quality: str = "128k",
) -> list[SavedResult]:
full_output_folder, filename, counter, subfolder, _ = folder_paths.get_save_image_path(
filename_prefix, _get_directory_by_folder_type(folder_type)
)
metadata = {}
if not args.disable_metadata and cls is not None:
if cls.hidden.prompt is not None:
metadata["prompt"] = json.dumps(cls.hidden.prompt)
if cls.hidden.extra_pnginfo is not None:
for x in cls.hidden.extra_pnginfo:
metadata[x] = json.dumps(cls.hidden.extra_pnginfo[x])
results = []
for batch_number, waveform in enumerate(audio["waveform"].cpu()):
filename_with_batch_num = filename.replace("%batch_num%", str(batch_number))
file = f"{filename_with_batch_num}_{counter:05}_.{format}"
output_path = os.path.join(full_output_folder, file)
# Use original sample rate initially
sample_rate = audio["sample_rate"]
# Handle Opus sample rate requirements
if format == "opus":
if sample_rate > 48000:
sample_rate = 48000
elif sample_rate not in AudioSaveHelper._OPUS_RATES:
# Find the next highest supported rate
for rate in sorted(AudioSaveHelper._OPUS_RATES):
if rate > sample_rate:
sample_rate = rate
break
if sample_rate not in AudioSaveHelper._OPUS_RATES: # Fallback if still not supported
sample_rate = 48000
# Resample if necessary
if sample_rate != audio["sample_rate"]:
if not TORCH_AUDIO_AVAILABLE:
raise Exception("torchaudio is not available; cannot resample audio.")
waveform = torchaudio.functional.resample(waveform, audio["sample_rate"], sample_rate)
# Create output with specified format
output_buffer = BytesIO()
output_container = av.open(output_buffer, mode="w", format=format)
# Set metadata on the container
for key, value in metadata.items():
output_container.metadata[key] = value
layout = "mono" if waveform.shape[0] == 1 else "stereo"
# Set up the output stream with appropriate properties
if format == "opus":
out_stream = output_container.add_stream("libopus", rate=sample_rate, layout=layout)
if quality == "64k":
out_stream.bit_rate = 64000
elif quality == "96k":
out_stream.bit_rate = 96000
elif quality == "128k":
out_stream.bit_rate = 128000
elif quality == "192k":
out_stream.bit_rate = 192000
elif quality == "320k":
out_stream.bit_rate = 320000
elif format == "mp3":
out_stream = output_container.add_stream("libmp3lame", rate=sample_rate, layout=layout)
if quality == "V0":
# TODO i would really love to support V3 and V5 but there doesn't seem to be a way to set the qscale level, the property below is a bool
out_stream.codec_context.qscale = 1
elif quality == "128k":
out_stream.bit_rate = 128000
elif quality == "320k":
out_stream.bit_rate = 320000
else: # format == "flac":
out_stream = output_container.add_stream("flac", rate=sample_rate, layout=layout)
frame = av.AudioFrame.from_ndarray(
waveform.movedim(0, 1).reshape(1, -1).float().numpy(),
format="flt",
layout=layout,
)
frame.sample_rate = sample_rate
frame.pts = 0
output_container.mux(out_stream.encode(frame))
# Flush encoder
output_container.mux(out_stream.encode(None))
# Close containers
output_container.close()
# Write the output to file
output_buffer.seek(0)
with open(output_path, "wb") as f:
f.write(output_buffer.getbuffer())
results.append(SavedResult(file, subfolder, folder_type))
counter += 1
return results
@staticmethod
def get_save_audio_ui(
audio, filename_prefix: str, cls: type[ComfyNode] | None, format: str = "flac", quality: str = "128k",
) -> SavedAudios:
"""Save and instantly wrap for UI."""
return SavedAudios(
AudioSaveHelper.save_audio(
audio,
filename_prefix=filename_prefix,
folder_type=FolderType.output,
cls=cls,
format=format,
quality=quality,
)
)
class PreviewImage(_UIOutput):
def __init__(self, image: Image.Type, animated: bool = False, cls: type[ComfyNode] = None, **kwargs):
self.values = ImageSaveHelper.save_images(
image,
filename_prefix="ComfyUI_temp_" + ''.join(random.choice("abcdefghijklmnopqrstupvxyz") for _ in range(5)),
folder_type=FolderType.temp,
cls=cls,
compress_level=1,
)
self.animated = animated
def as_dict(self):
return {
"images": self.values,
"animated": (self.animated,)
}
class PreviewMask(PreviewImage):
def __init__(self, mask: PreviewMask.Type, animated: bool=False, cls: ComfyNode=None, **kwargs):
preview = mask.reshape((-1, 1, mask.shape[-2], mask.shape[-1])).movedim(1, -1).expand(-1, -1, -1, 3)
super().__init__(preview, animated, cls, **kwargs)
class PreviewAudio(_UIOutput):
def __init__(self, audio: dict, cls: type[ComfyNode] = None, **kwargs):
self.values = AudioSaveHelper.save_audio(
audio,
filename_prefix="ComfyUI_temp_" + "".join(random.choice("abcdefghijklmnopqrstuvwxyz") for _ in range(5)),
folder_type=FolderType.temp,
cls=cls,
format="flac",
quality="128k",
)
def as_dict(self) -> dict:
return {"audio": self.values}
class PreviewVideo(_UIOutput):
def __init__(self, values: list[SavedResult | dict], **kwargs):
self.values = values
def as_dict(self):
return {"images": self.values, "animated": (True,)}
class PreviewUI3D(_UIOutput):
def __init__(self, model_file, camera_info, **kwargs):
self.model_file = model_file
self.camera_info = camera_info
self.bg_image_path = None
bg_image = kwargs.get("bg_image", None)
if bg_image is not None:
img_array = (bg_image[0].cpu().numpy() * 255).astype(np.uint8)
img = PILImage.fromarray(img_array)
temp_dir = folder_paths.get_temp_directory()
filename = f"bg_{uuid.uuid4().hex}.png"
bg_image_path = os.path.join(temp_dir, filename)
img.save(bg_image_path, compress_level=1)
self.bg_image_path = f"temp/{filename}"
def as_dict(self):
return {"result": [self.model_file, self.camera_info, self.bg_image_path]}
class PreviewText(_UIOutput):
def __init__(self, value: str, **kwargs):
self.value = value
def as_dict(self):
return {"text": (self.value,)}
__all__ = [
"SavedResult",
"SavedImages",
"SavedAudios",
"ImageSaveHelper",
"AudioSaveHelper",
"PreviewImage",
"PreviewMask",
"PreviewAudio",
"PreviewVideo",
"PreviewUI3D",
"PreviewText",
]
@@ -0,0 +1 @@
from ._ui import * # noqa: F403
@@ -0,0 +1,63 @@
import torch
from typing_extensions import override
import comfy.model_management
import node_helpers
from comfy_api.latest import ComfyExtension, io
class TextEncodeAceStepAudio(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="TextEncodeAceStepAudio",
category="conditioning",
inputs=[
io.Clip.Input("clip"),
io.String.Input("tags", multiline=True, dynamic_prompts=True),
io.String.Input("lyrics", multiline=True, dynamic_prompts=True),
io.Float.Input("lyrics_strength", default=1.0, min=0.0, max=10.0, step=0.01),
],
outputs=[io.Conditioning.Output()],
)
@classmethod
def execute(cls, clip, tags, lyrics, lyrics_strength) -> io.NodeOutput:
tokens = clip.tokenize(tags, lyrics=lyrics)
conditioning = clip.encode_from_tokens_scheduled(tokens)
conditioning = node_helpers.conditioning_set_values(conditioning, {"lyrics_strength": lyrics_strength})
return io.NodeOutput(conditioning)
class EmptyAceStepLatentAudio(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="EmptyAceStepLatentAudio",
category="latent/audio",
inputs=[
io.Float.Input("seconds", default=120.0, min=1.0, max=1000.0, step=0.1),
io.Int.Input(
"batch_size", default=1, min=1, max=4096, tooltip="The number of latent images in the batch."
),
],
outputs=[io.Latent.Output()],
)
@classmethod
def execute(cls, seconds, batch_size) -> io.NodeOutput:
length = int(seconds * 44100 / 512 / 8)
latent = torch.zeros([batch_size, 8, 16, length], device=comfy.model_management.intermediate_device())
return io.NodeOutput({"samples": latent, "type": "audio"})
class AceExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[io.ComfyNode]]:
return [
TextEncodeAceStepAudio,
EmptyAceStepLatentAudio,
]
async def comfy_entrypoint() -> AceExtension:
return AceExtension()
@@ -0,0 +1,693 @@
from __future__ import annotations
import av
import torchaudio
import torch
import comfy.model_management
import folder_paths
import os
import hashlib
import node_helpers
import logging
from typing_extensions import override
from comfy_api.latest import ComfyExtension, IO, UI
class EmptyLatentAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="EmptyLatentAudio",
display_name="Empty Latent Audio",
category="latent/audio",
inputs=[
IO.Float.Input("seconds", default=47.6, min=1.0, max=1000.0, step=0.1),
IO.Int.Input(
"batch_size", default=1, min=1, max=4096, tooltip="The number of latent images in the batch."
),
],
outputs=[IO.Latent.Output()],
)
@classmethod
def execute(cls, seconds, batch_size) -> IO.NodeOutput:
length = round((seconds * 44100 / 2048) / 2) * 2
latent = torch.zeros([batch_size, 64, length], device=comfy.model_management.intermediate_device())
return IO.NodeOutput({"samples":latent, "type": "audio"})
generate = execute # TODO: remove
class ConditioningStableAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="ConditioningStableAudio",
category="conditioning",
inputs=[
IO.Conditioning.Input("positive"),
IO.Conditioning.Input("negative"),
IO.Float.Input("seconds_start", default=0.0, min=0.0, max=1000.0, step=0.1),
IO.Float.Input("seconds_total", default=47.0, min=0.0, max=1000.0, step=0.1),
],
outputs=[
IO.Conditioning.Output(display_name="positive"),
IO.Conditioning.Output(display_name="negative"),
],
)
@classmethod
def execute(cls, positive, negative, seconds_start, seconds_total) -> IO.NodeOutput:
positive = node_helpers.conditioning_set_values(positive, {"seconds_start": seconds_start, "seconds_total": seconds_total})
negative = node_helpers.conditioning_set_values(negative, {"seconds_start": seconds_start, "seconds_total": seconds_total})
return IO.NodeOutput(positive, negative)
append = execute # TODO: remove
class VAEEncodeAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="VAEEncodeAudio",
search_aliases=["audio to latent"],
display_name="VAE Encode Audio",
category="latent/audio",
inputs=[
IO.Audio.Input("audio"),
IO.Vae.Input("vae"),
],
outputs=[IO.Latent.Output()],
)
@classmethod
def execute(cls, vae, audio) -> IO.NodeOutput:
sample_rate = audio["sample_rate"]
if 44100 != sample_rate:
waveform = torchaudio.functional.resample(audio["waveform"], sample_rate, 44100)
else:
waveform = audio["waveform"]
t = vae.encode(waveform.movedim(1, -1))
return IO.NodeOutput({"samples":t})
encode = execute # TODO: remove
class VAEDecodeAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="VAEDecodeAudio",
search_aliases=["latent to audio"],
display_name="VAE Decode Audio",
category="latent/audio",
inputs=[
IO.Latent.Input("samples"),
IO.Vae.Input("vae"),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, vae, samples) -> IO.NodeOutput:
audio = vae.decode(samples["samples"]).movedim(-1, 1)
std = torch.std(audio, dim=[1,2], keepdim=True) * 5.0
std[std < 1.0] = 1.0
audio /= std
return IO.NodeOutput({"waveform": audio, "sample_rate": 44100 if "sample_rate" not in samples else samples["sample_rate"]})
decode = execute # TODO: remove
class SaveAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudio",
search_aliases=["export flac"],
display_name="Save Audio (FLAC)",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
)
@classmethod
def execute(cls, audio, filename_prefix="ComfyUI", format="flac") -> IO.NodeOutput:
return IO.NodeOutput(
ui=UI.AudioSaveHelper.get_save_audio_ui(audio, filename_prefix=filename_prefix, cls=cls, format=format)
)
save_flac = execute # TODO: remove
class SaveAudioMP3(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudioMP3",
search_aliases=["export mp3"],
display_name="Save Audio (MP3)",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
IO.Combo.Input("quality", options=["V0", "128k", "320k"], default="V0"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
)
@classmethod
def execute(cls, audio, filename_prefix="ComfyUI", format="mp3", quality="128k") -> IO.NodeOutput:
return IO.NodeOutput(
ui=UI.AudioSaveHelper.get_save_audio_ui(
audio, filename_prefix=filename_prefix, cls=cls, format=format, quality=quality
)
)
save_mp3 = execute # TODO: remove
class SaveAudioOpus(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SaveAudioOpus",
search_aliases=["export opus"],
display_name="Save Audio (Opus)",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.String.Input("filename_prefix", default="audio/ComfyUI"),
IO.Combo.Input("quality", options=["64k", "96k", "128k", "192k", "320k"], default="128k"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
)
@classmethod
def execute(cls, audio, filename_prefix="ComfyUI", format="opus", quality="V3") -> IO.NodeOutput:
return IO.NodeOutput(
ui=UI.AudioSaveHelper.get_save_audio_ui(
audio, filename_prefix=filename_prefix, cls=cls, format=format, quality=quality
)
)
save_opus = execute # TODO: remove
class PreviewAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="PreviewAudio",
search_aliases=["play audio"],
display_name="Preview Audio",
category="audio",
inputs=[
IO.Audio.Input("audio"),
],
hidden=[IO.Hidden.prompt, IO.Hidden.extra_pnginfo],
is_output_node=True,
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
return IO.NodeOutput(ui=UI.PreviewAudio(audio, cls=cls))
save_flac = execute # TODO: remove
def f32_pcm(wav: torch.Tensor) -> torch.Tensor:
"""Convert audio to float 32 bits PCM format."""
if wav.dtype.is_floating_point:
return wav
elif wav.dtype == torch.int16:
return wav.float() / (2 ** 15)
elif wav.dtype == torch.int32:
return wav.float() / (2 ** 31)
raise ValueError(f"Unsupported wav dtype: {wav.dtype}")
def load(filepath: str) -> tuple[torch.Tensor, int]:
with av.open(filepath) as af:
if not af.streams.audio:
raise ValueError("No audio stream found in the file.")
stream = af.streams.audio[0]
sr = stream.codec_context.sample_rate
n_channels = stream.channels
frames = []
length = 0
for frame in af.decode(streams=stream.index):
buf = torch.from_numpy(frame.to_ndarray())
if buf.shape[0] != n_channels:
buf = buf.view(-1, n_channels).t()
frames.append(buf)
length += buf.shape[1]
if not frames:
raise ValueError("No audio frames decoded.")
wav = torch.cat(frames, dim=1)
wav = f32_pcm(wav)
return wav, sr
class LoadAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
input_dir = folder_paths.get_input_directory()
files = folder_paths.filter_files_content_types(os.listdir(input_dir), ["audio", "video"])
return IO.Schema(
node_id="LoadAudio",
search_aliases=["import audio", "open audio", "audio file"],
display_name="Load Audio",
category="audio",
inputs=[
IO.Combo.Input("audio", upload=IO.UploadType.audio, options=sorted(files)),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
audio_path = folder_paths.get_annotated_filepath(audio)
waveform, sample_rate = load(audio_path)
audio = {"waveform": waveform.unsqueeze(0), "sample_rate": sample_rate}
return IO.NodeOutput(audio)
@classmethod
def fingerprint_inputs(cls, audio):
image_path = folder_paths.get_annotated_filepath(audio)
m = hashlib.sha256()
with open(image_path, 'rb') as f:
m.update(f.read())
return m.digest().hex()
@classmethod
def validate_inputs(cls, audio):
if not folder_paths.exists_annotated_filepath(audio):
return "Invalid audio file: {}".format(audio)
return True
load = execute # TODO: remove
class RecordAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="RecordAudio",
search_aliases=["microphone input", "audio capture", "voice input"],
display_name="Record Audio",
category="audio",
inputs=[
IO.Custom("AUDIO_RECORD").Input("audio"),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
audio_path = folder_paths.get_annotated_filepath(audio)
waveform, sample_rate = load(audio_path)
audio = {"waveform": waveform.unsqueeze(0), "sample_rate": sample_rate}
return IO.NodeOutput(audio)
load = execute # TODO: remove
class TrimAudioDuration(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="TrimAudioDuration",
search_aliases=["cut audio", "audio clip", "shorten audio"],
display_name="Trim Audio Duration",
description="Trim audio tensor into chosen time range.",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.Float.Input(
"start_index",
default=0.0,
min=-0xffffffffffffffff,
max=0xffffffffffffffff,
step=0.01,
tooltip="Start time in seconds, can be negative to count from the end (supports sub-seconds).",
),
IO.Float.Input(
"duration",
default=60.0,
min=0.0,
step=0.01,
tooltip="Duration in seconds",
),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio, start_index, duration) -> IO.NodeOutput:
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
audio_length = waveform.shape[-1]
if start_index < 0:
start_frame = audio_length + int(round(start_index * sample_rate))
else:
start_frame = int(round(start_index * sample_rate))
start_frame = max(0, min(start_frame, audio_length - 1))
end_frame = start_frame + int(round(duration * sample_rate))
end_frame = max(0, min(end_frame, audio_length))
if start_frame >= end_frame:
raise ValueError("AudioTrim: Start time must be less than end time and be within the audio length.")
return IO.NodeOutput({"waveform": waveform[..., start_frame:end_frame], "sample_rate": sample_rate})
trim = execute # TODO: remove
class SplitAudioChannels(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="SplitAudioChannels",
search_aliases=["stereo to mono"],
display_name="Split Audio Channels",
description="Separates the audio into left and right channels.",
category="audio",
inputs=[
IO.Audio.Input("audio"),
],
outputs=[
IO.Audio.Output(display_name="left"),
IO.Audio.Output(display_name="right"),
],
)
@classmethod
def execute(cls, audio) -> IO.NodeOutput:
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
if waveform.shape[1] != 2:
raise ValueError("AudioSplit: Input audio has only one channel.")
left_channel = waveform[..., 0:1, :]
right_channel = waveform[..., 1:2, :]
return IO.NodeOutput({"waveform": left_channel, "sample_rate": sample_rate}, {"waveform": right_channel, "sample_rate": sample_rate})
separate = execute # TODO: remove
class JoinAudioChannels(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="JoinAudioChannels",
display_name="Join Audio Channels",
description="Joins left and right mono audio channels into a stereo audio.",
category="audio",
inputs=[
IO.Audio.Input("audio_left"),
IO.Audio.Input("audio_right"),
],
outputs=[
IO.Audio.Output(display_name="audio"),
],
)
@classmethod
def execute(cls, audio_left, audio_right) -> IO.NodeOutput:
waveform_left = audio_left["waveform"]
sample_rate_left = audio_left["sample_rate"]
waveform_right = audio_right["waveform"]
sample_rate_right = audio_right["sample_rate"]
if waveform_left.shape[1] != 1 or waveform_right.shape[1] != 1:
raise ValueError("AudioJoin: Both input audios must be mono.")
# Handle different sample rates by resampling to the higher rate
waveform_left, waveform_right, output_sample_rate = match_audio_sample_rates(
waveform_left, sample_rate_left, waveform_right, sample_rate_right
)
# Handle different lengths by trimming to the shorter length
length_left = waveform_left.shape[-1]
length_right = waveform_right.shape[-1]
if length_left != length_right:
min_length = min(length_left, length_right)
if length_left > min_length:
logging.info(f"JoinAudioChannels: Trimming left channel from {length_left} to {min_length} samples.")
waveform_left = waveform_left[..., :min_length]
if length_right > min_length:
logging.info(f"JoinAudioChannels: Trimming right channel from {length_right} to {min_length} samples.")
waveform_right = waveform_right[..., :min_length]
# Join the channels into stereo
left_channel = waveform_left[..., 0:1, :]
right_channel = waveform_right[..., 0:1, :]
stereo_waveform = torch.cat([left_channel, right_channel], dim=1)
return IO.NodeOutput({"waveform": stereo_waveform, "sample_rate": output_sample_rate})
def match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2):
if sample_rate_1 != sample_rate_2:
if sample_rate_1 > sample_rate_2:
waveform_2 = torchaudio.functional.resample(waveform_2, sample_rate_2, sample_rate_1)
output_sample_rate = sample_rate_1
logging.info(f"Resampling audio2 from {sample_rate_2}Hz to {sample_rate_1}Hz for merging.")
else:
waveform_1 = torchaudio.functional.resample(waveform_1, sample_rate_1, sample_rate_2)
output_sample_rate = sample_rate_2
logging.info(f"Resampling audio1 from {sample_rate_1}Hz to {sample_rate_2}Hz for merging.")
else:
output_sample_rate = sample_rate_1
return waveform_1, waveform_2, output_sample_rate
class AudioConcat(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioConcat",
search_aliases=["join audio", "combine audio", "append audio"],
display_name="Audio Concat",
description="Concatenates the audio1 to audio2 in the specified direction.",
category="audio",
inputs=[
IO.Audio.Input("audio1"),
IO.Audio.Input("audio2"),
IO.Combo.Input(
"direction",
options=['after', 'before'],
default="after",
tooltip="Whether to append audio2 after or before audio1.",
)
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio1, audio2, direction) -> IO.NodeOutput:
waveform_1 = audio1["waveform"]
waveform_2 = audio2["waveform"]
sample_rate_1 = audio1["sample_rate"]
sample_rate_2 = audio2["sample_rate"]
if waveform_1.shape[1] == 1:
waveform_1 = waveform_1.repeat(1, 2, 1)
logging.info("AudioConcat: Converted mono audio1 to stereo by duplicating the channel.")
if waveform_2.shape[1] == 1:
waveform_2 = waveform_2.repeat(1, 2, 1)
logging.info("AudioConcat: Converted mono audio2 to stereo by duplicating the channel.")
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
if direction == 'after':
concatenated_audio = torch.cat((waveform_1, waveform_2), dim=2)
elif direction == 'before':
concatenated_audio = torch.cat((waveform_2, waveform_1), dim=2)
return IO.NodeOutput({"waveform": concatenated_audio, "sample_rate": output_sample_rate})
concat = execute # TODO: remove
class AudioMerge(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioMerge",
search_aliases=["mix audio", "overlay audio", "layer audio"],
display_name="Audio Merge",
description="Combine two audio tracks by overlaying their waveforms.",
category="audio",
inputs=[
IO.Audio.Input("audio1"),
IO.Audio.Input("audio2"),
IO.Combo.Input(
"merge_method",
options=["add", "mean", "subtract", "multiply"],
tooltip="The method used to combine the audio waveforms.",
)
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio1, audio2, merge_method) -> IO.NodeOutput:
waveform_1 = audio1["waveform"]
waveform_2 = audio2["waveform"]
sample_rate_1 = audio1["sample_rate"]
sample_rate_2 = audio2["sample_rate"]
waveform_1, waveform_2, output_sample_rate = match_audio_sample_rates(waveform_1, sample_rate_1, waveform_2, sample_rate_2)
length_1 = waveform_1.shape[-1]
length_2 = waveform_2.shape[-1]
if length_2 > length_1:
logging.info(f"AudioMerge: Trimming audio2 from {length_2} to {length_1} samples to match audio1 length.")
waveform_2 = waveform_2[..., :length_1]
elif length_2 < length_1:
logging.info(f"AudioMerge: Padding audio2 from {length_2} to {length_1} samples to match audio1 length.")
pad_shape = list(waveform_2.shape)
pad_shape[-1] = length_1 - length_2
pad_tensor = torch.zeros(pad_shape, dtype=waveform_2.dtype, device=waveform_2.device)
waveform_2 = torch.cat((waveform_2, pad_tensor), dim=-1)
if merge_method == "add":
waveform = waveform_1 + waveform_2
elif merge_method == "subtract":
waveform = waveform_1 - waveform_2
elif merge_method == "multiply":
waveform = waveform_1 * waveform_2
elif merge_method == "mean":
waveform = (waveform_1 + waveform_2) / 2
max_val = waveform.abs().max()
if max_val > 1.0:
waveform = waveform / max_val
return IO.NodeOutput({"waveform": waveform, "sample_rate": output_sample_rate})
merge = execute # TODO: remove
class AudioAdjustVolume(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="AudioAdjustVolume",
search_aliases=["audio gain", "loudness", "audio level"],
display_name="Audio Adjust Volume",
category="audio",
inputs=[
IO.Audio.Input("audio"),
IO.Int.Input(
"volume",
default=1,
min=-100,
max=100,
tooltip="Volume adjustment in decibels (dB). 0 = no change, +6 = double, -6 = half, etc",
)
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, audio, volume) -> IO.NodeOutput:
if volume == 0:
return IO.NodeOutput(audio)
waveform = audio["waveform"]
sample_rate = audio["sample_rate"]
gain = 10 ** (volume / 20)
waveform = waveform * gain
return IO.NodeOutput({"waveform": waveform, "sample_rate": sample_rate})
adjust_volume = execute # TODO: remove
class EmptyAudio(IO.ComfyNode):
@classmethod
def define_schema(cls):
return IO.Schema(
node_id="EmptyAudio",
search_aliases=["blank audio"],
display_name="Empty Audio",
category="audio",
inputs=[
IO.Float.Input(
"duration",
default=60.0,
min=0.0,
max=0xffffffffffffffff,
step=0.01,
tooltip="Duration of the empty audio clip in seconds",
),
IO.Int.Input(
"sample_rate",
default=44100,
tooltip="Sample rate of the empty audio clip.",
min=1,
max=192000,
),
IO.Int.Input(
"channels",
default=2,
min=1,
max=2,
tooltip="Number of audio channels (1 for mono, 2 for stereo).",
),
],
outputs=[IO.Audio.Output()],
)
@classmethod
def execute(cls, duration, sample_rate, channels) -> IO.NodeOutput:
num_samples = int(round(duration * sample_rate))
waveform = torch.zeros((1, channels, num_samples), dtype=torch.float32)
return IO.NodeOutput({"waveform": waveform, "sample_rate": sample_rate})
create_empty_audio = execute # TODO: remove
class AudioExtension(ComfyExtension):
@override
async def get_node_list(self) -> list[type[IO.ComfyNode]]:
return [
EmptyLatentAudio,
VAEEncodeAudio,
VAEDecodeAudio,
SaveAudio,
SaveAudioMP3,
SaveAudioOpus,
LoadAudio,
PreviewAudio,
ConditioningStableAudio,
RecordAudio,
TrimAudioDuration,
SplitAudioChannels,
JoinAudioChannels,
AudioConcat,
AudioMerge,
AudioAdjustVolume,
EmptyAudio,
]
async def comfy_entrypoint() -> AudioExtension:
return AudioExtension()
@@ -0,0 +1,330 @@
import comfy.sd
import comfy.model_sampling
import comfy.latent_formats
import nodes
import torch
import node_helpers
class LCM(comfy.model_sampling.EPS):
def calculate_denoised(self, sigma, model_output, model_input):
timestep = self.timestep(sigma).view(sigma.shape[:1] + (1,) * (model_output.ndim - 1))
sigma = sigma.view(sigma.shape[:1] + (1,) * (model_output.ndim - 1))
x0 = model_input - model_output * sigma
sigma_data = 0.5
scaled_timestep = timestep * 10.0 #timestep_scaling
c_skip = sigma_data**2 / (scaled_timestep**2 + sigma_data**2)
c_out = scaled_timestep / (scaled_timestep**2 + sigma_data**2) ** 0.5
return c_out * x0 + c_skip * model_input
class ModelSamplingDiscreteDistilled(comfy.model_sampling.ModelSamplingDiscrete):
original_timesteps = 50
def __init__(self, model_config=None, zsnr=None):
super().__init__(model_config, zsnr=zsnr)
self.skip_steps = self.num_timesteps // self.original_timesteps
sigmas_valid = torch.zeros((self.original_timesteps), dtype=torch.float32)
for x in range(self.original_timesteps):
sigmas_valid[self.original_timesteps - 1 - x] = self.sigmas[self.num_timesteps - 1 - x * self.skip_steps]
self.set_sigmas(sigmas_valid)
def timestep(self, sigma):
log_sigma = sigma.log()
dists = log_sigma.to(self.log_sigmas.device) - self.log_sigmas[:, None]
return (dists.abs().argmin(dim=0).view(sigma.shape) * self.skip_steps + (self.skip_steps - 1)).to(sigma.device)
def sigma(self, timestep):
t = torch.clamp(((timestep.float().to(self.log_sigmas.device) - (self.skip_steps - 1)) / self.skip_steps).float(), min=0, max=(len(self.sigmas) - 1))
low_idx = t.floor().long()
high_idx = t.ceil().long()
w = t.frac()
log_sigma = (1 - w) * self.log_sigmas[low_idx] + w * self.log_sigmas[high_idx]
return log_sigma.exp().to(timestep.device)
class ModelSamplingDiscrete:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["eps", "v_prediction", "lcm", "x0", "img_to_img"],),
"zsnr": ("BOOLEAN", {"default": False}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, sampling, zsnr):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingDiscrete
if sampling == "eps":
sampling_type = comfy.model_sampling.EPS
elif sampling == "v_prediction":
sampling_type = comfy.model_sampling.V_PREDICTION
elif sampling == "lcm":
sampling_type = LCM
sampling_base = ModelSamplingDiscreteDistilled
elif sampling == "x0":
sampling_type = comfy.model_sampling.X0
elif sampling == "img_to_img":
sampling_type = comfy.model_sampling.IMG_TO_IMG
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config, zsnr=zsnr)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingStableCascade:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"shift": ("FLOAT", {"default": 2.0, "min": 0.0, "max": 100.0, "step":0.01}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, shift):
m = model.clone()
sampling_base = comfy.model_sampling.StableCascadeSampling
sampling_type = comfy.model_sampling.EPS
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingSD3:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"shift": ("FLOAT", {"default": 3.0, "min": 0.0, "max": 100.0, "step":0.01}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, shift, multiplier=1000):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingDiscreteFlow
sampling_type = comfy.model_sampling.CONST
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift=shift, multiplier=multiplier)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingAuraFlow(ModelSamplingSD3):
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"shift": ("FLOAT", {"default": 1.73, "min": 0.0, "max": 100.0, "step":0.01}),
}}
FUNCTION = "patch_aura"
def patch_aura(self, model, shift):
return self.patch(model, shift, multiplier=1.0)
class ModelSamplingFlux:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"max_shift": ("FLOAT", {"default": 1.15, "min": 0.0, "max": 100.0, "step":0.01}),
"base_shift": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 100.0, "step":0.01}),
"width": ("INT", {"default": 1024, "min": 16, "max": nodes.MAX_RESOLUTION, "step": 8}),
"height": ("INT", {"default": 1024, "min": 16, "max": nodes.MAX_RESOLUTION, "step": 8}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, max_shift, base_shift, width, height):
m = model.clone()
x1 = 256
x2 = 4096
mm = (max_shift - base_shift) / (x2 - x1)
b = base_shift - mm * x1
shift = (width * height / (8 * 8 * 2 * 2)) * mm + b
sampling_base = comfy.model_sampling.ModelSamplingFlux
sampling_type = comfy.model_sampling.CONST
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(shift=shift)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class ModelSamplingContinuousEDM:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["v_prediction", "edm", "edm_playground_v2.5", "eps", "cosmos_rflow"],),
"sigma_max": ("FLOAT", {"default": 120.0, "min": 0.0, "max": 1000.0, "step":0.001, "round": False}),
"sigma_min": ("FLOAT", {"default": 0.002, "min": 0.0, "max": 1000.0, "step":0.001, "round": False}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, sampling, sigma_max, sigma_min):
m = model.clone()
sampling_base = comfy.model_sampling.ModelSamplingContinuousEDM
latent_format = None
sigma_data = 1.0
if sampling == "eps":
sampling_type = comfy.model_sampling.EPS
elif sampling == "edm":
sampling_type = comfy.model_sampling.EDM
sigma_data = 0.5
elif sampling == "v_prediction":
sampling_type = comfy.model_sampling.V_PREDICTION
elif sampling == "edm_playground_v2.5":
sampling_type = comfy.model_sampling.EDM
sigma_data = 0.5
latent_format = comfy.latent_formats.SDXL_Playground_2_5()
elif sampling == "cosmos_rflow":
sampling_type = comfy.model_sampling.COSMOS_RFLOW
sampling_base = comfy.model_sampling.ModelSamplingCosmosRFlow
class ModelSamplingAdvanced(sampling_base, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(sigma_min, sigma_max, sigma_data)
m.add_object_patch("model_sampling", model_sampling)
if latent_format is not None:
m.add_object_patch("latent_format", latent_format)
return (m, )
class ModelSamplingContinuousV:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"sampling": (["v_prediction"],),
"sigma_max": ("FLOAT", {"default": 500.0, "min": 0.0, "max": 1000.0, "step":0.001, "round": False}),
"sigma_min": ("FLOAT", {"default": 0.03, "min": 0.0, "max": 1000.0, "step":0.001, "round": False}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, sampling, sigma_max, sigma_min):
m = model.clone()
sigma_data = 1.0
if sampling == "v_prediction":
sampling_type = comfy.model_sampling.V_PREDICTION
class ModelSamplingAdvanced(comfy.model_sampling.ModelSamplingContinuousV, sampling_type):
pass
model_sampling = ModelSamplingAdvanced(model.model.model_config)
model_sampling.set_parameters(sigma_min, sigma_max, sigma_data)
m.add_object_patch("model_sampling", model_sampling)
return (m, )
class RescaleCFG:
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"multiplier": ("FLOAT", {"default": 0.7, "min": 0.0, "max": 1.0, "step": 0.01}),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/model"
def patch(self, model, multiplier):
def rescale_cfg(args):
cond = args["cond"]
uncond = args["uncond"]
cond_scale = args["cond_scale"]
sigma = args["sigma"]
sigma = sigma.view(sigma.shape[:1] + (1,) * (cond.ndim - 1))
x_orig = args["input"]
#rescale cfg has to be done on v-pred model output
x = x_orig / (sigma * sigma + 1.0)
cond = ((x - (x_orig - cond)) * (sigma ** 2 + 1.0) ** 0.5) / (sigma)
uncond = ((x - (x_orig - uncond)) * (sigma ** 2 + 1.0) ** 0.5) / (sigma)
#rescalecfg
x_cfg = uncond + cond_scale * (cond - uncond)
ro_pos = torch.std(cond, dim=(1,2,3), keepdim=True)
ro_cfg = torch.std(x_cfg, dim=(1,2,3), keepdim=True)
x_rescaled = x_cfg * (ro_pos / ro_cfg)
x_final = multiplier * x_rescaled + (1.0 - multiplier) * x_cfg
return x_orig - (x - x_final * sigma / (sigma * sigma + 1.0) ** 0.5)
m = model.clone()
m.set_model_sampler_cfg_function(rescale_cfg)
return (m, )
class ModelComputeDtype:
SEARCH_ALIASES = ["model precision", "change dtype"]
@classmethod
def INPUT_TYPES(s):
return {"required": { "model": ("MODEL",),
"dtype": (["default", "fp32", "fp16", "bf16"],),
}}
RETURN_TYPES = ("MODEL",)
FUNCTION = "patch"
CATEGORY = "advanced/debug/model"
def patch(self, model, dtype):
m = model.clone()
m.set_model_compute_dtype(node_helpers.string_to_torch_dtype(dtype))
return (m, )
NODE_CLASS_MAPPINGS = {
"ModelSamplingDiscrete": ModelSamplingDiscrete,
"ModelSamplingContinuousEDM": ModelSamplingContinuousEDM,
"ModelSamplingContinuousV": ModelSamplingContinuousV,
"ModelSamplingStableCascade": ModelSamplingStableCascade,
"ModelSamplingSD3": ModelSamplingSD3,
"ModelSamplingAuraFlow": ModelSamplingAuraFlow,
"ModelSamplingFlux": ModelSamplingFlux,
"RescaleCFG": RescaleCFG,
"ModelComputeDtype": ModelComputeDtype,
}
@@ -0,0 +1,496 @@
from __future__ import annotations
import os
import time
import mimetypes
import logging
from typing import Literal, List
from collections.abc import Collection
from comfy.cli_args import args
supported_pt_extensions: set[str] = {'.ckpt', '.pt', '.pt2', '.bin', '.pth', '.safetensors', '.pkl', '.sft'}
folder_names_and_paths: dict[str, tuple[list[str], set[str]]] = {}
# --base-directory - Resets all default paths configured in folder_paths with a new base path
if args.base_directory:
base_path = os.path.abspath(args.base_directory)
else:
base_path = os.path.dirname(os.path.realpath(__file__))
models_dir = os.path.join(base_path, "models")
folder_names_and_paths["checkpoints"] = ([os.path.join(models_dir, "checkpoints")], supported_pt_extensions)
folder_names_and_paths["configs"] = ([os.path.join(models_dir, "configs")], [".yaml"])
folder_names_and_paths["loras"] = ([os.path.join(models_dir, "loras")], supported_pt_extensions)
folder_names_and_paths["vae"] = ([os.path.join(models_dir, "vae")], supported_pt_extensions)
folder_names_and_paths["text_encoders"] = ([os.path.join(models_dir, "text_encoders"), os.path.join(models_dir, "clip")], supported_pt_extensions)
folder_names_and_paths["diffusion_models"] = ([os.path.join(models_dir, "unet"), os.path.join(models_dir, "diffusion_models")], supported_pt_extensions)
folder_names_and_paths["clip_vision"] = ([os.path.join(models_dir, "clip_vision")], supported_pt_extensions)
folder_names_and_paths["style_models"] = ([os.path.join(models_dir, "style_models")], supported_pt_extensions)
folder_names_and_paths["embeddings"] = ([os.path.join(models_dir, "embeddings")], supported_pt_extensions)
folder_names_and_paths["diffusers"] = ([os.path.join(models_dir, "diffusers")], ["folder"])
folder_names_and_paths["vae_approx"] = ([os.path.join(models_dir, "vae_approx")], supported_pt_extensions)
folder_names_and_paths["controlnet"] = ([os.path.join(models_dir, "controlnet"), os.path.join(models_dir, "t2i_adapter")], supported_pt_extensions)
folder_names_and_paths["gligen"] = ([os.path.join(models_dir, "gligen")], supported_pt_extensions)
folder_names_and_paths["upscale_models"] = ([os.path.join(models_dir, "upscale_models")], supported_pt_extensions)
folder_names_and_paths["latent_upscale_models"] = ([os.path.join(models_dir, "latent_upscale_models")], supported_pt_extensions)
folder_names_and_paths["custom_nodes"] = ([os.path.join(base_path, "custom_nodes")], set())
folder_names_and_paths["hypernetworks"] = ([os.path.join(models_dir, "hypernetworks")], supported_pt_extensions)
folder_names_and_paths["photomaker"] = ([os.path.join(models_dir, "photomaker")], supported_pt_extensions)
folder_names_and_paths["classifiers"] = ([os.path.join(models_dir, "classifiers")], {""})
folder_names_and_paths["model_patches"] = ([os.path.join(models_dir, "model_patches")], supported_pt_extensions)
folder_names_and_paths["audio_encoders"] = ([os.path.join(models_dir, "audio_encoders")], supported_pt_extensions)
output_directory = os.path.join(base_path, "output")
temp_directory = os.path.join(base_path, "temp")
input_directory = os.path.join(base_path, "input")
user_directory = os.path.join(base_path, "user")
filename_list_cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
class CacheHelper:
"""
Helper class for managing file list cache data.
"""
def __init__(self):
self.cache: dict[str, tuple[list[str], dict[str, float], float]] = {}
self.active = False
def get(self, key: str, default=None) -> tuple[list[str], dict[str, float], float]:
if not self.active:
return default
return self.cache.get(key, default)
def set(self, key: str, value: tuple[list[str], dict[str, float], float]) -> None:
if self.active:
self.cache[key] = value
def clear(self):
self.cache.clear()
def __enter__(self):
self.active = True
return self
def __exit__(self, exc_type, exc_value, traceback):
self.active = False
self.clear()
cache_helper = CacheHelper()
extension_mimetypes_cache = {
"webp" : "image",
"fbx" : "model",
}
def map_legacy(folder_name: str) -> str:
legacy = {"unet": "diffusion_models",
"clip": "text_encoders"}
return legacy.get(folder_name, folder_name)
if not os.path.exists(input_directory):
try:
os.makedirs(input_directory)
except:
logging.error("Failed to create input directory")
def set_output_directory(output_dir: str) -> None:
global output_directory
output_directory = output_dir
def set_temp_directory(temp_dir: str) -> None:
global temp_directory
temp_directory = temp_dir
def set_input_directory(input_dir: str) -> None:
global input_directory
input_directory = input_dir
def get_output_directory() -> str:
global output_directory
return output_directory
def get_temp_directory() -> str:
global temp_directory
return temp_directory
def get_input_directory() -> str:
global input_directory
return input_directory
def get_user_directory() -> str:
return user_directory
def set_user_directory(user_dir: str) -> None:
global user_directory
user_directory = user_dir
# System User Protection - Protects system directories from HTTP endpoint access
# System Users are internal-only users that cannot be accessed via HTTP endpoints.
# They use the '__' prefix convention (similar to Python's private member convention).
SYSTEM_USER_PREFIX = "__"
def get_system_user_directory(name: str = "system") -> str:
"""
Get the path to a System User directory.
System User directories (prefixed with '__') are only accessible via internal API,
not through HTTP endpoints. Use this for storing system-internal data that
should not be exposed to users.
Args:
name: System user name (e.g., "system", "cache"). Must be alphanumeric
with underscores allowed, but cannot start with underscore.
Returns:
Absolute path to the system user directory.
Raises:
ValueError: If name is empty, invalid, or starts with underscore.
Example:
>>> get_system_user_directory("cache")
'/path/to/user/__cache'
"""
if not name or not isinstance(name, str):
raise ValueError("System user name cannot be empty")
if not name.replace("_", "").isalnum():
raise ValueError(f"Invalid system user name: '{name}'")
if name.startswith("_"):
raise ValueError("System user name should not start with underscore")
return os.path.join(get_user_directory(), f"{SYSTEM_USER_PREFIX}{name}")
def get_public_user_directory(user_id: str) -> str | None:
"""
Get the path to a Public User directory for HTTP endpoint access.
This function provides structural security by returning None for any
System User (prefixed with '__'). All HTTP endpoints should use this
function instead of directly constructing user paths.
Args:
user_id: User identifier from HTTP request.
Returns:
Absolute path to the user directory, or None if user_id is invalid
or refers to a System User.
Example:
>>> get_public_user_directory("default")
'/path/to/user/default'
>>> get_public_user_directory("__system")
None
"""
if not user_id or not isinstance(user_id, str):
return None
if user_id.startswith(SYSTEM_USER_PREFIX):
return None
return os.path.join(get_user_directory(), user_id)
#NOTE: used in http server so don't put folders that should not be accessed remotely
def get_directory_by_type(type_name: str) -> str | None:
if type_name == "output":
return get_output_directory()
if type_name == "temp":
return get_temp_directory()
if type_name == "input":
return get_input_directory()
return None
def filter_files_content_types(files: list[str], content_types: List[Literal["image", "video", "audio", "model"]]) -> list[str]:
"""
Example:
files = os.listdir(folder_paths.get_input_directory())
videos = filter_files_content_types(files, ["video"])
Note:
- 'model' in MIME context refers to 3D models, not files containing trained weights and parameters
"""
global extension_mimetypes_cache
result = []
for file in files:
extension = file.split('.')[-1]
if extension not in extension_mimetypes_cache:
mime_type, _ = mimetypes.guess_type(file, strict=False)
if not mime_type:
continue
content_type = mime_type.split('/')[0]
extension_mimetypes_cache[extension] = content_type
else:
content_type = extension_mimetypes_cache[extension]
if content_type in content_types:
result.append(file)
return result
# determine base_dir rely on annotation if name is 'filename.ext [annotation]' format
# otherwise use default_path as base_dir
def annotated_filepath(name: str) -> tuple[str, str | None]:
if name.endswith("[output]"):
base_dir = get_output_directory()
name = name[:-9]
elif name.endswith("[input]"):
base_dir = get_input_directory()
name = name[:-8]
elif name.endswith("[temp]"):
base_dir = get_temp_directory()
name = name[:-7]
else:
return name, None
return name, base_dir
def get_annotated_filepath(name: str, default_dir: str | None=None) -> str:
name, base_dir = annotated_filepath(name)
if base_dir is None:
if default_dir is not None:
base_dir = default_dir
else:
base_dir = get_input_directory() # fallback path
return os.path.join(base_dir, name)
def exists_annotated_filepath(name) -> bool:
name, base_dir = annotated_filepath(name)
if base_dir is None:
base_dir = get_input_directory() # fallback path
filepath = os.path.join(base_dir, name)
return os.path.exists(filepath)
def add_model_folder_path(folder_name: str, full_folder_path: str, is_default: bool = False) -> None:
global folder_names_and_paths
folder_name = map_legacy(folder_name)
if folder_name in folder_names_and_paths:
paths, _exts = folder_names_and_paths[folder_name]
if full_folder_path in paths:
if is_default and paths[0] != full_folder_path:
# If the path to the folder is not the first in the list, move it to the beginning.
paths.remove(full_folder_path)
paths.insert(0, full_folder_path)
else:
if is_default:
paths.insert(0, full_folder_path)
else:
paths.append(full_folder_path)
else:
folder_names_and_paths[folder_name] = ([full_folder_path], set())
def get_folder_paths(folder_name: str) -> list[str]:
folder_name = map_legacy(folder_name)
return folder_names_and_paths[folder_name][0][:]
def recursive_search(directory: str, excluded_dir_names: list[str] | None=None) -> tuple[list[str], dict[str, float]]:
if not os.path.isdir(directory):
return [], {}
if excluded_dir_names is None:
excluded_dir_names = []
result = []
dirs = {}
# Attempt to add the initial directory to dirs with error handling
try:
dirs[directory] = os.path.getmtime(directory)
except FileNotFoundError:
logging.warning(f"Warning: Unable to access {directory}. Skipping this path.")
logging.debug("recursive file list on directory {}".format(directory))
dirpath: str
subdirs: list[str]
filenames: list[str]
for dirpath, subdirs, filenames in os.walk(directory, followlinks=True, topdown=True):
subdirs[:] = [d for d in subdirs if d not in excluded_dir_names]
for file_name in filenames:
try:
relative_path = os.path.relpath(os.path.join(dirpath, file_name), directory)
result.append(relative_path)
except:
logging.warning(f"Warning: Unable to access {file_name}. Skipping this file.")
continue
for d in subdirs:
path: str = os.path.join(dirpath, d)
try:
dirs[path] = os.path.getmtime(path)
except FileNotFoundError:
logging.warning(f"Warning: Unable to access {path}. Skipping this path.")
continue
logging.debug("found {} files".format(len(result)))
return result, dirs
def filter_files_extensions(files: Collection[str], extensions: Collection[str]) -> list[str]:
return sorted(list(filter(lambda a: os.path.splitext(a)[-1].lower() in extensions or len(extensions) == 0, files)))
def get_full_path(folder_name: str, filename: str) -> str | None:
"""
Get the full path of a file in a folder, has to be a file
"""
global folder_names_and_paths
folder_name = map_legacy(folder_name)
if folder_name not in folder_names_and_paths:
return None
folders = folder_names_and_paths[folder_name]
filename = os.path.relpath(os.path.join("/", filename), "/")
for x in folders[0]:
full_path = os.path.join(x, filename)
if os.path.isfile(full_path):
return full_path
elif os.path.islink(full_path):
logging.warning("WARNING path {} exists but doesn't link anywhere, skipping.".format(full_path))
return None
def get_full_path_or_raise(folder_name: str, filename: str) -> str:
"""
Get the full path of a file in a folder, has to be a file
"""
full_path = get_full_path(folder_name, filename)
if full_path is None:
raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.")
return full_path
def get_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float]:
folder_name = map_legacy(folder_name)
global folder_names_and_paths
output_list = set()
folders = folder_names_and_paths[folder_name]
output_folders = {}
for x in folders[0]:
files, folders_all = recursive_search(x, excluded_dir_names=[".git"])
output_list.update(filter_files_extensions(files, folders[1]))
output_folders = {**output_folders, **folders_all}
return sorted(list(output_list)), output_folders, time.perf_counter()
def cached_filename_list_(folder_name: str) -> tuple[list[str], dict[str, float], float] | None:
strong_cache = cache_helper.get(folder_name)
if strong_cache is not None:
return strong_cache
global filename_list_cache
global folder_names_and_paths
folder_name = map_legacy(folder_name)
if folder_name not in filename_list_cache:
return None
out = filename_list_cache[folder_name]
for x in out[1]:
time_modified = out[1][x]
folder = x
if os.path.getmtime(folder) != time_modified:
return None
folders = folder_names_and_paths[folder_name]
for x in folders[0]:
if os.path.isdir(x):
if x not in out[1]:
return None
return out
def get_filename_list(folder_name: str) -> list[str]:
folder_name = map_legacy(folder_name)
out = cached_filename_list_(folder_name)
if out is None:
out = get_filename_list_(folder_name)
global filename_list_cache
filename_list_cache[folder_name] = out
cache_helper.set(folder_name, out)
return list(out[0])
def get_save_image_path(filename_prefix: str, output_dir: str, image_width=0, image_height=0) -> tuple[str, str, int, str, str]:
def map_filename(filename: str) -> tuple[int, str]:
prefix_len = len(os.path.basename(filename_prefix))
prefix = filename[:prefix_len + 1]
try:
digits = int(filename[prefix_len + 1:].split('_')[0])
except:
digits = 0
return digits, prefix
def compute_vars(input: str, image_width: int, image_height: int) -> str:
input = input.replace("%width%", str(image_width))
input = input.replace("%height%", str(image_height))
now = time.localtime()
input = input.replace("%year%", str(now.tm_year))
input = input.replace("%month%", str(now.tm_mon).zfill(2))
input = input.replace("%day%", str(now.tm_mday).zfill(2))
input = input.replace("%hour%", str(now.tm_hour).zfill(2))
input = input.replace("%minute%", str(now.tm_min).zfill(2))
input = input.replace("%second%", str(now.tm_sec).zfill(2))
return input
if "%" in filename_prefix:
filename_prefix = compute_vars(filename_prefix, image_width, image_height)
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
filename = os.path.basename(os.path.normpath(filename_prefix))
full_output_folder = os.path.join(output_dir, subfolder)
if os.path.commonpath((output_dir, os.path.abspath(full_output_folder))) != output_dir:
err = "**** ERROR: Saving image outside the output folder is not allowed." + \
"\n full_output_folder: " + os.path.abspath(full_output_folder) + \
"\n output_dir: " + output_dir + \
"\n commonpath: " + os.path.commonpath((output_dir, os.path.abspath(full_output_folder)))
logging.error(err)
raise Exception(err)
try:
counter = max(filter(lambda a: os.path.normcase(a[1][:-1]) == os.path.normcase(filename) and a[1][-1] == "_", map(map_filename, os.listdir(full_output_folder))))[0] + 1
except ValueError:
counter = 1
except FileNotFoundError:
os.makedirs(full_output_folder, exist_ok=True)
counter = 1
return full_output_folder, filename, counter, subfolder, filename_prefix
def get_input_subfolders() -> list[str]:
"""Returns a list of all subfolder paths in the input directory, recursively.
Returns:
List of folder paths relative to the input directory, excluding the root directory
"""
input_dir = get_input_directory()
folders = []
try:
if not os.path.exists(input_dir):
return []
for root, dirs, _ in os.walk(input_dir):
rel_path = os.path.relpath(root, input_dir)
if rel_path != ".": # Only include non-root directories
# Normalize path separators to forward slashes
folders.append(rel_path.replace(os.sep, '/'))
return sorted(folders)
except FileNotFoundError:
return []
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,6 @@
tree 12c141b4c99138cd6beb2d5197574b9fe264bc74
parent efcdf631d1be8a6cdf7246698ea13eefb7dff7ea
author Suzie1 <7.lyssa@gmail.com> 1706136249 +0000
committer Suzie1 <7.lyssa@gmail.com> 1706136249 +0000
version 1.76
@@ -0,0 +1,762 @@
{
"sha": "12c141b4c99138cd6beb2d5197574b9fe264bc74",
"truncated": false,
"tree": [
{
"path": "Patch_Notes.md",
"mode": "100644",
"type": "blob",
"sha": "b5f3012c31e6c6a6d54f6655db2d8a7570690e12"
},
{
"path": "README.md",
"mode": "100644",
"type": "blob",
"sha": "38ef95ca4ea4cd87c2289f078aec1a98093e328c"
},
{
"path": "__init__.py",
"mode": "100644",
"type": "blob",
"sha": "e5af18356e8765423954ea7c7d22b4f32fcdd9c0"
},
{
"path": "categories.py",
"mode": "100644",
"type": "blob",
"sha": "db903be91ab290045d221884d90559c420c74bb4"
},
{
"path": "config.py",
"mode": "100644",
"type": "blob",
"sha": "bd6eebacecfa67ebf7ebbf955e3d2f7c3a58a9de"
},
{
"path": "fonts/AlumniSansCollegiateOne-Regular.ttf",
"mode": "100644",
"type": "blob",
"sha": "047451fa81fd6faaa8365ef45ddab3459b7ad655"
},
{
"path": "fonts/Caveat-VariableFont_wght.ttf",
"mode": "100644",
"type": "blob",
"sha": "0ae4d99195f586f5e73365d85beb68cfcfa050a4"
},
{
"path": "fonts/NotoSansArabic-Regular.ttf",
"mode": "100644",
"type": "blob",
"sha": "79359c460b13e94945a8700227dabdc790091c0e"
},
{
"path": "fonts/Oswald-Bold.ttf",
"mode": "100644",
"type": "blob",
"sha": "b9c6e3767357f4bf5016a21dc0b6015d08be3c99"
},
{
"path": "fonts/PixelifySans-Bold.ttf",
"mode": "100644",
"type": "blob",
"sha": "4d8aeb670dc228fe48a6e90366bae9f0d6930f4c"
},
{
"path": "fonts/Quicksand-Bold.ttf",
"mode": "100644",
"type": "blob",
"sha": "07d5127c04b17a9a62121d12aeb00b701e920500"
},
{
"path": "fonts/Roboto-Regular.ttf",
"mode": "100644",
"type": "blob",
"sha": "3033308a695ab4efa60441c23f2c18aaa94c568f"
},
{
"path": "fonts/YoungSerif-Regular.ttf",
"mode": "100644",
"type": "blob",
"sha": "f454fbedd4c8b00833d17fffa1f89acb5149b02c"
},
{
"path": "fonts/comic.ttf",
"mode": "100644",
"type": "blob",
"sha": "2d8e9ca9ce1216331f7d665090eb5678bacdd614"
},
{
"path": "fonts/impact.ttf",
"mode": "100644",
"type": "blob",
"sha": "2675688cd0e23bec6295d5d218b8be276705468c"
},
{
"path": "node_mappings.py",
"mode": "100644",
"type": "blob",
"sha": "a4a1bc4ff001961a64e24bcfa59de528fbc8a6ea"
},
{
"path": "nodes/functions.py",
"mode": "100644",
"type": "blob",
"sha": "68e9d2af7f029b6acbd75f051ce0a43dae98b420"
},
{
"path": "nodes/functions_animation.py",
"mode": "100644",
"type": "blob",
"sha": "890fb851fc0dcbd29e043c273dd518ade8164905"
},
{
"path": "nodes/functions_graphics.py",
"mode": "100644",
"type": "blob",
"sha": "afb0c13cc8b759ef4bd33ed0f65e5253097dfe20"
},
{
"path": "nodes/functions_json.py",
"mode": "100644",
"type": "blob",
"sha": "b607c90f7836876b5a0a0e31a22f7c6953cf2453"
},
{
"path": "nodes/functions_upscale.py",
"mode": "100644",
"type": "blob",
"sha": "2c25f0354fa53f4863aefd396963c917b320901f"
},
{
"path": "nodes/functions_xygrid.py",
"mode": "100644",
"type": "blob",
"sha": "100514ef43ded252d47cefb7c3f042152e199a06"
},
{
"path": "nodes/nodes_animation_cyclers.py",
"mode": "100644",
"type": "blob",
"sha": "58a584830a74d9acad0fe5b094ca401225e098a6"
},
{
"path": "nodes/nodes_animation_interpolation.py",
"mode": "100644",
"type": "blob",
"sha": "f328e4c014a18868ee3fa70ac00ab9dd4105036d"
},
{
"path": "nodes/nodes_animation_io.py",
"mode": "100644",
"type": "blob",
"sha": "8dfba06cf16ec4500ba3ac90aafa39a0cbbf2101"
},
{
"path": "nodes/nodes_animation_lists.py",
"mode": "100644",
"type": "blob",
"sha": "45b1c02e3558a213fdc505f0cf99bed9aee0f27c"
},
{
"path": "nodes/nodes_animation_prompt.py",
"mode": "100644",
"type": "blob",
"sha": "974017f3ecb68ec437655a04cb29530af42b0366"
},
{
"path": "nodes/nodes_animation_schedulers.py",
"mode": "100644",
"type": "blob",
"sha": "b3bd459fc472397dab5b9bb2f00f9f7c92ce7609"
},
{
"path": "nodes/nodes_animation_schedules.py",
"mode": "100644",
"type": "blob",
"sha": "2fab92eabf18a2091b52437587c9de7667883d97"
},
{
"path": "nodes/nodes_animation_utils.py",
"mode": "100644",
"type": "blob",
"sha": "694066b43a09f8c6c0f0c10aeddcd304cbbcc91a"
},
{
"path": "nodes/nodes_aspect_ratio.py",
"mode": "100644",
"type": "blob",
"sha": "f276f3103df1eddc789ea4001596b853932fd8c2"
},
{
"path": "nodes/nodes_controlnet.py",
"mode": "100644",
"type": "blob",
"sha": "00a262dded05e01825625a0d2fed27605149e3bc"
},
{
"path": "nodes/nodes_core.py",
"mode": "100644",
"type": "blob",
"sha": "02af795eace2b04226fcecd2df0c85db544caa37"
},
{
"path": "nodes/nodes_graphics_filter.py",
"mode": "100644",
"type": "blob",
"sha": "bcc929e9cbed5980f336bcb503d0cda72c0bbe43"
},
{
"path": "nodes/nodes_graphics_layout.py",
"mode": "100644",
"type": "blob",
"sha": "82fa36bf39dcb885dc058c7fee418251870ec5fe"
},
{
"path": "nodes/nodes_graphics_matplot.py",
"mode": "100644",
"type": "blob",
"sha": "8464b063c7ddd12db0b4ddb1a04daf943c957947"
},
{
"path": "nodes/nodes_graphics_pattern.py",
"mode": "100644",
"type": "blob",
"sha": "dc8cd728cb44a4e3327fec891742aeb9aebda52a"
},
{
"path": "nodes/nodes_graphics_template.py",
"mode": "100644",
"type": "blob",
"sha": "676d535cf9488848392b33ae8fb86362ba960b35"
},
{
"path": "nodes/nodes_graphics_text.py",
"mode": "100644",
"type": "blob",
"sha": "0ce1f5a742132c50c00be37829de45151fb31582"
},
{
"path": "nodes/nodes_legacy.py",
"mode": "100644",
"type": "blob",
"sha": "4f4b98d81549b3576dbbb249326dbcb7990c9815"
},
{
"path": "nodes/nodes_list.py",
"mode": "100644",
"type": "blob",
"sha": "7eb02ad9cca34aaeeda120f505c9e99f83b3d02e"
},
{
"path": "nodes/nodes_lora.py",
"mode": "100644",
"type": "blob",
"sha": "9bb233ed6858e5f3c04f166c44d122c0f19974dc"
},
{
"path": "nodes/nodes_model_merge.py",
"mode": "100644",
"type": "blob",
"sha": "1293dd52a235c7d666e85edda27aa6f173f1032a"
},
{
"path": "nodes/nodes_pipe.py",
"mode": "100644",
"type": "blob",
"sha": "a22a00f7b96bf5653382d2bb8633b7de68a6adbc"
},
{
"path": "nodes/nodes_sdxl.py",
"mode": "100644",
"type": "blob",
"sha": "4bd4bea38651216c2bd8c6ab28f142c850f3dbe3"
},
{
"path": "nodes/nodes_upscale.py",
"mode": "100644",
"type": "blob",
"sha": "a94ee4813bc96b7d399d975a6afca6096c25575e"
},
{
"path": "nodes/nodes_utils_conversion.py",
"mode": "100644",
"type": "blob",
"sha": "27a8ea7e58e84e24466a0cccc1d234c4deff2b73"
},
{
"path": "nodes/nodes_utils_index.py",
"mode": "100644",
"type": "blob",
"sha": "c89392a1f5b1b7212dea121211a58ef1b7cdf4e6"
},
{
"path": "nodes/nodes_utils_logic.py",
"mode": "100644",
"type": "blob",
"sha": "a82a05fa85ceebda81d16e301fea27316afab455"
},
{
"path": "nodes/nodes_utils_other.py",
"mode": "100644",
"type": "blob",
"sha": "be415bebc13303b2f491744d42878326d1f21e23"
},
{
"path": "nodes/nodes_utils_random.py",
"mode": "100644",
"type": "blob",
"sha": "4661c91bca72c3c3a4fdbb935cacc84b51a22014"
},
{
"path": "nodes/nodes_utils_text.py",
"mode": "100644",
"type": "blob",
"sha": "0d8995f482b4316f1cc2a529366c6bec297b301b"
},
{
"path": "nodes/nodes_xygrid.py",
"mode": "100644",
"type": "blob",
"sha": "7012f10998d1bbc3b74d75f02706c6396581c9d6"
},
{
"path": "nodes/shapes.py",
"mode": "100644",
"type": "blob",
"sha": "ee622446a47c9da1f1311393c57125b5e2ba9ebb"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_A3_SimplePromptScheduling_IterativeDemo_v01b.json",
"mode": "100644",
"type": "blob",
"sha": "0f0e8642224cf6d4396cadc200a1495bcf1da662"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_A4_PromptScheduling_IterativeDemo_v01a.json",
"mode": "100644",
"type": "blob",
"sha": "7a114ab8d2470b4c7438f157c3109549ca717289"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_A5_CentralPromptScheduling_IterativeDemo_v01a.json",
"mode": "100644",
"type": "blob",
"sha": "453e3e843a3c0e35980d85a213d7a712a7bb499e"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_B1_CentralSchedule_IterativeDemo_v01b.json",
"mode": "100644",
"type": "blob",
"sha": "2b69311422dfbb1de01743d85fb7b10fd3fbdb31"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_B2_LoadScheduleFromFile_IterativeDemo_v01a.json",
"mode": "100644",
"type": "blob",
"sha": "f10768be74e69c65ae1edc0911866cb1c56b96f3"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_B3_OutputScheduleToFile_IterativeDemo_v01a.json",
"mode": "100644",
"type": "blob",
"sha": "2987eda2bef941cdede696e2cc4bdf7875540cbb"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_B4_CombineSchedules_IterativeDemo_v01a.json",
"mode": "100644",
"type": "blob",
"sha": "371a29308f8e69022bfbfe1012d9ac3e3450c643"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_C1_SimpleValueScheduler_IterativeDemo_v01b.json",
"mode": "100644",
"type": "blob",
"sha": "5c722e888873aee17dcc4b3309459297cb5d28b9"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_C3_SimpleTextScheduler_IterativeDemo_v01a.json",
"mode": "100644",
"type": "blob",
"sha": "1ba4bee895b265e38dd6facf057d4645840ba547"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_E2_IncrementNodes_IterativeDemo_v01b.json",
"mode": "100644",
"type": "blob",
"sha": "3e45389b1aca5242882117b07fdaefdadbd449a8"
},
{
"path": "workflows/Animation/Iterative Demos/CR_Animation_F1_IONodes_IterativeDemo_v01.json",
"mode": "100644",
"type": "blob",
"sha": "b246a0221231706f9968aeae8825f9756053252e"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_A1_PromptKeyframeScheduling_IterativeDemo_v01.json",
"mode": "100644",
"type": "blob",
"sha": "304bf5c0035d19c2c303390cbff3c5081fa38e8a"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_A2_PromptKeyframeNodes_IterativeDemo_v02b.json",
"mode": "100644",
"type": "blob",
"sha": "2e8996247076f5987ed79e0cda8a248c2701e7cc"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_C2_ValueScheduler_IterativeDemo_v01a.json",
"mode": "100644",
"type": "blob",
"sha": "2ccfa8a732d5d3bb83cd41d13463562fec9a11c7"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_C4_TextScheduler_IterativeDemo_v01c.json",
"mode": "100644",
"type": "blob",
"sha": "ce8c326304ac075cedf8ecd40ba9f4190971f281"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_C5_SimpleLoadScheduledModels_IterativeDemo_v01b.json",
"mode": "100644",
"type": "blob",
"sha": "07c5dbc518176b05a310c5b2b8daa854fe9cdfb8"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_C6_LoadScheduledModelsLoRAs_IterativeDemo_v0.1a.json",
"mode": "100644",
"type": "blob",
"sha": "5020c834903f36e82fc68e7b8542a90d09283471"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_D1_CyclerNodes_IterativeDemo_v01b.json",
"mode": "100644",
"type": "blob",
"sha": "17ff2d7aca664328200b991d130427be96f80654"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_D2_TextCycler_IterativeDemo_v01.json",
"mode": "100644",
"type": "blob",
"sha": "29e9205029c4a3f616948c4fb1c1c2322c07a3fc"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_D3_ImageCycler_IterativeDemo_v01.json",
"mode": "100644",
"type": "blob",
"sha": "8ce69def1965b2d09216fb6c14a3706549426ab2"
},
{
"path": "workflows/Animation/Iterative Demos/Legacy/CR_Animation_E1_GradientNodes_IterativeDemo_v01a.json",
"mode": "100644",
"type": "blob",
"sha": "d57cc9469ebdbbccc88921e722306207da07f35d"
},
{
"path": "workflows/Animation/List Demos/CR_Animation_A3_SimplePromptScheduling_BatchDemo_v01.json",
"mode": "100644",
"type": "blob",
"sha": "109b1ec98c860260c1927c1d91a047a42410ff76"
},
{
"path": "workflows/Animation/List Demos/CR_Bit_Schedule_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "ad46a8f4c145c25abce3dcef03bbbcf8ab52e351"
},
{
"path": "workflows/Aspect Ratio/CR_Aspect_Ratio_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "43ed3bed9c2d5fe309feb6111b2583eeaae522b6"
},
{
"path": "workflows/Graphics/CR_graphics_nodes_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "5593933f3fd49af7933def06d38f1660b339fe82"
},
{
"path": "workflows/Graphics/Filter/CR_Vignette_Filter_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "80f4815281d39b100211706542b6ca2511e38548"
},
{
"path": "workflows/Graphics/Filter/CR_Vignette_Filter_demo2.json",
"mode": "100644",
"type": "blob",
"sha": "ad67c52f5cf83695ec50b44f8d8482708b43933e"
},
{
"path": "workflows/Graphics/Layout/CR_Feathered_Border_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "0c38c63594a2cc4854cd1f35780453dfc1207e59"
},
{
"path": "workflows/Graphics/Layout/CR_Image_Grid_Panel_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "6de5301796792eb2c151b33a177234140973e449"
},
{
"path": "workflows/Graphics/Layout/CR_Image_Grid_Panel_demo2.json",
"mode": "100644",
"type": "blob",
"sha": "21ca16870a54e84df405e611afbec18599605fe2"
},
{
"path": "workflows/Graphics/Layout/CR_Overlay_Transparent_Image_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "2ebd8f647fbde8f0458cc3d7c619d44caaaef827"
},
{
"path": "workflows/Graphics/Pattern/CR_Starburst_Lines_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "508d5de0c255c6baa31a8fd54df81e4eb1d96823"
},
{
"path": "workflows/Graphics/Pattern/CR_Style_Bars_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "55df25be24a4febd570e2c70e752c0c25e58c5d0"
},
{
"path": "workflows/Graphics/Pattern/CR_gradient_nodes_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "805c7848db6fc3bea987beceacbc6fd053a65840"
},
{
"path": "workflows/Graphics/Template/CR_Seamless_Checker_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "31139521e4e3440d3acaea652563e9020cc51b53"
},
{
"path": "workflows/Graphics/Template/CR_Simple_Banner_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "e4c4390b56753fb9fa5771b9cf445a3b4c12658f"
},
{
"path": "workflows/Graphics/Template/CR_Simple_Banner_demo2.json",
"mode": "100644",
"type": "blob",
"sha": "12a5b0b420c37ae1fcf0f4a9fce349d2b8261234"
},
{
"path": "workflows/Graphics/Template/CR_Simple_Image_Compare_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "7df5e6f5038b323f184f1ff9fcf80a713074575b"
},
{
"path": "workflows/Graphics/Template/CR_Simple_Meme_Template_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "2a6e64d26c2a8b3b3a50561e7382b37522890186"
},
{
"path": "workflows/Graphics/Template/CR_Simple_Meme_Template_demo2.json",
"mode": "100644",
"type": "blob",
"sha": "8f539d00beba16dedfabb81f7227558ff893ff0f"
},
{
"path": "workflows/Graphics/Template/CR_Simple_Meme_Template_demo3.json",
"mode": "100644",
"type": "blob",
"sha": "1f25343283e84eb494ef7745ccfb4b1269c7930a"
},
{
"path": "workflows/Graphics/Template/CR_Thumbnail_Preview_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "87221d7c5fcfad6d1b31238776f1fb454f27398e"
},
{
"path": "workflows/Graphics/Text/CR_Select_Font_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "bef540b615ccc3faeb3343a6b5320365047d2b01"
},
{
"path": "workflows/Graphics/Text/CR_Simple_Text_Watermark_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "40a700b75d1988a13410ac9e537f199b117fc58e"
},
{
"path": "workflows/List/CR_Font_File_List_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "397df65f5ac3682a09b5aec7323f4571428b4b8c"
},
{
"path": "workflows/List/CR_Intertwine_Lists_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "a4dd6d058cb361fefb029c8a1bbe94c753384be6"
},
{
"path": "workflows/List/CR_Load_Text_List_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "2a9d4e485431f013cc6fc7e2b54ca19b6418e3f4"
},
{
"path": "workflows/List/CR_Text_List_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "ff8c84cab8e71abc1d7eb47098c63e8b52b79eee"
},
{
"path": "workflows/List/CR_Text_List_demo2.json",
"mode": "100644",
"type": "blob",
"sha": "7172f55cabb48099042c072b15970e6e433d1a2f"
},
{
"path": "workflows/List/CR_XY_Product_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "6a976ea3ed1e60aa631881382bbf0331b1394fe4"
},
{
"path": "workflows/Model Merge/CR_SDXL_MultiModelGradientMerge_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "2cb756e80f834242825c1e40760001738b9729d1"
},
{
"path": "workflows/Model Merge/CR_SDXL_MultiModelMerge_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "3638d84001200cbeef39e5c9e1cd1e270fd65a56"
},
{
"path": "workflows/Model Merge/CR_SimpleMultiModelMerge_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "4114228c4541f8a4575b51cbdf92c1a2cd7ecc4a"
},
{
"path": "workflows/Model Merge/CR_UltraSimpleMultiModelMerge_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "5b673b5b6b9b4c30a3d78f7630fce0bc1b39c521"
},
{
"path": "workflows/Other/CR_Load_Image_Plus_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "b26f179844c4783664611f983c8fde268e6a57d0"
},
{
"path": "workflows/Other/CR_Multiline_Text_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "6d01a2be637de78108e058279bb89947ff667123"
},
{
"path": "workflows/Other/CR_Save_Text_To_file_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "67f596d91579070321f4de8bde935f7584412736"
},
{
"path": "workflows/Other/CR_Split_String_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "b289847e4334016da863994a49e0ec743b89f78a"
},
{
"path": "workflows/Pipe/CR_Data_Bus_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "8e346ff511d033feba8ad80955c5695b31a63248"
},
{
"path": "workflows/Upscale/CR_Multi_Upscale_Stack_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "3a481466784047d054c9d82709026d831418d072"
},
{
"path": "workflows/Upscale/CR_Upscale_Image_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "732808ab9a670c33c4e847cd463e7b54bd48b878"
},
{
"path": "workflows/Utils/Conversion/CR_String_To_Number_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "fe2407d8ff2d60d75f94b28e84f296ecad411375"
},
{
"path": "workflows/Utils/Logic/CR_Text_Input_Switch_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "5ca8d6726f14ffc7c0ff57362c7016dc5ab90e21"
},
{
"path": "workflows/Utils/Other/CR_Get_Parameter_From_Folder_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "72376fddad065534d37a0c8894d9c043b6a1cc03"
},
{
"path": "workflows/Utils/Other/CR_Set_Switch_From_String_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "4f678364ffc91526d0a2914fd7f7c6876e032d26"
},
{
"path": "workflows/Utils/Other/CR_Set_Value_On_Binary_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "e1222ae9efd147f2141fc10873037c3af8a34fa8"
},
{
"path": "workflows/Utils/Random/CR_Random_Multiline_Colors_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "96bb21d5ebbb191f4b96757f83f26f1169a59dac"
},
{
"path": "workflows/Utils/Random/CR_Random_Multiline_Values_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "565b508b95550ddb33b64958bfd45e02ba994064"
},
{
"path": "workflows/Utils/Random/CR_Random_Panel_Codes_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "5a36ee91475021ba8590b871cb8bd205756a5547"
},
{
"path": "workflows/Utils/Random/CR_Random_RGB_Gradient_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "bf9f0d0a20e283b819868d31bad13cb22ec52010"
},
{
"path": "workflows/Utils/Text/CR_Text_Operation_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "5fae9ccb5b3cb3bc87d5d6f0f0a8b232249675f2"
},
{
"path": "workflows/XY Grid/CR_XY_Revised_FreeU_demo1.json",
"mode": "100644",
"type": "blob",
"sha": "11d0b459b9aae04283458422277873ea43a0fbd6"
}
]
}
@@ -0,0 +1,532 @@
try:
from .nodes.nodes_core import *
from .nodes.nodes_aspect_ratio import *
from .nodes.nodes_list import *
from .nodes.nodes_lora import *
from .nodes.nodes_controlnet import *
from .nodes.nodes_pipe import *
from .nodes.nodes_sdxl import *
from .nodes.nodes_model_merge import *
from .nodes.nodes_upscale import *
from .nodes.nodes_xygrid import *
from .nodes.nodes_legacy import *
except ImportError:
print("\033[34mComfyroll Studio: \033[92mFailed to load Essential nodes\033[0m")
try:
from .nodes.nodes_graphics_matplot import *
from .nodes.nodes_graphics_text import *
from .nodes.nodes_graphics_layout import *
from .nodes.nodes_graphics_filter import *
from .nodes.nodes_graphics_template import *
from .nodes.nodes_graphics_pattern import *
except ImportError:
print("\033[34mComfyroll Studio: \033[92mFailed to load Graphics nodes\033[0m")
try:
from .nodes.nodes_animation_interpolation import *
from .nodes.nodes_animation_io import *
from .nodes.nodes_animation_prompt import *
from .nodes.nodes_animation_schedulers import *
from .nodes.nodes_animation_schedules import *
from .nodes.nodes_animation_lists import *
from .nodes.nodes_animation_utils import *
from .nodes.nodes_animation_cyclers import *
except ImportError:
print("\033[34mComfyroll Studio: \033[92mFailed to load Animation nodes\033[0m")
try:
from .nodes.nodes_utils_logic import *
from .nodes.nodes_utils_index import *
from .nodes.nodes_utils_conversion import *
from .nodes.nodes_utils_random import *
from .nodes.nodes_utils_text import *
from .nodes.nodes_utils_other import *
except ImportError:
print("\033[34mComfyroll Studio: \033[92mFailed to load Utility nodes\033[0m")
NODE_CLASS_MAPPINGS = {
### Core Nodes
"CR Image Output": CR_ImageOutput,
"CR Latent Batch Size": CR_LatentBatchSize,
"CR Conditioning Mixer": CR_ConditioningMixer,
"CR Select Model": CR_SelectModel,
"CR Seed": CR_Seed,
"CR Prompt Text": CR_PromptText,
"CR Combine Prompt": CR_CombinePrompt,
"CR VAE Decode": CR_VAEDecode,
### List Nodes
"CR Text List": CR_TextList,
"CR Prompt List": CR_PromptList,
"CR Simple List": CR_SimpleList,
"CR Float Range List": CR_FloatRangeList,
"CR Integer Range List": CR_IntegerRangeList,
"CR Load Text List": CR_LoadTextList,
"CR Binary To Bit List": CR_BinaryToBitList,
"CR Text Cycler": CR_TextCycler,
"CR Value Cycler": CR_ValueCycler,
### List IO
"CR Load Image List": CR_LoadImageList,
"CR Load Image List Plus": CR_LoadImageListPlus,
"CR Load GIF As List": CR_LoadGIFAsList,
"CR Font File List": CR_FontFileList,
### List Utils
"CR Batch Images From List": CR_MakeBatchFromImageList,
"CR Intertwine Lists" : CR_IntertwineLists,
"CR Repeater": CR_Repeater,
"CR XY Product": CR_XYProduct,
"CR Text List To String": CR_TextListToString,
### Aspect Ratio Nodes
"CR SD1.5 Aspect Ratio": CR_AspectRatioSD15,
"CR SDXL Aspect Ratio": CR_SDXLAspectRatio,
"CR Aspect Ratio": CR_AspectRatio,
"CR Aspect Ratio Banners": CR_AspectRatioBanners,
"CR Aspect Ratio Social Media": CR_AspectRatioSocialMedia,
"CR_Aspect Ratio For Print": CR_AspectRatioForPrint,
### Legacy Nodes
"CR Image Size": CR_ImageSize,
"CR Aspect Ratio SDXL": CR_AspectRatio_SDXL,
"CR SDXL Prompt Mixer": CR_PromptMixer,
"CR Seed to Int": CR_SeedToInt,
### ControlNet Nodes
"CR Apply ControlNet": CR_ApplyControlNet,
"CR Multi-ControlNet Stack": CR_ControlNetStack,
"CR Apply Multi-ControlNet": CR_ApplyControlNetStack,
### LoRA Nodes
"CR Load LoRA": CR_LoraLoader,
"CR LoRA Stack": CR_LoRAStack,
"CR Random LoRA Stack": CR_RandomLoRAStack,
"CR Random Weight LoRA": CR_RandomWeightLoRA,
"CR Apply LoRA Stack": CR_ApplyLoRAStack,
### Model Merge Nodes
"CR Apply Model Merge": CR_ApplyModelMerge,
"CR Model Merge Stack": CR_ModelMergeStack,
### Pipe Nodes
"CR Data Bus In":CR_DataBusIn,
"CR Data Bus Out":CR_DataBusOut,
"CR 8 Channel In":CR_8ChannelIn,
"CR 8 Channel Out":CR_8ChannelOut,
"CR Module Pipe Loader": CR_ModulePipeLoader,
"CR Module Input": CR_ModuleInput,
"CR Module Output": CR_ModuleOutput,
"CR Image Pipe In": CR_ImagePipeIn,
"CR Image Pipe Edit": CR_ImagePipeEdit,
"CR Image Pipe Out": CR_ImagePipeOut,
"CR Pipe Switch": CR_InputSwitchPipe,
### SDXL Nodes
"CR SDXL Prompt Mix Presets": CR_PromptMixPresets,
"CR SDXL Style Text": CR_SDXLStyleText,
"CR SDXL Base Prompt Encoder": CR_SDXLBasePromptEncoder,
### Upscale Nodes
"CR Multi Upscale Stack": CR_MultiUpscaleStack,
"CR Upscale Image": CR_UpscaleImage,
"CR Apply Multi Upscale": CR_ApplyMultiUpscale,
### XY Grid Nodes
"CR XY List": CR_XYList,
"CR XY Interpolate": CR_XYInterpolate,
"CR XY From Folder": CR_XYFromFolder,
"CR XY Save Grid Image": CR_XYSaveGridImage,
"CR XY Index": CR_XYIndex,
#"CR XYZ Index": CR_XYZIndex,
### Graphics Pattern
"CR Halftone Grid": CR_HalftoneGrid,
"CR Color Bars": CR_ColorBars,
"CR Style Bars": CR_StyleBars,
"CR Checker Pattern": CR_CheckerPattern,
"CR Polygons": CR_Polygons,
"CR Color Gradient": CR_ColorGradient,
"CR Radial Gradient": CR_RadialGradient,
"CR Starburst Lines": CR_StarburstLines,
"CR Starburst Colors": CR_StarburstColors,
"CR Simple Binary Pattern": CR_BinaryPatternSimple,
"CR Binary Pattern": CR_BinaryPattern,
### Graphics Shape
"CR Draw Shape": CR_DrawShape,
"CR Draw Pie": CR_DrawPie,
"CR Random Shape Pattern": CR_RandomShapePattern,
### Graphics Text
"CR Overlay Text": CR_OverlayText,
"CR Draw Text": CR_DrawText,
"CR Mask Text": CR_MaskText,
"CR Composite Text": CR_CompositeText,
#"CR Arabic Text RTL": CR_ArabicTextRTL,
"CR Simple Text Watermark": CR_SimpleTextWatermark,
"CR Select Font": CR_SelectFont,
### Graphics Filter
"CR Halftone Filter": CR_HalftoneFilter,
"CR Color Tint": CR_ColorTint,
"CR Vignette Filter": CR_VignetteFilter,
### Graphics Layout
"CR Page Layout": CR_PageLayout,
"CR Image Panel": CR_ImagePanel,
"CR Image Grid Panel": CR_ImageGridPanel,
"CR Image Border": CR_ImageBorder,
"CR Feathered Border": CR_FeatheredBorder,
"CR Simple Text Panel": CR_SimpleTextPanel,
"CR Color Panel": CR_ColorPanel,
"CR Overlay Transparent Image": CR_OverlayTransparentImage,
"CR Half Drop Panel": CR_HalfDropPanel,
"CR Diamond Panel": CR_DiamondPanel,
#"CR Simple Titles": CR_SimpleTitles,
### Graphics Template
"CR Simple Meme Template": CR_SimpleMemeTemplate,
"CR Simple Banner": CR_SimpleBanner,
"CR Comic Panel Templates": CR_ComicPanelTemplates,
"CR Simple Image Compare": CR_SimpleImageCompare,
"CR Thumbnail Preview": CR_ThumbnailPreview,
"CR Seamless Checker": CR_SeamlessChecker,
### Utils Logic
"CR Image Input Switch": CR_ImageInputSwitch,
"CR Image Input Switch (4 way)": CR_ImageInputSwitch4way,
"CR Latent Input Switch": CR_LatentInputSwitch,
"CR Conditioning Input Switch": CR_ConditioningInputSwitch,
"CR Clip Input Switch": CR_ClipInputSwitch,
"CR Model Input Switch": CR_ModelInputSwitch,
"CR ControlNet Input Switch": CR_ControlNetInputSwitch,
"CR VAE Input Switch": CR_VAEInputSwitch,
"CR Text Input Switch": CR_TextInputSwitch,
"CR Text Input Switch (4 way)": CR_TextInputSwitch4way,
"CR Switch Model and CLIP": CR_ModelAndCLIPInputSwitch,
### Utils Process
"CR Batch Process Switch": CR_BatchProcessSwitch,
"CR Img2Img Process Switch": CR_Img2ImgProcessSwitch,
"CR Hires Fix Process Switch": CR_HiResFixProcessSwitch,
### Utils Index
"CR Index": CR_Index,
"CR Index Increment": CR_IncrementIndex,
"CR Index Multiply": CR_MultiplyIndex,
"CR Index Reset": CR_IndexReset,
"CR Trigger": CR_Trigger,
### Utils Conversion
"CR String To Number": CR_StringToNumber,
"CR String To Combo": CR_StringToCombo,
"CR Float To String": CR_FloatToString,
"CR Float To Integer": CR_FloatToInteger,
"CR Integer To String": CR_IntegerToString,
"CR String To Boolean": CR_StringToBoolean,
### Utils Random
"CR Random Hex Color": CR_RandomHexColor,
"CR Random RGB": CR_RandomRGB,
"CR Random Multiline Values": CR_RandomMultilineValues,
"CR Random Multiline Colors": CR_RandomMultilineColors,
"CR Random RGB Gradient": CR_RandomRGBGradient,
"CR Random Panel Codes": CR_RandomPanelCodes,
### Utils Text
"CR Text": CR_Text,
"CR Multiline Text": CR_MultilineText,
"CR Split String": CR_SplitString,
"CR Text Concatenate": CR_TextConcatenate,
"CR Text Replace": CR_TextReplace,
"CR Text Length": CR_TextLength,
"CR Text Operation": CR_TextOperation,
"CR Text Blacklist": CR_TextBlacklist,
"CR Save Text To File": CR_SaveTextToFile,
### Utils Conditional
"CR Set Value On Boolean": CR_SetValueOnBoolean,
"CR Set Value On Binary": CR_SetValueOnBinary,
"CR Set Value on String": CR_SetValueOnString,
"CR Set Switch From String": CR_SetSwitchFromString,
### Utils Other
"CR Value": CR_Value,
"CR Integer Multiple": CR_IntegerMultipleOf,
"CR Clamp Value": CR_ClampValue,
"CR Math Operation": CR_MathOperation,
"CR Get Parameter From Prompt": CR_GetParameterFromPrompt,
"CR Select Resize Method": CR_SelectResizeMethod,
"CR Select ISO Size": CR_SelectISOSize,
### Animation Nodes
# Schedules
"CR Simple Schedule": CR_SimpleSchedule,
"CR Central Schedule": CR_CentralSchedule,
"CR Combine Schedules": CR_CombineSchedules,
"CR Output Schedule To File": CR_OutputScheduleToFile,
"CR Load Schedule From File": CR_LoadScheduleFromFile,
"CR Schedule Input Switch": Comfyroll_ScheduleInputSwitch,
"CR Bit Schedule": CR_BitSchedule,
# Schedulers
"CR Simple Value Scheduler": CR_SimpleValueScheduler,
"CR Simple Text Scheduler": CR_SimpleTextScheduler,
"CR Value Scheduler": CR_ValueScheduler,
"CR Text Scheduler": CR_TextScheduler,
"CR Load Scheduled Models": CR_LoadScheduledModels,
"CR Load Scheduled LoRAs": CR_LoadScheduledLoRAs,
"CR Prompt Scheduler": CR_PromptScheduler,
"CR Simple Prompt Scheduler": CR_SimplePromptScheduler,
# Prompt
"CR Keyframe List": CR_KeyframeList,
#"CR Load Prompt Style": CR_LoadPromptStyle,
"CR Encode Scheduled Prompts": CR_EncodeScheduledPrompts,
# Interpolation
"CR Gradient Float": CR_GradientFloat,
"CR Gradient Integer": CR_GradientInteger,
"CR Increment Float": CR_IncrementFloat,
"CR Increment Integer": CR_IncrementInteger,
"CR Interpolate Latents": CR_InterpolateLatents,
# Utils
"CR Debatch Frames": CR_DebatchFrames,
"CR Current Frame": CR_CurrentFrame,
#"CR Input Text List": CR_InputTextList,
# IO
"CR Load Animation Frames": CR_LoadAnimationFrames,
"CR Load Flow Frames": CR_LoadFlowFrames,
"CR Output Flow Frames": CR_OutputFlowFrames,
### Legacy
# Note: CR Prompt List and CR Text List names have been reused,
# so the old versions of these nodes are no longer available
"CR Prompt List Keyframes": CR_PromptListKeyframes,
"CR Simple Prompt List": CR_SimplePromptList,
"CR Simple Prompt List Keyframes": CR_SimplePromptListKeyframes,
"CR Cycle Models": CR_CycleModels,
"CR Cycle LoRAs": CR_CycleLoRAs,
"CR Cycle Text": CR_CycleText,
"CR Cycle Text Simple": CR_CycleTextSimple,
"CR Cycle Images": CR_CycleImages,
"CR Cycle Images Simple": CR_CycleImagesSimple,
"CR Model List": CR_ModelList,
"CR LoRA List": CR_LoRAList,
"CR Text List Simple": CR_TextListSimple,
"CR Image List": CR_ImageList,
"CR Image List Simple": CR_ImageListSimple,
}
NODE_DISPLAY_NAME_MAPPINGS = {
### Core Nodes
"CR Image Output": "💾 CR Image Output",
"CR Integer Multiple": "⚙️ CR Integer Multiple",
"CR Latent Batch Size": "⚙️ CR Latent Batch Size",
"CR Seed": "🌱 CR Seed",
"CR Value": "⚙️ CR Value",
"CR Conditioning Mixer": "⚙️ CR Conditioning Mixer",
"CR Select Model": "🔮 CR Select Model",
"CR Prompt Text": "⚙️ CR Prompt Text",
"CR Combine Prompt": "⚙️ CR Combine Prompt",
"CR VAE Decode": "⚙️ CR VAE Decode",
### List Nodes
"CR Text List": "📜 CR Text List",
"CR Prompt List": "📜 CR Prompt List",
"CR Simple List": "📜 CR Simple List",
"CR Float Range List": "📜 CR Float Range List",
"CR Integer Range List": "📜 CR Integer Range List",
"CR Load Value List": "📜 CR Load Value List",
"CR Load Text List": "📜 CR Load Text List",
"CR Binary To Bit List": "📜 CR Binary To Bit List",
"CR Text Cycler": "📜 CR Text Cycler",
"CR Value Cycler": "📜 CR Value Cycler",
### List IO
"CR Load Image List": "⌨️ CR Load Image List",
"CR Load Image List Plus": "⌨️ CR Load Image List Plus",
"CR Load GIF As List": "⌨️ CR Load GIF As List",
"CR Font File List": "⌨️ CR Font File List",
### List Utils
"CR Batch Images From List": "🛠️ CR Batch Images From List",
"CR Intertwine Lists" : "🛠️ CR Intertwine Lists",
"CR Repeater": "🛠️ CR Repeater",
"CR XY Product": "🛠️ CR XY Product",
"CR Text List To String": "🛠️ CR Text List To String",
### Aspect Ratio Nodes
"CR SD1.5 Aspect Ratio": "🔳 CR SD1.5 Aspect Ratio",
"CR SDXL Aspect Ratio": "🔳 CR SDXL Aspect Ratio",
"CR Aspect Ratio": "🔳 CR Aspect Ratio",
"CR Aspect Ratio Banners": "🔳 CR Aspect Ratio Banners",
"CR Aspect Ratio Social Media": "🔳 CR Aspect Ratio Social Media",
"CR_Aspect Ratio For Print": "🔳 CR_Aspect Ratio For Print",
### Legacy Nodes
"CR Image Size": "CR Image Size (Legacy)",
"CR Aspect Ratio SDXL": "CR Aspect Ratio SDXL (Legacy)",
"CR SDXL Prompt Mixer": "CR SDXL Prompt Mixer (Legacy)",
"CR Seed to Int": "CR Seed to Int (Legacy)",
### ControlNet Nodes
"CR Apply ControlNet": "🕹️ CR Apply ControlNet",
"CR Multi-ControlNet Stack": "🕹️ CR Multi-ControlNet Stack",
"CR Apply Multi-ControlNet": "🕹️ CR Apply Multi-ControlNet",
### LoRA Nodes
"CR Load LoRA": "💊 CR Load LoRA",
"CR LoRA Stack": "💊 CR LoRA Stack",
"CR Random LoRA Stack": "💊 CR Random LoRA Stack",
"CR Random Weight LoRA": "💊 CR Random Weight LoRA",
"CR Apply LoRA Stack": "💊 CR Apply LoRA Stack",
### Model Merge Nodes
"CR Apply Model Merge": "⛏️ CR Apply Model Merge",
"CR Model Merge Stack": "⛏️ CR Model Merge Stack",
### Pipe Nodes
"CR Data Bus In": "🚌 CR Data Bus In",
"CR Data Bus Out": "🚌 CR Data Bus Out",
"CR 8 Channel In": "🚌 CR 8 Channel In",
"CR 8 Channel Out": "🚌 CR 8 Channel Out",
"CR Module Pipe Loader": "✈️ CR Module Pipe Loader",
"CR Module Input": "✈️ CR Module Input",
"CR Module Output": "✈️ CR Module Output",
"CR Image Pipe In": "🛩 CR Image Pipe In",
"CR Image Pipe Edit": "🛩️ CR Image Pipe Edit",
"CR Image Pipe Out": "🛩️ CR Image Pipe Out",
"CR Pipe Switch": "🔀️ CR Pipe Switch",
### SDXL Nodes
"CR SDXL Prompt Mix Presets": "🌟 CR SDXL Prompt Mix Presets",
"CR SDXL Style Text": "🌟 CR SDXL Style Text",
"CR SDXL Base Prompt Encoder": "🌟 CR SDXL Base Prompt Encoder",
### Upscale Nodes
"CR Multi Upscale Stack": "🔍 CR Multi Upscale Stack",
"CR Upscale Image": "🔍 CR Upscale Image",
"CR Apply Multi Upscale": "🔍 CR Apply Multi Upscale",
### XY Grid Nodes
"CR XY List": "📉 CR XY List",
"CR XY Interpolate": "📉 CR XY Interpolate",
"CR XY Index": "📉 CR XY Index",
"CR XY From Folder": "📉 CR XY From Folder",
"CR XY Save Grid Image": "📉 CR XY Save Grid Image",
### Graphics Pattern
"CR Halftone Grid" : "🟫 CR Halftone Grid",
"CR Color Bars" : "🟫 CR Color Bars",
"CR Style Bars" : "🟪 CR Style Bars",
"CR Checker Pattern": "🟦 CR Checker Pattern",
"CR Polygons": "🟩 CR Polygons",
"CR Color Gradient": "🟨 CR Color Gradient",
"CR Radial Gradient": "🟨 CR Radial Gradient",
"CR Starburst Lines": "🟧 CR Starburst Lines",
"CR Starburst Colors": "🟧 CR Starburst Colors",
"CR Simple Binary Pattern": "🟥 CR Simple Binary Pattern",
"CR Binary Pattern": "🟥 CR Binary Pattern",
### Graphics Shape
"CR Draw Shape": "🟡 CR Draw Shape",
"CR Draw Pie": "🟢 CR Draw Pie",
"CR Random Shape Pattern": "🔵 CR Random Shape Pattern",
### Graphics Text
"CR Overlay Text": "🔤 CR Overlay Text",
"CR Draw Text": "🔤️ CR Draw Text",
"CR Mask Text": "🔤️ CR Mask Text",
"CR Composite Text": "🔤️ CR Composite Text",
"CR Simple Text Watermark": "🔤️ CR Simple Text Watermark",
"CR Select Font": "🔤️ CR Select Font",
### Graphics Filter
"CR Halftone Filter": "🎨 Halftone Filter",
"CR Color Tint": "🎨 CR Color Tint",
"CR Vignette Filter": "🎨 CR Vignette Filter",
### Graphics Layout
"CR Image Panel": "🌁 CR Image Panel",
"CR Image Grid Panel": "🌁 CR Image Grid Panel",
"CR Simple Text Panel": "🌁 CR Simple Text Panel",
"CR Color Panel": "🌁 CR Color Panel",
"CR Half Drop Panel": "🌁 CR Half Drop Panel",
"CR Diamond Panel": "🌁 CR Diamond Panel",
"CR Page Layout": "🌁 CR Page Layout",
"CR Image Border": "🌁 CR Image Border",
"CR Feathered Border": "🌁 CR Feathered Border",
"CR Overlay Transparent Image": "🌁 CR Overlay Transparent Image",
### Graphics Template
"CR Simple Meme Template": "📱 CR Simple Meme Template",
"CR Simple Banner": "📱 CR Simple Banner",
"CR Comic Panel Templates": "📱 CR Comic Panel Templates",
"CR Simple Image Compare": "📱 CR Simple Image Compare",
"CR Thumbnail Preview": "📱 CR Thumbnail Preview",
"CR Seamless Checker": "📱 CR Seamless Checker",
### Utils Logic
"CR Image Input Switch": "🔀 CR Image Input Switch",
"CR Image Input Switch (4 way)": "🔀 CR Image Input Switch (4 way)",
"CR Latent Input Switch": "🔀 CR Latent Input Switch",
"CR Conditioning Input Switch": "🔀 CR Conditioning Input Switch",
"CR Clip Input Switch": "🔀 CR Clip Input Switch",
"CR Model Input Switch": "🔀 CR Model Input Switch",
"CR ControlNet Input Switch": "🔀 CR ControlNet Input Switch",
"CR VAE Input Switch": "🔀 CR VAE Input Switch",
"CR Text Input Switch": "🔀 CR Text Input Switch",
"CR Text Input Switch (4 way)": "🔀 CR Text Input Switch (4 way)",
"CR Switch Model and CLIP": "🔀 CR Switch Model and CLIP",
### Utils Process
"CR Batch Process Switch": "🔂 CR Batch Process Switch",
"CR Img2Img Process Switch": "🔂 CR Img2Img Process Switch",
"CR Hires Fix Process Switch": "🔂 CR Hires Fix Process Switch",
### Utils Index
"CR Index":"🔢 CR Index",
"CR Index Increment": "🔢 CR Index Increment",
"CR Index Multiply": "🔢 CR Index Multiply",
"CR Index Reset": "🔢 CR Index Reset",
"CR Trigger": "🔢 CR Trigger",
### Utils Conversion
"CR String To Number": "🔧 CR String To Number",
"CR String To Combo": "🔧 CR String To Combo",
"CR Float To String": "🔧 CR Float To String",
"CR Float To Integer": "🔧 CR Float To Integer",
"CR Integer To String": "🔧 CR Integer To String",
"CR String To Boolean": "🔧 CR String To Boolean",
### Utils Random
"CR Random Hex Color": "🎲 CR Random Hex Color",
"CR Random RGB": "🎲 CR Random RGB",
"CR Random Multiline Values": "🎲 CR Random Multiline Values",
"CR Random Multiline Colors": "🎲 CR Random Multiline Colors",
"CR Random RGB Gradient": "🎲 CR Random RGB Gradient",
"CR Random Panel Codes": "🎲 CR Random Panel Codes",
### Utils Text
"CR Text": "🔤 CR Text",
"CR Multiline Text": "🔤 CR Multiline Text",
"CR Split String": "🔤 CR Split String",
"CR Text Concatenate": "🔤 CR Text Concatenate",
"CR Text Replace": "🔤 CR Text Replace",
"CR Text Blacklist": "🔤 Text Blacklist",
"CR Text Length": "🔤 CR Text Length",
"CR Text Operation": "🔤 CR Text Operation",
"CR Save Text To File": "🔤 CR Save Text To File",
### Utils Conditional
"CR Set Value On Boolean": "⚙️ CR Set Value On Boolean",
"CR Set Value On Binary": "⚙️ CR Set Value On Binary",
"CR Set Value on String": "⚙️ CR Set Value on String",
"CR Set Switch From String": "⚙️ CR Set Switch From String",
### Utils Other
"CR Integer Multiple": "⚙️ CR Integer Multiple",
"CR Value": "⚙️ CR Value",
"CR Clamp Value": "⚙️ CR Clamp Value",
"CR Math Operation": "⚙️ CR Math Operation",
"CR Get Parameter From Prompt": "⚙️ CR Get Parameter From Prompt",
"CR Select Resize Method": "⚙️ CR Select Resize Method",
"CR Select ISO Size": "⚙️ CR Select ISO Size",
### Animation Nodes
# Schedules
"CR Simple Schedule": "📋 CR Simple Schedule",
"CR Central Schedule": "📋 CR Central Schedule",
"CR Combine Schedules": "📋 CR Combine Schedules",
"CR Output Schedule To File": "📋 CR Output Schedule To File",
"CR Load Schedule From File": "📋 CR Load Schedule From File",
"CR Schedule Input Switch": "📋 CR Schedule Input Switch",
"CR Bit Schedule": "📋 CR Bit Schedule",
# Schedulers
"CR Simple Value Scheduler": "📑 CR Simple Value Scheduler",
"CR Simple Text Scheduler": "📑 CR Simple Text Scheduler",
"CR Value Scheduler": "📑 CR Value Scheduler",
"CR Text Scheduler": "📑 CR Text Scheduler",
"CR Load Scheduled Models": "📑 CR Load Scheduled Models",
"CR Load Scheduled LoRAs": "📑 CR Load Scheduled LoRAs",
"CR Prompt Scheduler": "📑 CR Prompt Scheduler",
"CR Simple Prompt Scheduler": "📑 CR Simple Prompt Scheduler",
# Prompt
"CR Keyframe List": "📝 CR Keyframe List",
#"CR Load Prompt Style": "📝 CR Load Prompt Style",
"CR Encode Scheduled Prompts": "📝 CR Encode Scheduled Prompts",
# Interpolation
"CR Gradient Float": "🔢 CR Gradient Float",
"CR Gradient Integer": "🔢 CR Gradient Integer",
"CR Increment Float": "🔢 CR Increment Float",
"CR Increment Integer": "🔢 CR Increment Integer",
"CR Interpolate Latents": "🔢 CR Interpolate Latents",
# Utils
"CR Debatch Frames": "🛠️ CR Debatch Frames",
"CR Current Frame": "🛠️ CR Current Frame",
# IO
"CR Load Animation Frames": "⌨️ CR Load Animation Frames",
"CR Load Flow Frames": "⌨️ CR Load Flow Frames",
"CR Output Flow Frames": "⌨️ CR Output Flow Frames",
### Legacy
"CR Prompt List Keyframes": "CR Prompt List Keyframes (Legacy)",
"CR Simple Prompt List": "CR Simple Prompt List (Legacy)",
"CR Simple Prompt List Keyframes": "CR Simple Prompt List Keyframes (Legacy)",
"CR Cycle Models": "CR Cycle Models (Legacy)",
"CR Cycle LoRAs": "CR Cycle LoRAs (Legacy)",
"CR Cycle Text": "CR Cycle Text (Legacy)",
"CR Cycle Text Simple": "CR Cycle Text Simple (Legacy)",
"CR Cycle Images": "CR Cycle Images (Legacy)",
"CR Cycle Images Simple": "CR Cycle Images Simple (Legacy)",
"CR Model List": "CR Model List (Legacy)",
"CR LoRA List": "CR LoRA List (Legacy)",
"CR Text List Simple": "CR Text List Simple (Legacy)",
"CR Image List": "CR Image List (Legacy)",
"CR Image List Simple": "CR Image List Simple (Legacy)",
"CR Input Text List": "CR Input Text List (Legacy)",
}
@@ -0,0 +1,431 @@
#---------------------------------------------------------------------------------------------------------------------#
# Comfyroll Studio custom nodes by RockOfFire and Akatsuzi https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes
# for ComfyUI https://github.com/comfyanonymous/ComfyUI
#---------------------------------------------------------------------------------------------------------------------#
import torch
import numpy as np
import os
import sys
import csv
import comfy.sd
import json
import folder_paths
import typing as tg
import datetime
import io
from server import PromptServer, BinaryEventTypes
#from nodes import common_ksampler
from PIL import Image
from PIL.PngImagePlugin import PngInfo
from pathlib import Path
from ..categories import icons
#---------------------------------------------------------------------------------------------------------------------#
# Core Nodes
#---------------------------------------------------------------------------------------------------------------------#
class CR_ImageOutput:
def __init__(self):
self.output_dir = folder_paths.get_output_directory()
self.type = "output"
@classmethod
def INPUT_TYPES(cls):
presets = ["None", "yyyyMMdd"]
return {"required":
{"images": ("IMAGE", ),
"output_type": (["Preview", "Save", "UI (no batch)"],),
"filename_prefix": ("STRING", {"default": "CR"}),
"prefix_presets": (presets, ),
"file_format": (["png", "jpg", "webp", "tif"],),
},
"hidden": {"prompt": "PROMPT", "extra_pnginfo": "EXTRA_PNGINFO"},
"optional":
{"trigger": ("BOOLEAN", {"default": False},),
}
}
RETURN_TYPES = ("BOOLEAN", )
RETURN_NAMES = ("trigger", )
FUNCTION = "save_images"
OUTPUT_NODE = True
CATEGORY = icons.get("Comfyroll/Essential/Core")
def save_images(self, images, file_format, prefix_presets, filename_prefix="CR",
trigger=False, output_type="Preview", prompt=None, extra_pnginfo=None):
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Core-Nodes#cr-image-output"
def map_filename(filename):
prefix_len = len(os.path.basename(filename_prefix))
prefix = filename[:prefix_len + 1]
try:
digits = int(filename[prefix_len + 1:].split('_')[0])
except:
digits = 0
return (digits, prefix)
if output_type == "Save":
self.output_dir = folder_paths.get_output_directory()
self.type = "output"
elif output_type == "Preview":
self.output_dir = folder_paths.get_temp_directory()
self.type = "temp"
date_formats = {
'yyyyMMdd': lambda d: '{}{:02d}{:02d}'.format(str(d.year), d.month, d.day),
}
current_datetime = datetime.datetime.now()
for format_key, format_lambda in date_formats.items():
preset_prefix = f"{format_lambda(current_datetime)}"
if prefix_presets != "None":
filename_prefix = filename_prefix + "_" + preset_prefix
if filename_prefix[0] == "_":
filename_prefix = filename_prefix[1:]
subfolder = os.path.dirname(os.path.normpath(filename_prefix))
filename = os.path.basename(os.path.normpath(filename_prefix))
full_output_folder = os.path.join(self.output_dir, subfolder)
if os.path.commonpath((self.output_dir, os.path.abspath(full_output_folder))) != self.output_dir:
return {}
try:
counter = max(filter(lambda a: a[1][:-1] == 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
if output_type == "UI (no batch)":
# based on ETN_SendImageWebSocket
results = []
for tensor in images:
array = 255.0 * tensor.cpu().numpy()
image = Image.fromarray(np.clip(array, 0, 255).astype(np.uint8))
server = PromptServer.instance
server.send_sync(
BinaryEventTypes.UNENCODED_PREVIEW_IMAGE,
["PNG", image, None],
server.client_id,
)
results.append(
{"source": "websocket", "content-type": "image/png", "type": "output"}
)
return {"ui": {"images": results}}
else:
results = list()
for image in images:
i = 255. * image.cpu().numpy()
img = Image.fromarray(np.clip(i, 0, 255).astype(np.uint8))
metadata = PngInfo()
if prompt is not None:
metadata.add_text("prompt", json.dumps(prompt))
if extra_pnginfo is not None:
for x in extra_pnginfo:
metadata.add_text(x, json.dumps(extra_pnginfo[x]))
file_name = f"{filename}_{counter:05}_.{file_format}"
img_params = {'png': {'compress_level': 4},
'webp': {'method': 6, 'lossless': False, 'quality': 80},
'jpg': {'format': 'JPEG'},
'tif': {'format': 'TIFF'}
}
resolved_image_path = os.path.join(full_output_folder, file_name)
img.save(resolved_image_path, **img_params[file_format], pnginfo=metadata)
results.append({
"filename": file_name,
"subfolder": subfolder,
"type": self.type
})
counter += 1
return { "ui": { "images": results }, "result": (trigger, show_help,) }
#---------------------------------------------------------------------------------------------------------------------#
class CR_Seed:
@classmethod
def INPUT_TYPES(cls):
return {"required": {"seed": ("INT", {"default": 0, "min": 0, "max": 0xffffffffffffffff})}}
RETURN_TYPES = ("INT", "STRING", )
RETURN_NAMES = ("seed", "show_help", )
FUNCTION = "seedint"
OUTPUT_NODE = True
CATEGORY = icons.get("Comfyroll/Essential/Core")
@staticmethod
def seedint(seed):
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Core-Nodes#cr-seed"
return (seed, show_help,)
#---------------------------------------------------------------------------------------------------------------------#
class CR_LatentBatchSize:
@classmethod
def INPUT_TYPES(s):
return {"required": {"latent": ("LATENT", ),
"batch_size": ("INT", {"default": 2, "min": 1, "max": 999, "step": 1}),
}
}
RETURN_TYPES = ("LATENT", )
FUNCTION = "batchsize"
CATEGORY = icons.get("Comfyroll/Essential/Core")
def batchsize(self, latent: tg.Sequence[tg.Mapping[tg.Text, torch.Tensor]], batch_size: int):
samples = latent['samples']
shape = samples.shape
sample_list = [samples] + [
torch.clone(samples) for _ in range(batch_size - 1)
]
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Core-Nodes#cr-latent-batch-size"
return ({
'samples': torch.cat(sample_list),
}, )
#---------------------------------------------------------------------------------------------------------------------#
class CR_PromptText:
@classmethod
def INPUT_TYPES(s):
return {"required": {
"prompt": ("STRING", {"default": "prompt", "multiline": True})
}
}
RETURN_TYPES = ("STRING", "STRING", )
RETURN_NAMES = ("prompt", "show_help", )
FUNCTION = "get_value"
CATEGORY = icons.get("Comfyroll/Essential/Core")
def get_value(self, prompt):
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Core-Nodes#cr-prompt-text"
return (prompt, show_help, )
#---------------------------------------------------------------------------------------------------------------------#
class CR_CombinePrompt:
@classmethod
def INPUT_TYPES(s):
return {"required": {
},
"optional": {
"part1": ("STRING", {"default": "", "multiline": True}),
"part2": ("STRING", {"default": "", "multiline": True}),
"part3": ("STRING", {"default": "", "multiline": True}),
"part4": ("STRING", {"default": "", "multiline": True}),
"separator": ("STRING", {"default": ",", "multiline": False}),
}
}
RETURN_TYPES = ("STRING", "STRING", )
RETURN_NAMES = ("prompt", "show_help", )
FUNCTION = "get_value"
CATEGORY = icons.get("Comfyroll/Essential/Core")
def get_value(self, part1="", part2="", part3="", part4="", separator=""):
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Core-Nodes#cr-prompt-parts"
prompt = part1 + separator + part2 + separator + part3 + separator + part4
return (prompt, show_help, )
#---------------------------------------------------------------------------------------------------------------------#
class CR_ConditioningMixer:
@classmethod
def INPUT_TYPES(cls):
mix_methods = ["Combine", "Average", "Concatenate"]
return {"required":
{"conditioning_1": ("CONDITIONING", ),
"conditioning_2": ("CONDITIONING", ),
"mix_method": (mix_methods, ),
"average_strength": ("FLOAT", {"default": 0.5, "min": 0.0, "max": 1.0, "step": 0.01}),
}
}
RETURN_TYPES = ("CONDITIONING", "STRING", )
RETURN_NAMES = ("CONDITIONING", "show_help", )
FUNCTION = "conditioning"
CATEGORY = icons.get("Comfyroll/Essential/Core")
def conditioning(self, mix_method, conditioning_1, conditioning_2, average_strength):
conditioning_from = conditioning_1
conditioning_to = conditioning_2
conditioning_to_strength = average_strength
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Core-Nodes#cr-conditioning-mixer"
if mix_method == "Combine":
return (conditioning_1 + conditioning_2, show_help, )
if mix_method == "Average":
out = []
if len(conditioning_from) > 1:
print("Warning: ConditioningAverage conditioning_from contains more than 1 cond, only the first one will actually be applied to conditioning_to.")
cond_from = conditioning_from[0][0]
pooled_output_from = conditioning_from[0][1].get("pooled_output", None)
for i in range(len(conditioning_to)):
t1 = conditioning_to[i][0]
pooled_output_to = conditioning_to[i][1].get("pooled_output", pooled_output_from)
t0 = cond_from[:,:t1.shape[1]]
if t0.shape[1] < t1.shape[1]:
t0 = torch.cat([t0] + [torch.zeros((1, (t1.shape[1] - t0.shape[1]), t1.shape[2]))], dim=1)
tw = torch.mul(t1, conditioning_to_strength) + torch.mul(t0, (1.0 - conditioning_to_strength))
t_to = conditioning_to[i][1].copy()
if pooled_output_from is not None and pooled_output_to is not None:
t_to["pooled_output"] = torch.mul(pooled_output_to, conditioning_to_strength) + torch.mul(pooled_output_from, (1.0 - conditioning_to_strength))
elif pooled_output_from is not None:
t_to["pooled_output"] = pooled_output_from
n = [tw, t_to]
out.append(n)
return (out, show_help, )
if mix_method == "Concatenate":
out = []
if len(conditioning_from) > 1:
print("Warning: ConditioningConcat conditioning_from contains more than 1 cond, only the first one will actually be applied to conditioning_to.")
cond_from = conditioning_from[0][0]
for i in range(len(conditioning_to)):
t1 = conditioning_to[i][0]
tw = torch.cat((t1, cond_from),1)
n = [tw, conditioning_to[i][1].copy()]
out.append(n)
return (out, show_help, )
#---------------------------------------------------------------------------------------------------------------------#
class CR_SelectModel:
@classmethod
def INPUT_TYPES(cls):
checkpoint_files = ["None"] + folder_paths.get_filename_list("checkpoints")
return {"required": {"ckpt_name1": (checkpoint_files,),
"ckpt_name2": (checkpoint_files,),
"ckpt_name3": (checkpoint_files,),
"ckpt_name4": (checkpoint_files,),
"ckpt_name5": (checkpoint_files,),
"select_model": ("INT", {"default": 1, "min": 1, "max": 5}),
}
}
RETURN_TYPES = ("MODEL", "CLIP", "VAE", "STRING", "STRING", )
RETURN_NAMES = ("MODEL", "CLIP", "VAE", "ckpt_name", "show_help", )
FUNCTION = "select_model"
CATEGORY = icons.get("Comfyroll/Essential/Core")
def select_model(self, ckpt_name1, ckpt_name2, ckpt_name3, ckpt_name4, ckpt_name5, select_model):
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Core-Nodes#cr-select-model"
# Initialise the list
model_list = list()
if select_model == 1:
model_name = ckpt_name1
elif select_model == 2:
model_name = ckpt_name2
elif select_model == 3:
model_name = ckpt_name3
elif select_model == 4:
model_name = ckpt_name4
elif select_model == 5:
model_name = ckpt_name5
if model_name == "None":
print(f"CR Select Model: No model selected")
return()
ckpt_path = folder_paths.get_full_path("checkpoints", model_name)
model, clip, vae, clipvision = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True,
embedding_directory=folder_paths.get_folder_paths("embeddings"))
return (model, clip, vae, model_name, show_help, )
#---------------------------------------------------------------------------------------------------------------------#
# based on Jags111 CircularVAEDecode
class CR_VAEDecode:
@classmethod
def INPUT_TYPES(s):
return {"required": {
"samples": ("LATENT", ),
"vae": ("VAE", ),
"tiled": ("BOOLEAN", {"default": False}),
"circular": ("BOOLEAN", {"default": False}),
}
}
RETURN_TYPES = ("IMAGE", "STRING", )
RETURN_NAMES = ("IMAGE", "show_help", )
FUNCTION = "vae_decode"
CATEGORY = icons.get("Comfyroll/Essential/Core")
def vae_decode(self, samples, vae, circular=False, tiled=False):
show_help = "https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki/Core-Nodes#cr-vae-decode"
if circular == True:
for layer in [layer for layer in vae.first_stage_model.modules() if isinstance(layer, torch.nn.Conv2d)]:
layer.padding_mode = "circular"
if tiled == True:
c = vae.decode_tiled(samples["samples"], tile_x=512, tile_y=512, )
else:
c = vae.decode(samples["samples"])
return (c, show_help, )
#---------------------------------------------------------------------------------------------------------------------#
# MAPPINGS
#---------------------------------------------------------------------------------------------------------------------#
# For reference only, actual mappings are in __init__.py
'''
NODE_CLASS_MAPPINGS = {
### Other
"CR Image Output": CR_ImageOutput,
"CR Latent Batch Size": CR_LatentBatchSize,
"CR Seed": CR_Seed,
"CR Prompt Text": CR_PromptText,
"CR Combine Prompt": CR_CombinePrompt,
"CR Conditioning Mixer": CR_ConditioningMixer,
"CR Select Model": CR_SelectModel,
"CR VAE Decode": CR_VAEDecode,
}
'''
@@ -0,0 +1,36 @@
tree ba82650bf967e51419332c3134758ee13acc34ce
parent 337784440890f5b8ea09489f13daa18c2aeebfb4
author Comfy Org PR Bot <snomiao+comfy-pr@gmail.com> 1768283811 +0900
committer GitHub <noreply@github.com> 1768283811 -0700
gpgsig -----BEGIN PGP SIGNATURE-----
wsFcBAABCAAQBQJpZd6jCRC1aQ7uu5UhlAAATU8QAGvDo/lrjQxKU/ATKZotIvsx
2o7RLpdAybEa3C7W3Dn0a96pixSSCu18+AnXK+krLCFagdRL3Gix2JVRKCIxHvf3
aJxZh0ZAAi/Mzb7fDIqwXgweppEr1qmplzPH3DBmepmpw98ZH1APTC3PqKXyIrtJ
dmoI63bBiq4rwU0LeR1mzULeSxOSOgScvUtSffqccLIIsId1CELd3sLBjNRx5/Fe
ML4inugbochCetrLwGpe4zMy97fbt6CpTOHzsg/DEvb4Cl4WWVaR9egY96QJqyZ3
MEhhrNSeFLie6rGElgU8tT8J5P3j5duyUqnNHRGZ8cd7+aC97jT3RlYp71gVH5Yq
jcV6i3OBbO4in5Tn7xbSG9E+ejON2MWGA3nlR6nJ20dKMJgHZatjF5B+kQ2HHxcf
nRzkAO7W4v7DFeI8JPbVYQgypHVVLYwmrOhp10S0A6VjzlPfKs30KxPhuNZpWNUm
v8zYmhvuwKTo30lUWkaH9J62lo1Y/lzDqZKBzqBCeTusEv7X9fgAM8E94LujwotD
NzUeHGPZDxraJUhwcMA3lZ27sduUo4ZPpP4GdmNfr4Mug6hwFD4wqy20Jt7QvPSI
ZfCjKQFaXTPMtu3p/6fabPpH94YGQ67bbb8qLJmlcm+JIgSNSM+pXZc/WeudRiy2
oqDdyWWvdqszAtoJh3EM
=ZXeL
-----END PGP SIGNATURE-----
1.38.0 (#8021)
Minor version increment to 1.38.0
**Base branch:** `main`
┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8021-1-38-0-2e76d73d3650812d98c4ffa5a5f351ce)
by [Unito](https://www.unito.io)
---------
Co-authored-by: christian-byrne <72887196+christian-byrne@users.noreply.github.com>
Co-authored-by: github-actions <github-actions@github.com>
@@ -0,0 +1 @@
{"ref": "refs/tags/v1.38.0", "object": {"sha": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f", "type": "commit"}, "transport": "git ls-remote exact tag"}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
@@ -0,0 +1,196 @@
{
"name": "@comfyorg/comfyui-frontend",
"private": true,
"version": "1.38.0",
"type": "module",
"repository": "https://github.com/Comfy-Org/ComfyUI_frontend",
"homepage": "https://comfy.org",
"description": "Official front-end implementation of ComfyUI",
"license": "GPL-3.0-only",
"scripts": {
"build:desktop": "nx build @comfyorg/desktop-ui",
"build-storybook": "storybook build",
"build:types": "nx build --config vite.types.config.mts && node scripts/prepare-types.js",
"build:analyze": "cross-env ANALYZE_BUNDLE=true pnpm build",
"build": "cross-env NODE_OPTIONS='--max-old-space-size=8192' pnpm typecheck && nx build",
"size:collect": "node scripts/size-collect.js",
"size:report": "node scripts/size-report.js",
"collect-i18n": "pnpm exec playwright test --config=playwright.i18n.config.ts",
"dev:cloud": "cross-env DEV_SERVER_COMFYUI_URL='https://testcloud.comfy.org/' nx serve",
"dev:desktop": "nx dev @comfyorg/desktop-ui",
"dev:electron": "nx serve --config vite.electron.config.mts",
"dev:no-vue": "cross-env DISABLE_VUE_PLUGINS=true nx serve",
"dev": "nx serve",
"devtools:pycheck": "python3 -m compileall -q tools/devtools",
"format:check:no-cache": "prettier --check './**/*.{js,ts,tsx,vue,mts}'",
"format:check": "prettier --check './**/*.{js,ts,tsx,vue,mts}' --cache",
"format:no-cache": "prettier --write './**/*.{js,ts,tsx,vue,mts}' --list-different",
"format": "prettier --write './**/*.{js,ts,tsx,vue,mts}' --cache --list-different",
"json-schema": "tsx scripts/generate-json-schema.ts",
"knip:no-cache": "knip",
"knip": "knip --cache",
"lint:fix:no-cache": "oxlint src --type-aware --fix && eslint src --fix",
"lint:fix": "oxlint src --type-aware --fix && eslint src --cache --fix",
"lint:no-cache": "oxlint src --type-aware && eslint src",
"lint:unstaged:fix": "git diff --name-only HEAD | grep -E '\\.(js|ts|vue|mts)$' | xargs -r eslint --cache --fix",
"lint:unstaged": "git diff --name-only HEAD | grep -E '\\.(js|ts|vue|mts)$' | xargs -r eslint --cache",
"lint": "oxlint src --type-aware && eslint src --cache",
"lint:desktop": "nx run @comfyorg/desktop-ui:lint",
"locale": "lobe-i18n locale",
"oxlint": "oxlint src --type-aware",
"preinstall": "pnpm dlx only-allow pnpm",
"prepare": "husky || true && git config blame.ignoreRevsFile .git-blame-ignore-revs || true",
"preview": "nx preview",
"storybook": "nx storybook",
"storybook:desktop": "nx run @comfyorg/desktop-ui:storybook",
"stylelint:fix": "stylelint --cache --fix '{apps,packages,src}/**/*.{css,vue}'",
"stylelint": "stylelint --cache '{apps,packages,src}/**/*.{css,vue}'",
"test:browser": "pnpm exec nx e2e",
"test:browser:local": "cross-env PLAYWRIGHT_LOCAL=1 pnpm test:browser",
"test:unit": "nx run test",
"typecheck": "vue-tsc --noEmit",
"typecheck:desktop": "nx run @comfyorg/desktop-ui:typecheck",
"zipdist": "node scripts/zipdist.js",
"clean": "nx reset"
},
"devDependencies": {
"@eslint/js": "catalog:",
"@intlify/eslint-plugin-vue-i18n": "catalog:",
"@lobehub/i18n-cli": "catalog:",
"@nx/eslint": "catalog:",
"@nx/playwright": "catalog:",
"@nx/storybook": "catalog:",
"@nx/vite": "catalog:",
"@pinia/testing": "catalog:",
"@playwright/test": "catalog:",
"@prettier/plugin-oxc": "catalog:",
"@sentry/vite-plugin": "catalog:",
"@storybook/addon-docs": "catalog:",
"@storybook/addon-mcp": "catalog:",
"@storybook/vue3": "catalog:",
"@storybook/vue3-vite": "catalog:",
"@tailwindcss/vite": "catalog:",
"@trivago/prettier-plugin-sort-imports": "catalog:",
"@types/fs-extra": "catalog:",
"@types/jsdom": "catalog:",
"@types/node": "catalog:",
"@types/semver": "catalog:",
"@types/three": "catalog:",
"@vitejs/plugin-vue": "catalog:",
"@vitest/coverage-v8": "catalog:",
"@vitest/ui": "catalog:",
"@vue/test-utils": "catalog:",
"@webgpu/types": "catalog:",
"cross-env": "catalog:",
"eslint": "catalog:",
"eslint-config-prettier": "catalog:",
"eslint-import-resolver-typescript": "catalog:",
"eslint-plugin-import-x": "catalog:",
"eslint-plugin-oxlint": "catalog:",
"eslint-plugin-storybook": "catalog:",
"eslint-plugin-unused-imports": "catalog:",
"eslint-plugin-vue": "catalog:",
"fs-extra": "^11.2.0",
"globals": "catalog:",
"happy-dom": "catalog:",
"husky": "catalog:",
"jiti": "catalog:",
"jsdom": "catalog:",
"knip": "catalog:",
"lint-staged": "catalog:",
"markdown-table": "catalog:",
"mixpanel-browser": "catalog:",
"nx": "catalog:",
"oxlint": "catalog:",
"oxlint-tsgolint": "catalog:",
"picocolors": "catalog:",
"postcss-html": "catalog:",
"prettier": "catalog:",
"pretty-bytes": "catalog:",
"rollup-plugin-visualizer": "catalog:",
"storybook": "catalog:",
"stylelint": "catalog:",
"tailwindcss": "catalog:",
"tailwindcss-primeui": "catalog:",
"tsx": "catalog:",
"tw-animate-css": "catalog:",
"typescript": "catalog:",
"typescript-eslint": "catalog:",
"unplugin-icons": "catalog:",
"unplugin-typegpu": "catalog:",
"unplugin-vue-components": "catalog:",
"uuid": "^11.1.0",
"vite": "catalog:",
"vite-plugin-dts": "catalog:",
"vite-plugin-html": "catalog:",
"vite-plugin-vue-devtools": "catalog:",
"vitest": "catalog:",
"vue-component-type-helpers": "catalog:",
"vue-eslint-parser": "catalog:",
"vue-tsc": "catalog:",
"zip-dir": "^2.0.0",
"zod-to-json-schema": "catalog:"
},
"dependencies": {
"@alloc/quick-lru": "catalog:",
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
"@comfyorg/comfyui-electron-types": "catalog:",
"@comfyorg/design-system": "workspace:*",
"@comfyorg/registry-types": "workspace:*",
"@comfyorg/shared-frontend-utils": "workspace:*",
"@comfyorg/tailwind-utils": "workspace:*",
"@iconify/json": "catalog:",
"@primeuix/forms": "catalog:",
"@primeuix/styled": "catalog:",
"@primeuix/utils": "catalog:",
"@primevue/core": "catalog:",
"@primevue/forms": "catalog:",
"@primevue/icons": "catalog:",
"@primevue/themes": "catalog:",
"@sentry/vue": "catalog:",
"@sparkjsdev/spark": "catalog:",
"@tiptap/core": "^2.10.4",
"@tiptap/extension-link": "^2.10.4",
"@tiptap/extension-table": "^2.10.4",
"@tiptap/extension-table-cell": "^2.10.4",
"@tiptap/extension-table-header": "^2.10.4",
"@tiptap/extension-table-row": "^2.10.4",
"@tiptap/starter-kit": "^2.10.4",
"@vueuse/core": "catalog:",
"@vueuse/integrations": "catalog:",
"@xterm/addon-fit": "^0.10.0",
"@xterm/addon-serialize": "^0.13.0",
"@xterm/xterm": "^5.5.0",
"algoliasearch": "catalog:",
"axios": "catalog:",
"chart.js": "^4.5.0",
"cva": "catalog:",
"dompurify": "^3.2.5",
"dotenv": "catalog:",
"es-toolkit": "^1.39.9",
"extendable-media-recorder": "^9.2.27",
"extendable-media-recorder-wav-encoder": "^7.0.129",
"firebase": "catalog:",
"fuse.js": "^7.0.0",
"glob": "^11.0.3",
"jsondiffpatch": "^0.6.0",
"loglevel": "^1.9.2",
"marked": "^15.0.11",
"pinia": "catalog:",
"primeicons": "catalog:",
"primevue": "catalog:",
"reka-ui": "catalog:",
"semver": "^7.7.2",
"three": "^0.170.0",
"tiptap-markdown": "^0.8.10",
"typegpu": "catalog:",
"vue": "catalog:",
"vue-i18n": "catalog:",
"vue-router": "catalog:",
"vuefire": "catalog:",
"wwobjloader2": "catalog:",
"yjs": "catalog:",
"zod": "catalog:",
"zod-validation-error": "catalog:"
}
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,411 @@
import { MediaRecorder as ExtendableMediaRecorder } from 'extendable-media-recorder'
import { useChainCallback } from '@/composables/functional/useChainCallback'
import { useNodeDragAndDrop } from '@/composables/node/useNodeDragAndDrop'
import { useNodeFileInput } from '@/composables/node/useNodeFileInput'
import { useNodePaste } from '@/composables/node/useNodePaste'
import { t } from '@/i18n'
import type { LGraphNode } from '@/lib/litegraph/src/litegraph'
import type {
IBaseWidget,
IStringWidget
} from '@/lib/litegraph/src/types/widgets'
import { useToastStore } from '@/platform/updates/common/toastStore'
import {
getResourceURL,
splitFilePath
} from '@/renderer/extensions/vueNodes/widgets/utils/audioUtils'
import type { ComfyNodeDef } from '@/schemas/nodeDefSchema'
import type { DOMWidget } from '@/scripts/domWidget'
import { useAudioService } from '@/services/audioService'
import { type NodeLocatorId } from '@/types'
import { getNodeByLocatorId } from '@/utils/graphTraversalUtil'
import { api } from '../../scripts/api'
import { app } from '../../scripts/app'
async function uploadFile(
audioWidget: IStringWidget,
audioUIWidget: DOMWidget<HTMLAudioElement, string>,
file: File,
updateNode: boolean,
pasted: boolean = false
) {
try {
// Wrap file in formdata so it includes filename
const body = new FormData()
body.append('image', file)
if (pasted) body.append('subfolder', 'pasted')
const resp = await api.fetchApi('/upload/image', {
method: 'POST',
body
})
if (resp.status === 200) {
const data = await resp.json()
// Add the file to the dropdown list and update the widget value
let path = data.name
if (data.subfolder) path = data.subfolder + '/' + path
// @ts-expect-error fixme ts strict error
if (!audioWidget.options.values.includes(path)) {
// @ts-expect-error fixme ts strict error
audioWidget.options.values.push(path)
}
if (updateNode) {
audioUIWidget.element.src = api.apiURL(
getResourceURL(...splitFilePath(path))
)
audioWidget.value = path
// Manually trigger the callback to update VueNodes
audioWidget.callback?.(path)
}
} else {
useToastStore().addAlert(resp.status + ' - ' + resp.statusText)
}
} catch (error) {
// @ts-expect-error fixme ts strict error
useToastStore().addAlert(error)
}
}
// AudioWidget MUST be registered first, as AUDIOUPLOAD depends on AUDIO_UI to be
// present.
app.registerExtension({
name: 'Comfy.AudioWidget',
async beforeRegisterNodeDef(nodeType, nodeData) {
if (
[
'LoadAudio',
'SaveAudio',
'PreviewAudio',
'SaveAudioMP3',
'SaveAudioOpus'
].includes(
// @ts-expect-error fixme ts strict error
nodeType.prototype.comfyClass
)
) {
// @ts-expect-error fixme ts strict error
nodeData.input.required.audioUI = ['AUDIO_UI', {}]
}
},
getCustomWidgets() {
return {
AUDIO_UI(node: LGraphNode, inputName: string) {
const audio = document.createElement('audio')
audio.controls = true
audio.classList.add('comfy-audio')
audio.setAttribute('name', 'media')
const audioUIWidget: DOMWidget<HTMLAudioElement, string> =
node.addDOMWidget(inputName, /* name=*/ 'audioUI', audio)
audioUIWidget.serialize = false
const { nodeData } = node.constructor
if (nodeData == null) throw new TypeError('nodeData is null')
const isOutputNode = nodeData.output_node
if (isOutputNode) {
// Hide the audio widget when there is no audio initially.
audioUIWidget.element.classList.add('empty-audio-widget')
// Populate the audio widget UI on node execution.
const onExecuted = node.onExecuted
node.onExecuted = function (message: any) {
// @ts-expect-error fixme ts strict error
onExecuted?.apply(this, arguments)
const audios = message.audio
if (!audios) return
const audio = audios[0]
audioUIWidget.element.src = api.apiURL(
getResourceURL(audio.subfolder, audio.filename, audio.type)
)
audioUIWidget.element.classList.remove('empty-audio-widget')
}
}
audioUIWidget.onRemove = useChainCallback(
audioUIWidget.onRemove,
() => {
if (!audioUIWidget.element) return
audioUIWidget.element.pause()
audioUIWidget.element.src = ''
audioUIWidget.element.remove()
}
)
return { widget: audioUIWidget }
}
}
},
onNodeOutputsUpdated(nodeOutputs: Record<NodeLocatorId, any>) {
for (const [nodeLocatorId, output] of Object.entries(nodeOutputs)) {
if ('audio' in output) {
const node = getNodeByLocatorId(app.rootGraph, nodeLocatorId)
if (!node) continue
// @ts-expect-error fixme ts strict error
const audioUIWidget = node.widgets.find(
(w) => w.name === 'audioUI'
) as unknown as DOMWidget<HTMLAudioElement, string>
const audio = output.audio[0]
audioUIWidget.element.src = api.apiURL(
getResourceURL(audio.subfolder, audio.filename, audio.type)
)
audioUIWidget.element.classList.remove('empty-audio-widget')
}
}
}
})
app.registerExtension({
name: 'Comfy.UploadAudio',
async beforeRegisterNodeDef(_nodeType, nodeData: ComfyNodeDef) {
if (nodeData?.input?.required?.audio?.[1]?.audio_upload === true) {
nodeData.input.required.upload = ['AUDIOUPLOAD', {}]
}
},
getCustomWidgets() {
return {
AUDIOUPLOAD(node, inputName: string) {
// The widget that allows user to select file.
// @ts-expect-error fixme ts strict error
const audioWidget = node.widgets.find(
(w) => w.name === 'audio'
) as IStringWidget
// @ts-expect-error fixme ts strict error
const audioUIWidget = node.widgets.find(
(w) => w.name === 'audioUI'
) as unknown as DOMWidget<HTMLAudioElement, string>
audioUIWidget.options.canvasOnly = true
const onAudioWidgetUpdate = () => {
if (typeof audioWidget.value !== 'string') return
audioUIWidget.element.src = api.apiURL(
getResourceURL(...splitFilePath(audioWidget.value))
)
}
// Initially load default audio file to audioUIWidget.
if (audioWidget.value) {
onAudioWidgetUpdate()
}
audioWidget.callback = onAudioWidgetUpdate
// Load saved audio file widget values if restoring from workflow
const onGraphConfigured = node.onGraphConfigured
node.onGraphConfigured = function () {
// @ts-expect-error fixme ts strict error
onGraphConfigured?.apply(this, arguments)
if (audioWidget.value) {
onAudioWidgetUpdate()
}
}
const handleUpload = async (files: File[]) => {
if (files?.length) {
uploadFile(audioWidget, audioUIWidget, files[0], true)
}
return files
}
const isAudioFile = (file: File) => file.type.startsWith('audio/')
const { openFileSelection } = useNodeFileInput(node, {
accept: 'audio/*',
onSelect: handleUpload
})
// The widget to pop up the upload dialog.
const uploadWidget = node.addWidget(
'button',
inputName,
'',
openFileSelection,
{ serialize: false, canvasOnly: true }
)
uploadWidget.label = t('g.choose_file_to_upload')
useNodeDragAndDrop(node, {
fileFilter: isAudioFile,
onDrop: handleUpload
})
useNodePaste(node, {
fileFilter: isAudioFile,
onPaste: handleUpload
})
node.previewMediaType = 'audio'
return { widget: uploadWidget }
}
}
}
})
app.registerExtension({
name: 'Comfy.RecordAudio',
getCustomWidgets() {
return {
AUDIO_RECORD(node, inputName: string) {
const audio = document.createElement('audio')
audio.controls = true
audio.classList.add('comfy-audio')
audio.setAttribute('name', 'media')
const audioUIWidget: DOMWidget<HTMLAudioElement, string> =
node.addDOMWidget(inputName, /* name=*/ 'audioUI', audio)
audioUIWidget.options.canvasOnly = false
let mediaRecorder: MediaRecorder | null = null
let isRecording = false
let audioChunks: Blob[] = []
let currentStream: MediaStream | null = null
let recordWidget: IBaseWidget | null = null
let stopPromise: Promise<void> | null = null
let stopResolve: (() => void) | null = null
audioUIWidget.serializeValue = async () => {
if (isRecording && mediaRecorder) {
stopPromise = new Promise((resolve) => {
stopResolve = resolve
})
mediaRecorder.stop()
await stopPromise
}
const audioSrc = audioUIWidget.element.src
if (!audioSrc) {
useToastStore().addAlert(t('g.noAudioRecorded'))
return ''
}
const blob = await fetch(audioSrc).then((r) => r.blob())
return await useAudioService().convertBlobToFileAndSubmit(blob)
}
recordWidget = node.addWidget(
'button',
inputName,
'',
async () => {
if (!isRecording) {
try {
currentStream = await navigator.mediaDevices.getUserMedia({
audio: true
})
mediaRecorder = new ExtendableMediaRecorder(currentStream, {
mimeType: 'audio/wav'
}) as unknown as MediaRecorder
audioChunks = []
mediaRecorder.ondataavailable = (event) => {
audioChunks.push(event.data)
}
mediaRecorder.onstop = async () => {
const audioBlob = new Blob(audioChunks, { type: 'audio/wav' })
useAudioService().stopAllTracks(currentStream)
if (
audioUIWidget.element.src &&
audioUIWidget.element.src.startsWith('blob:')
) {
URL.revokeObjectURL(audioUIWidget.element.src)
}
audioUIWidget.element.src = URL.createObjectURL(audioBlob)
isRecording = false
if (recordWidget) {
recordWidget.label = t('g.startRecording')
}
if (stopResolve) {
stopResolve()
stopResolve = null
stopPromise = null
}
}
mediaRecorder.onerror = (event) => {
console.error('MediaRecorder error:', event)
useAudioService().stopAllTracks(currentStream)
isRecording = false
if (recordWidget) {
recordWidget.label = t('g.startRecording')
}
if (stopResolve) {
stopResolve()
stopResolve = null
stopPromise = null
}
}
mediaRecorder.start()
isRecording = true
if (recordWidget) {
recordWidget.label = t('g.stopRecording')
}
} catch (err) {
console.error('Error accessing microphone:', err)
useToastStore().addAlert(t('g.micPermissionDenied'))
if (mediaRecorder) {
try {
mediaRecorder.stop()
} catch {}
}
useAudioService().stopAllTracks(currentStream)
currentStream = null
isRecording = false
if (recordWidget) {
recordWidget.label = t('g.startRecording')
}
}
} else if (mediaRecorder && isRecording) {
mediaRecorder.stop()
}
},
{ serialize: false, canvasOnly: false }
)
recordWidget.label = t('g.startRecording')
// Override the type for Vue rendering while keeping 'button' for LiteGraph
recordWidget.type = 'audiorecord'
const originalOnRemoved = node.onRemoved
node.onRemoved = function () {
if (isRecording && mediaRecorder) {
mediaRecorder.stop()
}
useAudioService().stopAllTracks(currentStream)
if (audioUIWidget.element.src?.startsWith('blob:')) {
URL.revokeObjectURL(audioUIWidget.element.src)
}
originalOnRemoved?.call(this)
}
return { widget: recordWidget }
}
}
},
async nodeCreated(node) {
if (node.constructor.comfyClass !== 'RecordAudio') return
await useAudioService().registerWavEncoder()
}
})
@@ -0,0 +1,614 @@
import {
type CallbackParams,
useChainCallback
} from '@/composables/functional/useChainCallback'
import { LGraphNode, LiteGraph } from '@/lib/litegraph/src/litegraph'
import type {
INodeInputSlot,
INodeOutputSlot,
ISlotType,
LLink
} from '@/lib/litegraph/src/litegraph'
import { NodeSlot } from '@/lib/litegraph/src/node/NodeSlot'
import type { CanvasPointerEvent } from '@/lib/litegraph/src/types/events'
import type { IBaseWidget } from '@/lib/litegraph/src/types/widgets'
import type { InputSpec } from '@/schemas/nodeDefSchema'
import { app } from '@/scripts/app'
import {
ComfyWidgets,
addValueControlWidgets,
isValidWidgetType
} from '@/scripts/widgets'
import { CONFIG, GET_CONFIG } from '@/services/litegraphService'
import { mergeInputSpec } from '@/utils/nodeDefUtil'
import { applyTextReplacements } from '@/utils/searchAndReplace'
import { isPrimitiveNode } from '@/renderer/utils/nodeTypeGuards'
const replacePropertyName = 'Run widget replace on values'
export class PrimitiveNode extends LGraphNode {
controlValues?: any[]
lastType?: string
static override category: string
constructor(title: string) {
super(title)
this.addOutput('connect to widget input', '*')
this.serialize_widgets = true
this.isVirtualNode = true
if (!this.properties || !(replacePropertyName in this.properties)) {
this.addProperty(replacePropertyName, false, 'boolean')
}
}
override applyToGraph(extraLinks: LLink[] = []) {
if (!this.outputs[0].links?.length || !this.graph) return
const links = [
...this.outputs[0].links.map((l) => this.graph!.links[l]),
...extraLinks
]
let v = this.widgets?.[0].value
if (v && this.properties[replacePropertyName]) {
v = applyTextReplacements(this.graph, v as string)
}
// For each output link copy our value over the original widget value
for (const linkInfo of links) {
const node = this.graph?.getNodeById(linkInfo.target_id)
const input = node?.inputs[linkInfo.target_slot]
if (!input) {
console.warn('Unable to resolve node or input for link', linkInfo)
continue
}
const widgetName = input.widget?.name
if (!widgetName) {
console.warn('Invalid widget or widget name', input.widget)
continue
}
const widget = node.widgets?.find((w) => w.name === widgetName)
if (!widget) {
console.warn(
`Unable to find widget "${widgetName}" on node [${node.id}]`
)
continue
}
widget.value = v
widget.callback?.(
widget.value,
app.canvas,
node,
app.canvas.graph_mouse,
{} as CanvasPointerEvent
)
}
}
override refreshComboInNode() {
const widget = this.widgets?.[0]
if (widget?.type === 'combo') {
// @ts-expect-error fixme ts strict error
widget.options.values = this.outputs[0].widget[GET_CONFIG]()[0]
// @ts-expect-error fixme ts strict error
if (!widget.options.values.includes(widget.value as string)) {
// @ts-expect-error fixme ts strict error
widget.value = widget.options.values[0]
;(widget.callback as Function)(widget.value)
}
}
}
override onAfterGraphConfigured() {
if (this.outputs[0].links?.length && !this.widgets?.length) {
this.#onFirstConnection()
// Populate widget values from config data
if (this.widgets && this.widgets_values) {
for (let i = 0; i < this.widgets_values.length; i++) {
const w = this.widgets[i]
if (w) {
w.value = this.widgets_values[i] as any
}
}
}
// Merge values if required
this.#mergeWidgetConfig()
}
}
override onConnectionsChange(
_type: ISlotType,
_index: number,
connected: boolean
) {
if (app.configuringGraph) {
// Dont run while the graph is still setting up
return
}
const links = this.outputs[0].links
if (connected) {
if (links?.length && !this.widgets?.length) {
this.#onFirstConnection()
}
} else {
// We may have removed a link that caused the constraints to change
this.#mergeWidgetConfig()
if (!links?.length) {
this.onLastDisconnect()
}
}
}
override onConnectOutput(
slot: number,
_type: string,
input: INodeInputSlot,
target_node: LGraphNode,
target_slot: number
) {
// Fires before the link is made allowing us to reject it if it isn't valid
// No widget, we can't connect
if (!input.widget && !(input.type in ComfyWidgets)) {
return false
}
if (this.outputs[slot].links?.length) {
const valid = this.#isValidConnection(input)
if (valid) {
// On connect of additional outputs, copy our value to their widget
this.applyToGraph([{ target_id: target_node.id, target_slot } as LLink])
}
return valid
}
return true
}
#onFirstConnection(recreating?: boolean) {
// First connection can fire before the graph is ready on initial load so random things can be missing
if (!this.outputs[0].links || !this.graph) {
this.onLastDisconnect()
return
}
const linkId = this.outputs[0].links[0]
const link = this.graph.links[linkId]
if (!link) return
const theirNode = this.graph.getNodeById(link.target_id)
if (!theirNode || !theirNode.inputs) return
const input = theirNode.inputs[link.target_slot]
if (!input) return
let widget
if (!input.widget) {
if (!(input.type in ComfyWidgets)) return
widget = { name: input.name, [GET_CONFIG]: () => [input.type, {}] } //fake widget
} else {
widget = input.widget
}
// @ts-expect-error fixme ts strict error
const config = widget[GET_CONFIG]?.()
if (!config) return
const { type } = getWidgetType(config)
// Update our output to restrict to the widget type
this.outputs[0].type = type
this.outputs[0].name = type
this.outputs[0].widget = widget
this.#createWidget(
widget[CONFIG] ?? config,
theirNode,
widget.name,
// @ts-expect-error fixme ts strict error
recreating
)
}
#createWidget(
inputData: InputSpec,
node: LGraphNode,
widgetName: string,
recreating: boolean
) {
let type = inputData[0]
if (type instanceof Array) {
type = 'COMBO'
}
// Store current size as addWidget resizes the node
const [oldWidth, oldHeight] = this.size
let widget: IBaseWidget
if (isValidWidgetType(type)) {
widget = (ComfyWidgets[type](this, 'value', inputData, app) || {}).widget
} else {
// @ts-expect-error InputSpec is not typed correctly
widget = this.addWidget(type, 'value', null, () => {}, {})
}
if (node?.widgets && widget) {
const theirWidget = node.widgets.find((w) => w.name === widgetName)
if (theirWidget) {
widget.value = theirWidget.value
}
}
if (
!inputData?.[1]?.control_after_generate &&
(widget.type === 'number' || widget.type === 'combo')
) {
let control_value = this.widgets_values?.[1]
if (!control_value) {
control_value = 'fixed'
}
addValueControlWidgets(
this,
widget,
control_value as string,
undefined,
inputData
)
if (this.widgets?.[1]) widget.linkedWidgets = [this.widgets[1]]
let filter = this.widgets_values?.[2]
if (filter && this.widgets && this.widgets.length === 3) {
this.widgets[2].value = filter
}
}
// Restore any saved control values
const controlValues = this.controlValues
if (
this.widgets &&
this.lastType === this.widgets[0]?.type &&
controlValues?.length === this.widgets.length - 1
) {
for (let i = 0; i < controlValues.length; i++) {
this.widgets[i + 1].value = controlValues[i]
}
}
// When our value changes, update other widgets to reflect our changes
// e.g. so LoadImage shows correct image
widget.callback = useChainCallback(widget.callback, () => {
this.applyToGraph()
})
// Use the biggest dimensions in case the widgets caused the node to grow
this.setSize([
Math.max(this.size[0], oldWidth),
Math.max(this.size[1], oldHeight)
])
if (!recreating) {
// Grow our node more if required
const sz = this.computeSize()
if (this.size[0] < sz[0]) {
this.size[0] = sz[0]
}
if (this.size[1] < sz[1]) {
this.size[1] = sz[1]
}
requestAnimationFrame(() => {
this.onResize?.(this.size)
})
}
}
recreateWidget() {
const values = this.widgets?.map((w) => w.value)
this.#removeWidgets()
this.#onFirstConnection(true)
if (values?.length && this.widgets) {
for (let i = 0; i < this.widgets.length; i++)
this.widgets[i].value = values[i]
}
return this.widgets?.[0]
}
#mergeWidgetConfig() {
// Merge widget configs if the node has multiple outputs
const output = this.outputs[0]
const links = output.links ?? []
const hasConfig = !!output.widget?.[CONFIG]
if (hasConfig) {
delete output.widget?.[CONFIG]
}
if (links?.length < 2 && hasConfig) {
// Copy the widget options from the source
if (links.length) {
this.recreateWidget()
}
return
}
const config1 = (output.widget?.[GET_CONFIG] as () => InputSpec)?.()
if (!config1) return
const isNumber = config1[0] === 'INT' || config1[0] === 'FLOAT'
if (!isNumber || !this.graph) return
for (const linkId of links) {
const link = this.graph.links[linkId]
if (!link) continue // Can be null when removing a node
const theirNode = this.graph.getNodeById(link.target_id)
if (!theirNode) continue
const theirInput = theirNode.inputs[link.target_slot]
// Call is valid connection so it can merge the configs when validating
this.#isValidConnection(theirInput, hasConfig)
}
}
#isValidConnection(input: INodeInputSlot, forceUpdate?: boolean) {
// Only allow connections where the configs match
const output = this.outputs?.[0]
const config2 = (input.widget?.[GET_CONFIG] as () => InputSpec)?.()
if (!config2) return false
return !!mergeIfValid.call(
this,
output,
config2,
forceUpdate,
this.recreateWidget
)
}
#removeWidgets() {
if (this.widgets) {
// Allow widgets to cleanup
for (const w of this.widgets) {
if (w.onRemove) {
w.onRemove()
}
}
// Temporarily store the current values in case the node is being recreated
// e.g. by group node conversion
this.controlValues = []
this.lastType = this.widgets[0]?.type
for (let i = 1; i < this.widgets.length; i++) {
this.controlValues.push(this.widgets[i].value)
}
setTimeout(() => {
delete this.lastType
delete this.controlValues
}, 15)
this.widgets.length = 0
}
}
onLastDisconnect() {
// We can't remove + re-add the output here as if you drag a link over the same link
// it removes, then re-adds, causing it to break
this.outputs[0].type = '*'
this.outputs[0].name = 'connect to widget input'
delete this.outputs[0].widget
this.#removeWidgets()
}
}
export function getWidgetConfig(
slot: INodeInputSlot | INodeOutputSlot
): InputSpec {
return (slot.widget?.[CONFIG] ??
(slot.widget?.[GET_CONFIG] as () => InputSpec)?.() ?? [
'*',
{}
]) as InputSpec
}
function getConfig(this: LGraphNode, widgetName: string) {
const { nodeData } = this.constructor
return (
nodeData?.input?.required?.[widgetName] ??
nodeData?.input?.optional?.[widgetName]
)
}
/**
* Convert a widget to an input slot.
* @deprecated Widget to socket conversion is no longer necessary, as they co-exist now.
* @param node The node to convert the widget to an input slot for.
* @param widget The widget to convert to an input slot.
* @returns The input slot that was converted from the widget or undefined if the widget is not found.
* @knipIgnoreUnusedButUsedByCustomNodes
*/
export function convertToInput(
node: LGraphNode,
widget: IBaseWidget
): INodeInputSlot | undefined {
console.warn(
'Please remove call to convertToInput. Widget to socket conversion is no longer necessary, as they co-exist now.'
)
return node.inputs.find((slot) => slot.widget?.name === widget.name)
}
function getWidgetType(config: InputSpec) {
// Special handling for COMBO so we restrict links based on the entries
let type = config[0]
if (type instanceof Array) {
type = 'COMBO'
}
return { type }
}
export function setWidgetConfig(slot: INodeInputSlot, config?: InputSpec) {
if (!slot.widget) return
if (config) {
slot.widget[GET_CONFIG] = () => config
} else {
delete slot.widget
}
if (!(slot instanceof NodeSlot)) return
const graph = slot.node.graph
if (!graph) return
const link = graph.links[slot.link ?? -1]
if (!link) return
const originNode = graph.getNodeById(link.origin_id)
if (!originNode || !isPrimitiveNode(originNode)) return
if (config) {
originNode.recreateWidget()
} else if (!app.configuringGraph) {
originNode.disconnectOutput(0)
originNode.onLastDisconnect()
}
}
export function mergeIfValid(
output: INodeOutputSlot | INodeInputSlot,
config2: InputSpec,
forceUpdate?: boolean,
recreateWidget?: () => void,
config1?: InputSpec
): { customConfig: InputSpec[1] } {
if (!config1) {
config1 = getWidgetConfig(output)
}
const customSpec = mergeInputSpec(config1, config2)
if (customSpec || forceUpdate) {
if (customSpec) {
// @ts-expect-error fixme ts strict error
output.widget[CONFIG] = customSpec
}
// @ts-expect-error fixme ts strict error
const widget = recreateWidget?.call(this)
// When deleting a node this can be null
if (widget) {
// @ts-expect-error fixme ts strict error
const min = widget.options.min
// @ts-expect-error fixme ts strict error
const max = widget.options.max
// @ts-expect-error fixme ts strict error
if (min != null && widget.value < min) widget.value = min
// @ts-expect-error fixme ts strict error
if (max != null && widget.value > max) widget.value = max
// @ts-expect-error fixme ts strict error
widget.callback(widget.value)
}
}
return { customConfig: customSpec?.[1] ?? {} }
}
app.registerExtension({
name: 'Comfy.WidgetInputs',
async beforeRegisterNodeDef(nodeType, _nodeData, app) {
// @ts-expect-error adding extra property
nodeType.prototype.convertWidgetToInput = function (this: LGraphNode) {
console.warn(
'Please remove call to convertWidgetToInput. Widget to socket conversion is no longer necessary, as they co-exist now.'
)
return false
}
nodeType.prototype.onGraphConfigured = useChainCallback(
nodeType.prototype.onGraphConfigured,
function (this: LGraphNode) {
if (!this.inputs) return
this.widgets ??= []
for (const input of this.inputs) {
if (input.widget) {
const name = input.widget.name
if (!input.widget[GET_CONFIG]) {
input.widget[GET_CONFIG] = () => getConfig.call(this, name)
}
const w = this.widgets?.find((w) => w.name === name)
if (!w) {
this.removeInput(this.inputs.findIndex((i) => i === input))
}
}
}
}
)
nodeType.prototype.onConfigure = useChainCallback(
nodeType.prototype.onConfigure,
function (this: LGraphNode) {
if (!app.configuringGraph && this.inputs) {
// On copy + paste of nodes, ensure that widget configs are set up
for (const input of this.inputs) {
if (input.widget && !input.widget[GET_CONFIG]) {
const name = input.widget.name
input.widget[GET_CONFIG] = () => getConfig.call(this, name)
}
}
}
}
)
// Double click a widget input to automatically attach a primitive
const origOnInputDblClick = nodeType.prototype.onInputDblClick
nodeType.prototype.onInputDblClick = function (
this: LGraphNode,
...[slot, ...args]: CallbackParams<typeof origOnInputDblClick>
) {
const r = origOnInputDblClick?.apply(this, [slot, ...args])
const input = this.inputs[slot]
if (!input.widget) {
// Not a widget input or already handled input
if (
!(input.type in ComfyWidgets) &&
!(
(
input.widget?.[GET_CONFIG] as (() => InputSpec) | undefined
)?.()?.[0] instanceof Array
)
) {
return r //also Not a ComfyWidgets input or combo (do nothing)
}
}
// Create a primitive node
const node = LiteGraph.createNode('PrimitiveNode')
const graph = app.canvas.graph
if (!node || !graph) return r
graph?.add(node)
// Calculate a position that won't directly overlap another node
const pos: [number, number] = [
this.pos[0] - node.size[0] - 30,
this.pos[1]
]
while (graph.getNodeOnPos(pos[0], pos[1], graph.nodes))
pos[1] += LiteGraph.NODE_TITLE_HEIGHT
node.pos = pos
node.connect(0, this, slot)
node.title = input.name
return r
}
},
registerCustomNodes() {
LiteGraph.registerNodeType(
'PrimitiveNode',
Object.assign(PrimitiveNode, {
title: 'Primitive'
})
)
PrimitiveNode.category = 'utils'
}
})
@@ -0,0 +1,19 @@
Copyright (C) 2013 by Javi Agenjo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@@ -0,0 +1,95 @@
import { clamp } from 'es-toolkit/compat'
import type { LGraphNode } from '@/lib/litegraph/src/litegraph'
import type { INumericWidget } from '@/lib/litegraph/src/types/widgets'
import { useSettingStore } from '@/platform/settings/settingStore'
import { isFloatInputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
import type { InputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
import type { ComfyWidgetConstructorV2 } from '@/scripts/widgets'
import { addValueControlWidget } from '@/scripts/widgets'
import { transformInputSpecV2ToV1 } from '@/schemas/nodeDef/migration'
function onFloatValueChange(this: INumericWidget, v: number) {
const round = this.options.round
if (round) {
const precision =
this.options.precision ?? Math.max(0, -Math.floor(Math.log10(round)))
const rounded = Math.round(v / round) * round
this.value = clamp(
Number(rounded.toFixed(precision)),
this.options.min ?? -Infinity,
this.options.max ?? Infinity
)
} else {
this.value = v
}
}
export const _for_testing = {
onFloatValueChange
}
export const useFloatWidget = () => {
const widgetConstructor: ComfyWidgetConstructorV2 = (
node: LGraphNode,
inputSpec: InputSpec
) => {
if (!isFloatInputSpec(inputSpec)) {
throw new Error(`Invalid input data: ${inputSpec}`)
}
const settingStore = useSettingStore()
const sliderEnabled = !settingStore.get('Comfy.DisableSliders')
const display_type = inputSpec.display
const widgetType =
sliderEnabled && display_type == 'slider'
? 'slider'
: display_type == 'knob'
? 'knob'
: 'number'
const step = inputSpec.step ?? 0.5
const precision =
settingStore.get('Comfy.FloatRoundingPrecision') ||
Math.max(0, -Math.floor(Math.log10(step)))
const enableRounding = !settingStore.get('Comfy.DisableFloatRounding')
/** Assertion {@link inputSpec.default} */
const defaultValue = (inputSpec.default as number | undefined) ?? 0
const widget = node.addWidget(
widgetType,
inputSpec.name,
defaultValue,
onFloatValueChange,
{
min: inputSpec.min ?? 0,
max: inputSpec.max ?? 2048,
round:
enableRounding && precision && !inputSpec.round
? Math.pow(10, -precision)
: (inputSpec.round as number),
/** @deprecated Use step2 instead. The 10x value is a legacy implementation. */
step: step * 10.0,
step2: step,
precision
}
)
if (inputSpec.control_after_generate) {
const controlWidget = addValueControlWidget(
node,
widget,
'fixed',
undefined,
undefined,
transformInputSpecV2ToV1(inputSpec)
)
widget.linkedWidgets = [controlWidget]
}
return widget
}
return widgetConstructor
}
@@ -0,0 +1,89 @@
import type { LGraphNode } from '@/lib/litegraph/src/litegraph'
import type { INumericWidget } from '@/lib/litegraph/src/types/widgets'
import { useSettingStore } from '@/platform/settings/settingStore'
import type { InputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
import { isIntInputSpec } from '@/schemas/nodeDef/nodeDefSchemaV2'
import type { ComfyWidgetConstructorV2 } from '@/scripts/widgets'
import { addValueControlWidget } from '@/scripts/widgets'
import { transformInputSpecV2ToV1 } from '@/schemas/nodeDef/migration'
function onValueChange(this: INumericWidget, v: number) {
// For integers, always round to the nearest step
// step === 0 is invalid, assign 1 if options.step is 0
const step = this.options.step2 || 1
if (step === 1) {
// Simple case: round to nearest integer
this.value = Math.round(v)
} else {
// Round to nearest multiple of step
// First, determine if min value creates an offset
const min = this.options.min ?? 0
const offset = min % step
// Round to nearest step, accounting for offset
this.value = Math.round((v - offset) / step) * step + offset
}
}
export const _for_testing = {
onValueChange
}
export const useIntWidget = () => {
const widgetConstructor: ComfyWidgetConstructorV2 = (
node: LGraphNode,
inputSpec: InputSpec
) => {
if (!isIntInputSpec(inputSpec)) {
throw new Error(`Invalid input data: ${inputSpec}`)
}
const settingStore = useSettingStore()
const sliderEnabled = !settingStore.get('Comfy.DisableSliders')
const display_type = inputSpec.display
const widgetType =
sliderEnabled && display_type == 'slider'
? 'slider'
: display_type == 'knob'
? 'knob'
: 'number'
const step = inputSpec.step ?? 1
/** Assertion {@link inputSpec.default} */
const defaultValue = (inputSpec.default as number | undefined) ?? 0
const widget = node.addWidget(
widgetType,
inputSpec.name,
defaultValue,
onValueChange,
{
min: inputSpec.min ?? 0,
max: inputSpec.max ?? 2048,
/** @deprecated Use step2 instead. The 10x value is a legacy implementation. */
step: step * 10,
step2: step,
precision: 0
}
)
const controlAfterGenerate =
inputSpec.control_after_generate ??
['seed', 'noise_seed'].includes(inputSpec.name)
if (controlAfterGenerate) {
const controlWidget = addValueControlWidget(
node,
widget,
'randomize',
undefined,
undefined,
transformInputSpecV2ToV1(inputSpec)
)
widget.linkedWidgets = [controlWidget]
}
return widget
}
return widgetConstructor
}
@@ -0,0 +1,143 @@
import type {
ComfyNodeDef as ComfyNodeDefV2,
InputSpec as InputSpecV2,
OutputSpec as OutputSpecV2
} from '@/schemas/nodeDef/nodeDefSchemaV2'
import type {
ComfyNodeDef as ComfyNodeDefV1,
InputSpec as InputSpecV1
} from '@/schemas/nodeDefSchema'
import {
getComboSpecComboOptions,
isComboInputSpec,
isComboInputSpecV1
} from '@/schemas/nodeDefSchema'
/**
* Transforms a V1 node definition to V2 format
* @param nodeDefV1 The V1 node definition to transform
* @returns The transformed V2 node definition
*/
export function transformNodeDefV1ToV2(
nodeDefV1: ComfyNodeDefV1
): ComfyNodeDefV2 {
// Transform inputs
const inputs: Record<string, InputSpecV2> = {}
// Process required inputs
if (nodeDefV1.input?.required) {
Object.entries(nodeDefV1.input.required).forEach(([name, inputSpecV1]) => {
inputs[name] = transformInputSpecV1ToV2(inputSpecV1, {
name,
isOptional: false
})
})
}
// Process optional inputs
if (nodeDefV1.input?.optional) {
Object.entries(nodeDefV1.input.optional).forEach(([name, inputSpecV1]) => {
inputs[name] = transformInputSpecV1ToV2(inputSpecV1, {
name,
isOptional: true
})
})
}
// Transform outputs
const outputs: OutputSpecV2[] = []
if (nodeDefV1.output) {
if (Array.isArray(nodeDefV1.output)) {
nodeDefV1.output.forEach((outputType, index) => {
const outputSpec: OutputSpecV2 = {
index,
name: nodeDefV1.output_name?.[index] || `output_${index}`,
type: Array.isArray(outputType) ? 'COMBO' : outputType,
is_list: nodeDefV1.output_is_list?.[index] || false,
tooltip: nodeDefV1.output_tooltips?.[index]
}
// Add options for combo outputs
if (Array.isArray(outputType)) {
outputSpec.options = outputType
}
outputs.push(outputSpec)
})
} else {
console.warn('nodeDefV1.output is not an array:', nodeDefV1.output)
}
}
// Create the V2 node definition
return {
inputs,
outputs,
hidden: nodeDefV1.input?.hidden,
name: nodeDefV1.name,
display_name: nodeDefV1.display_name,
description: nodeDefV1.description,
category: nodeDefV1.category,
output_node: nodeDefV1.output_node,
python_module: nodeDefV1.python_module,
deprecated: nodeDefV1.deprecated,
experimental: nodeDefV1.experimental
}
}
/**
* Transforms a V1 input specification to V2 format
* @param inputSpecV1 The V1 input specification to transform
* @param name The name of the input
* @param isOptional Whether the input is optional
* @returns The transformed V2 input specification
*/
export function transformInputSpecV1ToV2(
inputSpecV1: InputSpecV1,
kwargs: {
name: string
isOptional?: boolean
}
): InputSpecV2 {
const { name, isOptional = false } = kwargs
// Extract options from the input spec
const options = inputSpecV1[1] || {}
// Base properties for all input types
const baseProps = {
name,
isOptional,
...options
}
// Handle different input types
if (isComboInputSpec(inputSpecV1)) {
return {
type: 'COMBO',
...baseProps,
options: isComboInputSpecV1(inputSpecV1)
? inputSpecV1[0]
: getComboSpecComboOptions(inputSpecV1)
}
} else if (typeof inputSpecV1[0] === 'string') {
// Handle standard types (INT, FLOAT, BOOLEAN, STRING) and custom types
return {
type: inputSpecV1[0],
...baseProps
}
}
// Fallback for any unhandled cases
return {
type: 'UNKNOWN',
...baseProps
}
}
export function transformInputSpecV2ToV1(
inputSpecV2: InputSpecV2
): InputSpecV1 {
return [inputSpecV2.type, inputSpecV2]
}
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,308 @@
import { t } from '@/i18n'
import { type LGraphNode, isComboWidget } from '@/lib/litegraph/src/litegraph'
import type {
IBaseWidget,
IComboWidget,
IStringWidget
} from '@/lib/litegraph/src/types/widgets'
import { useSettingStore } from '@/platform/settings/settingStore'
import { dynamicWidgets } from '@/core/graph/widgets/dynamicWidgets'
import { useBooleanWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useBooleanWidget'
import { useChartWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useChartWidget'
import { useColorWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useColorWidget'
import { useComboWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useComboWidget'
import { useFloatWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useFloatWidget'
import { useGalleriaWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useGalleriaWidget'
import { useImageCompareWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useImageCompareWidget'
import { useImageUploadWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useImageUploadWidget'
import { useIntWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useIntWidget'
import { useMarkdownWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useMarkdownWidget'
import { useStringWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useStringWidget'
import { useTextareaWidget } from '@/renderer/extensions/vueNodes/widgets/composables/useTextareaWidget'
import { transformInputSpecV1ToV2 } from '@/schemas/nodeDef/migration'
import type { InputSpec as InputSpecV2 } from '@/schemas/nodeDef/nodeDefSchemaV2'
import type { InputSpec } from '@/schemas/nodeDefSchema'
import type { ComfyApp } from './app'
import './domWidget'
import './errorNodeWidgets'
export type ComfyWidgetConstructorV2 = (
node: LGraphNode,
inputSpec: InputSpecV2
) => IBaseWidget
export type ComfyWidgetConstructor = (
node: LGraphNode,
inputName: string,
inputData: InputSpec,
app: ComfyApp,
widgetName?: string
) => { widget: IBaseWidget; minWidth?: number; minHeight?: number }
/**
* Transforms a V2 widget constructor to a V1 widget constructor.
* @param widgetConstructorV2 The V2 widget constructor to transform.
* @returns The transformed V1 widget constructor.
*/
const transformWidgetConstructorV2ToV1 = (
widgetConstructorV2: ComfyWidgetConstructorV2
): ComfyWidgetConstructor => {
return (node, inputName, inputData) => {
const inputSpec = transformInputSpecV1ToV2(inputData, {
name: inputName
})
const widget = widgetConstructorV2(node, inputSpec)
return {
widget,
minWidth: widget.options.minNodeSize?.[0],
minHeight: widget.options.minNodeSize?.[1]
}
}
}
function controlValueRunBefore() {
return useSettingStore().get('Comfy.WidgetControlMode') === 'before'
}
export function updateControlWidgetLabel(widget: IBaseWidget) {
if (controlValueRunBefore()) {
widget.label = t('g.control_before_generate')
} else {
widget.label = t('g.control_after_generate')
}
}
export const IS_CONTROL_WIDGET = Symbol()
const HAS_EXECUTED = Symbol()
export function addValueControlWidget(
node: LGraphNode,
targetWidget: IBaseWidget,
defaultValue?: string,
_values?: unknown,
widgetName?: string,
inputData?: InputSpec
): IComboWidget {
let name = inputData?.[1]?.control_after_generate
if (typeof name !== 'string') {
name = widgetName
}
const widgets = addValueControlWidgets(
node,
targetWidget,
defaultValue ?? 'randomize',
{
addFilterList: false,
controlAfterGenerateName: name
},
inputData
)
return widgets[0]
}
export function addValueControlWidgets(
node: LGraphNode,
targetWidget: IBaseWidget,
defaultValue?: string,
options?: Record<string, any>,
inputData?: InputSpec
): [IComboWidget, ...IStringWidget[]] {
if (!defaultValue) defaultValue = 'randomize'
if (!options) options = {}
const getName = (defaultName: string, optionName: string) => {
let name = defaultName
if (options[optionName]) {
name = options[optionName]
} else if (typeof inputData?.[1]?.[defaultName] === 'string') {
name = inputData?.[1]?.[defaultName]
} else if (inputData?.[1]?.control_prefix) {
name = inputData?.[1]?.control_prefix + ' ' + name
}
return name
}
const valueControl = node.addWidget(
'combo',
getName('control_after_generate', 'controlAfterGenerateName'),
defaultValue,
function () {},
{
values: ['fixed', 'increment', 'decrement', 'randomize'],
serialize: false, // Don't include this in prompt.
canvasOnly: true
}
) as IComboWidget
valueControl.tooltip =
'Allows the linked widget to be changed automatically, for example randomizing the noise seed.'
valueControl[IS_CONTROL_WIDGET] = true
updateControlWidgetLabel(valueControl)
const widgets: [IComboWidget, ...IStringWidget[]] = [valueControl]
const isCombo = isComboWidget(targetWidget)
let comboFilter: IStringWidget
if (isCombo && valueControl.options.values) {
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
valueControl.options.values.push('increment-wrap')
}
if (isCombo && options.addFilterList !== false) {
comboFilter = node.addWidget(
'string',
getName('control_filter_list', 'controlFilterListName'),
'',
function () {},
{
serialize: false // Don't include this in prompt.
}
) as IStringWidget
updateControlWidgetLabel(comboFilter)
comboFilter.tooltip =
"Allows for filtering the list of values when changing the value via the control generate mode. Allows for RegEx matches in the format /abc/ to only filter to values containing 'abc'."
widgets.push(comboFilter)
}
const applyWidgetControl = () => {
var v = valueControl.value
if (isCombo && v !== 'fixed') {
let values = targetWidget.options.values ?? []
const filter = comboFilter?.value
if (filter) {
let check
if (filter.startsWith('/') && filter.endsWith('/')) {
try {
const regex = new RegExp(filter.substring(1, filter.length - 1))
check = (item: string) => regex.test(item)
} catch (error) {
console.error(
'Error constructing RegExp filter for node ' + node.id,
filter,
error
)
}
}
if (!check) {
const lower = filter.toLocaleLowerCase()
check = (item: string) => item.toLocaleLowerCase().includes(lower)
}
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
values = values.filter((item: string) => check(item))
if (!values.length && targetWidget.options.values?.length) {
console.warn(
'Filter for node ' + node.id + ' has filtered out all items',
filter
)
}
}
// @ts-expect-error targetWidget.value can be number or string
let current_index = values.indexOf(targetWidget.value)
let current_length = values.length
switch (v) {
case 'increment':
current_index += 1
break
case 'increment-wrap':
current_index += 1
if (current_index >= current_length) {
current_index = 0
}
break
case 'decrement':
current_index -= 1
break
case 'randomize':
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
current_index = Math.floor(Math.random() * current_length)
break
default:
break
}
current_index = Math.max(0, current_index)
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
current_index = Math.min(current_length - 1, current_index)
if (current_index >= 0) {
// @ts-expect-error Combo widget values may be a dictionary or legacy function type
let value = values[current_index]
targetWidget.value = value
targetWidget.callback?.(value)
}
} else {
//number
let { min = 0, max = 1, step2 = 1 } = targetWidget.options
// limit to something that javascript can handle
max = Math.min(1125899906842624, max)
min = Math.max(-1125899906842624, min)
let range = (max - min) / step2
//adjust values based on valueControl Behaviour
switch (v) {
case 'fixed':
break
case 'increment':
// @ts-expect-error targetWidget.value can be number or string
targetWidget.value += step2
break
case 'decrement':
// @ts-expect-error targetWidget.value can be number or string
targetWidget.value -= step2
break
case 'randomize':
targetWidget.value = Math.floor(Math.random() * range) * step2 + min
break
default:
break
}
/*check if values are over or under their respective
* ranges and set them to min or max.*/
// @ts-expect-error targetWidget.value can be number or string
if (targetWidget.value < min) targetWidget.value = min
// @ts-expect-error targetWidget.value can be number or string
if (targetWidget.value > max) targetWidget.value = max
targetWidget.callback?.(targetWidget.value)
}
}
valueControl.beforeQueued = () => {
if (controlValueRunBefore()) {
// Don't run on first execution
if (valueControl[HAS_EXECUTED]) {
applyWidgetControl()
}
}
valueControl[HAS_EXECUTED] = true
}
valueControl.afterQueued = () => {
if (!controlValueRunBefore()) {
applyWidgetControl()
}
}
return widgets
}
export const ComfyWidgets = {
INT: transformWidgetConstructorV2ToV1(useIntWidget()),
FLOAT: transformWidgetConstructorV2ToV1(useFloatWidget()),
BOOLEAN: transformWidgetConstructorV2ToV1(useBooleanWidget()),
STRING: transformWidgetConstructorV2ToV1(useStringWidget()),
MARKDOWN: transformWidgetConstructorV2ToV1(useMarkdownWidget()),
COMBO: transformWidgetConstructorV2ToV1(useComboWidget()),
IMAGEUPLOAD: useImageUploadWidget(),
COLOR: transformWidgetConstructorV2ToV1(useColorWidget()),
IMAGECOMPARE: transformWidgetConstructorV2ToV1(useImageCompareWidget()),
CHART: transformWidgetConstructorV2ToV1(useChartWidget()),
GALLERIA: transformWidgetConstructorV2ToV1(useGalleriaWidget()),
TEXTAREA: transformWidgetConstructorV2ToV1(useTextareaWidget()),
...dynamicWidgets
} as const
export function isValidWidgetType(
key: unknown
): key is keyof typeof ComfyWidgets {
return ComfyWidgets[key as keyof typeof ComfyWidgets] !== undefined
}
@@ -0,0 +1 @@
{"author":"","banner_url":"","category":"","created_at":"2025-12-11T17:49:56.961185Z","description":"Run LLM/VLM models natively in ComfyUI based on llama.cpp","downloads":74544,"github_stars":581,"icon":"","id":"llama-cpp_vllm","latest_version":{"changelog":"","createdAt":"2026-08-17T13:15:49.341973Z","dependencies":["diskcache","scipy","numpy","pillow","gguf"],"deprecated":false,"downloadUrl":"","id":"1bf1b75a-de1d-4d61-a189-5c1b4f2959ca","node_id":"llama-cpp_vllm","status":"NodeVersionStatusFlagged","supported_accelerators":["GPU :: NVIDIA CUDA","GPU :: Apple Metal"],"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":["Microsoft :: Windows","POSIX :: Linux","MacOS"],"tags":[],"version":"1.3.1"},"license":"{\"file\": \"LICENSE\"}","name":"ComfyUI-llama-cpp_vlm","publisher":{"createdAt":"2025-12-11T17:35:45.191721Z","description":"","id":"lhy666","logo":"","members":[{"user":{"name":"Big Pear"}}],"name":"Haoyun Li","source_code_repo":"","status":"PublisherStatusActive","support":"","website":""},"rating":0,"repository":"https://github.com/lihaoyun6/ComfyUI-llama-cpp_vlm","search_ranking":5,"status":"NodeStatusActive","supported_accelerators":["GPU :: NVIDIA CUDA","GPU :: Apple Metal"],"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":["Microsoft :: Windows","POSIX :: Linux","MacOS"],"tags":[]}
@@ -0,0 +1,10 @@
{
"repo": "lihaoyun6/ComfyUI-llama-cpp_vlm",
"requested_commit": "20571a3cf504b8308781d3cad2e432444ec3d75b",
"registry_id": "llama-cpp_vllm",
"attempts": [
"git fetch exact commit: upload-pack not our ref",
"pinned raw nodes.py: HTTP 404"
],
"conclusion": "准确提交不可得;不套f2209ccc或其它版,三个节点schema/实现/恢复/许可绑定未知"
}
@@ -0,0 +1 @@
{"changelog":"","createdAt":"2025-04-30T12:00:36.389293Z","dependencies":[],"deprecated":false,"downloadUrl":"https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip","id":"0baa100d-7e50-4da1-9a77-9aa324b709c3","node_id":"comfyui-custom-scripts","status":"NodeVersionStatusActive","supported_accelerators":null,"supported_comfyui_frontend_version":"","supported_comfyui_version":"","supported_os":null,"tags":[],"version":"1.2.5"}
Binary file not shown.
@@ -0,0 +1,70 @@
[
".github/workflows/publish.yml",
".gitignore",
"LICENSE",
"README.md",
"__init__.py",
"py/autocomplete.py",
"py/better_combos.py",
"py/constrain_image.py",
"py/constrain_image_for_video.py",
"py/math_expression.py",
"py/model_info.py",
"py/play_sound.py",
"py/repeater.py",
"py/reroute_primitive.py",
"py/show_text.py",
"py/string_function.py",
"py/system_notification.py",
"py/text_files.py",
"py/workflows.py",
"pyproject.toml",
"pysssss.default.json",
"pysssss.example.json",
"pysssss.py",
"user/text_file_dirs.json",
"web/js/assets/canvas2svg.js",
"web/js/assets/favicon-active.ico",
"web/js/assets/favicon.ico",
"web/js/assets/no-image.png",
"web/js/assets/notify.mp3",
"web/js/autocompleter.js",
"web/js/betterCombos.js",
"web/js/common/autocomplete.css",
"web/js/common/autocomplete.js",
"web/js/common/binding.js",
"web/js/common/lightbox.css",
"web/js/common/lightbox.js",
"web/js/common/modelInfoDialog.css",
"web/js/common/modelInfoDialog.js",
"web/js/common/spinner.css",
"web/js/common/spinner.js",
"web/js/common/utils.js",
"web/js/contextMenuHook.js",
"web/js/customColors.js",
"web/js/faviconStatus.js",
"web/js/graphArrange.js",
"web/js/imageFeed.js",
"web/js/kSamplerAdvDenoise.js",
"web/js/linkRenderMode.js",
"web/js/mathExpression.js",
"web/js/middleClickAddDefaultNode.js",
"web/js/modelInfo.js",
"web/js/nodeFinder.js",
"web/js/playSound.js",
"web/js/presetText.js",
"web/js/quickNodes.js",
"web/js/repeater.js",
"web/js/reroutePrimitive.js",
"web/js/showImageOnMenu.js",
"web/js/showText.js",
"web/js/snapToGrid.js",
"web/js/snapToGridGuide.js",
"web/js/stringFunction.js",
"web/js/swapResolution.js",
"web/js/systemNotification.js",
"web/js/useNumberInputPrompt.js",
"web/js/widgetDefaults.js",
"web/js/workflowImage.js",
"web/js/workflows.js"
]
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2023 pythongosssss
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
@@ -0,0 +1,25 @@
import importlib.util
import glob
import os
import sys
from .pysssss import init, get_ext_dir
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
if init():
py = get_ext_dir("py")
files = glob.glob(os.path.join(py, "*.py"), recursive=False)
for file in files:
name = os.path.splitext(file)[0]
spec = importlib.util.spec_from_file_location(name, file)
module = importlib.util.module_from_spec(spec)
sys.modules[name] = module
spec.loader.exec_module(module)
if hasattr(module, "NODE_CLASS_MAPPINGS") and getattr(module, "NODE_CLASS_MAPPINGS") is not None:
NODE_CLASS_MAPPINGS.update(module.NODE_CLASS_MAPPINGS)
if hasattr(module, "NODE_DISPLAY_NAME_MAPPINGS") and getattr(module, "NODE_DISPLAY_NAME_MAPPINGS") is not None:
NODE_DISPLAY_NAME_MAPPINGS.update(module.NODE_DISPLAY_NAME_MAPPINGS)
WEB_DIRECTORY = "./web"
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS", "WEB_DIRECTORY"]
@@ -0,0 +1,49 @@
class ShowText:
@classmethod
def INPUT_TYPES(s):
return {
"required": {
"text": ("STRING", {"forceInput": True}),
},
"hidden": {
"unique_id": "UNIQUE_ID",
"extra_pnginfo": "EXTRA_PNGINFO",
},
}
INPUT_IS_LIST = True
RETURN_TYPES = ("STRING",)
FUNCTION = "notify"
OUTPUT_NODE = True
OUTPUT_IS_LIST = (True,)
CATEGORY = "utils"
def notify(self, text, unique_id=None, extra_pnginfo=None):
if unique_id is not None and extra_pnginfo is not None:
if not isinstance(extra_pnginfo, list):
print("Error: extra_pnginfo is not a list")
elif (
not isinstance(extra_pnginfo[0], dict)
or "workflow" not in extra_pnginfo[0]
):
print("Error: extra_pnginfo[0] is not a dict or missing 'workflow' key")
else:
workflow = extra_pnginfo[0]["workflow"]
node = next(
(x for x in workflow["nodes"] if str(x["id"]) == str(unique_id[0])),
None,
)
if node:
node["widgets_values"] = [text]
return {"ui": {"text": text}, "result": (text,)}
NODE_CLASS_MAPPINGS = {
"ShowText|pysssss": ShowText,
}
NODE_DISPLAY_NAME_MAPPINGS = {
"ShowText|pysssss": "Show Text 🐍",
}
@@ -0,0 +1,13 @@
[project]
name = "comfyui-custom-scripts"
description = "Enhancements & experiments for ComfyUI, mostly focusing on UI features"
version = "1.2.5"
license = { file = "LICENSE" }
[project.urls]
Repository = "https://github.com/pythongosssss/ComfyUI-Custom-Scripts"
[tool.comfy]
PublisherId = "pythongosssss"
DisplayName = "ComfyUI-Custom-Scripts"
Icon = ""
@@ -0,0 +1,78 @@
import { app } from "../../../scripts/app.js";
import { ComfyWidgets } from "../../../scripts/widgets.js";
// Displays input text on a node
// TODO: This should need to be so complicated. Refactor at some point.
app.registerExtension({
name: "pysssss.ShowText",
async beforeRegisterNodeDef(nodeType, nodeData, app) {
if (nodeData.name === "ShowText|pysssss") {
function populate(text) {
if (this.widgets) {
// On older frontend versions there is a hidden converted-widget
const isConvertedWidget = +!!this.inputs?.[0].widget;
for (let i = isConvertedWidget; i < this.widgets.length; i++) {
this.widgets[i].onRemove?.();
}
this.widgets.length = isConvertedWidget;
}
const v = [...text];
if (!v[0]) {
v.shift();
}
for (let list of v) {
// Force list to be an array, not sure why sometimes it is/isn't
if (!(list instanceof Array)) list = [list];
for (const l of list) {
const w = ComfyWidgets["STRING"](this, "text_" + this.widgets?.length ?? 0, ["STRING", { multiline: true }], app).widget;
w.inputEl.readOnly = true;
w.inputEl.style.opacity = 0.6;
w.value = l;
}
}
requestAnimationFrame(() => {
const sz = this.computeSize();
if (sz[0] < this.size[0]) {
sz[0] = this.size[0];
}
if (sz[1] < this.size[1]) {
sz[1] = this.size[1];
}
this.onResize?.(sz);
app.graph.setDirtyCanvas(true, false);
});
}
// When the node is executed we will be sent the input text, display this in the widget
const onExecuted = nodeType.prototype.onExecuted;
nodeType.prototype.onExecuted = function (message) {
onExecuted?.apply(this, arguments);
populate.call(this, message.text);
};
const VALUES = Symbol();
const configure = nodeType.prototype.configure;
nodeType.prototype.configure = function () {
// Store unmodified widget values as they get removed on configure by new frontend
this[VALUES] = arguments[0]?.widgets_values;
return configure?.apply(this, arguments);
};
const onConfigure = nodeType.prototype.onConfigure;
nodeType.prototype.onConfigure = function () {
onConfigure?.apply(this, arguments);
const widgets_values = this[VALUES];
if (widgets_values?.length) {
// In newer frontend there seems to be a delay in creating the initial widget
requestAnimationFrame(() => {
populate.call(this, widgets_values.slice(+(widgets_values.length > 1 && this.inputs?.[0].widget)));
});
}
};
}
},
});
@@ -0,0 +1,573 @@
{
"sources": [
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "nodes.py",
"local_file": "core__nodes.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/nodes.py",
"sha256": "632f65a1e33c1650684cf56e96060661146e653e881a29c6fefa2d6431a4a75f",
"git_blob_sha1": "ad474d3cda5a710899dde9fc2ab88a2d7f601991",
"verified_at": "2026-10-30T20:22:48.543778+00:00",
"acquisition_time": "2026-10-30T20:21:47.424914+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "folder_paths.py",
"local_file": "core__folder_paths.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/folder_paths.py",
"sha256": "da62dbe3cc99c8d2bce4dd1df01c5a0ca149f9ed8522cc477e661629052ce112",
"git_blob_sha1": "9c96540e3dd90626e9a6d4c1e3e00b80fffb2df8",
"verified_at": "2026-10-30T20:22:48.543862+00:00",
"acquisition_time": "2026-10-30T20:21:47.876941+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_ace.py",
"local_file": "core__comfy_extras__nodes_ace.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_ace.py",
"sha256": "ebb930f0d878f51327866ac541bc0d13b5147310150a6b964688cb7ad0cde91b",
"git_blob_sha1": "1409233c924f6828c4d8467a57605318b810b5d0",
"verified_at": "2026-10-30T20:22:48.543899+00:00",
"acquisition_time": "2026-10-30T20:21:48.332968+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_audio.py",
"local_file": "core__comfy_extras__nodes_audio.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_audio.py",
"sha256": "d47eefe226c273f20561545f6a664bfdfa5c193cec7178c925b5dc5ccb642a9c",
"git_blob_sha1": "271b75fbd37a94db5a6d19d8b1bc9c51ba30ced2",
"verified_at": "2026-10-30T20:22:48.543952+00:00",
"acquisition_time": "2026-10-30T20:21:48.812997+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_extras/nodes_model_advanced.py",
"local_file": "core__comfy_extras__nodes_model_advanced.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_extras/nodes_model_advanced.py",
"sha256": "cab5da60111decf37246e2311cf419e3d25f4776ed5718202bb41d95129b916d",
"git_blob_sha1": "f22b333fce9e1e28be5635006c958deaa30d81ed",
"verified_at": "2026-10-30T20:22:48.543994+00:00",
"acquisition_time": "2026-10-30T20:21:49.253023+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/sd.py",
"local_file": "core__comfy__sd.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/sd.py",
"sha256": "9376efb33348885d89bd414274f092aa7f01f61afc049fc5cf19dbb878cf8758",
"git_blob_sha1": "f627f7d55780dad90adf15d04349deff6af3d2cf",
"verified_at": "2026-10-30T20:22:48.544108+00:00",
"acquisition_time": "2026-10-30T20:21:50.077072+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/samplers.py",
"local_file": "core__comfy__samplers.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/samplers.py",
"sha256": "a7b0dec5aea19214cc640dd725d927ac8246377885d46c956a5c0d9fe79b1a47",
"git_blob_sha1": "1989ef107adca2e5c560caa623ce746afe27d312",
"verified_at": "2026-10-30T20:22:48.544183+00:00",
"acquisition_time": "2026-10-30T20:21:50.545099+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/sample.py",
"local_file": "core__comfy__sample.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/sample.py",
"sha256": "7123f89ac74e6bef191b8686aa71d11d6f6041b8689dce6a1757e8dcd4cc11c3",
"git_blob_sha1": "a2a39b527a41355d2a9eba9345a3668d72aaa5a8",
"verified_at": "2026-10-30T20:22:48.544212+00:00",
"acquisition_time": "2026-10-30T20:21:50.985126+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/model_sampling.py",
"local_file": "core__comfy__model_sampling.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/model_sampling.py",
"sha256": "127dd382157084b35d7500c83552bb40c0b9287ed09096ee699dd3695aa7c04a",
"git_blob_sha1": "2a00ed8192f4243de12c44131e77e5b9849af038",
"verified_at": "2026-10-30T20:22:48.544249+00:00",
"acquisition_time": "2026-10-30T20:21:51.409151+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy/text_encoders/ace.py",
"local_file": "core__comfy__text_encoders__ace.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy/text_encoders/ace.py",
"sha256": "f200d0a8579b43e4e9994bdba7298063c5fc8aa5f06fe0c377f704341a5f4bb4",
"git_blob_sha1": "d650bb10d5d5bfdd485f18095e4a99ed7b06b6b7",
"verified_at": "2026-10-30T20:22:48.544280+00:00",
"acquisition_time": "2026-10-30T20:22:01.945776+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_ui.py",
"local_file": "core__comfy_api__latest___ui.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_api/latest/_ui.py",
"sha256": "c3ff901299ffb58e3aceb6ab672254d21e2e9822e346786c0ed3bba56b93d67f",
"git_blob_sha1": "e238cdf3ce3cd4475deda2f59bc43823558d14aa",
"verified_at": "2026-10-30T20:22:48.544322+00:00",
"acquisition_time": "2026-10-30T20:22:31.807545+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "comfy_api/latest/_ui_public.py",
"local_file": "core__comfy_api__latest___ui_public.py",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/comfy_api/latest/_ui_public.py",
"sha256": "7104ffcac91481c1d05e9417904c93afe6a126590e06e587c140e2f3d4039431",
"git_blob_sha1": "85b11d78b61eb75fd71ccefea5caf9cb70239c58",
"verified_at": "2026-10-30T20:22:48.544348+00:00",
"acquisition_time": "2026-10-30T20:22:32.227570+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "core",
"repo": "Comfy-Org/ComfyUI",
"file": "LICENSE",
"local_file": "core__LICENSE",
"commit": "b0d9708974f50fce7d2448ac84e9260c87f7ade3",
"tree": "d45aa53a1ae1a288a50f8e323cf6696dd21046e1",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI/b0d9708974f50fce7d2448ac84e9260c87f7ade3/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"verified_at": "2026-10-30T20:22:48.544400+00:00",
"acquisition_time": "2026-10-30T20:22:02.397803+00:00",
"cached_bytes_reverified": true,
"license_file": "core__LICENSE",
"applicability": "源声明准确提交;发布包/目标安装绑定未知",
"transport": "GitHub pinned raw text; blob verified",
"acquisition_time_basis": "local raw-cache write immediately after acquisition; HTTP receipt time not separately recorded"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "package.json",
"local_file": "frontend__package.json",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/package.json",
"sha256": "8b6877c0d4470afbd3074cca470d81bf573a8b75243fcfaf70098845a6815161",
"git_blob_sha1": "8672b0cd2e681317848616c52edb0bb049d14492",
"acquisition_time": "2026-10-30T20:40:15.286106+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "pnpm-lock.yaml",
"local_file": "frontend__pnpm-lock.yaml",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/pnpm-lock.yaml",
"sha256": "eafae7b293da785f758f6a73318775a6590476e2f0027bc17bb70e0c58916b8c",
"git_blob_sha1": "b0fd3de72afec8bc69e1b09d4057a188ae5c5d2a",
"acquisition_time": "2026-10-30T20:40:15.298832+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/widgets.ts",
"local_file": "frontend__src__scripts__widgets.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/scripts/widgets.ts",
"sha256": "e8bb428cbf69635015de43a4ebc89817b3443f876cbed52eeafe67d26f2398d8",
"git_blob_sha1": "50dabe011f326aa77b3b032c0932491eaac18586",
"acquisition_time": "2026-10-30T20:40:15.301410+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/scripts/app.ts",
"local_file": "frontend__src__scripts__app.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/scripts/app.ts",
"sha256": "e57985f7d365abb035bc2fc755a8f5b10efbca97a7dcb5b2a4a05bcbc78b9d5c",
"git_blob_sha1": "edcc64517e0eb02f0fcc1ff01fdc60e60e5123a7",
"acquisition_time": "2026-10-30T20:40:15.305209+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/widgetInputs.ts",
"local_file": "frontend__src__extensions__core__widgetInputs.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/extensions/core/widgetInputs.ts",
"sha256": "488d38eb209816778a6da8cb8f734f539e3fbd7f77aae41ec649a52b8764b613",
"git_blob_sha1": "c7f9f6eb828df61463d316669629ff7368fa882f",
"acquisition_time": "2026-10-30T20:40:15.306525+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/src/LGraphNode.ts",
"local_file": "frontend__src__lib__litegraph__src__LGraphNode.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/lib/litegraph/src/LGraphNode.ts",
"sha256": "706225a8a06cd7929f9e04fe2388bcdb8f158cdac756c65c45657c020ab7b319",
"git_blob_sha1": "0ca41a7320f3dd075cbdbb71ed38552147c98588",
"acquisition_time": "2026-10-30T20:40:15.311647+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "LICENSE",
"local_file": "frontend__LICENSE",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/LICENSE",
"sha256": "3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986",
"git_blob_sha1": "f288702d2fa16d3cdf0035b15a9fcbc552cd88e7",
"acquisition_time": "2026-10-30T20:40:15.314716+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/lib/litegraph/LICENSE",
"local_file": "frontend__src__lib__litegraph__LICENSE",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/lib/litegraph/LICENSE",
"sha256": "1b38cc30fe774bcc77538ab99eb460f4e1c8a47c4fddc6e991ee3b5cc2a96bb9",
"git_blob_sha1": "1b52aa11c186c25f8d66f1de74c0d378851bfcff",
"acquisition_time": "2026-10-30T20:40:15.316449+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"local_file": "frontend__src__renderer__extensions__vueNodes__widgets__composables__useIntWidget.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/renderer/extensions/vueNodes/widgets/composables/useIntWidget.ts",
"sha256": "68cb754c9c9ba48da2031981d65eca244d66c611314fc5690e96fdb941a0e8ff",
"git_blob_sha1": "0c257c15b19b78c52b48a7bd3c291960e8705d5c",
"acquisition_time": "2026-10-30T20:40:15.318811+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts",
"local_file": "frontend__src__renderer__extensions__vueNodes__widgets__composables__useFloatWidget.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/renderer/extensions/vueNodes/widgets/composables/useFloatWidget.ts",
"sha256": "a6536de10db2ee4dca8f858f1b2ee68077e9313393e3657e9c22a49c408629e5",
"git_blob_sha1": "6595f3015e6bd1f53b531570457fc4719989c20e",
"acquisition_time": "2026-10-30T20:40:15.321662+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/schemas/nodeDef/migration.ts",
"local_file": "frontend__src__schemas__nodeDef__migration.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/schemas/nodeDef/migration.ts",
"sha256": "ae357da184625b93c492c0b73ce9bd2f3b49d158ca19a2944c6500f924a7a533",
"git_blob_sha1": "22d91c16e70b0edce921de60d1cecd727b998372",
"acquisition_time": "2026-10-30T20:40:15.323438+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "frontend",
"repo": "Comfy-Org/ComfyUI_frontend",
"file": "src/extensions/core/uploadAudio.ts",
"local_file": "frontend__src__extensions__core__uploadAudio.ts",
"commit": "0f1e54530cfc1bf6f5dc0c4b946bb626d327587f",
"tree": "ba82650bf967e51419332c3134758ee13acc34ce",
"url": "https://raw.githubusercontent.com/Comfy-Org/ComfyUI_frontend/0f1e54530cfc1bf6f5dc0c4b946bb626d327587f/src/extensions/core/uploadAudio.ts",
"sha256": "0a11f1ad5651d238130bc06aca2a4b31a41f8bec98d0f8512e02ffb42b262e66",
"git_blob_sha1": "71c2295d106df3825790970a8df47f7494561816",
"acquisition_time": "2026-10-30T20:40:15.326151+00:00",
"license_file": "frontend__LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "various",
"repo": "jamesWalker55/comfyui-various",
"file": "comfyui_primitive_ops.py",
"local_file": "various__comfyui_primitive_ops.py",
"commit": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2",
"tree": "1d7fd1283572899e40699c8f0c9af4343184d236",
"url": "https://raw.githubusercontent.com/jamesWalker55/comfyui-various/5bd85aaf7616878471469c4ec7e11bbd0cef3bf2/comfyui_primitive_ops.py",
"sha256": "22b3e74e5ae7f592ab5d819ac5cb47467dba1fceaa162a954fece70b4dd418c6",
"git_blob_sha1": "a3404f408ff61dce10aeafb3b83340284c180530",
"acquisition_time": "2026-10-30T20:40:15.334647+00:00",
"license_file": "unknown: exact tree lacks LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "various",
"repo": "jamesWalker55/comfyui-various",
"file": "__init__.py",
"local_file": "various____init__.py",
"commit": "5bd85aaf7616878471469c4ec7e11bbd0cef3bf2",
"tree": "1d7fd1283572899e40699c8f0c9af4343184d236",
"url": "https://raw.githubusercontent.com/jamesWalker55/comfyui-various/5bd85aaf7616878471469c4ec7e11bbd0cef3bf2/__init__.py",
"sha256": "d4546186eb0caf1e18806e577505e5b126a54068044cb35e888ace86925a2802",
"git_blob_sha1": "980a252f4f4ad564162a4a220dc41edd2552183a",
"acquisition_time": "2026-10-30T20:40:15.335929+00:00",
"license_file": "unknown: exact tree lacks LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "cr",
"repo": "Suzie1/ComfyUI_Comfyroll_CustomNodes",
"file": "nodes/nodes_core.py",
"local_file": "cr__nodes__nodes_core.py",
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
"tree": "12c141b4c99138cd6beb2d5197574b9fe264bc74",
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/nodes/nodes_core.py",
"sha256": "cece30b4134527ee0b9e7b083de0d3cc389124c02d5f1785284c023ba6756ece",
"git_blob_sha1": "02af795eace2b04226fcecd2df0c85db544caa37",
"acquisition_time": "2026-10-30T20:40:15.345762+00:00",
"license_file": "unknown: exact tree lacks LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "cr",
"repo": "Suzie1/ComfyUI_Comfyroll_CustomNodes",
"file": "node_mappings.py",
"local_file": "cr__node_mappings.py",
"commit": "d78b780ae43fcf8c6b7c6505e6ffb4584281ceca",
"tree": "12c141b4c99138cd6beb2d5197574b9fe264bc74",
"url": "https://raw.githubusercontent.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/d78b780ae43fcf8c6b7c6505e6ffb4584281ceca/node_mappings.py",
"sha256": "9ae8fbedc4941f5bd1f58dd46898bb3dff20ef76ed65b27eb35d70df98b6e633",
"git_blob_sha1": "a4a1bc4ff001961a64e24bcfa59de528fbc8a6ea",
"acquisition_time": "2026-10-30T20:40:15.347061+00:00",
"license_file": "unknown: exact tree lacks LICENSE",
"applicability": "准确声明提交/前端tag;registry拼写保留;目标及前端组合恢复未知",
"transport": "git exact commit text; no checkout/execution"
},
{
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "py/show_text.py",
"local_file": "showtext__py__show_text.py",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "fb4182f541caed98621fd30cf4ad87d7a7deb2680cfafbcfbeb769355570cc8e",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "py/show_text.py",
"acquisition_time": "2026-10-30T20:40:15.348316+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution"
},
{
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "web/js/showText.js",
"local_file": "showtext__web__js__showText.js",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "faf44e1452d1f5965bcae9b69a5f6669597dbbe05ebedd85dad7256a14ef6975",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "web/js/showText.js",
"acquisition_time": "2026-10-30T20:40:15.348489+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution"
},
{
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "__init__.py",
"local_file": "showtext____init__.py",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "ced0aa0ea33f81d7d97b59b66ff0abc77b068bd17183f42480875e71708a0684",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "__init__.py",
"acquisition_time": "2026-10-30T20:40:15.348636+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution"
},
{
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "LICENSE",
"local_file": "showtext__LICENSE",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "3aa50330818b6836308294d4999a185872f5eef857e1a883b04c63859efd1a2c",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "LICENSE",
"acquisition_time": "2026-10-30T20:40:15.348780+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution"
},
{
"id": "showtext",
"repo": "pythongosssss/ComfyUI-Custom-Scripts",
"file": "pyproject.toml",
"local_file": "showtext__pyproject.toml",
"commit": null,
"tree": null,
"git_blob_sha1": null,
"version": "1.2.5",
"url": "https://cdn.comfy.org/pythongosssss/comfyui-custom-scripts/1.2.5/node.zip",
"sha256": "4f22f2c2075881cfd27fda80678a70bbb86e4b2445b8bb005f5b768786e1e140",
"package_sha256": "d01092bf97a983dd85dd3f7268893383ea036347c27005dedd9a758a953dc5fe",
"package_file": "showtext-1.2.5.zip",
"package_member": "pyproject.toml",
"acquisition_time": "2026-10-30T20:40:15.348918+00:00",
"license_file": "showtext__LICENSE",
"applicability": "准确registry1.2.5发布包成员;Git提交/目标安装绑定未知",
"transport": "registry package member bytes; no execution"
}
]
}
@@ -0,0 +1,6 @@
tree 1d7fd1283572899e40699c8f0c9af4343184d236
parent 36454f91606bbff4fc36d90234981ca4a47e2695
author James Walker <james.chunho@gmail.com> 1740654107 +0800
committer James Walker <james.chunho@gmail.com> 1740654107 +0800
New experimental sound module
@@ -0,0 +1,132 @@
{
"sha": "1d7fd1283572899e40699c8f0c9af4343184d236",
"truncated": false,
"tree": [
{
"path": ".gitignore",
"mode": "100644",
"type": "blob",
"sha": "098f7767d750991975e5134a46b6f13a3e07611d"
},
{
"path": "README.md",
"mode": "100644",
"type": "blob",
"sha": "6663d540c878b49b0360a94f5e21f95225f26a48"
},
{
"path": "__init__.py",
"mode": "100644",
"type": "blob",
"sha": "980a252f4f4ad564162a4a220dc41edd2552183a"
},
{
"path": "comfyui_batch_io.py",
"mode": "100644",
"type": "blob",
"sha": "c4eddbdde631a261b60431106134cfa0a76cba00"
},
{
"path": "comfyui_color_ops.py",
"mode": "100644",
"type": "blob",
"sha": "9451a25a402212d09ac2571679ef8f20ce85c05d"
},
{
"path": "comfyui_datetime.py",
"mode": "100644",
"type": "blob",
"sha": "db31cf744b97a7ef8e3810360e55bfaf8233bcca"
},
{
"path": "comfyui_debug.py",
"mode": "100644",
"type": "blob",
"sha": "414b866eb7bace1929c915ad3ac26a0f8ff6e6bc"
},
{
"path": "comfyui_default.py",
"mode": "100644",
"type": "blob",
"sha": "0e16ed32ff375570b66bb81965f387fd23d82d25"
},
{
"path": "comfyui_group_io.py",
"mode": "100644",
"type": "blob",
"sha": "1700eb1a1ada8d6c728f609aec78513356432458"
},
{
"path": "comfyui_image_channel_ops.py",
"mode": "100644",
"type": "blob",
"sha": "99eac8b532dab00fd8bc18bf3529ddd32bd03f01"
},
{
"path": "comfyui_image_ops.py",
"mode": "100644",
"type": "blob",
"sha": "6c97a9b3155e90562dc8870a01a9b23667515a82"
},
{
"path": "comfyui_image_sequence.py",
"mode": "100644",
"type": "blob",
"sha": "c74d097b46b7aa37f326be63e8ac09253b87f16a"
},
{
"path": "comfyui_info_hash.py",
"mode": "100644",
"type": "blob",
"sha": "9e2f12448f706c4694e83f69263a6292313d861b"
},
{
"path": "comfyui_jw.py",
"mode": "100644",
"type": "blob",
"sha": "8dc4e22d8b5d837996edb176e2059ba79b619a9c"
},
{
"path": "comfyui_mask_sequence_ops.py",
"mode": "100644",
"type": "blob",
"sha": "145ee9d2ef4d912067fac0f5a30a22eca1e5f564"
},
{
"path": "comfyui_primitive_ops.py",
"mode": "100644",
"type": "blob",
"sha": "a3404f408ff61dce10aeafb3b83340284c180530"
},
{
"path": "comfyui_raft.py",
"mode": "100644",
"type": "blob",
"sha": "60539a40737b3c47ed16721ea56d61f17e41b37a"
},
{
"path": "comfyui_rc.py",
"mode": "100644",
"type": "blob",
"sha": "c308ff7f749fe7758d47054544b12012cdcb5f0e"
},
{
"path": "comfyui_sound.py",
"mode": "100644",
"type": "blob",
"sha": "f36b6f81b5971eef3e6f5d00758b45ef9628d089"
},
{
"path": "comfyui_string_list.py",
"mode": "100644",
"type": "blob",
"sha": "20aca4b96c7d2fc5276101a7445240a57c2b88d9"
},
{
"path": "comfyui_uncrop.py",
"mode": "100644",
"type": "blob",
"sha": "fcf4e70a3da616a34ee13e27079a81a1a6e7d233"
}
]
}
@@ -0,0 +1,80 @@
import importlib
import os
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
# Main nodes for all users
NODE_MODULES = [
".comfyui_image_ops",
".comfyui_primitive_ops",
".comfyui_raft",
".comfyui_image_channel_ops",
".comfyui_color_ops",
".comfyui_datetime",
".comfyui_image_sequence",
".comfyui_mask_sequence_ops",
".comfyui_default",
".comfyui_sound",
]
# Extra nodes for my own use
if (
"COMFYUI_JW_ENABLE_EXTRA_NODES" in os.environ
and os.environ["COMFYUI_JW_ENABLE_EXTRA_NODES"].lower() == "true"
):
NODE_MODULES.extend(
[
".comfyui_batch_io",
".comfyui_group_io",
".comfyui_jw",
".comfyui_info_hash",
".comfyui_debug",
".comfyui_string_list",
".comfyui_uncrop",
".comfyui_rc",
]
)
def load_nodes(module_name: str):
global NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
module = importlib.import_module(module_name, package=__name__)
NODE_CLASS_MAPPINGS = {
**NODE_CLASS_MAPPINGS,
**module.NODE_CLASS_MAPPINGS,
}
NODE_DISPLAY_NAME_MAPPINGS = {
**NODE_DISPLAY_NAME_MAPPINGS,
**module.NODE_DISPLAY_NAME_MAPPINGS,
}
def write_nodes_list(module_names: list[str]):
this_dir = os.path.dirname(os.path.abspath(__file__))
path = os.path.join(this_dir, "nodes.log")
lines = []
for module_name in module_names:
module = importlib.import_module(module_name, package=__name__)
lines.append(module_name.strip("."))
for identifier, display_name in module.NODE_DISPLAY_NAME_MAPPINGS.items():
lines.append(f" {identifier}: {display_name}")
lines.append("")
lines = "\n".join(lines)
with open(path, "w", encoding="utf8") as f:
f.write(lines)
for module_name in NODE_MODULES:
load_nodes(module_name)
# write_nodes_list(NODE_MODULES)
@@ -0,0 +1,299 @@
import inspect
import math
import typing
from typing import Literal
NODE_CLASS_MAPPINGS = {}
NODE_DISPLAY_NAME_MAPPINGS = {}
def register_node(identifier: str, display_name: str):
def decorator(cls):
NODE_CLASS_MAPPINGS[identifier] = cls
NODE_DISPLAY_NAME_MAPPINGS[identifier] = display_name
return cls
return decorator
def generate_functional_node(
category: str,
identifier: str,
display_name: str,
*,
multiline_string: bool = False,
output_node: bool = False,
):
def decorator(func):
signature = inspect.signature(func)
# generate INPUT_TYPES
required_inputs = {}
for name, param in signature.parameters.items():
has_default = param.default is not param.empty
param_type = param.annotation
if param_type is int:
if not has_default:
raise TypeError("INT input must have a default value")
required_inputs[name] = (
"INT",
{
"default": param.default,
"min": -0xFFFFFFFFFFFFFFFF,
"max": 0xFFFFFFFFFFFFFFFF,
},
)
elif param_type is float:
if not has_default:
raise TypeError("FLOAT input must have a default value")
required_inputs[name] = (
"FLOAT",
{
"default": param.default,
"min": -99999999999999999.0,
"max": 99999999999999999.0,
},
)
elif param_type is str:
if not has_default:
raise TypeError("STRING input must have a default value")
required_inputs[name] = (
"STRING",
{
"default": param.default,
"multiline": multiline_string,
"dynamicPrompts": False,
},
)
elif isinstance(param_type, str):
if has_default:
raise TypeError("Custom input types cannot have default values")
required_inputs[name] = (param_type,)
elif typing.get_origin(param_type) is Literal:
choices = typing.get_args(param_type)
if param.default is not None:
raise TypeError(
"Choice input types must have default value set to None"
)
required_inputs[name] = (choices,)
else:
raise NotImplementedError(
f"Unsupported functional node type: {param_type}"
)
# generate RETURN_TYPES
if signature.return_annotation is signature.empty:
raise TypeError("Functional node must have annotation for return type")
elif typing.get_origin(signature.return_annotation) is not tuple:
raise TypeError("Functional node must return a tuple")
return_types = []
for annot in typing.get_args(signature.return_annotation):
if isinstance(annot, str):
return_types.append(annot)
elif annot is int:
return_types.append("INT")
elif annot is float:
return_types.append("FLOAT")
elif annot is str:
return_types.append("STRING")
else:
raise NotImplementedError(f"Unsupported return type: {annot}")
@register_node(identifier, display_name)
class _:
CATEGORY = category
INPUT_TYPES = lambda: {"required": required_inputs}
RETURN_TYPES = tuple(return_types)
OUTPUT_NODE = output_node
FUNCTION = "execute"
def execute(self, *args, **kwargs):
return func(*args, **kwargs)
return func
return decorator
@generate_functional_node("jamesWalker55", "JWInteger", "Integer")
def _(value: int = 0) -> tuple[int]:
return (value,)
@generate_functional_node("jamesWalker55", "JWIntegerToFloat", "Integer to Float")
def _(value: int = 0) -> tuple[float]:
return (float(value),)
@generate_functional_node("jamesWalker55", "JWIntegerToString", "Integer to String")
def _(value: int = 0, format_string: str = "{:04d}") -> tuple[str]:
return (format_string.format(value),)
@generate_functional_node("jamesWalker55", "JWIntegerAdd", "Integer Add")
def _(a: int = 0, b: int = 0) -> tuple[int]:
return (a + b,)
@generate_functional_node("jamesWalker55", "JWIntegerSub", "Integer Subtract")
def _(a: int = 0, b: int = 0) -> tuple[int]:
return (a - b,)
@generate_functional_node("jamesWalker55", "JWIntegerMul", "Integer Multiply")
def _(a: int = 0, b: int = 0) -> tuple[int]:
return (a * b,)
@generate_functional_node("jamesWalker55", "JWIntegerDiv", "Integer Divide")
def _(a: int = 0, b: int = 0) -> tuple[float]:
return (a / b,)
@generate_functional_node(
"jamesWalker55", "JWIntegerAbsolute", "Integer Absolute Value"
)
def _(value: int = 0) -> tuple[int]:
return (abs(value),)
@generate_functional_node("jamesWalker55", "JWIntegerMin", "Integer Minimum")
def _(a: int = 0, b: int = 0) -> tuple[int]:
return (min(a, b),)
@generate_functional_node("jamesWalker55", "JWIntegerMax", "Integer Maximum")
def _(a: int = 0, b: int = 0) -> tuple[int]:
return (max(a, b),)
@generate_functional_node("jamesWalker55", "JWFloat", "Float")
def _(value: float = 0) -> tuple[float]:
return (value,)
@generate_functional_node("jamesWalker55", "JWFloatToInteger", "Float to Integer")
def _(
value: float = 0, mode: Literal["round", "floor", "ceiling"] = None
) -> tuple[int]:
if mode == "round":
return (round(value),)
elif mode == "floor":
return (math.floor(value),)
elif mode == "ceiling":
return (math.ceil(value),)
else:
raise NotImplementedError(f"Unsupported mode: {mode}")
@generate_functional_node("jamesWalker55", "JWFloatToString", "Float to String")
def _(value: float = 0, format_string: str = "{:.6g}") -> tuple[str]:
return (format_string.format(value),)
@generate_functional_node("jamesWalker55", "JWFloatAdd", "Float Add")
def _(a: float = 0, b: float = 0) -> tuple[float]:
return (a + b,)
@generate_functional_node("jamesWalker55", "JWFloatSub", "Float Subtract")
def _(a: float = 0, b: float = 0) -> tuple[float]:
return (a - b,)
@generate_functional_node("jamesWalker55", "JWFloatMul", "Float Multiply")
def _(a: float = 0, b: float = 0) -> tuple[float]:
return (a * b,)
@generate_functional_node("jamesWalker55", "JWFloatDiv", "Float Divide")
def _(a: float = 0, b: float = 0) -> tuple[float]:
return (a / b,)
@generate_functional_node("jamesWalker55", "JWFloatAbsolute", "Float Absolute Value")
def _(value: float = 0) -> tuple[float]:
return (abs(value),)
@generate_functional_node("jamesWalker55", "JWFloatMin", "Float Minimum")
def _(a: float = 0, b: float = 0) -> tuple[float]:
return (min(a, b),)
@generate_functional_node("jamesWalker55", "JWFloatMax", "Float Maximum")
def _(a: float = 0, b: float = 0) -> tuple[float]:
return (max(a, b),)
@generate_functional_node("jamesWalker55", "JWString", "String")
def _(text: str = "") -> tuple[str]:
return (text,)
@generate_functional_node("jamesWalker55", "JWStringToInteger", "String to Integer")
def _(text: str = "0") -> tuple[int]:
return (int(text),)
@generate_functional_node("jamesWalker55", "JWStringToFloat", "String to Float")
def _(text: str = "0.0") -> tuple[float]:
return (float(text),)
@generate_functional_node(
"jamesWalker55", "JWStringMultiline", "String (Multiline)", multiline_string=True
)
def _(text: str = "") -> tuple[str]:
return (text,)
@generate_functional_node("jamesWalker55", "JWStringConcat", "String Concatenate")
def _(a: str = "", b: str = "") -> tuple[str]:
return (a + b,)
@generate_functional_node("jamesWalker55", "JWStringReplace", "String Replace")
def _(source: str = "", to_replace: str = "", replace_with: str = "") -> tuple[str]:
return (source.replace(to_replace, replace_with),)
@generate_functional_node("jamesWalker55", "JWStringSplit", "String Split")
def _(
source: str = "a,b",
split_by: str = ",",
from_right: Literal["false", "true"] = None,
) -> tuple[str, str]:
from_right = from_right == "true"
if from_right:
splits = source.rsplit(split_by, 1)
else:
splits = source.split(split_by, 1)
match splits:
case a, b:
return (a, b)
case a:
return (a, "")
@generate_functional_node("jamesWalker55", "JWStringGetLine", "String Get Line")
def _(source: str = "", line_index: int = 0) -> tuple[str]:
return (source.splitlines()[line_index],)
@generate_functional_node("jamesWalker55", "JWStringUnescape", "String Unescape")
def _(text: str = "") -> tuple[str]:
"""parses '\\n' literals in a string to actual '\n' characters"""
# convert to bytes, while converting unicode to escaped literals
text_bytes = text.encode("ascii", "backslashreplace")
# convert back to string, parsing backslash escapes
text = text_bytes.decode("unicode-escape")
return (text,)
+108
View File
@@ -0,0 +1,108 @@
// Local GET-only: 77 saved positions, full Note, 43 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/ace-qwen-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=['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===44&&details.reduce((n,d)=>n+d.doc_json.fixed_version.fields.length,0)===1698,'44图1698保存位置');
check(details.reduce((n,d)=>n+(d.doc_json.source_notes?.length||0),0)===47,'44图47源注释');
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_ace_qwen':'old_forty_three';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('被连线覆盖 9 项')&&flowText.includes('仅前端控制 5 项'),`${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==='102'&&f.field==='value'){
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==='94'&&['tags','lyrics'].includes(f.field))||(['112','117','118'].includes(f.node_id)))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,'迟到ACE+Qwen响应不覆盖旧ACE摘要/38字段');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();}
+95
View File
@@ -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/ace-qwen-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 = ["ace-qwen"]
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()