HEL-892: add offline workflow catalogue and conservative conversion framework
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -46,3 +46,8 @@ prototype/
|
||||
|
||||
# --- Reference clones (vendored for porting only) ---
|
||||
reference/
|
||||
|
||||
# HEL-892 offline audit is reproducible; local DBs stay private.
|
||||
.local-evidence/
|
||||
!docs/hel-892/
|
||||
!docs/hel-892/**
|
||||
|
||||
@@ -37,7 +37,12 @@
|
||||
"image",
|
||||
"img",
|
||||
"vid",
|
||||
"video"
|
||||
"video",
|
||||
"audio",
|
||||
"sound",
|
||||
"file",
|
||||
"srt",
|
||||
"subtitle"
|
||||
],
|
||||
"agent_event_types": [
|
||||
"assistant/message",
|
||||
|
||||
@@ -9,8 +9,13 @@ from typing import Any
|
||||
|
||||
import httpx
|
||||
|
||||
from calliope.comfyui.registry import (
|
||||
AUDIO_CLASSES,
|
||||
IMAGE_CLASSES,
|
||||
VIDEO_CLASSES,
|
||||
VIDEO_FILE_CLASSES,
|
||||
)
|
||||
from calliope.config import settings
|
||||
from calliope.comfyui.registry import IMAGE_CLASSES, AUDIO_CLASSES, VIDEO_CLASSES, VIDEO_FILE_CLASSES
|
||||
|
||||
logger = logging.getLogger("calliope.comfyui")
|
||||
|
||||
@@ -336,6 +341,9 @@ class ComfyUIClient:
|
||||
_VIDEO_EXTS = frozenset({".mp4", ".webm", ".mkv", ".mov", ".gif", ".m4v", ".avi", ".flv"})
|
||||
_IMAGE_EXTS = frozenset({".png", ".jpg", ".jpeg", ".webp", ".bmp", ".tif", ".tiff"})
|
||||
|
||||
_AUDIO_EXTS = frozenset({".wav", ".mp3", ".flac", ".ogg", ".opus", ".m4a", ".aac"})
|
||||
_FILE_EXTS = frozenset({".srt", ".vtt", ".txt", ".json"})
|
||||
|
||||
@classmethod
|
||||
def _infer_media_kind(cls, filename: str, history_key: str) -> str | None:
|
||||
ext = Path(str(filename)).suffix.lower()
|
||||
@@ -343,6 +351,12 @@ class ComfyUIClient:
|
||||
return "video"
|
||||
if ext in cls._IMAGE_EXTS:
|
||||
return "image"
|
||||
if ext in cls._AUDIO_EXTS:
|
||||
return "audio"
|
||||
if ext in cls._FILE_EXTS:
|
||||
return "file"
|
||||
if history_key in ("audio", "audios"):
|
||||
return "audio"
|
||||
if history_key in ("gifs", "videos"):
|
||||
return "video"
|
||||
return None
|
||||
@@ -361,9 +375,14 @@ class ComfyUIClient:
|
||||
for node_id, node_out in (history.get("outputs") or {}).items():
|
||||
if node_kinds is not None and str(node_id) not in node_kinds:
|
||||
continue
|
||||
for key in ("images", "gifs", "videos"):
|
||||
for item in node_out.get(key) or []:
|
||||
filename = item.get("filename", "")
|
||||
for key in ("images", "gifs", "videos", "audio", "audios", "files"):
|
||||
items = node_out.get(key) or []
|
||||
if not isinstance(items, list):
|
||||
continue
|
||||
for item in items:
|
||||
if not isinstance(item, dict) or not item.get("filename"):
|
||||
continue
|
||||
filename = item["filename"]
|
||||
outputs.append(
|
||||
{
|
||||
"filename": filename,
|
||||
|
||||
@@ -0,0 +1,443 @@
|
||||
"""Source-tracked, disabled-by-default example library with reversible batches."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import hashlib
|
||||
import json
|
||||
import sqlite3
|
||||
import uuid
|
||||
from collections import Counter
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
from typing import Any
|
||||
|
||||
from calliope.comfyui.lint import workflow_warnings
|
||||
from calliope.comfyui.output_map import auto_output_map, needs_user_output_map
|
||||
from calliope.comfyui.parser import classify_usage, parse_dynamic_inputs, parse_dynamic_outputs
|
||||
from calliope.comfyui.preflight import check_workflow_against
|
||||
from calliope.comfyui.ui2api import convert
|
||||
|
||||
LIBRARY_COLUMNS = {
|
||||
"source_repo_path": "TEXT",
|
||||
"source_sha": "TEXT",
|
||||
"source_commit": "TEXT",
|
||||
"batch_id": "TEXT",
|
||||
"raw_source_json": "TEXT",
|
||||
"doc_json": "TEXT",
|
||||
"import_state": "TEXT",
|
||||
"import_issues": "TEXT",
|
||||
"imported_at": "TEXT",
|
||||
"doc_completed_at": "TEXT",
|
||||
"exec_verified_at": "TEXT",
|
||||
"library_fingerprint": "TEXT",
|
||||
}
|
||||
|
||||
|
||||
def migrate_library(conn: sqlite3.Connection) -> None:
|
||||
"""Rebuild only the legacy kind constraint; preserve columns, indexes and FKs."""
|
||||
sql = conn.execute("SELECT sql FROM sqlite_master WHERE name='workflows'").fetchone()[0]
|
||||
old = "CHECK(kind IN ('image', 'video'))"
|
||||
if old in sql:
|
||||
conn.commit()
|
||||
foreign_keys = conn.execute("PRAGMA foreign_keys").fetchone()[0]
|
||||
conn.execute("PRAGMA foreign_keys=OFF")
|
||||
try:
|
||||
conn.execute("BEGIN")
|
||||
has_sequence = conn.execute(
|
||||
"SELECT 1 FROM sqlite_master WHERE name='sqlite_sequence'"
|
||||
).fetchone()
|
||||
sequence = (
|
||||
conn.execute("SELECT seq FROM sqlite_sequence WHERE name='workflows'").fetchone()
|
||||
if has_sequence
|
||||
else None
|
||||
)
|
||||
objects = conn.execute(
|
||||
"SELECT sql FROM sqlite_master WHERE tbl_name='workflows' "
|
||||
"AND type IN ('index','trigger') AND sql IS NOT NULL"
|
||||
).fetchall()
|
||||
conn.execute(
|
||||
sql.replace(
|
||||
"CREATE TABLE workflows", "CREATE TABLE workflows_library_new", 1
|
||||
).replace(old, "CHECK(kind IN ('image', 'video', 'audio', 'file', 'unknown'))")
|
||||
)
|
||||
columns = ",".join(
|
||||
'"' + r[1] + '"' for r in conn.execute("PRAGMA table_info(workflows)")
|
||||
)
|
||||
conn.execute(
|
||||
f"INSERT INTO workflows_library_new ({columns}) SELECT {columns} FROM workflows"
|
||||
)
|
||||
conn.execute("DROP TABLE workflows")
|
||||
conn.execute("ALTER TABLE workflows_library_new RENAME TO workflows")
|
||||
if sequence is not None:
|
||||
conn.execute(
|
||||
"UPDATE sqlite_sequence SET seq=MAX(seq,?) WHERE name='workflows'",
|
||||
(sequence[0],),
|
||||
)
|
||||
for obj in objects:
|
||||
conn.execute(obj[0])
|
||||
conn.commit()
|
||||
except Exception:
|
||||
conn.rollback()
|
||||
raise
|
||||
finally:
|
||||
conn.execute(f"PRAGMA foreign_keys={foreign_keys}")
|
||||
existing = {r[1] for r in conn.execute("PRAGMA table_info(workflows)")}
|
||||
for name, kind in LIBRARY_COLUMNS.items():
|
||||
if name not in existing:
|
||||
conn.execute(f"ALTER TABLE workflows ADD COLUMN {name} {kind}")
|
||||
conn.execute(
|
||||
"CREATE UNIQUE INDEX IF NOT EXISTS uq_workflow_source ON workflows(source_repo_path) "
|
||||
"WHERE source_repo_path IS NOT NULL"
|
||||
)
|
||||
conn.execute(
|
||||
"CREATE TABLE IF NOT EXISTS workflow_revisions ("
|
||||
"id INTEGER PRIMARY KEY, batch_id TEXT NOT NULL, workflow_id INTEGER NOT NULL, "
|
||||
"before_json TEXT, after_fingerprint TEXT NOT NULL, rolled_back INTEGER DEFAULT 0)"
|
||||
)
|
||||
|
||||
|
||||
def _json(value: Any) -> str:
|
||||
return json.dumps(value, ensure_ascii=False, sort_keys=True)
|
||||
|
||||
|
||||
def fingerprint(row: dict[str, Any]) -> str:
|
||||
# Include enable/map/description edits so a later import cannot discard user work.
|
||||
data = {k: v for k, v in row.items() if k not in ("id", "created_at", "library_fingerprint")}
|
||||
return hashlib.sha256(_json(data).encode()).hexdigest()
|
||||
|
||||
|
||||
def load_snapshot(path: Path | None) -> dict[str, Any] | None:
|
||||
if path is None:
|
||||
return None
|
||||
value = json.loads(path.read_text())
|
||||
if (
|
||||
value.get("status") != "captured"
|
||||
or not value.get("source_url", "").endswith("/object_info")
|
||||
or not value.get("captured_at")
|
||||
or not isinstance(value.get("object_info"), dict)
|
||||
):
|
||||
raise ValueError("需要含来源、时间和 object_info 的成功快照;连接失败记录不可用于转换")
|
||||
return value
|
||||
|
||||
|
||||
def build_document(
|
||||
path: str, source: Any, prompt: dict | None, snapshot: dict | None, issues: list[dict]
|
||||
) -> dict:
|
||||
"""Evidence draft: keep UI values unnamed, never invent units or parameter ranges."""
|
||||
info = (snapshot or {}).get("object_info", {})
|
||||
params, inventory, notes, links = [], [], [], []
|
||||
|
||||
def inspect(graph: dict, scope: str = "") -> None:
|
||||
is_ui = isinstance(graph.get("nodes"), list)
|
||||
nodes = (
|
||||
graph["nodes"]
|
||||
if is_ui
|
||||
else [
|
||||
dict(v, id=k, type=v.get("class_type"))
|
||||
for k, v in graph.items()
|
||||
if isinstance(v, dict) and "class_type" in v
|
||||
]
|
||||
)
|
||||
for node in nodes:
|
||||
nid = scope + str(node.get("id", ""))
|
||||
ct = node.get("type", "")
|
||||
values = node.get("widgets_values", []) if is_ui else node.get("inputs", {})
|
||||
inventory.append(
|
||||
{
|
||||
"node_id": nid,
|
||||
"class_type": ct,
|
||||
"title": node.get("title") or (node.get("_meta") or {}).get("title"),
|
||||
"mode": node.get("mode", 0),
|
||||
"source_values": values,
|
||||
"inputs": node.get("inputs", []) if is_ui else values,
|
||||
}
|
||||
)
|
||||
if ct in ("Note", "MarkdownNote"):
|
||||
notes.append({"node_id": nid, "content": values})
|
||||
# Only API/named fields have a defensible node+field association.
|
||||
if not is_ui:
|
||||
declared = {
|
||||
**info.get(ct, {}).get("input", {}).get("required", {}),
|
||||
**info.get(ct, {}).get("input", {}).get("optional", {}),
|
||||
}
|
||||
for name, value in values.items():
|
||||
if isinstance(value, list) and len(value) == 2:
|
||||
continue
|
||||
spec = declared.get(name, [])
|
||||
cfg = spec[1] if len(spec) > 1 and isinstance(spec[1], dict) else {}
|
||||
params.append(
|
||||
{
|
||||
"name": name,
|
||||
"node_id": nid,
|
||||
"field": name,
|
||||
"type": spec[0]
|
||||
if spec and isinstance(spec[0], str)
|
||||
else type(value).__name__,
|
||||
"default": value,
|
||||
"unit": None,
|
||||
"min": cfg.get("min"),
|
||||
"max": cfg.get("max"),
|
||||
"options": spec[0] if spec and isinstance(spec[0], list) else None,
|
||||
"range_source": "object_info" if spec else "unverified",
|
||||
"default_source": "source_file",
|
||||
"effect": cfg.get("tooltip") or "待节点定义及人工核对",
|
||||
"advanced": False,
|
||||
}
|
||||
)
|
||||
links.extend({"scope": scope, "link": link} for link in graph.get("links", []))
|
||||
for sub in (graph.get("definitions") or {}).get("subgraphs", []):
|
||||
inspect(sub, scope + str(sub.get("id", "?")) + "/")
|
||||
|
||||
if isinstance(source, dict):
|
||||
inspect(source)
|
||||
model_exts = (".safetensors", ".ckpt", ".pt", ".pth", ".bin", ".gguf", ".onnx")
|
||||
models = set()
|
||||
|
||||
def strings(value: Any) -> None:
|
||||
if isinstance(value, str) and value.lower().endswith(model_exts):
|
||||
models.add(value)
|
||||
elif isinstance(value, (list, dict)):
|
||||
for v in value.values() if isinstance(value, dict) else value:
|
||||
strings(v)
|
||||
|
||||
# Editor metadata and note download URLs are not active model selections.
|
||||
for node in inventory:
|
||||
if node["class_type"] not in ("Note", "MarkdownNote"):
|
||||
strings(node["source_values"])
|
||||
inputs = parse_dynamic_inputs(prompt or {})
|
||||
outputs = parse_dynamic_outputs(prompt or {})
|
||||
return {
|
||||
"title": Path(path).stem,
|
||||
"purpose": f"源目录:{Path(path).parent};工作流:{Path(path).stem}。用途待逐节点复核。",
|
||||
"draft": True,
|
||||
"source_path": path,
|
||||
"materials": [
|
||||
{"slot": i.get("nodeId"), "desc": i.get("label"), "required": i.get("required", False)}
|
||||
for i in inputs
|
||||
if i.get("kind") in ("image", "video", "audio", "image_list")
|
||||
],
|
||||
"dependencies": {
|
||||
"models": sorted(models),
|
||||
"node_types": sorted({n["class_type"] for n in inventory}),
|
||||
"node_packs": [],
|
||||
"missing": [],
|
||||
"check_state": "unchecked",
|
||||
"source": (snapshot or {}).get("source_url"),
|
||||
"checked_at": None,
|
||||
"model_locations": "待目标机提供",
|
||||
},
|
||||
"params": params,
|
||||
"source_nodes": inventory,
|
||||
"source_links": links,
|
||||
"source_notes": notes,
|
||||
"steps": [
|
||||
f"打开源工作流 {path},逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。",
|
||||
],
|
||||
"io": {"inputs": inputs, "outputs": outputs},
|
||||
"errors": [
|
||||
{"symptom": i["message"], "fix": "按具体节点补材料或提供原 ComfyUI API 导出。"}
|
||||
for i in issues
|
||||
],
|
||||
"status": {"imported": True, "doc_done": False, "exec_verified": False},
|
||||
}
|
||||
|
||||
|
||||
def import_library(
|
||||
conn: sqlite3.Connection, root: Path, *, source_commit: str, snapshot: dict | None = None
|
||||
) -> dict:
|
||||
"""Caller supplies a migrated local DB. Single transaction; no network or jobs."""
|
||||
batch = str(uuid.uuid4())
|
||||
report: dict[str, Any] = {"batch_id": batch, "source_commit": source_commit, "files": []}
|
||||
info = (snapshot or {}).get("object_info")
|
||||
conn.row_factory = sqlite3.Row
|
||||
with conn:
|
||||
conn.execute("BEGIN IMMEDIATE")
|
||||
for path in sorted(p for p in root.rglob("*") if p.is_file()):
|
||||
relative = root.name + "/" + path.relative_to(root).as_posix()
|
||||
raw = path.read_bytes()
|
||||
sha = hashlib.sha1(raw).hexdigest()
|
||||
existing = conn.execute(
|
||||
"SELECT * FROM workflows WHERE source_repo_path=?", (relative,)
|
||||
).fetchone()
|
||||
record = {"path": relative, "source_sha": sha}
|
||||
if existing and fingerprint(dict(existing)) != existing["library_fingerprint"]:
|
||||
report["files"].append(
|
||||
{
|
||||
**record,
|
||||
"result": "conflict",
|
||||
"workflow_id": existing["id"],
|
||||
"issues": [
|
||||
{
|
||||
"code": "user_modified",
|
||||
"message": "已有条目被用户修改,完整保留;未覆盖",
|
||||
}
|
||||
],
|
||||
}
|
||||
)
|
||||
continue
|
||||
# A fresh snapshot may improve the conversion even when source bytes are unchanged.
|
||||
snapshot_sha = hashlib.sha256(_json(snapshot).encode()).hexdigest()
|
||||
if (
|
||||
existing
|
||||
and existing["source_sha"] == sha
|
||||
and existing["import_state"] != "rolled_back"
|
||||
):
|
||||
old_doc = json.loads(existing["doc_json"])
|
||||
if old_doc.get("snapshot_sha") == snapshot_sha:
|
||||
report["files"].append(
|
||||
{
|
||||
**record,
|
||||
"result": "skipped",
|
||||
"workflow_id": existing["id"],
|
||||
"state": existing["import_state"],
|
||||
"issues": json.loads(existing["import_issues"]),
|
||||
}
|
||||
)
|
||||
continue
|
||||
source = None
|
||||
try:
|
||||
text = raw.decode("utf-8-sig")
|
||||
source = json.loads(text)
|
||||
result = convert(source, info)
|
||||
prompt, issues = result.prompt, result.issues
|
||||
except (UnicodeDecodeError, json.JSONDecodeError) as exc:
|
||||
text = raw.hex()
|
||||
prompt, issues = (
|
||||
None,
|
||||
[{"code": "invalid_source", "message": f"源文件无法读取为 JSON:{exc}"}],
|
||||
)
|
||||
if prompt:
|
||||
issues.extend(i for i in workflow_warnings(prompt) if i["level"] == "error")
|
||||
findings = check_workflow_against(info, prompt) if info else []
|
||||
issues.extend(findings)
|
||||
if not info:
|
||||
issues.append(
|
||||
{"code": "environment_unchecked", "message": "目标机节点和模型尚未核对"}
|
||||
)
|
||||
if needs_user_output_map(prompt) or not auto_output_map(prompt):
|
||||
issues.append(
|
||||
{"code": "output_unconfirmed", "message": "输出节点或类型待人工确认"}
|
||||
)
|
||||
state = (
|
||||
"needs_conversion"
|
||||
if prompt is None
|
||||
else "pending_check"
|
||||
if issues
|
||||
else "pending_test"
|
||||
)
|
||||
doc = build_document(relative, source, prompt, snapshot, issues)
|
||||
doc["snapshot_sha"] = snapshot_sha
|
||||
judgment = classify_usage(prompt or {})
|
||||
outputs = auto_output_map(prompt or {})
|
||||
kinds = {o["kind"] for o in outputs}
|
||||
kind = next(iter(kinds)) if len(kinds) == 1 else "unknown"
|
||||
values = {
|
||||
"name": path.stem,
|
||||
"kind": kind,
|
||||
"workflow_json": _json(prompt or {}),
|
||||
"input_schema": _json(parse_dynamic_inputs(prompt or {})),
|
||||
"output_schema": _json(parse_dynamic_outputs(prompt or {})),
|
||||
"output_map": _json(outputs),
|
||||
"output_map_source": "auto" if outputs else None,
|
||||
"usage": judgment["usage"],
|
||||
"usage_source": "auto",
|
||||
"is_enabled": 0,
|
||||
"source_repo_path": relative,
|
||||
"source_sha": sha,
|
||||
"source_commit": source_commit,
|
||||
"batch_id": batch,
|
||||
"raw_source_json": text,
|
||||
"doc_json": _json(doc),
|
||||
"import_state": state,
|
||||
"import_issues": _json(issues),
|
||||
"imported_at": datetime.now(timezone.utc).isoformat(),
|
||||
"doc_completed_at": None,
|
||||
"exec_verified_at": None,
|
||||
}
|
||||
before = dict(existing) if existing else None
|
||||
if existing:
|
||||
wid = existing["id"]
|
||||
conn.execute(
|
||||
"UPDATE workflows SET " + ",".join(f"{k}=?" for k in values) + " WHERE id=?",
|
||||
[*values.values(), wid],
|
||||
)
|
||||
else:
|
||||
cur = conn.execute(
|
||||
"INSERT INTO workflows ("
|
||||
+ ",".join(values)
|
||||
+ ") VALUES ("
|
||||
+ ",".join("?" for _ in values)
|
||||
+ ")",
|
||||
list(values.values()),
|
||||
)
|
||||
wid = cur.lastrowid
|
||||
row = dict(conn.execute("SELECT * FROM workflows WHERE id=?", (wid,)).fetchone())
|
||||
digest = fingerprint(row)
|
||||
conn.execute("UPDATE workflows SET library_fingerprint=? WHERE id=?", (digest, wid))
|
||||
conn.execute(
|
||||
"INSERT INTO workflow_revisions "
|
||||
"(batch_id,workflow_id,before_json,after_fingerprint) "
|
||||
"VALUES (?,?,?,?)",
|
||||
(batch, wid, _json(before) if before else None, digest),
|
||||
)
|
||||
report["files"].append(
|
||||
{
|
||||
**record,
|
||||
"result": "updated" if existing else "imported",
|
||||
"workflow_id": wid,
|
||||
"state": state,
|
||||
"issues": issues,
|
||||
}
|
||||
)
|
||||
report["counts"] = dict(Counter(r["result"] for r in report["files"]))
|
||||
report["states"] = dict(Counter(r.get("state", "conflict") for r in report["files"]))
|
||||
report["total"] = len(report["files"])
|
||||
report["doc_completed"] = 0
|
||||
report["exec_verified"] = 0
|
||||
return report
|
||||
|
||||
|
||||
def rollback_batch(conn: sqlite3.Connection, batch_id: str) -> dict:
|
||||
"""Restore previous snapshots. Refuse user edits and referenced new rows."""
|
||||
conn.row_factory = sqlite3.Row
|
||||
results = []
|
||||
with conn:
|
||||
conn.execute("BEGIN IMMEDIATE")
|
||||
revisions = conn.execute(
|
||||
"SELECT * FROM workflow_revisions WHERE batch_id=? AND rolled_back=0 ORDER BY id DESC",
|
||||
(batch_id,),
|
||||
).fetchall()
|
||||
for revision in revisions:
|
||||
wid = revision["workflow_id"]
|
||||
row = conn.execute("SELECT * FROM workflows WHERE id=?", (wid,)).fetchone()
|
||||
if row is None or fingerprint(dict(row)) != revision["after_fingerprint"]:
|
||||
results.append({"workflow_id": wid, "result": "conflict"})
|
||||
continue
|
||||
if revision["before_json"]:
|
||||
before = json.loads(revision["before_json"])
|
||||
conn.execute(
|
||||
"UPDATE workflows SET " + ",".join(f"{k}=?" for k in before) + " WHERE id=?",
|
||||
[*before.values(), wid],
|
||||
)
|
||||
else:
|
||||
# Deleting a new row could detach jobs/canvas references. Keep it disabled instead.
|
||||
conn.execute(
|
||||
"UPDATE workflows SET is_enabled=0, import_state=? WHERE id=?",
|
||||
("rolled_back", wid),
|
||||
)
|
||||
new = dict(conn.execute("SELECT * FROM workflows WHERE id=?", (wid,)).fetchone())
|
||||
conn.execute(
|
||||
"UPDATE workflows SET library_fingerprint=? WHERE id=?", (fingerprint(new), wid)
|
||||
)
|
||||
conn.execute(
|
||||
"UPDATE workflow_revisions SET rolled_back=1 WHERE id=?", (revision["id"],)
|
||||
)
|
||||
results.append(
|
||||
{
|
||||
"workflow_id": wid,
|
||||
"result": "restored" if revision["before_json"] else "disabled",
|
||||
}
|
||||
)
|
||||
return {"batch_id": batch_id, "files": results}
|
||||
@@ -0,0 +1,98 @@
|
||||
"""Explicit local library import/rollback and read-only object_info snapshot CLI."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import argparse
|
||||
import asyncio
|
||||
import hashlib
|
||||
import json
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
import httpx
|
||||
|
||||
from calliope.comfyui.library import import_library, load_snapshot, rollback_batch
|
||||
from calliope.db import get_db, migrate_db
|
||||
|
||||
|
||||
def write(path: Path, data: object) -> None:
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
path.write_text(json.dumps(data, ensure_ascii=False, indent=2) + "\n", encoding="utf-8")
|
||||
|
||||
|
||||
def main() -> None:
|
||||
parser = argparse.ArgumentParser(description=__doc__)
|
||||
commands = parser.add_subparsers(dest="command", required=True)
|
||||
snap = commands.add_parser("snapshot")
|
||||
snap.add_argument("--url", required=True)
|
||||
snap.add_argument("--output", type=Path, required=True)
|
||||
for command in ("import", "rollback"):
|
||||
sub = commands.add_parser(command)
|
||||
sub.add_argument(
|
||||
"--db", type=Path, required=True, help="Explicit local database; never a remote service"
|
||||
)
|
||||
sub.add_argument("--output-dir", type=Path, required=True)
|
||||
if command == "import":
|
||||
sub.add_argument("--root", type=Path, required=True)
|
||||
sub.add_argument("--source-commit", required=True)
|
||||
sub.add_argument("--snapshot", type=Path)
|
||||
else:
|
||||
sub.add_argument("--batch-id", required=True)
|
||||
args = parser.parse_args()
|
||||
if args.command == "snapshot":
|
||||
data = {
|
||||
"source_url": args.url.rstrip("/") + "/object_info",
|
||||
"captured_at": datetime.now(timezone.utc).isoformat(),
|
||||
}
|
||||
try:
|
||||
response = httpx.get(data["source_url"], timeout=10, trust_env=False)
|
||||
response.raise_for_status()
|
||||
info = response.json()
|
||||
if not isinstance(info, dict) or not info:
|
||||
raise ValueError("object_info must be a nonempty object")
|
||||
data.update(status="captured", object_info=info)
|
||||
except (httpx.HTTPError, ValueError) as exc:
|
||||
data.update(status="unavailable", error=f"{type(exc).__name__}: {exc}")
|
||||
write(args.output, data)
|
||||
print(data["status"])
|
||||
if data["status"] != "captured":
|
||||
raise SystemExit(1)
|
||||
return
|
||||
if args.command == "import" and not args.root.is_dir():
|
||||
parser.error("--root 必须为存在的目录,避免误报空库成功")
|
||||
snapshot = load_snapshot(args.snapshot) if args.command == "import" else None
|
||||
asyncio.run(migrate_db(args.db))
|
||||
conn = get_db(args.db)
|
||||
try:
|
||||
if args.command == "import":
|
||||
report = import_library(
|
||||
conn, args.root, source_commit=args.source_commit, snapshot=snapshot
|
||||
)
|
||||
documents = []
|
||||
for row in conn.execute(
|
||||
"SELECT source_repo_path, source_sha, import_state, doc_json "
|
||||
"FROM workflows WHERE source_repo_path IS NOT NULL ORDER BY source_repo_path"
|
||||
):
|
||||
doc = json.loads(row["doc_json"])
|
||||
key = hashlib.sha256(row["source_repo_path"].encode()).hexdigest()[:16]
|
||||
write(args.output_dir / "documents" / (key + ".json"), doc)
|
||||
documents.append(
|
||||
{
|
||||
"path": row["source_repo_path"],
|
||||
"source_sha": row["source_sha"],
|
||||
"state": row["import_state"],
|
||||
"doc_done": bool(row["doc_json"] and doc["status"]["doc_done"]),
|
||||
"document": "documents/" + key + ".json",
|
||||
}
|
||||
)
|
||||
write(args.output_dir / "manifest.json", documents)
|
||||
else:
|
||||
report = rollback_batch(conn, args.batch_id)
|
||||
write(args.output_dir / (args.command + "_report.json"), report)
|
||||
print(json.dumps({k: v for k, v in report.items() if k != "files"}, ensure_ascii=False))
|
||||
finally:
|
||||
conn.close()
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -91,7 +91,7 @@ def workflow_warnings(workflow: dict[str, Any]) -> list[dict[str, str]]:
|
||||
from calliope.comfyui.parser import detect_output_nodes
|
||||
|
||||
outputs = detect_output_nodes(workflow)
|
||||
if not any(o.get("kind") in ("image", "video") for o in outputs):
|
||||
if not any(o.get("kind") in ("image", "video", "audio", "file") for o in outputs):
|
||||
unknown = [o for o in outputs if o.get("evidence") == "unknown_node"]
|
||||
if not unknown:
|
||||
found.append(
|
||||
|
||||
@@ -19,13 +19,12 @@ from typing import Any
|
||||
|
||||
from calliope.comfyui.parser import parse_dynamic_outputs
|
||||
from calliope.comfyui.registry import (
|
||||
IMAGE_OUTPUT_CLASSES,
|
||||
NUMBER_CLASSES,
|
||||
OUTPUT_CLASSES,
|
||||
TEXT_AREA_CLASSES,
|
||||
VIDEO_OUTPUT_CLASSES,
|
||||
)
|
||||
|
||||
VALID_OUTPUT_KINDS = ("image", "video")
|
||||
VALID_OUTPUT_KINDS = ("image", "video", "audio", "file")
|
||||
|
||||
|
||||
def _wiring_class(class_type: str) -> bool:
|
||||
@@ -91,10 +90,10 @@ def validate_output_map(
|
||||
ct = str(node.get("class_type") or "").strip()
|
||||
if not ct:
|
||||
problems.append(f"节点 {nid} 缺少节点类型,不能作为输出节点")
|
||||
elif _wiring_class(ct) and ct not in (IMAGE_OUTPUT_CLASSES | VIDEO_OUTPUT_CLASSES):
|
||||
elif _wiring_class(ct) and ct not in OUTPUT_CLASSES:
|
||||
problems.append(f"节点 {nid}({ct})是参数/连线节点,不能作为输出节点")
|
||||
if entry.get("kind") not in VALID_OUTPUT_KINDS:
|
||||
problems.append(f"输出节点 {nid} 的媒体类型必须是图片或视频")
|
||||
problems.append(f"输出节点 {nid} 的媒体类型必须是图片、视频、音频或文件")
|
||||
if nid in seen:
|
||||
problems.append(f"输出节点 {nid} 重复指定")
|
||||
seen.add(nid)
|
||||
|
||||
@@ -10,13 +10,12 @@ from calliope.comfyui.patcher import FIELD_KEY_SEP, resolve_patch_field
|
||||
from calliope.comfyui.registry import (
|
||||
AUDIO_CLASSES,
|
||||
IMAGE_CLASSES,
|
||||
IMAGE_OUTPUT_CLASSES,
|
||||
IMAGE_URL_CLASSES,
|
||||
NUMBER_CLASSES,
|
||||
OPTIONAL_FRAME_INPUTS,
|
||||
OUTPUT_CLASSES,
|
||||
TEXT_AREA_CLASSES,
|
||||
VIDEO_CLASSES,
|
||||
VIDEO_OUTPUT_CLASSES,
|
||||
ComfyOutputKind,
|
||||
class_to_input_kind,
|
||||
class_to_output_kind,
|
||||
@@ -791,10 +790,8 @@ def parse_dynamic_outputs(workflow: dict[str, Any]) -> list[dict[str, Any]]:
|
||||
continue
|
||||
out_kind: ComfyOutputKind = class_to_output_kind(node.get("class_type", ""))
|
||||
canon = normalize_output_role(role)
|
||||
if canon == "video":
|
||||
out_kind = "video"
|
||||
elif canon == "image":
|
||||
out_kind = "image"
|
||||
if canon in ("image", "video", "audio", "file"):
|
||||
out_kind = canon
|
||||
results.append(
|
||||
{
|
||||
"nodeId": str(node_id),
|
||||
@@ -944,13 +941,13 @@ def detect_output_nodes(workflow: dict[str, Any]) -> list[dict[str, Any]]:
|
||||
# 1) Trusted registry outputs at sink positions.
|
||||
for nid, node in _sinks(workflow, consumers):
|
||||
ct = str(node.get("class_type") or "")
|
||||
if ct in IMAGE_OUTPUT_CLASSES or ct in VIDEO_OUTPUT_CLASSES:
|
||||
if ct in OUTPUT_CLASSES:
|
||||
registry_outputs.append(
|
||||
{
|
||||
"nodeId": nid,
|
||||
"label": _title_of(node) or ct,
|
||||
"role": None,
|
||||
"kind": "video" if ct in VIDEO_OUTPUT_CLASSES else "image",
|
||||
"kind": class_to_output_kind(ct),
|
||||
"class_type": ct,
|
||||
"evidence": "registry",
|
||||
}
|
||||
@@ -963,14 +960,14 @@ def detect_output_nodes(workflow: dict[str, Any]) -> list[dict[str, Any]]:
|
||||
key=lambda kv: _node_sort_key(kv[0]),
|
||||
):
|
||||
ct = str(node.get("class_type") or "")
|
||||
if nid in seen or ct not in (IMAGE_OUTPUT_CLASSES | VIDEO_OUTPUT_CLASSES):
|
||||
if nid in seen or ct not in OUTPUT_CLASSES:
|
||||
continue
|
||||
registry_outputs.append(
|
||||
{
|
||||
"nodeId": nid,
|
||||
"label": _title_of(node) or ct,
|
||||
"role": None,
|
||||
"kind": "video" if ct in VIDEO_OUTPUT_CLASSES else "image",
|
||||
"kind": class_to_output_kind(ct),
|
||||
"class_type": ct,
|
||||
"evidence": "registry",
|
||||
}
|
||||
@@ -983,7 +980,7 @@ def detect_output_nodes(workflow: dict[str, Any]) -> list[dict[str, Any]]:
|
||||
has_trusted = bool(registry_outputs)
|
||||
for nid, node in _sinks(workflow, consumers):
|
||||
ct = str(node.get("class_type") or "")
|
||||
if nid in seen or _is_wiring(ct) or ct in (IMAGE_OUTPUT_CLASSES | VIDEO_OUTPUT_CLASSES):
|
||||
if nid in seen or _is_wiring(ct) or ct in OUTPUT_CLASSES:
|
||||
continue
|
||||
if _unknown_sink_looks_like_save(node, workflow) or not has_trusted:
|
||||
candidates.append(_unknown_output_entry(nid, node, workflow, videoish))
|
||||
@@ -998,7 +995,7 @@ def detect_output_nodes(workflow: dict[str, Any]) -> list[dict[str, Any]]:
|
||||
key=lambda kv: _node_sort_key(kv[0]),
|
||||
):
|
||||
ct = str(node.get("class_type") or "")
|
||||
if nid in seen or _is_wiring(ct) or ct in (IMAGE_OUTPUT_CLASSES | VIDEO_OUTPUT_CLASSES):
|
||||
if nid in seen or _is_wiring(ct) or ct in OUTPUT_CLASSES:
|
||||
continue
|
||||
if _node_has_save_widget(node):
|
||||
candidates.append(_unknown_output_entry(nid, node, workflow, videoish))
|
||||
@@ -1045,7 +1042,7 @@ def classify_usage(workflow: dict[str, Any]) -> dict[str, Any]:
|
||||
"""
|
||||
inputs = parse_dynamic_inputs(workflow) if isinstance(workflow, dict) else []
|
||||
outputs = parse_dynamic_outputs(workflow)
|
||||
media_outputs = [o for o in outputs if o.get("kind") in ("image", "video")]
|
||||
media_outputs = [o for o in outputs if o.get("kind") in ("image", "video", "audio", "file")]
|
||||
unknown_outputs = [o for o in outputs if o.get("evidence") == "unknown_node"]
|
||||
out_kinds = sorted({o["kind"] for o in media_outputs})
|
||||
|
||||
@@ -1079,7 +1076,7 @@ def classify_usage(workflow: dict[str, Any]) -> dict[str, Any]:
|
||||
|
||||
summary: list[str] = []
|
||||
for o in media_outputs:
|
||||
zh = "图片" if o["kind"] == "image" else "视频"
|
||||
zh = {"image": "图片", "video": "视频", "audio": "音频", "file": "文件"}[o["kind"]]
|
||||
summary.append(f"输出:节点 {o['nodeId']}({o.get('class_type') or o['label']})→ {zh}")
|
||||
if unknown_outputs:
|
||||
names = "、".join(
|
||||
@@ -1118,6 +1115,9 @@ def classify_usage(workflow: dict[str, Any]) -> dict[str, Any]:
|
||||
elif len(out_kinds) == 1:
|
||||
if out_kinds[0] == "image":
|
||||
usage = "image2image" if bulk else "text2image"
|
||||
elif out_kinds[0] in ("audio", "file"):
|
||||
ambiguous = True
|
||||
problem = "音频/文件输出已识别,请人工确认语音、音乐、转写或工具用途"
|
||||
elif has_ref_group or len(bulk) >= 2:
|
||||
usage = "ref2video"
|
||||
elif has_frame and not bulk:
|
||||
|
||||
@@ -4,7 +4,7 @@ from __future__ import annotations
|
||||
from typing import Any, Literal
|
||||
|
||||
ComfyInputKind = Literal["text", "textarea", "number", "image", "image_url", "audio", "video"]
|
||||
ComfyOutputKind = Literal["image", "video", "other"]
|
||||
ComfyOutputKind = Literal["image", "video", "audio", "file", "other"]
|
||||
PatchField = Literal["image", "url", "audio", "video", "file", "text", "value", "int", "float"]
|
||||
|
||||
TEXT_AREA_CLASSES = frozenset(
|
||||
@@ -33,6 +33,9 @@ IMAGE_OUTPUT_CLASSES = frozenset(
|
||||
{"SaveImage", "PreviewImage", "SaveImageWebsocket", "ETN_SendImageWebSocket",
|
||||
"SaveImageAdvanced"}
|
||||
)
|
||||
AUDIO_OUTPUT_CLASSES = frozenset({"SaveAudio", "SaveAudioMP3", "SaveAudioOpus", "PreviewAudio"})
|
||||
OUTPUT_CLASSES = IMAGE_OUTPUT_CLASSES | VIDEO_OUTPUT_CLASSES | AUDIO_OUTPUT_CLASSES
|
||||
|
||||
# Frame-conditioned video nodes and the optional frame input an export may
|
||||
# leave unwired. MiniMax H3's FL2VA node takes `first_frame` plus an
|
||||
# optional `last_frame`; the studio offers the slot and the patcher adds
|
||||
@@ -110,6 +113,8 @@ def class_to_patch_field(class_type: str) -> PatchField:
|
||||
|
||||
|
||||
def class_to_output_kind(class_type: str) -> ComfyOutputKind:
|
||||
if class_type in AUDIO_OUTPUT_CLASSES:
|
||||
return "audio"
|
||||
if class_type in VIDEO_OUTPUT_CLASSES or "video" in class_type.lower():
|
||||
return "video"
|
||||
if class_type in IMAGE_OUTPUT_CLASSES or "image" in class_type.lower():
|
||||
|
||||
@@ -28,6 +28,8 @@ INPUT_ROLE_ALIASES: dict[str, frozenset[str]] = {
|
||||
OUTPUT_ROLE_ALIASES: dict[str, frozenset[str]] = {
|
||||
"image": frozenset({"image", "img"}),
|
||||
"video": frozenset({"video", "vid"}),
|
||||
"audio": frozenset({"audio", "sound"}),
|
||||
"file": frozenset({"file", "subtitle", "srt"}),
|
||||
}
|
||||
|
||||
# The five workflow usages the studio distinguishes (HEL-636). Derived from
|
||||
@@ -40,6 +42,7 @@ USAGE_VALUES: tuple[str, ...] = (
|
||||
"text2video",
|
||||
"image2video",
|
||||
"ref2video",
|
||||
"text2speech", "speech2text", "text2music", "utility", "audio2video", "pose2video",
|
||||
)
|
||||
|
||||
|
||||
@@ -47,7 +50,11 @@ def usage_to_kind(usage: str | None) -> str | None:
|
||||
"""Output media kind of a usage (image / video); None when unknown."""
|
||||
if usage in ("text2image", "image2image"):
|
||||
return "image"
|
||||
if usage in ("text2video", "image2video", "ref2video"):
|
||||
if usage in ("text2speech", "text2music"):
|
||||
return "audio"
|
||||
if usage == "speech2text":
|
||||
return "file"
|
||||
if usage in ("text2video", "image2video", "ref2video", "audio2video", "pose2video"):
|
||||
return "video"
|
||||
return None
|
||||
|
||||
|
||||
@@ -0,0 +1,117 @@
|
||||
"""Conservative offline conversion; partial or ambiguous prompts are never returned.
|
||||
|
||||
object_info does not define custom frontend widget serialization. Only named
|
||||
widgets pass. Even input_order cannot prove arbitrary frontend serialization.
|
||||
Subgraphs, virtual nodes, seed extra controls, mute and bypass need API exports.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from dataclasses import dataclass, field
|
||||
from typing import Any
|
||||
|
||||
|
||||
@dataclass
|
||||
class Conversion:
|
||||
prompt: dict[str, Any] | None
|
||||
issues: list[dict[str, Any]] = field(default_factory=list)
|
||||
|
||||
|
||||
def convert(source: Any, object_info: dict[str, Any] | None = None) -> Conversion:
|
||||
issues: list[dict[str, Any]] = []
|
||||
|
||||
def fail(code: str, message: str, node_id: Any = "") -> None:
|
||||
issues.append({"code": code, "message": message, "node_id": str(node_id)})
|
||||
|
||||
if not isinstance(source, dict):
|
||||
return Conversion(None, [{"code": "invalid_format", "message": "源文件不是 JSON 对象"}])
|
||||
if "nodes" not in source:
|
||||
if source and all(
|
||||
isinstance(n, dict)
|
||||
and isinstance(n.get("class_type"), str)
|
||||
and isinstance(n.get("inputs"), dict)
|
||||
for n in source.values()
|
||||
):
|
||||
return Conversion(source)
|
||||
return Conversion(
|
||||
None, [{"code": "invalid_format", "message": "无法识别 API 或 UI 图格式"}]
|
||||
)
|
||||
if not isinstance(source["nodes"], list):
|
||||
return Conversion(None, [{"code": "invalid_format", "message": "nodes 必须为数组"}])
|
||||
if (source.get("definitions") or {}).get("subgraphs"):
|
||||
fail("subgraph_requires_export", "包含子图:需原 ComfyUI API 导出及差分核对")
|
||||
info = object_info or {}
|
||||
nodes = {str(n["id"]): n for n in source["nodes"] if isinstance(n, dict) and "id" in n}
|
||||
if len(nodes) != len(source["nodes"]):
|
||||
fail("invalid_nodes", "节点 ID 缺失或重复")
|
||||
links = {}
|
||||
for link in source.get("links") or []:
|
||||
if not isinstance(link, list) or len(link) < 6:
|
||||
fail("unsupported_links", "连线格式需原 ComfyUI API 导出核对")
|
||||
else:
|
||||
if str(link[0]) in links:
|
||||
fail("duplicate_link", "连线 ID 重复")
|
||||
links[str(link[0])] = link
|
||||
prompt = {}
|
||||
for nid, node in nodes.items():
|
||||
ct = node.get("type", "")
|
||||
if ct in ("Note", "MarkdownNote"):
|
||||
continue
|
||||
if node.get("mode", 0) != 0:
|
||||
fail("mode_requires_export", f"{ct} 包含静音/旁路状态,需 API 导出核对", nid)
|
||||
continue
|
||||
spec = info.get(ct)
|
||||
if not isinstance(spec, dict):
|
||||
fail("node_definition_unavailable", f"待提供目标机节点定义:{ct}", nid)
|
||||
continue
|
||||
declared = {
|
||||
**spec.get("input", {}).get("required", {}),
|
||||
**spec.get("input", {}).get("optional", {}),
|
||||
}
|
||||
sockets = {s["name"]: s for s in node.get("inputs", []) if "name" in s}
|
||||
widgets = node.get("widgets_values") or []
|
||||
inputs = {}
|
||||
if isinstance(widgets, dict):
|
||||
if set(widgets) - set(declared):
|
||||
fail("unknown_widget", f"{ct} 存在节点定义以外的具名控件", nid)
|
||||
inputs.update({k: v for k, v in widgets.items() if k in declared})
|
||||
elif widgets:
|
||||
fail(
|
||||
"widget_layout_unverified",
|
||||
f"{ct} 控件为位置数组;input_order 不证明前端序列化顺序,需 API 导出核对",
|
||||
nid,
|
||||
)
|
||||
continue
|
||||
for name, socket in sockets.items():
|
||||
lid = socket.get("link")
|
||||
if lid is None:
|
||||
continue
|
||||
link = links.get(str(lid))
|
||||
if (
|
||||
not link
|
||||
or str(link[3]) != nid
|
||||
or not isinstance(link[4], int)
|
||||
or not 0 <= link[4] < len(node.get("inputs", []))
|
||||
):
|
||||
fail("invalid_link", f"输入 {name} 的连线无效", nid)
|
||||
continue
|
||||
if node["inputs"][link[4]].get("name") != name or name not in declared:
|
||||
fail("invalid_socket", f"输入 {name} 的目标槽不匹配", nid)
|
||||
continue
|
||||
upstream = nodes.get(str(link[1]))
|
||||
outputs = info.get((upstream or {}).get("type"), {}).get("output", [])
|
||||
if not upstream or not isinstance(link[2], int) or not 0 <= link[2] < len(outputs):
|
||||
fail("invalid_output_slot", f"输入 {name} 的来源槽无法核对", nid)
|
||||
continue
|
||||
inputs[name] = [str(link[1]), link[2]]
|
||||
for name in spec.get("input", {}).get("required", {}):
|
||||
if name not in inputs:
|
||||
fail("missing_required_input", f"{ct}.{name} 缺少源文件值或连线", nid)
|
||||
prompt[nid] = {
|
||||
"class_type": ct,
|
||||
"inputs": inputs,
|
||||
"_meta": {"title": node.get("title") or ct},
|
||||
}
|
||||
if not prompt:
|
||||
fail("empty_prompt", "未得到可执行节点")
|
||||
return Conversion(None if issues else prompt, issues)
|
||||
@@ -113,7 +113,7 @@ CREATE INDEX IF NOT EXISTS idx_clips_project ON clips(project_id);
|
||||
CREATE TABLE IF NOT EXISTS workflows (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
name TEXT NOT NULL,
|
||||
kind TEXT NOT NULL CHECK(kind IN ('image', 'video')),
|
||||
kind TEXT NOT NULL CHECK(kind IN ('image', 'video', 'audio', 'file', 'unknown')),
|
||||
workflow_json TEXT NOT NULL,
|
||||
input_node_map TEXT,
|
||||
output_node_name TEXT,
|
||||
@@ -355,7 +355,8 @@ def _backfill_workflow_usage(conn: sqlite3.Connection) -> None:
|
||||
from calliope.comfyui.parser import classify_usage
|
||||
|
||||
rows = conn.execute(
|
||||
"SELECT id, workflow_json FROM workflows WHERE usage IS NULL OR usage = ''"
|
||||
"SELECT id, workflow_json FROM workflows WHERE source_repo_path IS NULL"
|
||||
" AND (usage IS NULL OR usage = '')"
|
||||
).fetchall()
|
||||
for row in rows: # plain connect — positional access
|
||||
try:
|
||||
@@ -388,7 +389,8 @@ def _backfill_workflow_output_map(conn: sqlite3.Connection) -> None:
|
||||
|
||||
rows = conn.execute(
|
||||
"SELECT id, workflow_json FROM workflows"
|
||||
" WHERE output_map_source IS NULL OR output_map_source != 'user'"
|
||||
" WHERE source_repo_path IS NULL"
|
||||
" AND (output_map_source IS NULL OR output_map_source != 'user')"
|
||||
).fetchall()
|
||||
for row in rows:
|
||||
try:
|
||||
@@ -423,7 +425,7 @@ _FL2VA_DESCRIPTION = "首帧必填,尾帧可选:只传首帧为图生视频
|
||||
|
||||
def _rename_workflows(conn: sqlite3.Connection) -> None:
|
||||
for wid, name, wf_json in conn.execute(
|
||||
"SELECT id, name, workflow_json FROM workflows"
|
||||
"SELECT id, name, workflow_json FROM workflows WHERE source_repo_path IS NULL"
|
||||
).fetchall():
|
||||
if not name or "尾帧" in name or not _FIRST_FRAME_NAME_RE.search(name):
|
||||
continue
|
||||
@@ -452,6 +454,9 @@ async def migrate_db(db_path: Path) -> None:
|
||||
db_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
conn = sqlite3.connect(db_path)
|
||||
conn.executescript(SCHEMA)
|
||||
from calliope.comfyui.library import migrate_library
|
||||
|
||||
migrate_library(conn)
|
||||
# Additive migrations for existing DBs
|
||||
# Dedupe guard: ARTIFACT nodes keyed by (canvas_id, job_id). Without the
|
||||
# unique index, the agent's post_artifact_to_canvas and the frontend
|
||||
|
||||
@@ -204,12 +204,13 @@ WorkflowUsageKind = Literal[
|
||||
"text2video",
|
||||
"image2video",
|
||||
"ref2video",
|
||||
"text2speech", "speech2text", "text2music", "utility", "audio2video", "pose2video",
|
||||
]
|
||||
|
||||
|
||||
class WorkflowCreate(BaseModel):
|
||||
name: str = Field(..., min_length=1)
|
||||
kind: Literal["image", "video"] | None = None
|
||||
kind: Literal["image", "video", "audio", "file"] | None = None
|
||||
workflow_json: dict[str, Any]
|
||||
description: str | None = None
|
||||
prompt_profile: Literal["prose", "minimax_h3_ref"] | None = None
|
||||
@@ -231,7 +232,7 @@ class WorkflowCreate(BaseModel):
|
||||
|
||||
class WorkflowUpdate(BaseModel):
|
||||
name: str | None = None
|
||||
kind: Literal["image", "video"] | None = None
|
||||
kind: Literal["image", "video", "audio", "file"] | None = None
|
||||
description: str | None = None
|
||||
prompt_profile: Literal["prose", "minimax_h3_ref"] | None = None
|
||||
is_enabled: bool | None = None
|
||||
|
||||
@@ -224,6 +224,10 @@ class QueueWorker:
|
||||
raise RuntimeError(
|
||||
"找不到该任务使用的工作流(可能已被删除),请重新选择工作流后再生成"
|
||||
)
|
||||
if workflow_row.get("import_state") in (
|
||||
"needs_conversion", "pending_check", "rolled_back"
|
||||
):
|
||||
raise RuntimeError("工作流库条目尚未完成转换或依赖核对,禁止提交生成任务")
|
||||
workflow = workflow_row["workflow_json"]
|
||||
broken = blocking_problem(workflow)
|
||||
if broken:
|
||||
@@ -279,7 +283,8 @@ class QueueWorker:
|
||||
if not outputs_meta:
|
||||
checked = "、".join(sorted(node_kinds))
|
||||
raise RuntimeError(
|
||||
f"ComfyUI 显示任务已结束(任务 ID {prompt_id}),但没有返回任何图片或视频,"
|
||||
f"ComfyUI 显示任务已结束(任务 ID {prompt_id}),"
|
||||
"但没有返回任何图片、视频、音频或文件,"
|
||||
"不算生成完成。已按输出映射检查节点:" f"{checked};"
|
||||
"请到 ComfyUI 历史中核对该任务,并确认所指定的输出节点正确。"
|
||||
)
|
||||
@@ -539,7 +544,7 @@ class QueueWorker:
|
||||
conn = get_db(config.settings.db_path)
|
||||
try:
|
||||
row = conn.execute(
|
||||
"SELECT workflow_json, output_map, output_map_source FROM workflows"
|
||||
"SELECT workflow_json, output_map, output_map_source, import_state FROM workflows"
|
||||
" WHERE id = ?",
|
||||
(workflow_id,),
|
||||
).fetchone()
|
||||
@@ -549,6 +554,7 @@ class QueueWorker:
|
||||
"workflow_json": json.loads(row["workflow_json"]),
|
||||
"output_map": row["output_map"],
|
||||
"output_map_source": row["output_map_source"],
|
||||
"import_state": row["import_state"],
|
||||
}
|
||||
finally:
|
||||
conn.close()
|
||||
|
||||
@@ -45,9 +45,15 @@ from calliope.queue.workflow_test import (
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
def _serialize_workflow(row: Any) -> dict[str, Any]:
|
||||
def _serialize_workflow(row: Any, *, include_document: bool = True) -> dict[str, Any]:
|
||||
data = row_to_dict(row)
|
||||
data["workflow_json"] = json.loads(data["workflow_json"])
|
||||
if not include_document:
|
||||
data.pop("doc_json", None)
|
||||
for field in (("doc_json", "import_issues") if include_document else ("import_issues",)):
|
||||
data[field] = json.loads(data[field]) if data.get(field) else None
|
||||
data.pop("raw_source_json", None)
|
||||
data.pop("library_fingerprint", None)
|
||||
stored = json.loads(data["input_schema"]) if data.get("input_schema") else []
|
||||
data["input_schema"] = effective_input_schema(stored, data["workflow_json"])
|
||||
# Outputs are pure graph derivation (no manual overrides) — always fresh,
|
||||
@@ -172,6 +178,8 @@ async def reanalyze_workflow(workflow_id: int) -> dict[str, Any]:
|
||||
else:
|
||||
output_map, output_map_source = json.dumps(auto_output_map(workflow)), "auto"
|
||||
is_enabled = data["is_enabled"]
|
||||
if data.get("import_state") in ("needs_conversion", "pending_check", "rolled_back"):
|
||||
is_enabled = 0
|
||||
if output_map_source is None or usage is None:
|
||||
is_enabled = 0
|
||||
conn.execute(
|
||||
@@ -220,7 +228,7 @@ async def list_workflows() -> list[dict[str, Any]]:
|
||||
conn = get_db(settings.db_path)
|
||||
try:
|
||||
rows = conn.execute("SELECT * FROM workflows ORDER BY id DESC").fetchall()
|
||||
out = [_serialize_workflow(r) for r in rows]
|
||||
out = [_serialize_workflow(r, include_document=False) for r in rows]
|
||||
# 上次测试 state is read live from the newest test job per workflow —
|
||||
# no cached column that could go stale (HEL-643).
|
||||
latest: dict[int, dict[str, Any]] = {}
|
||||
@@ -246,12 +254,15 @@ async def check_workflow(workflow_id: int, payload: WorkflowCheckRequest) -> dic
|
||||
conn = get_db(settings.db_path)
|
||||
try:
|
||||
row = conn.execute(
|
||||
"SELECT workflow_json, endpoint_id FROM workflows WHERE id = ?", (workflow_id,)
|
||||
"SELECT workflow_json, endpoint_id, import_state FROM workflows WHERE id = ?",
|
||||
(workflow_id,)
|
||||
).fetchone()
|
||||
finally:
|
||||
conn.close()
|
||||
if not row:
|
||||
raise HTTPException(status_code=404, detail="Workflow not found")
|
||||
if row["import_state"] in ("needs_conversion", "rolled_back"):
|
||||
raise HTTPException(status_code=400, detail="请先完成转换或恢复库条目,不能核查空图")
|
||||
endpoint_id = payload.endpoint_id or row["endpoint_id"]
|
||||
return await _connection_check(endpoint_id, json.loads(row["workflow_json"]), payload.refresh)
|
||||
|
||||
@@ -266,7 +277,8 @@ async def dedupe_workflows() -> dict[str, Any]:
|
||||
conn = get_db(settings.db_path)
|
||||
try:
|
||||
rows = conn.execute(
|
||||
"SELECT id, name, kind, workflow_json FROM workflows ORDER BY id"
|
||||
"SELECT id, name, kind, workflow_json FROM workflows"
|
||||
" WHERE source_repo_path IS NULL ORDER BY id"
|
||||
).fetchall()
|
||||
seen: dict[tuple[str, str, str], int] = {}
|
||||
drop_ids: list[int] = []
|
||||
@@ -303,9 +315,9 @@ async def create_workflow(payload: WorkflowCreate) -> dict[str, Any]:
|
||||
out_kinds = {
|
||||
o.get("kind")
|
||||
for o in parse_dynamic_outputs(payload.workflow_json)
|
||||
if o.get("kind") in ("image", "video")
|
||||
if o.get("kind") in ("image", "video", "audio", "file")
|
||||
}
|
||||
kind = "video" if out_kinds == {"video"} else "image"
|
||||
kind = next(iter(out_kinds)) if len(out_kinds) == 1 else "image"
|
||||
profile = payload.prompt_profile or detect_prompt_profile(payload.workflow_json)
|
||||
# HEL-638: an explicit user output map wins; otherwise the trusted auto
|
||||
# map. Either way a graph with unknown output candidates is unusable
|
||||
@@ -393,6 +405,12 @@ async def update_workflow(workflow_id: int, payload: WorkflowUpdate) -> dict[str
|
||||
if not existing:
|
||||
raise HTTPException(status_code=404, detail="Workflow not found")
|
||||
data = payload.model_dump(exclude_unset=True)
|
||||
if existing["import_state"] in ("needs_conversion", "pending_check", "rolled_back"):
|
||||
if data.get("is_enabled"):
|
||||
raise HTTPException(
|
||||
status_code=400, detail="该库条目尚未完成转换或依赖核对,不能启用"
|
||||
)
|
||||
data["is_enabled"] = 0
|
||||
if "is_enabled" in data and data["is_enabled"] is not None:
|
||||
data["is_enabled"] = 1 if data["is_enabled"] else 0
|
||||
workflow_json = json.loads(existing["workflow_json"])
|
||||
@@ -486,11 +504,13 @@ async def test_workflow(workflow_id: int, payload: WorkflowTestRequest) -> dict[
|
||||
try:
|
||||
wf = conn.execute(
|
||||
"SELECT id, kind, workflow_json, input_schema, output_map, output_map_source,"
|
||||
" endpoint_id FROM workflows WHERE id = ?",
|
||||
" endpoint_id, import_state FROM workflows WHERE id = ?",
|
||||
(workflow_id,),
|
||||
).fetchone()
|
||||
if not wf:
|
||||
raise HTTPException(status_code=404, detail="Workflow not found")
|
||||
if wf["import_state"] in ("needs_conversion", "pending_check", "rolled_back"):
|
||||
raise HTTPException(status_code=400, detail="该库条目尚未完成转换或依赖核对,不能测试")
|
||||
workflow_json = json.loads(wf["workflow_json"])
|
||||
broken = blocking_problem(workflow_json)
|
||||
if broken:
|
||||
|
||||
@@ -314,7 +314,7 @@ def test_empty_outputs_never_count_as_done(client, status_comfy):
|
||||
wf_id = _import_workflow(client, "真实·Qwen2.1(空结果)", "image", _load(T2I))
|
||||
job = _wait_final(client, _generate(client, wf_id, {"459:452@prompt": "猫"}).json()["job"]["id"])
|
||||
assert job["status"] == "failed"
|
||||
assert "没有返回任何图片或视频" in job["error"]
|
||||
assert "没有返回任何图片、视频、音频或文件" in job["error"]
|
||||
assert job["comfy_prompt_id"] and job["comfy_prompt_id"] in job["error"]
|
||||
assert job["output_paths"] == []
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ def test_analyze_returns_usage_evidence_and_problem(client):
|
||||
assert any(o["kind"] == "image" for o in body["usage_evidence"]["outputs"])
|
||||
assert body["usable_usage"] == [
|
||||
"text2image", "image2image", "text2video", "image2video", "ref2video",
|
||||
"text2speech", "speech2text", "text2music", "utility", "audio2video", "pose2video",
|
||||
]
|
||||
|
||||
r = client.post("/api/workflows/analyze", json={"workflow_json": AMBIGUOUS})
|
||||
|
||||
@@ -0,0 +1,285 @@
|
||||
"""HEL-892: offline catalogue completeness, preservation and conservative conversion."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import json
|
||||
import sqlite3
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
from calliope.comfyui.client import ComfyUIClient
|
||||
from calliope.comfyui.library import import_library, load_snapshot, migrate_library, rollback_batch
|
||||
from calliope.comfyui.output_map import auto_output_map
|
||||
from calliope.comfyui.ui2api import convert
|
||||
from calliope.config import settings
|
||||
from calliope.db import get_db, migrate_db
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[2] / "example_ComfyUI_workflows"
|
||||
API = {"1": {"class_type": "SaveImage", "inputs": {"filename_prefix": "test"}}}
|
||||
|
||||
|
||||
async def test_all_sources_and_repeat_after_restart(tmp_path):
|
||||
db = tmp_path / "library.db"
|
||||
await migrate_db(db)
|
||||
conn = get_db(db)
|
||||
conn.execute(
|
||||
"INSERT INTO workflows(name,kind,workflow_json) VALUES ('user','image',?)",
|
||||
(json.dumps(API),),
|
||||
)
|
||||
conn.commit()
|
||||
before = dict(conn.execute("SELECT * FROM workflows WHERE id=1").fetchone())
|
||||
report = import_library(conn, ROOT, source_commit="fixture")
|
||||
assert report["total"] == 156
|
||||
assert report["states"] == {"needs_conversion": 146, "pending_check": 10}
|
||||
assert conn.execute("SELECT count(*) FROM workflows WHERE is_enabled=0").fetchone()[0] == 156
|
||||
assert dict(conn.execute("SELECT * FROM workflows WHERE id=1").fetchone()) == before
|
||||
for row in conn.execute("SELECT * FROM workflows WHERE source_repo_path IS NOT NULL"):
|
||||
doc = json.loads(row["doc_json"])
|
||||
assert doc["source_nodes"]
|
||||
assert doc["status"] == {"imported": True, "doc_done": False, "exec_verified": False}
|
||||
assert json.loads(row["raw_source_json"]) == json.loads(
|
||||
(ROOT.parent / row["source_repo_path"]).read_text()
|
||||
)
|
||||
conn.close()
|
||||
await migrate_db(db)
|
||||
conn = get_db(db)
|
||||
second = import_library(conn, ROOT, source_commit="fixture")
|
||||
assert second["counts"] == {"skipped": 156}
|
||||
assert conn.execute("SELECT count(*) FROM workflows").fetchone()[0] == 157
|
||||
conn.close()
|
||||
|
||||
|
||||
async def test_update_user_conflict_and_rollback(tmp_path):
|
||||
root = tmp_path / "sources"
|
||||
root.mkdir()
|
||||
source = root / "a.json"
|
||||
source.write_text(json.dumps(API))
|
||||
db = tmp_path / "local.db"
|
||||
await migrate_db(db)
|
||||
conn = get_db(db)
|
||||
first = import_library(conn, root, source_commit="first")
|
||||
old = dict(conn.execute("SELECT * FROM workflows").fetchone())
|
||||
source.write_text(json.dumps({"2": {"class_type": "SaveAudio", "inputs": {}}}))
|
||||
second = import_library(conn, root, source_commit="second")
|
||||
assert second["counts"] == {"updated": 1}
|
||||
assert conn.execute("SELECT kind FROM workflows").fetchone()[0] == "audio"
|
||||
assert rollback_batch(conn, second["batch_id"])["files"][0]["result"] == "restored"
|
||||
assert dict(conn.execute("SELECT * FROM workflows").fetchone()) == old
|
||||
conn.execute("UPDATE workflows SET description='用户版' WHERE id=?", (old["id"],))
|
||||
conn.commit()
|
||||
assert import_library(conn, root, source_commit="third")["counts"] == {"conflict": 1}
|
||||
assert rollback_batch(conn, first["batch_id"])["files"][0]["result"] == "conflict"
|
||||
assert conn.execute("SELECT description FROM workflows").fetchone()[0] == "用户版"
|
||||
conn.close()
|
||||
|
||||
|
||||
async def test_rollback_new_rows_preserves_references(tmp_path):
|
||||
await migrate_db(tmp_path / "db")
|
||||
conn = get_db(tmp_path / "db")
|
||||
root = tmp_path / "sources"
|
||||
root.mkdir()
|
||||
(root / "a.json").write_text(json.dumps(API))
|
||||
report = import_library(conn, root, source_commit="first")
|
||||
assert rollback_batch(conn, report["batch_id"])["files"][0]["result"] == "disabled"
|
||||
assert conn.execute("SELECT import_state FROM workflows").fetchone()[0] == "rolled_back"
|
||||
assert rollback_batch(conn, report["batch_id"])["files"] == []
|
||||
assert import_library(conn, root, source_commit="first")["counts"] == {"updated": 1}
|
||||
conn.close()
|
||||
|
||||
|
||||
def test_legacy_constraint_migration_preserves_fk_and_indexes():
|
||||
conn = sqlite3.connect(":memory:")
|
||||
conn.execute("PRAGMA foreign_keys=ON")
|
||||
conn.executescript("""
|
||||
CREATE TABLE workflows(id INTEGER PRIMARY KEY, name TEXT,
|
||||
kind TEXT CHECK(kind IN ('image', 'video')), workflow_json TEXT);
|
||||
CREATE INDEX wf_name ON workflows(name);
|
||||
CREATE TABLE jobs(id INTEGER PRIMARY KEY, workflow_id INTEGER REFERENCES workflows(id));
|
||||
INSERT INTO workflows VALUES (9,'existing','image','{}');
|
||||
INSERT INTO jobs VALUES(1,9);
|
||||
""")
|
||||
migrate_library(conn)
|
||||
migrate_library(conn)
|
||||
assert conn.execute("SELECT name FROM workflows WHERE id=9").fetchone()[0] == "existing"
|
||||
assert conn.execute("SELECT workflow_id FROM jobs").fetchone()[0] == 9
|
||||
assert conn.execute("PRAGMA foreign_key_check").fetchall() == []
|
||||
assert conn.execute("PRAGMA foreign_keys").fetchone()[0] == 1
|
||||
assert conn.execute("SELECT name FROM sqlite_master WHERE name='wf_name'").fetchone()
|
||||
conn.execute("INSERT INTO workflows(id,kind) VALUES(10,'audio')")
|
||||
with pytest.raises(sqlite3.IntegrityError):
|
||||
conn.execute("DELETE FROM workflows WHERE id=9")
|
||||
|
||||
|
||||
def test_ui_conversion_golden_and_ambiguous_controls():
|
||||
info = {
|
||||
"Scalar": {
|
||||
"input": {"required": {"text": ["STRING", {}]}},
|
||||
"input_order": {"required": ["text"]},
|
||||
"output": ["STRING"],
|
||||
},
|
||||
"Sink": {
|
||||
"input": {"required": {"value": ["STRING", {"forceInput": True}]}},
|
||||
"input_order": {"required": ["value"]},
|
||||
"output": [],
|
||||
},
|
||||
}
|
||||
ui = {
|
||||
"nodes": [
|
||||
{"id": 1, "type": "Scalar", "widgets_values": {"text": "hello"}},
|
||||
{"id": 2, "type": "Sink", "inputs": [{"name": "value", "link": 7}]},
|
||||
],
|
||||
"links": [[7, 1, 0, 2, 0, "STRING"]],
|
||||
}
|
||||
result = convert(ui, info)
|
||||
assert result.issues == []
|
||||
assert result.prompt == {
|
||||
"1": {"class_type": "Scalar", "inputs": {"text": "hello"}, "_meta": {"title": "Scalar"}},
|
||||
"2": {"class_type": "Sink", "inputs": {"value": ["1", 0]}, "_meta": {"title": "Sink"}},
|
||||
}
|
||||
ui["nodes"][0]["widgets_values"] = ["hello", "randomize"]
|
||||
assert convert(ui, info).prompt is None
|
||||
assert any(i["code"] == "widget_layout_unverified" for i in convert(ui, info).issues)
|
||||
ui["nodes"][0]["mode"] = 4
|
||||
assert any(i["code"] == "mode_requires_export" for i in convert(ui, info).issues)
|
||||
assert convert(ui).prompt is None
|
||||
|
||||
|
||||
def test_snapshot_failure_is_not_conversion_evidence(tmp_path):
|
||||
path = tmp_path / "snapshot.json"
|
||||
path.write_text(
|
||||
json.dumps(
|
||||
{
|
||||
"source_url": "http://localhost/object_info",
|
||||
"captured_at": "now",
|
||||
"status": "unavailable",
|
||||
}
|
||||
)
|
||||
)
|
||||
with pytest.raises(ValueError):
|
||||
load_snapshot(path)
|
||||
|
||||
|
||||
def test_audio_and_subtitle_harvest_only_mapped_nodes():
|
||||
client = ComfyUIClient("http://unused")
|
||||
history = {
|
||||
"outputs": {
|
||||
"1": {"audio": [{"filename": "speech.flac"}]},
|
||||
"2": {"files": [{"filename": "字幕.srt"}], "text": ["not a file"]},
|
||||
"3": {"audio": [{"filename": "hidden.wav"}]},
|
||||
}
|
||||
}
|
||||
outputs = client.extract_outputs(history, {"1": "audio", "2": "file"})
|
||||
assert [o["media_kind"] for o in outputs] == ["audio", "file"]
|
||||
assert auto_output_map({"1": {"class_type": "SaveAudio", "inputs": {}}})[0]["kind"] == "audio"
|
||||
assert client.extract_outputs({"outputs": {"1": {"audio": ["inline text", {}]}}}) == []
|
||||
|
||||
|
||||
def test_catalogue_routes_cannot_enable_or_execute_placeholder(client, tmp_path):
|
||||
root = tmp_path / "sources"
|
||||
root.mkdir()
|
||||
(root / "ui.json").write_text(json.dumps({"nodes": [{"id": 1, "type": "Missing"}]}))
|
||||
conn = get_db(settings.db_path)
|
||||
report = import_library(conn, root, source_commit="fixture")
|
||||
wid = report["files"][0]["workflow_id"]
|
||||
conn.close()
|
||||
body = client.get(f"/api/workflows/{wid}").json()
|
||||
assert body["doc_json"]["draft"] is True
|
||||
assert body["import_issues"]
|
||||
assert "raw_source_json" not in body
|
||||
assert (
|
||||
client.patch(
|
||||
f"/api/workflows/{wid}", json={"usage": "utility", "is_enabled": True}
|
||||
).status_code
|
||||
== 400
|
||||
)
|
||||
assert (
|
||||
client.patch(f"/api/workflows/{wid}", json={"usage": "utility"}).json()["is_enabled"]
|
||||
is False
|
||||
)
|
||||
assert client.post(f"/api/workflows/{wid}/reanalyze").json()["is_enabled"] is False
|
||||
assert client.post(f"/api/workflows/{wid}/check", json={}).status_code == 400
|
||||
settings.dry_run = False
|
||||
try:
|
||||
assert (
|
||||
client.post(f"/api/workflows/{wid}/test", json={"input_values": {}}).status_code == 400
|
||||
)
|
||||
finally:
|
||||
settings.dry_run = True
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"kind,key,filename,usage,ct",
|
||||
[
|
||||
("audio", "audio", "speech.flac", "text2speech", "SaveAudio"),
|
||||
("file", "files", "subtitle.srt", "speech2text", "CustomSubtitleSaver"),
|
||||
],
|
||||
)
|
||||
def test_audio_file_queue_download(client, fake_comfy, kind, key, filename, usage, ct):
|
||||
from tests.test_studio_generation import PNG_1PX, _real_run
|
||||
from tests.test_workflow_test import _wait_terminal
|
||||
|
||||
with _real_run(client, fake_comfy):
|
||||
fake_comfy.forced_output_node = "9"
|
||||
fake_comfy.outputs_key = key
|
||||
fake_comfy.out_name = filename
|
||||
workflow = {"9": {"class_type": ct, "inputs": {"filename_prefix": "test"}}}
|
||||
response = client.post(
|
||||
"/api/workflows",
|
||||
json={
|
||||
"name": filename,
|
||||
"kind": kind,
|
||||
"usage": usage,
|
||||
"workflow_json": workflow,
|
||||
"output_map": [{"nodeId": "9", "kind": kind}],
|
||||
},
|
||||
)
|
||||
assert response.status_code == 200, response.text
|
||||
wid = response.json()["id"]
|
||||
response = client.post(f"/api/workflows/{wid}/test", json={"input_values": {}})
|
||||
assert response.status_code == 200, response.text
|
||||
job = _wait_terminal(client, response.json()["job"]["id"])
|
||||
assert job["status"] == "done", job.get("error")
|
||||
output = Path(job["output_paths"][0])
|
||||
assert output.name == filename and output.read_bytes() == PNG_1PX
|
||||
# This fixture verifies transport and persistence, not a real audio codec/subtitle.
|
||||
assert any(path.startswith("/view?") for path in fake_comfy.requests)
|
||||
|
||||
|
||||
def test_dedupe_preserves_separate_source_paths(client, tmp_path):
|
||||
root = tmp_path / "sources"
|
||||
for name in ("a", "b"):
|
||||
(root / name).mkdir(parents=True)
|
||||
(root / name / "same.json").write_text(json.dumps(API))
|
||||
conn = get_db(settings.db_path)
|
||||
import_library(conn, root, source_commit="fixture")
|
||||
conn.close()
|
||||
assert client.post("/api/workflows/dedupe").json()["removed"] == 0
|
||||
assert len(client.get("/api/workflows").json()) == 2
|
||||
|
||||
|
||||
def test_rebuild_preserves_autoincrement_watermark():
|
||||
conn = sqlite3.connect(":memory:")
|
||||
conn.executescript("""
|
||||
CREATE TABLE workflows(id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT,
|
||||
kind TEXT CHECK(kind IN ('image', 'video')), workflow_json TEXT);
|
||||
INSERT INTO workflows(id,kind) VALUES(100,'image');
|
||||
DELETE FROM workflows;
|
||||
""")
|
||||
migrate_library(conn)
|
||||
assert conn.execute("INSERT INTO workflows(kind) VALUES('audio')").lastrowid == 101
|
||||
|
||||
|
||||
def test_document_dependencies_do_not_treat_notes_or_editor_urls_as_models():
|
||||
from calliope.comfyui.library import build_document
|
||||
|
||||
source = {
|
||||
"nodes": [
|
||||
{"id": 1, "type": "Loader", "widgets_values": ["actual.safetensors"]},
|
||||
{"id": 2, "type": "Note", "widgets_values": ["example.safetensors"]},
|
||||
],
|
||||
"properties": {"url": "https://example.com/download.safetensors"},
|
||||
}
|
||||
doc = build_document("example/test.json", source, None, None, [])
|
||||
assert doc["dependencies"]["models"] == ["actual.safetensors"]
|
||||
assert doc["source_notes"][0]["content"] == ["example.safetensors"]
|
||||
@@ -95,7 +95,7 @@ def test_no_output_does_not_pass(client, fake_comfy):
|
||||
r = client.post(f"/api/workflows/{wf_id}/test", json={"input_values": {"1": "p"}})
|
||||
job = _wait_terminal(client, r.json()["job"]["id"])
|
||||
assert job["status"] == "failed"
|
||||
assert "没有返回任何图片或视频" in (job["error"] or "")
|
||||
assert "没有返回任何图片、视频、音频或文件" in (job["error"] or "")
|
||||
|
||||
|
||||
def test_dry_run_setting_refuses_real_test(client, fake_comfy):
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
# HEL-892 离线施工交付
|
||||
|
||||
本次只交付后台、保守转换框架、全量库导入和说明证据草稿;不代表总目标完成。未修改界面和视觉样式,未部署、未写测试机数据库,未停止 TTS,未提交目标机生成任务。
|
||||
|
||||
## 实际结果
|
||||
|
||||
源版本 `1fc8bdb8bb2a88ccace6f21a507fd77bcf22f532`,递归覆盖 156 个源文件,数量与技术方案基线一致。全部在本地隔离库建立条目并默认停用;10 份 API 图为 `pending_check`,146 份 UI 图为 `needs_conversion`。重复导入 156 份全部 `skipped`。
|
||||
|
||||
说明草稿 156 份、完成说明 0 份、真实生成验证 0 份。每份草稿保留该文件自身的节点 ID/类型、原始输入和控件值、连线、子图及文件注释,并提取模型引用;API 图可确认的具名参数记录源文件现值。UI 位置数组未具名,未猜测单位、范围或调整效果。用途、步骤和错误建议仍需人工逐项补全;本阶段不是 156 份可指导实际操作的定稿。
|
||||
|
||||
## 架构和接口
|
||||
|
||||
沿用 README 描述的 SQLite → 工作流 router → ComfyUI parser/output map → queue worker 模块边界,仓库没有独立架构文档。新增代码均置于后台现有 `comfyui` 目录,不引入依赖。
|
||||
|
||||
- `library.py`:来源路径唯一键、SHA1、源提交、批次、原始源文、说明结构、转换问题及三项独立时间戳;旧表约束迁移保留列、索引、引用和自增水位。启动时旧用法/输出回填不改来源库条目。
|
||||
- `ui2api.py`:API 图保留原具名输入;UI 图只接受目标节点定义可核对的具名控件和直接连线。子图、虚拟节点、静音/旁路和位置数组全部失败关闭,返回节点级原因。`input_order` 不足以证明第三方前端的序列化顺序,不能据此猜字段。尚未实现完整 graphToPrompt 兼容,7 类真实黄金导出差分尚未取得。
|
||||
- `library_cli.py`:显式本地库导入、批次回退、只读 `/object_info` 快照。成功快照必须含来源、时间及节点定义;失败记录不能作为转换依据。
|
||||
- 类型:工作流 kind 增 `audio/file/unknown`,unknown 用于尚未确认输出的条目,不伪装图片或视频;usage 增语音、转写、音乐、工具、数字人和动作迁移。后端 output_map 支持 image/video/audio/file。音频用途不按文件名自动下结论,须确认。
|
||||
- worker:从已映射节点收取 `audio/audios/files` 文件描述符,经 `/view` 下载。只接受含 filename 的文件对象;内联文本、SRT 字符串、外部 URL 和自定义响应结构不冒充已支持产物。字幕播放器、音频页面和实际节点的历史输出结构尚待核对。
|
||||
- `GET /api/workflows` 提供来源、阻塞和状态;列表不带庞大的 doc_json/源文。`GET /api/workflows/{id}` 返回结构化 doc_json 和 import_issues,原始源文仍仅留库。占位图、待核查和已回退条目不可通过启用、确认用途、重新分析或测试入口绕过阻塞。
|
||||
|
||||
## 本地复现
|
||||
|
||||
从仓库根运行,Python 3.11,使用锁文件安装既有依赖。数据库路径由操作人明确指定,以下是本地演示路径,不针对任何在线应用。
|
||||
|
||||
```bash
|
||||
uv sync --project calliope-backend --frozen --extra dev --python 3.11
|
||||
uv run --project calliope-backend --frozen python -m calliope.comfyui.library_cli import \
|
||||
--root example_ComfyUI_workflows --db .local-evidence/catalogue.db \
|
||||
--source-commit 1fc8bdb8bb2a88ccace6f21a507fd77bcf22f532 --output-dir .local-evidence/report
|
||||
```
|
||||
|
||||
重复同命令应全部 skipped。源变更写入 `workflow_revisions` 旧行快照;若条目已被用户修改,返回 conflict 并保持整行不动。导入和回退均持有数据库写锁并在单事务内完成。按批次回退:
|
||||
|
||||
```bash
|
||||
uv run --project calliope-backend --frozen python -m calliope.comfyui.library_cli rollback \
|
||||
--db .local-evidence/catalogue.db --batch-id <import_report中的batch_id> \
|
||||
--output-dir .local-evidence/rollback
|
||||
```
|
||||
|
||||
升级条目恢复旧快照;新建条目保留记录及引用并停用,状态 rolled_back;用户修改冲突不覆盖。再次导入可恢复未被修改的 rolled_back 条目。导入器不会自动安装节点、下载模型、启用工作流或执行任务。现有用户工作流(无 source_repo_path)永不被库导入器覆盖;常规去重也不删除来源库条目。
|
||||
|
||||
拿到授权窗口后只读获取快照(失败也写来源/时间/错误,退出码 1):
|
||||
|
||||
```bash
|
||||
uv run --project calliope-backend --frozen python -m calliope.comfyui.library_cli snapshot \
|
||||
--url http://192.168.200.12:8188 --output .local-evidence/object-info.json
|
||||
```
|
||||
|
||||
成功快照经总工核对来源后,用 import 的 `--snapshot` 传入;即使源 SHA 不变,新快照也触发重新分析。`pending_test` 只表示离线检查未发现问题,绝不写 exec_verified_at。`/prompt` 不是只读预检,本轮没有针对目标机调用。
|
||||
|
||||
## 审计材料
|
||||
|
||||
`offline/manifest.json` 将全部源路径和 SHA 对应到 `offline/documents/*.json`;`逐文件清单.md` 便于人工审查。`offline/import_report.json` 是首次导入逐文件结果,`reimport-report.json` 是重启迁移后的重复导入。`object-info-attempt.json` 记录目标连接拒绝。`待补材料.json` 列出每份文件受影响节点和待具名控件,模型引用仅代表源文件引用,不代表目标机已确认缺失。
|
||||
|
||||
## 后续工作及操作影响
|
||||
|
||||
1. 请总管安排目标机只读 `/object_info` 获取窗口,无需发生成任务;当前目标机拒绝连接。不能要求用户为离线入库提前长时间停止 TTS。
|
||||
2. 请提供 7 类各一份从实际 ComfyUI 前端导出的原始 API 黄金文件,并补齐复杂子图/虚拟连线/旁路/循环图的可靠转换适配。位置数组不因得到节点定义就自动变成可信具名输入。仍需转换 146 份。
|
||||
3. 节点包版本/实际模型位置和获取来源、可用测试图片/参考音频/视频待提供。材料逐文件在待补清单中,不把源引用 102 项模型或 436 种节点写成实际缺项。
|
||||
4. 156 份说明仍须具名参数语义、单位、范围、调整效果和中文操作步骤逐份审校。复杂图可用原 API 导出兜底;导入器不会改原始文件。
|
||||
5. 界面按既有完整规范另行施工;本轮不采用 HEL-891 新图。音频/字幕展示与入口、实际材料槽组合、键盘和窄屏验收均未施工。
|
||||
6. 真实生成待明确授权窗口和资源后逐类先一份;届时需空闲 GPU 和素材,由总管协调用户切换。施工员不停止 TTS、不启动 ComfyUI、不改端口、不部署。时长、显存及付费节点开关须取得真实参数后估计。
|
||||
|
||||
本轮材料扫描明确采用更宽的可审计口径:472 种源图 type 字符串(包括注释、虚拟节点、子图 UUID 以及未使用子图),186 条节点控件模型引用(不同路径分别保留,包含旁路/未连接节点;排除编辑器模型下载 URL 和注释)。这不是目标机服务端节点数,也不是实际加载权重数。与前方案的 436 类节点、102 项模型清单不能直接相减或当成新发现缺项;逐份原值均在说明草稿中,待目标快照和实际 API 导出确定执行依赖集合。
|
||||
|
||||
## 自测结果与限制
|
||||
|
||||
- Python 3.11 + 锁定依赖:相关后台回归 **107 passed**;最后补充“注释/编辑器 URL 不作为模型依赖”的提取检查后,库专项 **13 passed**。覆盖全量156、重启幂等、来源更新、用户修改保护、回退、外键/索引/自增水位、占位条目启用和测试拦截、不同路径同名条目防误去重、音频/字幕夹具队列下载;原图片/视频、真实状态、预检及批处理回归通过。
|
||||
- 后端 wheel/sdist 构建成功;前端生产构建成功;前端既有 4 组脚本测试通过。
|
||||
- 新模块和新增测试 Ruff 通过;变更文件对照基线无新增 lint 问题,现有15项问题仍在(基线17项,见 lint-comparison.json),不能称全仓 lint 全绿。
|
||||
- 前端 `npm run check` 未通过:原有 `PromptPreviewModal.svelte:125` 调用 mutate 缺参数,另有2项警告。本轮没有前端源文件或依赖改动,未扩展范围去修此前问题。详细日志随交付附上。
|
||||
- 真实目标机只做一次 GET /object_info,连接拒绝;真实节点/模型核对、7类黄金文件差分、音频编码/SRT格式、真实生成和新界面均未验证。夹具回传的占位字节只证明传输落盘,不证明媒体编码正确。
|
||||
@@ -0,0 +1,4 @@
|
||||
Building source distribution...
|
||||
Building wheel from source distribution...
|
||||
Successfully built .local-evidence/dist/calliope-1.5.8.tar.gz
|
||||
Successfully built .local-evidence/dist/calliope-1.5.8-py3-none-any.whl
|
||||
@@ -0,0 +1,9 @@
|
||||
........................................................................ [ 67%]
|
||||
................................... [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
<workspace>/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
107 passed, 1 warning in 57.21s
|
||||
@@ -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...
|
||||
11:33:10 PM [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>
|
||||
11:33:10 PM [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".
|
||||
✓ 515 modules transformed.
|
||||
rendering chunks...
|
||||
vite v6.4.3 building for production...
|
||||
transforming...
|
||||
11:33:12 PM [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>
|
||||
11:33:13 PM [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}
|
||||
✓ 757 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.BhhYCKp9.css 26.56 kB │ gzip: 4.82 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.CzU6slyM.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.ugaO4hIo.js 0.16 kB │ gzip: 0.14 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/9.wrIgfV1l.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/C1ohrfWQ.js 0.19 kB │ gzip: 0.14 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.Dewh2c_5.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.r9yirS9f.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.BomwwnvN.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.DKwMwxKz.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/Oqjetgwf.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.BTOaJgIE.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/BBjz4Wjn.js 6.86 kB │ gzip: 3.09 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/B0Wlifky.js 9.22 kB │ gzip: 2.13 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/16.BzK-ADdZ.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.CRSPumgK.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.B05lFhYe.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.CFA1wJR2.js 23.02 kB │ gzip: 7.51 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/DvTTcpEu.js 23.98 kB │ gzip: 9.32 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/11.-pVU7DFB.js 24.95 kB │ gzip: 8.35 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/3.DAzaVrdn.js 25.68 kB │ gzip: 8.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/4.CZExOcQV.js 29.61 kB │ gzip: 9.99 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/SBMx5f2U.js 33.93 kB │ gzip: 13.15 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/Dgn_TpdG.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.C4-lXfsX.js 52.59 kB │ gzip: 14.33 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/8.DW6R8xkG.js 67.08 kB │ gzip: 22.02 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/BbmTSwTk.js 71.50 kB │ gzip: 26.91 kB
|
||||
.svelte-kit/output/client/_app/immutable/chunks/6_gpdkEb.js 81.38 kB │ gzip: 27.49 kB
|
||||
.svelte-kit/output/client/_app/immutable/nodes/7.Cz3S1WZr.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.67s
|
||||
.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.C53qzaKb.css 26.52 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/entries/pages/connections/_page.svelte.js 99.69 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/canvas/_id_/_page.svelte.js 145.51 kB
|
||||
.svelte-kit/output/server/chunks/i18n.svelte.js 786.88 kB
|
||||
✓ built in 6.97s
|
||||
|
||||
Run npm run preview to preview your production build locally.
|
||||
|
||||
> Using @sveltejs/adapter-static
|
||||
Wrote site to "build"
|
||||
✔ done
|
||||
@@ -0,0 +1,34 @@
|
||||
|
||||
> calliope-web@1.5.8 check
|
||||
> svelte-kit sync && svelte-check --tsconfig ./tsconfig.json
|
||||
|
||||
Loading svelte-check in workspace: <workspace>/calliope-web
|
||||
Getting Svelte diagnostics...
|
||||
|
||||
<workspace>/calliope-web/src/lib/components/video/PromptPreviewModal.svelte:125:12
|
||||
Error: Expected 1-2 arguments, but got 0. (ts)
|
||||
attemptedFor = key;
|
||||
$preview.mutate();
|
||||
});
|
||||
|
||||
<workspace>/calliope-web/src/lib/components/workbench/ShotStagePanel.svelte:156:6
|
||||
Warn: `<video>` elements must have a `<track kind="captions">`
|
||||
https://svelte.dev/e/a11y_media_has_caption (svelte)
|
||||
{#if shot.job?.status === 'done' && shot.job.output}
|
||||
<video
|
||||
class="vshot-video"
|
||||
src={assetUrl(shot.job.output) ?? undefined}
|
||||
controls
|
||||
preload="metadata"
|
||||
></video>
|
||||
{/if}
|
||||
|
||||
<workspace>/calliope-web/src/routes/workbench/[id]/+page.svelte:345:4
|
||||
Warn: 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 (svelte)
|
||||
<Skeleton height="64px" />
|
||||
<div class="gap" />
|
||||
<Skeleton height="280px" />
|
||||
|
||||
====================================
|
||||
svelte-check found 1 error and 2 warnings in 3 files
|
||||
@@ -0,0 +1,51 @@
|
||||
|
||||
> calliope-web@1.5.8 test
|
||||
> node scripts/check-storage-ssr.mjs && node scripts/check-random-uuid.mjs && node scripts/check-skill-frontmatter.mjs && node scripts/check-export-frame.mjs
|
||||
|
||||
ok method-less localStorage (Node SSR shape) degrades to null without throwing
|
||||
ok absent localStorage degrades to null
|
||||
ok throwing localStorage access degrades to null
|
||||
ok setItem failure is swallowed
|
||||
ok working storage round-trips and removes
|
||||
ok no unsafe `typeof localStorage` guards in src/
|
||||
|
||||
storage SSR checks passed.
|
||||
ok insecure-context crypto (getRandomValues only) yields unique v4 UUIDs
|
||||
ok method-less crypto degrades to unique best-effort ids without throwing
|
||||
ok absent crypto degrades to unique best-effort ids without throwing
|
||||
ok native randomUUID preferred when available
|
||||
ok no direct `crypto.randomUUID()` calls in src/
|
||||
|
||||
randomId insecure-context checks passed.
|
||||
ok edit load strips the frontmatter block
|
||||
ok edit load keeps the body
|
||||
ok strip boundary is exact
|
||||
ok strip is idempotent
|
||||
ok second edit-save-reload adds no layer
|
||||
ok plain body unchanged
|
||||
ok page imports the shared strip helper
|
||||
ok no \A-anchored strip regex left behind
|
||||
skill frontmatter checks passed.
|
||||
ok first try is ~1 frame before the end, never the end itself
|
||||
ok later tries step strictly further back
|
||||
ok tries stay within ~1s of the end
|
||||
ok short clip clamps to 0 without duplicates
|
||||
ok unknown / zero duration falls back to t=0
|
||||
ok base name from /api/file?path=…
|
||||
ok base name from a Windows path
|
||||
ok base name from a plain URL
|
||||
ok unsafe characters are replaced
|
||||
ok blob URL without a name falls back to 'video'
|
||||
ok PNG name names the video, the tag and the frame time
|
||||
ok spaces in the tag become dashes
|
||||
ok fully transparent sample → empty
|
||||
ok pure black → black
|
||||
ok near-black encoder noise (16..18) → black
|
||||
ok mid-grey picture → not blank
|
||||
ok dim but visible picture (≈50) → not blank
|
||||
ok dark night scene with a bright highlight → not blank
|
||||
ok 404 → not-found
|
||||
ok 403 → forbidden
|
||||
ok 500 → network
|
||||
ok 206 / 200 are not errors
|
||||
export-frame checks passed.
|
||||
@@ -0,0 +1,8 @@
|
||||
............. [100%]
|
||||
=============================== warnings summary ===============================
|
||||
calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53
|
||||
<workspace>/calliope-backend/.venv/lib/python3.11/site-packages/starlette/testclient.py:53: DeprecationWarning: The anyio.abc.BlockingPortal alias is deprecated, use anyio.from_thread.BlockingPortal instead.
|
||||
_PortalFactoryType = Callable[[], AbstractContextManager[anyio.abc.BlockingPortal]]
|
||||
|
||||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
|
||||
13 passed, 1 warning in 3.98s
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"new_findings": [],
|
||||
"existing_findings_on_changed_files": 15,
|
||||
"baseline_findings": 17
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"source_url": "http://192.168.200.12:8188/object_info",
|
||||
"captured_at": "2026-10-27T15:27:26.544196+00:00",
|
||||
"status": "unavailable",
|
||||
"error": "ConnectError: [Errno 111] Connection refused"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,626 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"ImageBatchMulti",
|
||||
"PreviewImage",
|
||||
"VHS_LoadVideo",
|
||||
"VHS_VideoCombine"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ImageBatchMulti"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "PreviewImage 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VHS_VideoCombine"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VHS_LoadVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VHS_LoadVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大;工作流:截取视频每一帧。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
5,
|
||||
1,
|
||||
0,
|
||||
8,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
7,
|
||||
1,
|
||||
2,
|
||||
9,
|
||||
1,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
8,
|
||||
10,
|
||||
0,
|
||||
11,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
10,
|
||||
10,
|
||||
0,
|
||||
13,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
11,
|
||||
1,
|
||||
0,
|
||||
13,
|
||||
1,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
12,
|
||||
13,
|
||||
0,
|
||||
9,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 8,
|
||||
"localized_name": "图像",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "11",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ImageBatchMulti",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像_1",
|
||||
"link": 10,
|
||||
"localized_name": "图像_1",
|
||||
"name": "image_1",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "图像_2",
|
||||
"link": 11,
|
||||
"localized_name": "图像_2",
|
||||
"name": "image_2",
|
||||
"shape": 7,
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "输入数量",
|
||||
"link": null,
|
||||
"localized_name": "输入数量",
|
||||
"name": "inputcount",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "inputcount"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "13",
|
||||
"source_values": [
|
||||
2,
|
||||
null
|
||||
],
|
||||
"title": "图像组合批次(多重)"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 5,
|
||||
"localized_name": "图像",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "8",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VHS_VideoCombine",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像",
|
||||
"link": 12,
|
||||
"localized_name": "图像",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "音频",
|
||||
"link": 7,
|
||||
"localized_name": "音频",
|
||||
"name": "audio",
|
||||
"shape": 7,
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"label": "批次管理",
|
||||
"link": null,
|
||||
"localized_name": "批次管理",
|
||||
"name": "meta_batch",
|
||||
"shape": 7,
|
||||
"type": "VHS_BatchManager"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"shape": 7,
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"label": "帧率",
|
||||
"link": null,
|
||||
"localized_name": "帧率",
|
||||
"name": "frame_rate",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "frame_rate"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "循环次数",
|
||||
"link": null,
|
||||
"localized_name": "循环次数",
|
||||
"name": "loop_count",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "loop_count"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "文件名前缀",
|
||||
"link": null,
|
||||
"localized_name": "文件名前缀",
|
||||
"name": "filename_prefix",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "filename_prefix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "格式",
|
||||
"link": null,
|
||||
"localized_name": "格式",
|
||||
"name": "format",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Ping-Pong",
|
||||
"link": null,
|
||||
"localized_name": "Ping-Pong",
|
||||
"name": "pingpong",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "pingpong"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "保存到输出文件夹",
|
||||
"link": null,
|
||||
"localized_name": "保存到输出文件夹",
|
||||
"name": "save_output",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "save_output"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "pix_fmt",
|
||||
"type": [
|
||||
"yuv420p",
|
||||
"yuv420p10le"
|
||||
],
|
||||
"widget": {
|
||||
"name": "pix_fmt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "crf",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "crf"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "保存元数据",
|
||||
"link": null,
|
||||
"localized_name": "保存元数据",
|
||||
"name": "save_metadata",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "save_metadata"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "修剪音频",
|
||||
"link": null,
|
||||
"localized_name": "修剪音频",
|
||||
"name": "trim_to_audio",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "trim_to_audio"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "9",
|
||||
"source_values": {
|
||||
"crf": 19,
|
||||
"filename_prefix": "video/Comfyui",
|
||||
"format": "video/h264-mp4",
|
||||
"frame_rate": 25,
|
||||
"loop_count": 0,
|
||||
"pingpong": false,
|
||||
"pix_fmt": "yuv420p",
|
||||
"save_metadata": true,
|
||||
"save_output": true,
|
||||
"trim_to_audio": false,
|
||||
"videopreview": {
|
||||
"hidden": false,
|
||||
"params": {
|
||||
"filename": "Comfyui_00067-audio.mp4",
|
||||
"format": "video/h264-mp4",
|
||||
"frame_rate": 25,
|
||||
"fullpath": "E:\\ComfyUI-Data\\output\\video\\Comfyui_00067-audio.mp4",
|
||||
"subfolder": "video",
|
||||
"type": "output",
|
||||
"workflow": "Comfyui_00067.png"
|
||||
},
|
||||
"paused": false
|
||||
}
|
||||
},
|
||||
"title": "合并为视频"
|
||||
},
|
||||
{
|
||||
"class_type": "VHS_LoadVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "批次管理",
|
||||
"link": null,
|
||||
"localized_name": "批次管理",
|
||||
"name": "meta_batch",
|
||||
"shape": 7,
|
||||
"type": "VHS_BatchManager"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"shape": 7,
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"label": "视频",
|
||||
"link": null,
|
||||
"localized_name": "视频",
|
||||
"name": "video",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "video"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "强制帧率",
|
||||
"link": null,
|
||||
"localized_name": "强制帧率",
|
||||
"name": "force_rate",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "force_rate"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义宽度",
|
||||
"link": null,
|
||||
"localized_name": "自定义宽度",
|
||||
"name": "custom_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义高度",
|
||||
"link": null,
|
||||
"localized_name": "自定义高度",
|
||||
"name": "custom_height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_height"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "帧数读取上限",
|
||||
"link": null,
|
||||
"localized_name": "帧数读取上限",
|
||||
"name": "frame_load_cap",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "frame_load_cap"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "跳过前X帧",
|
||||
"link": null,
|
||||
"localized_name": "跳过前X帧",
|
||||
"name": "skip_first_frames",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "skip_first_frames"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间隔",
|
||||
"link": null,
|
||||
"localized_name": "间隔",
|
||||
"name": "select_every_nth",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "select_every_nth"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "格式",
|
||||
"link": null,
|
||||
"localized_name": "格式",
|
||||
"name": "format",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "1",
|
||||
"source_values": {
|
||||
"custom_height": 480,
|
||||
"custom_width": 832,
|
||||
"force_rate": 25,
|
||||
"format": "LTXV",
|
||||
"frame_load_cap": 505,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 0,
|
||||
"video": "LTX-2_00001_p86-audio_kpgci_1773042129.mp4",
|
||||
"videopreview": {
|
||||
"hidden": false,
|
||||
"params": {
|
||||
"custom_height": 480,
|
||||
"custom_width": 832,
|
||||
"filename": "LTX-2_00001_p86-audio_kpgci_1773042129.mp4",
|
||||
"force_rate": 25,
|
||||
"format": "video/mp4",
|
||||
"frame_load_cap": 505,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 0,
|
||||
"type": "input"
|
||||
},
|
||||
"paused": false
|
||||
}
|
||||
},
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VHS_LoadVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "批次管理",
|
||||
"link": null,
|
||||
"localized_name": "批次管理",
|
||||
"name": "meta_batch",
|
||||
"shape": 7,
|
||||
"type": "VHS_BatchManager"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"shape": 7,
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"label": "视频",
|
||||
"link": null,
|
||||
"localized_name": "视频",
|
||||
"name": "video",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "video"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "强制帧率",
|
||||
"link": null,
|
||||
"localized_name": "强制帧率",
|
||||
"name": "force_rate",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "force_rate"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义宽度",
|
||||
"link": null,
|
||||
"localized_name": "自定义宽度",
|
||||
"name": "custom_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义高度",
|
||||
"link": null,
|
||||
"localized_name": "自定义高度",
|
||||
"name": "custom_height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_height"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "帧数读取上限",
|
||||
"link": null,
|
||||
"localized_name": "帧数读取上限",
|
||||
"name": "frame_load_cap",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "frame_load_cap"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "跳过前X帧",
|
||||
"link": null,
|
||||
"localized_name": "跳过前X帧",
|
||||
"name": "skip_first_frames",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "skip_first_frames"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间隔",
|
||||
"link": null,
|
||||
"localized_name": "间隔",
|
||||
"name": "select_every_nth",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "select_every_nth"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "格式",
|
||||
"link": null,
|
||||
"localized_name": "格式",
|
||||
"name": "format",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "10",
|
||||
"source_values": {
|
||||
"custom_height": 480,
|
||||
"custom_width": 832,
|
||||
"force_rate": 25,
|
||||
"format": "LTXV",
|
||||
"frame_load_cap": 1,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 0,
|
||||
"video": "3月10日.mp4",
|
||||
"videopreview": {
|
||||
"hidden": false,
|
||||
"params": {
|
||||
"custom_height": 480,
|
||||
"custom_width": 832,
|
||||
"filename": "3月10日.mp4",
|
||||
"force_rate": 25,
|
||||
"format": "video/mp4",
|
||||
"frame_load_cap": 1,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 0,
|
||||
"type": "input"
|
||||
},
|
||||
"paused": false
|
||||
}
|
||||
},
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/截取视频每一帧.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "截取视频每一帧"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,830 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [
|
||||
"minimax_h3_audio_vae_fp32.safetensors",
|
||||
"minimax_h3_fused_refdelta_r1024_turbo8_mystic07_int8_convrot.safetensors",
|
||||
"minimax_h3_video_vae_int8_convrot.safetensors",
|
||||
"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors"
|
||||
],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"BasicGuider",
|
||||
"BasicScheduler",
|
||||
"CLIPLoader",
|
||||
"ComfyMathExpression",
|
||||
"CreateVideo",
|
||||
"H3SLAAttention",
|
||||
"KSamplerSelect",
|
||||
"LoadImage",
|
||||
"MiniMaxH3ImageToVideo",
|
||||
"MiniMaxH3SigmaShift",
|
||||
"PrimitiveFloat",
|
||||
"PrimitiveStringMultiline",
|
||||
"RandomNoise",
|
||||
"ResolutionSelector",
|
||||
"SamplerCustomAdvanced",
|
||||
"SaveVideo",
|
||||
"UNETLoader",
|
||||
"VAEDecode",
|
||||
"VAEDecodeAudio",
|
||||
"VAELoader"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PrimitiveStringMultiline"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ResolutionSelector"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ComfyMathExpression"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VAELoader"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VAELoader"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:UNETLoader"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:CLIPLoader"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:RandomNoise"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PrimitiveFloat"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:KSamplerSelect"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ComfyMathExpression"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:H3SLAAttention"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:MiniMaxH3ImageToVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:MiniMaxH3SigmaShift"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:BasicScheduler"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:BasicGuider"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:SamplerCustomAdvanced"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VAEDecodeAudio"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VAEDecode"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:CreateVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:SaveVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/4-视频生成/uncensored;工作流:minimax-h3首尾帧生视频无审核版。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
1,
|
||||
133,
|
||||
0,
|
||||
132,
|
||||
1,
|
||||
"FLOAT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
2,
|
||||
127,
|
||||
0,
|
||||
900,
|
||||
0,
|
||||
"MODEL"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
3,
|
||||
128,
|
||||
0,
|
||||
131,
|
||||
0,
|
||||
"CLIP"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
4,
|
||||
119,
|
||||
0,
|
||||
131,
|
||||
1,
|
||||
"VAE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
5,
|
||||
1,
|
||||
0,
|
||||
131,
|
||||
2,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
6,
|
||||
115,
|
||||
0,
|
||||
131,
|
||||
3,
|
||||
"INT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
7,
|
||||
115,
|
||||
1,
|
||||
131,
|
||||
4,
|
||||
"INT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
8,
|
||||
132,
|
||||
1,
|
||||
131,
|
||||
5,
|
||||
"INT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
9,
|
||||
901,
|
||||
0,
|
||||
131,
|
||||
6,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
10,
|
||||
900,
|
||||
0,
|
||||
142,
|
||||
0,
|
||||
"MODEL"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
11,
|
||||
142,
|
||||
0,
|
||||
124,
|
||||
0,
|
||||
"MODEL"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
12,
|
||||
142,
|
||||
0,
|
||||
126,
|
||||
0,
|
||||
"MODEL"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
13,
|
||||
131,
|
||||
0,
|
||||
126,
|
||||
1,
|
||||
"CONDITIONING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
14,
|
||||
129,
|
||||
0,
|
||||
125,
|
||||
0,
|
||||
"NOISE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
15,
|
||||
126,
|
||||
0,
|
||||
125,
|
||||
1,
|
||||
"GUIDER"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
16,
|
||||
135,
|
||||
0,
|
||||
125,
|
||||
2,
|
||||
"SAMPLER"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
17,
|
||||
124,
|
||||
0,
|
||||
125,
|
||||
3,
|
||||
"SIGMAS"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
18,
|
||||
131,
|
||||
1,
|
||||
125,
|
||||
4,
|
||||
"LATENT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
19,
|
||||
125,
|
||||
0,
|
||||
121,
|
||||
0,
|
||||
"LATENT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
20,
|
||||
120,
|
||||
0,
|
||||
121,
|
||||
1,
|
||||
"VAE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
21,
|
||||
125,
|
||||
0,
|
||||
122,
|
||||
0,
|
||||
"LATENT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
22,
|
||||
119,
|
||||
0,
|
||||
122,
|
||||
1,
|
||||
"VAE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
23,
|
||||
122,
|
||||
0,
|
||||
130,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
24,
|
||||
121,
|
||||
0,
|
||||
130,
|
||||
1,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
25,
|
||||
130,
|
||||
0,
|
||||
92,
|
||||
0,
|
||||
"VIDEO"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "PrimitiveStringMultiline",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "1",
|
||||
"source_values": [
|
||||
"PASTE YOUR PROMPT HERE. For image-to-video describe the motion from the first frame; the frame fixes the look. Use the MiniMax-H3 prompt contract (integrated_multimodal_description / overall_soundscape / non_diegetic_music)."
|
||||
],
|
||||
"title": "PROMPT (feeds every stage)"
|
||||
},
|
||||
{
|
||||
"class_type": "ResolutionSelector",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "115",
|
||||
"source_values": [
|
||||
"16:9 (Widescreen)",
|
||||
0.7,
|
||||
32
|
||||
],
|
||||
"title": "ResolutionSelector"
|
||||
},
|
||||
{
|
||||
"class_type": "ComfyMathExpression",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"name": "values",
|
||||
"type": "COMFY_AUTOGROW_V3"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "116",
|
||||
"source_values": [
|
||||
"a"
|
||||
],
|
||||
"title": "ComfyMathExpression"
|
||||
},
|
||||
{
|
||||
"class_type": "VAELoader",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "119",
|
||||
"source_values": [
|
||||
"minimax_h3_video_vae_int8_convrot.safetensors"
|
||||
],
|
||||
"title": "VAELoader"
|
||||
},
|
||||
{
|
||||
"class_type": "VAELoader",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "120",
|
||||
"source_values": [
|
||||
"minimax_h3_audio_vae_fp32.safetensors"
|
||||
],
|
||||
"title": "VAELoader"
|
||||
},
|
||||
{
|
||||
"class_type": "UNETLoader",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "127",
|
||||
"source_values": [
|
||||
"minimax_h3_fused_refdelta_r1024_turbo8_mystic07_int8_convrot.safetensors",
|
||||
"default"
|
||||
],
|
||||
"title": "UNETLoader"
|
||||
},
|
||||
{
|
||||
"class_type": "CLIPLoader",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "128",
|
||||
"source_values": [
|
||||
"qwen3vl_32b_minimax_h3_nvfp4_awq.safetensors",
|
||||
"minimax",
|
||||
"default"
|
||||
],
|
||||
"title": "CLIPLoader"
|
||||
},
|
||||
{
|
||||
"class_type": "RandomNoise",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "129",
|
||||
"source_values": [
|
||||
42,
|
||||
"fixed"
|
||||
],
|
||||
"title": "RandomNoise"
|
||||
},
|
||||
{
|
||||
"class_type": "PrimitiveFloat",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "133",
|
||||
"source_values": [
|
||||
10.0
|
||||
],
|
||||
"title": "PrimitiveFloat"
|
||||
},
|
||||
{
|
||||
"class_type": "KSamplerSelect",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "135",
|
||||
"source_values": [
|
||||
"res_multistep"
|
||||
],
|
||||
"title": "KSamplerSelect"
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "901",
|
||||
"source_values": [
|
||||
"first_frame.png"
|
||||
],
|
||||
"title": "FIRST FRAME (add a second LoadImage into last_frame for FL2V)"
|
||||
},
|
||||
{
|
||||
"class_type": "ComfyMathExpression",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"name": "values",
|
||||
"type": "COMFY_AUTOGROW_V3"
|
||||
},
|
||||
{
|
||||
"link": 1,
|
||||
"name": "values.a",
|
||||
"type": "FLOAT"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "132",
|
||||
"source_values": [
|
||||
"max(5, round(a * 24)) + (5 - (max(5, round(a * 24)) % 17)) % 17"
|
||||
],
|
||||
"title": "ComfyMathExpression"
|
||||
},
|
||||
{
|
||||
"class_type": "H3SLAAttention",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 2,
|
||||
"name": "model",
|
||||
"type": "MODEL"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "900",
|
||||
"source_values": [
|
||||
0.9,
|
||||
"64",
|
||||
8192,
|
||||
0,
|
||||
true,
|
||||
true
|
||||
],
|
||||
"title": "H3 SLA Attention 0.9/64 (their graph)"
|
||||
},
|
||||
{
|
||||
"class_type": "MiniMaxH3ImageToVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 3,
|
||||
"name": "clip",
|
||||
"type": "CLIP"
|
||||
},
|
||||
{
|
||||
"link": 4,
|
||||
"name": "vae",
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"link": 5,
|
||||
"name": "prompt",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "prompt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": 6,
|
||||
"name": "width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": 7,
|
||||
"name": "height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "height"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": 8,
|
||||
"name": "length",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "length"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": 9,
|
||||
"name": "first_frame",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "last_frame",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "131",
|
||||
"source_values": [
|
||||
"",
|
||||
1344,
|
||||
768,
|
||||
124
|
||||
],
|
||||
"title": "MiniMaxH3ImageToVideo"
|
||||
},
|
||||
{
|
||||
"class_type": "MiniMaxH3SigmaShift",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 10,
|
||||
"name": "model",
|
||||
"type": "MODEL"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "142",
|
||||
"source_values": [
|
||||
12.0,
|
||||
3.0
|
||||
],
|
||||
"title": "MiniMaxH3SigmaShift"
|
||||
},
|
||||
{
|
||||
"class_type": "BasicScheduler",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 11,
|
||||
"name": "model",
|
||||
"type": "MODEL"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "124",
|
||||
"source_values": [
|
||||
"simple",
|
||||
4,
|
||||
1.0
|
||||
],
|
||||
"title": "BasicScheduler"
|
||||
},
|
||||
{
|
||||
"class_type": "BasicGuider",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 12,
|
||||
"name": "model",
|
||||
"type": "MODEL"
|
||||
},
|
||||
{
|
||||
"link": 13,
|
||||
"name": "conditioning",
|
||||
"type": "CONDITIONING"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "126",
|
||||
"source_values": [],
|
||||
"title": "BasicGuider"
|
||||
},
|
||||
{
|
||||
"class_type": "SamplerCustomAdvanced",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 14,
|
||||
"name": "noise",
|
||||
"type": "NOISE"
|
||||
},
|
||||
{
|
||||
"link": 15,
|
||||
"name": "guider",
|
||||
"type": "GUIDER"
|
||||
},
|
||||
{
|
||||
"link": 16,
|
||||
"name": "sampler",
|
||||
"type": "SAMPLER"
|
||||
},
|
||||
{
|
||||
"link": 17,
|
||||
"name": "sigmas",
|
||||
"type": "SIGMAS"
|
||||
},
|
||||
{
|
||||
"link": 18,
|
||||
"name": "latent_image",
|
||||
"type": "LATENT"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "125",
|
||||
"source_values": [],
|
||||
"title": "SamplerCustomAdvanced"
|
||||
},
|
||||
{
|
||||
"class_type": "VAEDecodeAudio",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 19,
|
||||
"name": "samples",
|
||||
"type": "LATENT"
|
||||
},
|
||||
{
|
||||
"link": 20,
|
||||
"name": "vae",
|
||||
"type": "VAE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "121",
|
||||
"source_values": [],
|
||||
"title": "VAEDecodeAudio"
|
||||
},
|
||||
{
|
||||
"class_type": "VAEDecode",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 21,
|
||||
"name": "samples",
|
||||
"type": "LATENT"
|
||||
},
|
||||
{
|
||||
"link": 22,
|
||||
"name": "vae",
|
||||
"type": "VAE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "122",
|
||||
"source_values": [],
|
||||
"title": "VAEDecode"
|
||||
},
|
||||
{
|
||||
"class_type": "CreateVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 23,
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": 24,
|
||||
"name": "audio",
|
||||
"type": "AUDIO"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "130",
|
||||
"source_values": [
|
||||
24,
|
||||
8,
|
||||
"sRGB"
|
||||
],
|
||||
"title": "CreateVideo"
|
||||
},
|
||||
{
|
||||
"class_type": "SaveVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 25,
|
||||
"name": "video",
|
||||
"type": "VIDEO"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "92",
|
||||
"source_values": [
|
||||
"video/04_i2v_fl2v_4step_sla",
|
||||
"auto",
|
||||
"auto"
|
||||
],
|
||||
"title": "REFERENCE 2026-08-29: fused ref-delta bake + SLA 0.9/64, res_multistep/simple/4, shift 12/3, 1152x640, 243 f, seed 42 -> subway_bake_sla_00001_.mp4"
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/4-视频生成/uncensored/minimax-h3首尾帧生视频无审核版.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "minimax-h3首尾帧生视频无审核版"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,948 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [
|
||||
"MiniMax\\minimax_music3_dav.safetensors",
|
||||
"MiniMax\\minimax_music3_dit_fp16.safetensors",
|
||||
"MiniMax\\minimax_music3_text_encoder_pruned_int8_convrot.safetensors",
|
||||
"minimax_music3_dav.safetensors",
|
||||
"minimax_music3_dit_fp16.safetensors",
|
||||
"minimax_music3_text_encoder_pruned_int8_convrot.safetensors"
|
||||
],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"CLIPLoader",
|
||||
"ComfySwitchNode",
|
||||
"ConditioningZeroOut",
|
||||
"EmptyMiniMaxMusic3LatentAudio",
|
||||
"KSampler",
|
||||
"MarkdownNote",
|
||||
"MiniMaxMusic3TextEncode",
|
||||
"SaveAudioAdvanced",
|
||||
"SeedNode",
|
||||
"UNETLoader",
|
||||
"VAEDecodeAudio",
|
||||
"VAEDecodeAudioTiled",
|
||||
"VAELoader",
|
||||
"ac99f841-a3de-4329-9564-953b81cf9e16"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "包含子图:需原 ComfyUI API 导出及差分核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:SaveAudioAdvanced"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ac99f841-a3de-4329-9564-953b81cf9e16"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/2-音乐生成;工作流:minimax_music_文生音乐。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
42,
|
||||
37,
|
||||
0,
|
||||
35,
|
||||
0,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 18,
|
||||
"origin_id": 3,
|
||||
"origin_slot": 0,
|
||||
"target_id": 13,
|
||||
"target_slot": 0,
|
||||
"type": "CLIP"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 16,
|
||||
"origin_id": 13,
|
||||
"origin_slot": 0,
|
||||
"target_id": 10,
|
||||
"target_slot": 0,
|
||||
"type": "CONDITIONING"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 20,
|
||||
"origin_id": 13,
|
||||
"origin_slot": 1,
|
||||
"target_id": 15,
|
||||
"target_slot": 0,
|
||||
"type": "FLOAT"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 6,
|
||||
"origin_id": 6,
|
||||
"origin_slot": 0,
|
||||
"target_id": 9,
|
||||
"target_slot": 0,
|
||||
"type": "MODEL"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 15,
|
||||
"origin_id": 13,
|
||||
"origin_slot": 0,
|
||||
"target_id": 9,
|
||||
"target_slot": 1,
|
||||
"type": "CONDITIONING"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 8,
|
||||
"origin_id": 10,
|
||||
"origin_slot": 0,
|
||||
"target_id": 9,
|
||||
"target_slot": 2,
|
||||
"type": "CONDITIONING"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 21,
|
||||
"origin_id": 15,
|
||||
"origin_slot": 0,
|
||||
"target_id": 9,
|
||||
"target_slot": 3,
|
||||
"type": "LATENT"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 12,
|
||||
"origin_id": 9,
|
||||
"origin_slot": 0,
|
||||
"target_id": 12,
|
||||
"target_slot": 0,
|
||||
"type": "LATENT"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 13,
|
||||
"origin_id": 7,
|
||||
"origin_slot": 0,
|
||||
"target_id": 12,
|
||||
"target_slot": 1,
|
||||
"type": "VAE"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 45,
|
||||
"origin_id": -10,
|
||||
"origin_slot": 0,
|
||||
"target_id": 13,
|
||||
"target_slot": 1,
|
||||
"type": "STRING"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 46,
|
||||
"origin_id": -10,
|
||||
"origin_slot": 1,
|
||||
"target_id": 13,
|
||||
"target_slot": 2,
|
||||
"type": "STRING"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 47,
|
||||
"origin_id": -10,
|
||||
"origin_slot": 2,
|
||||
"target_id": 13,
|
||||
"target_slot": 4,
|
||||
"type": "FLOAT"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 52,
|
||||
"origin_id": 38,
|
||||
"origin_slot": 0,
|
||||
"target_id": 13,
|
||||
"target_slot": 3,
|
||||
"type": "INT"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 53,
|
||||
"origin_id": 38,
|
||||
"origin_slot": 0,
|
||||
"target_id": 9,
|
||||
"target_slot": 4,
|
||||
"type": "INT"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 54,
|
||||
"origin_id": -10,
|
||||
"origin_slot": 3,
|
||||
"target_id": 38,
|
||||
"target_slot": 0,
|
||||
"type": "INT"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 55,
|
||||
"origin_id": -10,
|
||||
"origin_slot": 4,
|
||||
"target_id": 6,
|
||||
"target_slot": 0,
|
||||
"type": "COMBO"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 56,
|
||||
"origin_id": -10,
|
||||
"origin_slot": 5,
|
||||
"target_id": 3,
|
||||
"target_slot": 0,
|
||||
"type": "COMBO"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 57,
|
||||
"origin_id": -10,
|
||||
"origin_slot": 6,
|
||||
"target_id": 7,
|
||||
"target_slot": 0,
|
||||
"type": "COMBO"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 58,
|
||||
"origin_id": 9,
|
||||
"origin_slot": 0,
|
||||
"target_id": 42,
|
||||
"target_slot": 0,
|
||||
"type": "LATENT"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 59,
|
||||
"origin_id": 7,
|
||||
"origin_slot": 0,
|
||||
"target_id": 42,
|
||||
"target_slot": 1,
|
||||
"type": "VAE"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 60,
|
||||
"origin_id": 12,
|
||||
"origin_slot": 0,
|
||||
"target_id": 43,
|
||||
"target_slot": 0,
|
||||
"type": "AUDIO"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 61,
|
||||
"origin_id": 42,
|
||||
"origin_slot": 0,
|
||||
"target_id": 43,
|
||||
"target_slot": 1,
|
||||
"type": "AUDIO"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 62,
|
||||
"origin_id": 43,
|
||||
"origin_slot": 0,
|
||||
"target_id": -20,
|
||||
"target_slot": 0,
|
||||
"type": "AUDIO"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
},
|
||||
{
|
||||
"link": {
|
||||
"id": 63,
|
||||
"origin_id": -10,
|
||||
"origin_slot": 7,
|
||||
"target_id": 43,
|
||||
"target_slot": 2,
|
||||
"type": "BOOLEAN"
|
||||
},
|
||||
"scope": "ac99f841-a3de-4329-9564-953b81cf9e16/"
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "SaveAudioAdvanced",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 42,
|
||||
"localized_name": "audio",
|
||||
"name": "audio",
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "filename_prefix",
|
||||
"name": "filename_prefix",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "filename_prefix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "format",
|
||||
"name": "format",
|
||||
"type": "COMFY_DYNAMICCOMBO_V3",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "format.quality",
|
||||
"name": "format.quality",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format.quality"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "audioUI",
|
||||
"name": "audioUI",
|
||||
"type": "AUDIO_UI",
|
||||
"widget": {
|
||||
"name": "audioUI"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "35",
|
||||
"source_values": [
|
||||
"audio/audio_minimax_music3",
|
||||
"mp3",
|
||||
"V0"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "MarkdownNote",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "39",
|
||||
"source_values": [
|
||||
"## MiniMax Music 3\n\nA music generation model by MiniMax that creates complete songs up to 5 minutes long with stable structure and high audio quality. Two inputs drive it: **Caption** (structured music description: style, mood, vocals, arrangement) and **Lyrics** (with `[intro]` `[verse]` `[chorus]` `[bridge]` `[outro]` tags controlling song structure).\n\n### Parameters\n\n| Parameter | Description |\n|---|---|\n| Caption | Music description. Write it in three sections — Global Metadata → Vocal Details → Arrangement. The more specific, the closer the result. |\n| Lyrics | Song lyrics + section tags. Tags are the only executable structural instructions; the lyric text itself only conveys mood. |\n| max_duration | Target song length in seconds (default 120 = 2 minutes; the model supports up to ~300 s / 5 minutes). Longer songs take more time and VRAM. |\n| seed | Random seed for the generation. Keep it fixed to reproduce the same song; change it to get a different take. |\n| Model files | diffusion model / text encoder / VAE.|\n| Tiled decode | Decode the audio VAE in overlapping tiles to drastically cut VRAM usage — helpful for long songs on low-VRAM GPUs. Slightly slower, with a small risk of seams at tile boundaries; turn it off on high-VRAM GPUs for the best quality. |\n\n### Prompt Writing Guide\n\nYou can find an official [Music Caption Rewriter Skill here](https://github.com/MiniMax-AI/MiniMax-Music3)"
|
||||
],
|
||||
"title": "Note: MiniMax Music 3"
|
||||
},
|
||||
{
|
||||
"class_type": "MarkdownNote",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "40",
|
||||
"source_values": [
|
||||
"## Model Links\n\n**diffusion_models**\n- [minimax_music3_dit_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/diffusion_models/minimax_music3_dit_int8_convrot.safetensors) # For low VRAM\n- [minimax_music3_dit_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/diffusion_models/minimax_music3_dit_fp16.safetensors)\n\n**text_encoders**\n\n- [minimax_music3_text_encoder_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/text_encoders/minimax_music3_text_encoder_pruned_int8_convrot.safetensors)\n\n**vae**\n\n- [minimax_music3_dav.safetensors](https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/vae/minimax_music3_dav.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ ├── minimax_music3_dit_int8_convrot.safetensors # For low VRAM\n│ │ └── minimax_music3_dit_fp16.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── minimax_music3_text_encoder_pruned_int8_convrot.safetensors\n│ └── 📂 vae/\n│ └── minimax_music3_dav.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"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ac99f841-a3de-4329-9564-953b81cf9e16",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"name": "caption",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "caption"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "lyrics",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "lyrics"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "max_duration",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "max_duration"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "seed",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "seed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "unet_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "unet_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "clip_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "clip_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "vae_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "vae_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "tiled_decode",
|
||||
"link": null,
|
||||
"name": "switch",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "switch"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "37",
|
||||
"source_values": [
|
||||
"Global Metadata: Lo-fi hip-hop, chillhop. 78 BPM, D flat major, major scale with jazzy extensions. Laid-back and dreamy throughout, a gentle warm drift with a subtle late-night glow that deepens in the middle and dissolves softly at the end. Studying, raining-outside, headphones-on late-night listening. Bedroom production: muddy warm texture, heavy vinyl crackle, tape hiss and wow-flutter pitch wobble, low-passed dusty mix, soft-clipped drums, everything slightly detuned and cozy.\n\nVocal Details: Soft androgynous vocal, hushed half-sung half-spoken delivery, sitting low in the mix like another instrument, lazy behind-the-beat phrasing, gentle breathy timbre. Sparse murmured double-tracked harmonies, occasional wordless \"mmm\" and \"ooh\" hums drenched in tape delay and warm spring reverb. Long stretches with no vocals at all.\n\nArrangement: Dusty boom-bap drums with a soft thumping kick, cracked snare with lazy swing, brushed hi-hats, low round sub bass. Warm Rhodes piano chords with slow chorus wobble as the harmonic bed, mellow jazzy guitar licks answering the vocal lines, constant vinyl crackle as texture. Intro: rain and vinyl noise, solo Rhodes chords fading in, drums slipping in halfway. Verses: minimal — drums, bass, Rhodes, soft guitar fills between lines. Instrumental sections: guitar and Rhodes trade relaxed jazzy phrases over the beat, occasional muted trumpet ghost notes far in the background. Bridge: drums drop away to rain, crackle, and floating detuned Rhodes, then the beat eases back in. Outro: elements fade one by one until only vinyl crackle and a last unresolved Rhodes chord remain.",
|
||||
"[Intro]\nMmm...\n(rain on the window)\nOoh...\n\n[Verse]\nMidnight and the canvas glows\nDragging little wires where the current flows\nType a quiet dream, let the sampler drift\nNoise into a picture, like the fog just lifts\nTwenty slow steps, I'm in no hurry now\nLatents turning colors and I don't know how\nEvery render's like a polaroid I found\nSoft focus memories, no sound\n\n[Instrumental]\n\n[Verse]\nQueue another frame, let the motion breathe\nPictures start to move like the falling leaves\nVideo drifting by at twenty-four\nLittle animations on my bedroom floor\nSeed after seed like the rain outside\nSome of them are keepers, some I let slide\nSave the ones that feel like a Sunday slow\nNode to node to node... and off we go\n\n[Chorus]\nMmm... let it render on\n(take your time, take your time)\nOoh... by the morning it'll all be done\n(one more queue, one more try)\n\n[Instrumental]\n\n[Bridge]\nRain keeps drawing pictures on the glass...\nMy machine keeps dreaming...\nNeither of us fast...\n\n[Chorus]\nMmm... let it render on\n(take your time, take your time)\nOoh... by the morning it'll all be done\n(one more queue, one more try)\n\n[Instrumental]\n\n[Outro]\nMmm...\n(node to node)\nOoh... goodnight",
|
||||
60,
|
||||
617970236276137,
|
||||
"MiniMax\\minimax_music3_dit_fp16.safetensors",
|
||||
"MiniMax\\minimax_music3_text_encoder_pruned_int8_convrot.safetensors",
|
||||
"MiniMax\\minimax_music3_dav.safetensors",
|
||||
true
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "UNETLoader",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 55,
|
||||
"localized_name": "UNet名称",
|
||||
"name": "unet_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "unet_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "数据类型",
|
||||
"name": "weight_dtype",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "weight_dtype"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/6",
|
||||
"source_values": [
|
||||
"minimax_music3_dit_fp16.safetensors",
|
||||
"default"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "MiniMaxMusic3TextEncode",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 18,
|
||||
"localized_name": "clip",
|
||||
"name": "clip",
|
||||
"type": "CLIP"
|
||||
},
|
||||
{
|
||||
"link": 45,
|
||||
"localized_name": "caption",
|
||||
"name": "caption",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "caption"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": 46,
|
||||
"localized_name": "lyrics",
|
||||
"name": "lyrics",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "lyrics"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": 52,
|
||||
"localized_name": "seed",
|
||||
"name": "seed",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "seed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": 47,
|
||||
"localized_name": "max_duration",
|
||||
"name": "max_duration",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "max_duration"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "cfg_scale",
|
||||
"name": "cfg_scale",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "cfg_scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "top_k",
|
||||
"name": "top_k",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "top_k"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/13",
|
||||
"source_values": [
|
||||
"",
|
||||
"",
|
||||
222,
|
||||
"fixed",
|
||||
60,
|
||||
1.7,
|
||||
50
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "CLIPLoader",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 56,
|
||||
"localized_name": "CLIP名称",
|
||||
"name": "clip_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "clip_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "类型",
|
||||
"name": "type",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "设备",
|
||||
"name": "device",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "device"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/3",
|
||||
"source_values": [
|
||||
"minimax_music3_text_encoder_pruned_int8_convrot.safetensors",
|
||||
"minimax",
|
||||
"default"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VAELoader",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 57,
|
||||
"localized_name": "vae名称",
|
||||
"name": "vae_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "vae_name"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/7",
|
||||
"source_values": [
|
||||
"minimax_music3_dav.safetensors"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ConditioningZeroOut",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 16,
|
||||
"localized_name": "条件",
|
||||
"name": "conditioning",
|
||||
"type": "CONDITIONING"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/10",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "EmptyMiniMaxMusic3LatentAudio",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 20,
|
||||
"localized_name": "seconds",
|
||||
"name": "seconds",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "seconds"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "batch_size",
|
||||
"name": "batch_size",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "batch_size"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/15",
|
||||
"source_values": [
|
||||
120,
|
||||
1
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "KSampler",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 6,
|
||||
"localized_name": "模型",
|
||||
"name": "model",
|
||||
"type": "MODEL"
|
||||
},
|
||||
{
|
||||
"link": 15,
|
||||
"localized_name": "正面条件",
|
||||
"name": "positive",
|
||||
"type": "CONDITIONING"
|
||||
},
|
||||
{
|
||||
"link": 8,
|
||||
"localized_name": "负面条件",
|
||||
"name": "negative",
|
||||
"type": "CONDITIONING"
|
||||
},
|
||||
{
|
||||
"link": 21,
|
||||
"localized_name": "Latent图像",
|
||||
"name": "latent_image",
|
||||
"type": "LATENT"
|
||||
},
|
||||
{
|
||||
"link": 53,
|
||||
"localized_name": "种子",
|
||||
"name": "seed",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "seed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "步数",
|
||||
"name": "steps",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "steps"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "cfg",
|
||||
"name": "cfg",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "cfg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "采样器名称",
|
||||
"name": "sampler_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "sampler_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "调度器",
|
||||
"name": "scheduler",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "scheduler"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "降噪",
|
||||
"name": "denoise",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "denoise"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/9",
|
||||
"source_values": [
|
||||
1111111112,
|
||||
"fixed",
|
||||
30,
|
||||
1.7,
|
||||
"euler",
|
||||
"simple",
|
||||
1
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VAEDecodeAudio",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 12,
|
||||
"localized_name": "Latent",
|
||||
"name": "samples",
|
||||
"type": "LATENT"
|
||||
},
|
||||
{
|
||||
"link": 13,
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"type": "VAE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/12",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "SeedNode",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 54,
|
||||
"localized_name": "种子",
|
||||
"name": "seed",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "seed"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/38",
|
||||
"source_values": [
|
||||
0,
|
||||
"randomize"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VAEDecodeAudioTiled",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 58,
|
||||
"localized_name": "样本",
|
||||
"name": "samples",
|
||||
"type": "LATENT"
|
||||
},
|
||||
{
|
||||
"link": 59,
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "分块大小",
|
||||
"name": "tile_size",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "tile_size"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "重叠",
|
||||
"name": "overlap",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "overlap"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/42",
|
||||
"source_values": [
|
||||
1536,
|
||||
64
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ComfySwitchNode",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 60,
|
||||
"localized_name": "为假时",
|
||||
"name": "on_false",
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"link": 61,
|
||||
"localized_name": "为真时",
|
||||
"name": "on_true",
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"link": 63,
|
||||
"localized_name": "切换",
|
||||
"name": "switch",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "switch"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "ac99f841-a3de-4329-9564-953b81cf9e16/43",
|
||||
"source_values": [
|
||||
false
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [
|
||||
{
|
||||
"content": [
|
||||
"## MiniMax Music 3\n\nA music generation model by MiniMax that creates complete songs up to 5 minutes long with stable structure and high audio quality. Two inputs drive it: **Caption** (structured music description: style, mood, vocals, arrangement) and **Lyrics** (with `[intro]` `[verse]` `[chorus]` `[bridge]` `[outro]` tags controlling song structure).\n\n### Parameters\n\n| Parameter | Description |\n|---|---|\n| Caption | Music description. Write it in three sections — Global Metadata → Vocal Details → Arrangement. The more specific, the closer the result. |\n| Lyrics | Song lyrics + section tags. Tags are the only executable structural instructions; the lyric text itself only conveys mood. |\n| max_duration | Target song length in seconds (default 120 = 2 minutes; the model supports up to ~300 s / 5 minutes). Longer songs take more time and VRAM. |\n| seed | Random seed for the generation. Keep it fixed to reproduce the same song; change it to get a different take. |\n| Model files | diffusion model / text encoder / VAE.|\n| Tiled decode | Decode the audio VAE in overlapping tiles to drastically cut VRAM usage — helpful for long songs on low-VRAM GPUs. Slightly slower, with a small risk of seams at tile boundaries; turn it off on high-VRAM GPUs for the best quality. |\n\n### Prompt Writing Guide\n\nYou can find an official [Music Caption Rewriter Skill here](https://github.com/MiniMax-AI/MiniMax-Music3)"
|
||||
],
|
||||
"node_id": "39"
|
||||
},
|
||||
{
|
||||
"content": [
|
||||
"## Model Links\n\n**diffusion_models**\n- [minimax_music3_dit_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/diffusion_models/minimax_music3_dit_int8_convrot.safetensors) # For low VRAM\n- [minimax_music3_dit_fp16.safetensors](https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/diffusion_models/minimax_music3_dit_fp16.safetensors)\n\n**text_encoders**\n\n- [minimax_music3_text_encoder_pruned_int8_convrot.safetensors](https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/text_encoders/minimax_music3_text_encoder_pruned_int8_convrot.safetensors)\n\n**vae**\n\n- [minimax_music3_dav.safetensors](https://huggingface.co/Comfy-Org/MiniMax-Music-3/resolve/main/vae/minimax_music3_dav.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ ├── 📂 diffusion_models/\n│ │ ├── minimax_music3_dit_int8_convrot.safetensors # For low VRAM\n│ │ └── minimax_music3_dit_fp16.safetensors\n│ ├── 📂 text_encoders/\n│ │ └── minimax_music3_text_encoder_pruned_int8_convrot.safetensors\n│ └── 📂 vae/\n│ └── minimax_music3_dav.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"
|
||||
],
|
||||
"node_id": "40"
|
||||
}
|
||||
],
|
||||
"source_path": "example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/2-音乐生成/minimax_music_文生音乐.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "minimax_music_文生音乐"
|
||||
}
|
||||
@@ -0,0 +1,315 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [
|
||||
"birefnet.safetensors"
|
||||
],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"InvertMask",
|
||||
"JoinImageWithAlpha",
|
||||
"LoadBackgroundRemovalModel",
|
||||
"LoadImage",
|
||||
"MarkdownNote",
|
||||
"MaskPreview",
|
||||
"PreviewImage",
|
||||
"RemoveBackground"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:RemoveBackground"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:InvertMask"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:JoinImageWithAlpha"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadBackgroundRemovalModel"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:MaskPreview"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大;工作流:birefnet_图像移除背景。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
17,
|
||||
23,
|
||||
0,
|
||||
22,
|
||||
1,
|
||||
"BACKGROUND_REMOVAL"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
18,
|
||||
22,
|
||||
0,
|
||||
24,
|
||||
0,
|
||||
"MASK"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
19,
|
||||
24,
|
||||
0,
|
||||
25,
|
||||
1,
|
||||
"MASK"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
20,
|
||||
17,
|
||||
0,
|
||||
22,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
21,
|
||||
17,
|
||||
0,
|
||||
25,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
22,
|
||||
25,
|
||||
0,
|
||||
18,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
23,
|
||||
22,
|
||||
0,
|
||||
20,
|
||||
0,
|
||||
"MASK"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "RemoveBackground",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 20,
|
||||
"localized_name": "image",
|
||||
"name": "image",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": 17,
|
||||
"localized_name": "bg_removal_model",
|
||||
"name": "bg_removal_model",
|
||||
"type": "BACKGROUND_REMOVAL"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "22",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "InvertMask",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 18,
|
||||
"localized_name": "遮罩",
|
||||
"name": "mask",
|
||||
"type": "MASK"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "24",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "JoinImageWithAlpha",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 21,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": 19,
|
||||
"localized_name": "阿尔法",
|
||||
"name": "alpha",
|
||||
"type": "MASK"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "25",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadBackgroundRemovalModel",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "bg_removal_name",
|
||||
"name": "bg_removal_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "bg_removal_name"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "23",
|
||||
"source_values": [
|
||||
"birefnet.safetensors"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "MarkdownNote",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "21",
|
||||
"source_values": [
|
||||
"## Model Link (for Local Users)\n\n**background_removal**\n\n- [birefnet.safetensors](https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ └── 📂 background_removal/\n│ └── birefnet.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"
|
||||
],
|
||||
"title": "Model Link"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 22,
|
||||
"localized_name": "图像",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "18",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "MaskPreview",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "遮罩",
|
||||
"link": 23,
|
||||
"localized_name": "遮罩",
|
||||
"name": "mask",
|
||||
"type": "MASK"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "20",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "17",
|
||||
"source_values": [
|
||||
"20260425_192628_Z-Image_00001_.png",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [
|
||||
{
|
||||
"content": [
|
||||
"## Model Link (for Local Users)\n\n**background_removal**\n\n- [birefnet.safetensors](https://huggingface.co/Comfy-Org/BiRefNet/resolve/main/background_removal/birefnet.safetensors)\n\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ └── 📂 background_removal/\n│ └── birefnet.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"
|
||||
],
|
||||
"node_id": "21"
|
||||
}
|
||||
],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/birefnet_图像移除背景.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "birefnet_图像移除背景"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,439 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"AILab_Qwen3ASRSubtitle",
|
||||
"LoadAudio",
|
||||
"PreviewAny",
|
||||
"PrimitiveNode"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewAny"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewAny"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewAny"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewAny"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PrimitiveNode"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadAudio"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:AILab_Qwen3ASRSubtitle"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/1-语音生成;工作流:Qwen3-ASR-Subtitle语音转字幕。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
13,
|
||||
6,
|
||||
0,
|
||||
9,
|
||||
0,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
14,
|
||||
7,
|
||||
0,
|
||||
9,
|
||||
6,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
15,
|
||||
9,
|
||||
0,
|
||||
4,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
16,
|
||||
9,
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
17,
|
||||
9,
|
||||
2,
|
||||
3,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
18,
|
||||
9,
|
||||
3,
|
||||
1,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "PreviewAny",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 16,
|
||||
"localized_name": "源",
|
||||
"name": "source",
|
||||
"type": "*"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "2",
|
||||
"source_values": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewAny",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 15,
|
||||
"localized_name": "源",
|
||||
"name": "source",
|
||||
"type": "*"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "4",
|
||||
"source_values": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewAny",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 17,
|
||||
"localized_name": "源",
|
||||
"name": "source",
|
||||
"type": "*"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "3",
|
||||
"source_values": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewAny",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 18,
|
||||
"localized_name": "源",
|
||||
"name": "source",
|
||||
"type": "*"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "1",
|
||||
"source_values": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "PrimitiveNode",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "7",
|
||||
"source_values": [
|
||||
"Important terms: ComfyUI, Qwen3-ASR\nUse exact casing for these terms."
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadAudio",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "音频",
|
||||
"name": "audio",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "audio"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "音频UI",
|
||||
"name": "audioUI",
|
||||
"type": "AUDIO_UI",
|
||||
"widget": {
|
||||
"name": "audioUI"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "AUDIOUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "6",
|
||||
"source_values": [
|
||||
"ComfyUI-qwenasr_00003_.mp3",
|
||||
null,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "AILab_Qwen3ASRSubtitle",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 13,
|
||||
"localized_name": "audio",
|
||||
"name": "audio",
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "model",
|
||||
"name": "model",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "model"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "precision",
|
||||
"name": "precision",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "precision"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "attention",
|
||||
"name": "attention",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "attention"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "forced_aligner",
|
||||
"name": "forced_aligner",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "forced_aligner"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "language",
|
||||
"name": "language",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "language"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": 14,
|
||||
"localized_name": "hints",
|
||||
"name": "hints",
|
||||
"shape": 7,
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "hints"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "output_format",
|
||||
"name": "output_format",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "output_format"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "output_path",
|
||||
"name": "output_path",
|
||||
"shape": 7,
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "output_path"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "split_mode",
|
||||
"name": "split_mode",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "split_mode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "max_gap_sec",
|
||||
"name": "max_gap_sec",
|
||||
"shape": 7,
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "max_gap_sec"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "max_chars",
|
||||
"name": "max_chars",
|
||||
"shape": 7,
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "max_chars"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "max_inference_batch_size",
|
||||
"name": "max_inference_batch_size",
|
||||
"shape": 7,
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "max_inference_batch_size"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "max_new_tokens",
|
||||
"name": "max_new_tokens",
|
||||
"shape": 7,
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "max_new_tokens"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "unload_models",
|
||||
"name": "unload_models",
|
||||
"shape": 7,
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "unload_models"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "9",
|
||||
"source_values": [
|
||||
"Qwen/Qwen3-ASR-0.6B",
|
||||
"bf16",
|
||||
"auto",
|
||||
"Qwen/Qwen3-ForcedAligner-0.6B",
|
||||
"auto",
|
||||
"Important terms: ComfyUI, Qwen3-ASR\nUse exact casing for these terms.",
|
||||
"none",
|
||||
"",
|
||||
"split_by_punctuation_or_pause_or_length",
|
||||
0.6,
|
||||
40,
|
||||
32,
|
||||
256,
|
||||
true
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/1-语音生成/Qwen3-ASR-Subtitle语音转字幕.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "Qwen3-ASR-Subtitle语音转字幕"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,306 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"CreateVideo",
|
||||
"GetVideoComponents",
|
||||
"LoadVideo",
|
||||
"RTXVideoSuperResolution",
|
||||
"SaveVideo"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:GetVideoComponents"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:SaveVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:CreateVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:RTXVideoSuperResolution"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大;工作流:RTX_video_upscale。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
5,
|
||||
6,
|
||||
0,
|
||||
7,
|
||||
0,
|
||||
"VIDEO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
7,
|
||||
1,
|
||||
0,
|
||||
8,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
8,
|
||||
7,
|
||||
1,
|
||||
8,
|
||||
1,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
9,
|
||||
7,
|
||||
2,
|
||||
8,
|
||||
2,
|
||||
"FLOAT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
10,
|
||||
8,
|
||||
0,
|
||||
9,
|
||||
0,
|
||||
"VIDEO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
19,
|
||||
7,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "GetVideoComponents",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 5,
|
||||
"localized_name": "视频",
|
||||
"name": "video",
|
||||
"type": "VIDEO"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "7",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "SaveVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 10,
|
||||
"localized_name": "视频",
|
||||
"name": "video",
|
||||
"type": "VIDEO"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "文件名前缀",
|
||||
"name": "filename_prefix",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "filename_prefix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "格式",
|
||||
"name": "format",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "编码器",
|
||||
"name": "codec",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "codec"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "9",
|
||||
"source_values": [
|
||||
"video/ComfyUI",
|
||||
"auto",
|
||||
"auto"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "CreateVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 7,
|
||||
"localized_name": "图像",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": 8,
|
||||
"localized_name": "音频",
|
||||
"name": "audio",
|
||||
"shape": 7,
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"link": 9,
|
||||
"localized_name": "帧率",
|
||||
"name": "fps",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "fps"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "8",
|
||||
"source_values": [
|
||||
30
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "RTXVideoSuperResolution",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 19,
|
||||
"localized_name": "images",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "resize_type",
|
||||
"name": "resize_type",
|
||||
"type": "COMFY_DYNAMICCOMBO_V3",
|
||||
"widget": {
|
||||
"name": "resize_type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "resize_type.scale",
|
||||
"name": "resize_type.scale",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "resize_type.scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "quality",
|
||||
"name": "quality",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "quality"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "1",
|
||||
"source_values": [
|
||||
"scale by multiplier",
|
||||
1,
|
||||
"ULTRA"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "文件",
|
||||
"name": "file",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "file"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择要上传的文件",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "6",
|
||||
"source_values": [
|
||||
"WanVideo_00003-audio.mp4",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_video_upscale.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "RTX_video_upscale"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,614 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"ImageStitch",
|
||||
"LoadImage",
|
||||
"MarkdownNote",
|
||||
"ResizeImageMaskNode",
|
||||
"SaveImage"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ImageStitch"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ResizeImageMaskNode"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ImageStitch"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ImageStitch"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:SaveImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大;工作流:图像合并成四宫格。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
11,
|
||||
12,
|
||||
0,
|
||||
16,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
12,
|
||||
13,
|
||||
0,
|
||||
16,
|
||||
1,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
13,
|
||||
14,
|
||||
0,
|
||||
17,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
14,
|
||||
15,
|
||||
0,
|
||||
17,
|
||||
1,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
15,
|
||||
16,
|
||||
0,
|
||||
18,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
16,
|
||||
17,
|
||||
0,
|
||||
18,
|
||||
1,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
18,
|
||||
21,
|
||||
0,
|
||||
19,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
19,
|
||||
18,
|
||||
0,
|
||||
21,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "image1",
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "12",
|
||||
"source_values": [
|
||||
"angle_1.png",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "image2",
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "13",
|
||||
"source_values": [
|
||||
"angle_2.png",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ImageStitch",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像1",
|
||||
"link": 11,
|
||||
"localized_name": "图像1",
|
||||
"name": "image1",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "图像2",
|
||||
"link": 12,
|
||||
"localized_name": "图像2",
|
||||
"name": "image2",
|
||||
"shape": 7,
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "方向",
|
||||
"link": null,
|
||||
"localized_name": "方向",
|
||||
"name": "direction",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "direction"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "匹配图像尺寸",
|
||||
"link": null,
|
||||
"localized_name": "匹配图像尺寸",
|
||||
"name": "match_image_size",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "match_image_size"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间距宽度",
|
||||
"link": null,
|
||||
"localized_name": "间距宽度",
|
||||
"name": "spacing_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "spacing_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间距颜色",
|
||||
"link": null,
|
||||
"localized_name": "间距颜色",
|
||||
"name": "spacing_color",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "spacing_color"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "16",
|
||||
"source_values": [
|
||||
"right",
|
||||
true,
|
||||
0,
|
||||
"white"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ResizeImageMaskNode",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 19,
|
||||
"localized_name": "输入",
|
||||
"name": "input",
|
||||
"type": "IMAGE,MASK"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "调整类型",
|
||||
"name": "resize_type",
|
||||
"type": "COMFY_DYNAMICCOMBO_V3",
|
||||
"widget": {
|
||||
"name": "resize_type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "宽度",
|
||||
"name": "resize_type.width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "resize_type.width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "高度",
|
||||
"name": "resize_type.height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "resize_type.height"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "裁剪",
|
||||
"name": "resize_type.crop",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "resize_type.crop"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "缩放方法",
|
||||
"name": "scale_method",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "scale_method"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "21",
|
||||
"source_values": [
|
||||
"scale dimensions",
|
||||
2048,
|
||||
2048,
|
||||
"center",
|
||||
"lanczos"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ImageStitch",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像1",
|
||||
"link": 15,
|
||||
"localized_name": "图像1",
|
||||
"name": "image1",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "图像2",
|
||||
"link": 16,
|
||||
"localized_name": "图像2",
|
||||
"name": "image2",
|
||||
"shape": 7,
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "方向",
|
||||
"link": null,
|
||||
"localized_name": "方向",
|
||||
"name": "direction",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "direction"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "匹配图像尺寸",
|
||||
"link": null,
|
||||
"localized_name": "匹配图像尺寸",
|
||||
"name": "match_image_size",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "match_image_size"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间距宽度",
|
||||
"link": null,
|
||||
"localized_name": "间距宽度",
|
||||
"name": "spacing_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "spacing_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间距颜色",
|
||||
"link": null,
|
||||
"localized_name": "间距颜色",
|
||||
"name": "spacing_color",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "spacing_color"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "18",
|
||||
"source_values": [
|
||||
"down",
|
||||
true,
|
||||
0,
|
||||
"white"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ImageStitch",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像1",
|
||||
"link": 13,
|
||||
"localized_name": "图像1",
|
||||
"name": "image1",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "图像2",
|
||||
"link": 14,
|
||||
"localized_name": "图像2",
|
||||
"name": "image2",
|
||||
"shape": 7,
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "方向",
|
||||
"link": null,
|
||||
"localized_name": "方向",
|
||||
"name": "direction",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "direction"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "匹配图像尺寸",
|
||||
"link": null,
|
||||
"localized_name": "匹配图像尺寸",
|
||||
"name": "match_image_size",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "match_image_size"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间距宽度",
|
||||
"link": null,
|
||||
"localized_name": "间距宽度",
|
||||
"name": "spacing_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "spacing_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间距颜色",
|
||||
"link": null,
|
||||
"localized_name": "间距颜色",
|
||||
"name": "spacing_color",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "spacing_color"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "17",
|
||||
"source_values": [
|
||||
"right",
|
||||
true,
|
||||
0,
|
||||
"white"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "SaveImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 18,
|
||||
"localized_name": "图片",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "文件名前缀",
|
||||
"name": "filename_prefix",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "filename_prefix"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "19",
|
||||
"source_values": [
|
||||
"ComfyUI"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "image3",
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "14",
|
||||
"source_values": [
|
||||
"angle_3.png",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "MarkdownNote",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "24",
|
||||
"source_values": [
|
||||
"# Image Stitch Grid Workflow\n\n4 images → 2×2 grid → saved at 2048×2048.\n\n**How it chains:**\n1. `Image Stitch (right)` — joins top-left + top-right into a row\n2. `Image Stitch (right)` — joins bottom-left + bottom-right into a row\n3. `Image Stitch (down)` — stacks both rows into the final grid\n\n**Key settings:**\n- `direction` — `right` for horizontal, `down` for vertical\n- `match_image_size: ON` — auto-resizes mismatched inputs"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "image4",
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "15",
|
||||
"source_values": [
|
||||
"angle_4.png",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [
|
||||
{
|
||||
"content": [
|
||||
"# Image Stitch Grid Workflow\n\n4 images → 2×2 grid → saved at 2048×2048.\n\n**How it chains:**\n1. `Image Stitch (right)` — joins top-left + top-right into a row\n2. `Image Stitch (right)` — joins bottom-left + bottom-right into a row\n3. `Image Stitch (down)` — stacks both rows into the final grid\n\n**Key settings:**\n- `direction` — `right` for horizontal, `down` for vertical\n- `match_image_size: ON` — auto-resizes mismatched inputs"
|
||||
],
|
||||
"node_id": "24"
|
||||
}
|
||||
],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/图像合并成四宫格.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "图像合并成四宫格"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,816 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"ImageConcatMulti",
|
||||
"LoadImage",
|
||||
"PreviewImage",
|
||||
"VHS_LoadVideo",
|
||||
"VHS_VideoCombine",
|
||||
"VHS_VideoInfoLoaded"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "LoadImage 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "LoadImage 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "PreviewImage 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "ImageConcatMulti 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VHS_VideoInfoLoaded"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VHS_VideoCombine"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VHS_LoadVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VHS_LoadVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ImageConcatMulti"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大;工作流:双图像或视频合并显示。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
1,
|
||||
1,
|
||||
0,
|
||||
4,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
2,
|
||||
2,
|
||||
0,
|
||||
4,
|
||||
1,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
3,
|
||||
4,
|
||||
0,
|
||||
5,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
4,
|
||||
9,
|
||||
0,
|
||||
10,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
7,
|
||||
6,
|
||||
3,
|
||||
11,
|
||||
0,
|
||||
"VHS_VIDEOINFO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
8,
|
||||
11,
|
||||
0,
|
||||
10,
|
||||
4,
|
||||
"FLOAT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
10,
|
||||
6,
|
||||
0,
|
||||
9,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
11,
|
||||
8,
|
||||
0,
|
||||
9,
|
||||
1,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
14,
|
||||
8,
|
||||
2,
|
||||
10,
|
||||
1,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "1",
|
||||
"source_values": [
|
||||
"小云雀_1770719334800_0_m.jpg",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "2",
|
||||
"source_values": [
|
||||
"ComfyUI_00038.png",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 3,
|
||||
"localized_name": "图像",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "5",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ImageConcatMulti",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像_1",
|
||||
"link": 1,
|
||||
"localized_name": "图像_1",
|
||||
"name": "image_1",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "图像_2",
|
||||
"link": 2,
|
||||
"localized_name": "图像_2",
|
||||
"name": "image_2",
|
||||
"shape": 7,
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "输入数量",
|
||||
"link": null,
|
||||
"localized_name": "输入数量",
|
||||
"name": "inputcount",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "inputcount"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "方向",
|
||||
"link": null,
|
||||
"localized_name": "方向",
|
||||
"name": "direction",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "direction"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "匹配尺寸",
|
||||
"link": null,
|
||||
"localized_name": "匹配尺寸",
|
||||
"name": "match_image_size",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "match_image_size"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "4",
|
||||
"source_values": [
|
||||
2,
|
||||
"down",
|
||||
true,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VHS_VideoInfoLoaded",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "视频信息",
|
||||
"link": 7,
|
||||
"localized_name": "视频信息",
|
||||
"name": "video_info",
|
||||
"type": "VHS_VIDEOINFO"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "11",
|
||||
"source_values": {},
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VHS_VideoCombine",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像",
|
||||
"link": 4,
|
||||
"localized_name": "图像",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "音频",
|
||||
"link": 14,
|
||||
"localized_name": "音频",
|
||||
"name": "audio",
|
||||
"shape": 7,
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"label": "批次管理",
|
||||
"link": null,
|
||||
"localized_name": "批次管理",
|
||||
"name": "meta_batch",
|
||||
"shape": 7,
|
||||
"type": "VHS_BatchManager"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"shape": 7,
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"label": "帧率",
|
||||
"link": 8,
|
||||
"localized_name": "帧率",
|
||||
"name": "frame_rate",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "frame_rate"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "循环次数",
|
||||
"link": null,
|
||||
"localized_name": "循环次数",
|
||||
"name": "loop_count",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "loop_count"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "文件名前缀",
|
||||
"link": null,
|
||||
"localized_name": "文件名前缀",
|
||||
"name": "filename_prefix",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "filename_prefix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "格式",
|
||||
"link": null,
|
||||
"localized_name": "格式",
|
||||
"name": "format",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Ping-Pong",
|
||||
"link": null,
|
||||
"localized_name": "Ping-Pong",
|
||||
"name": "pingpong",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "pingpong"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "保存到输出文件夹",
|
||||
"link": null,
|
||||
"localized_name": "保存到输出文件夹",
|
||||
"name": "save_output",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "save_output"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "pix_fmt",
|
||||
"type": [
|
||||
"yuv420p",
|
||||
"yuv420p10le"
|
||||
],
|
||||
"widget": {
|
||||
"name": "pix_fmt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "crf",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "crf"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "保存元数据",
|
||||
"link": null,
|
||||
"localized_name": "保存元数据",
|
||||
"name": "save_metadata",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "save_metadata"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "修剪音频",
|
||||
"link": null,
|
||||
"localized_name": "修剪音频",
|
||||
"name": "trim_to_audio",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "trim_to_audio"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "10",
|
||||
"source_values": {
|
||||
"crf": 19,
|
||||
"filename_prefix": "AnimateDiff",
|
||||
"format": "video/h264-mp4",
|
||||
"frame_rate": 8,
|
||||
"loop_count": 0,
|
||||
"pingpong": false,
|
||||
"pix_fmt": "yuv420p",
|
||||
"save_metadata": true,
|
||||
"save_output": true,
|
||||
"trim_to_audio": false,
|
||||
"videopreview": {
|
||||
"hidden": false,
|
||||
"params": {
|
||||
"filename": "AnimateDiff_00011-audio.mp4",
|
||||
"format": "video/h264-mp4",
|
||||
"frame_rate": 30.000001657458657,
|
||||
"fullpath": "E:\\ComfyUI-Data\\output\\AnimateDiff_00011-audio.mp4",
|
||||
"subfolder": "",
|
||||
"type": "output",
|
||||
"workflow": "AnimateDiff_00011.png"
|
||||
},
|
||||
"paused": false
|
||||
}
|
||||
},
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VHS_LoadVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "批次管理",
|
||||
"link": null,
|
||||
"localized_name": "批次管理",
|
||||
"name": "meta_batch",
|
||||
"shape": 7,
|
||||
"type": "VHS_BatchManager"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"shape": 7,
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"label": "视频",
|
||||
"link": null,
|
||||
"localized_name": "视频",
|
||||
"name": "video",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "video"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "强制帧率",
|
||||
"link": null,
|
||||
"localized_name": "强制帧率",
|
||||
"name": "force_rate",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "force_rate"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义宽度",
|
||||
"link": null,
|
||||
"localized_name": "自定义宽度",
|
||||
"name": "custom_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义高度",
|
||||
"link": null,
|
||||
"localized_name": "自定义高度",
|
||||
"name": "custom_height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_height"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "帧数读取上限",
|
||||
"link": null,
|
||||
"localized_name": "帧数读取上限",
|
||||
"name": "frame_load_cap",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "frame_load_cap"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "跳过前X帧",
|
||||
"link": null,
|
||||
"localized_name": "跳过前X帧",
|
||||
"name": "skip_first_frames",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "skip_first_frames"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间隔",
|
||||
"link": null,
|
||||
"localized_name": "间隔",
|
||||
"name": "select_every_nth",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "select_every_nth"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "格式",
|
||||
"link": null,
|
||||
"localized_name": "格式",
|
||||
"name": "format",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "8",
|
||||
"source_values": {
|
||||
"custom_height": 0,
|
||||
"custom_width": 0,
|
||||
"force_rate": 0,
|
||||
"format": "AnimateDiff",
|
||||
"frame_load_cap": 64,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 55,
|
||||
"video": "2月10日.mp4",
|
||||
"videopreview": {
|
||||
"hidden": false,
|
||||
"params": {
|
||||
"custom_height": 0,
|
||||
"custom_width": 0,
|
||||
"filename": "2月10日.mp4",
|
||||
"force_rate": 0,
|
||||
"format": "video/mp4",
|
||||
"frame_load_cap": 64,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 55,
|
||||
"type": "input"
|
||||
},
|
||||
"paused": false
|
||||
}
|
||||
},
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VHS_LoadVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "批次管理",
|
||||
"link": null,
|
||||
"localized_name": "批次管理",
|
||||
"name": "meta_batch",
|
||||
"shape": 7,
|
||||
"type": "VHS_BatchManager"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"shape": 7,
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"label": "视频",
|
||||
"link": null,
|
||||
"localized_name": "视频",
|
||||
"name": "video",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "video"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "强制帧率",
|
||||
"link": null,
|
||||
"localized_name": "强制帧率",
|
||||
"name": "force_rate",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "force_rate"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义宽度",
|
||||
"link": null,
|
||||
"localized_name": "自定义宽度",
|
||||
"name": "custom_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义高度",
|
||||
"link": null,
|
||||
"localized_name": "自定义高度",
|
||||
"name": "custom_height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_height"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "帧数读取上限",
|
||||
"link": null,
|
||||
"localized_name": "帧数读取上限",
|
||||
"name": "frame_load_cap",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "frame_load_cap"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "跳过前X帧",
|
||||
"link": null,
|
||||
"localized_name": "跳过前X帧",
|
||||
"name": "skip_first_frames",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "skip_first_frames"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间隔",
|
||||
"link": null,
|
||||
"localized_name": "间隔",
|
||||
"name": "select_every_nth",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "select_every_nth"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "格式",
|
||||
"link": null,
|
||||
"localized_name": "格式",
|
||||
"name": "format",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "6",
|
||||
"source_values": {
|
||||
"choose video to upload": "image",
|
||||
"custom_height": 0,
|
||||
"custom_width": 0,
|
||||
"force_rate": 0,
|
||||
"format": "AnimateDiff",
|
||||
"frame_load_cap": 62,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 53,
|
||||
"video": "小云雀_1770719334800_0_m.mp4",
|
||||
"videopreview": {
|
||||
"hidden": false,
|
||||
"params": {
|
||||
"custom_height": 0,
|
||||
"custom_width": 0,
|
||||
"filename": "小云雀_1770719334800_0_m.mp4",
|
||||
"force_rate": 0,
|
||||
"format": "video/mp4",
|
||||
"frame_load_cap": 62,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 53,
|
||||
"type": "input"
|
||||
},
|
||||
"paused": false
|
||||
}
|
||||
},
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ImageConcatMulti",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像_1",
|
||||
"link": 10,
|
||||
"localized_name": "图像_1",
|
||||
"name": "image_1",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "图像_2",
|
||||
"link": 11,
|
||||
"localized_name": "图像_2",
|
||||
"name": "image_2",
|
||||
"shape": 7,
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "输入数量",
|
||||
"link": null,
|
||||
"localized_name": "输入数量",
|
||||
"name": "inputcount",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "inputcount"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "方向",
|
||||
"link": null,
|
||||
"localized_name": "方向",
|
||||
"name": "direction",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "direction"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "匹配尺寸",
|
||||
"link": null,
|
||||
"localized_name": "匹配尺寸",
|
||||
"name": "match_image_size",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "match_image_size"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "9",
|
||||
"source_values": [
|
||||
2,
|
||||
"down",
|
||||
true,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/双图像或视频合并显示.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "双图像或视频合并显示"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -0,0 +1,238 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"Image Comparer (rgthree)",
|
||||
"LoadImage",
|
||||
"RTXVideoSuperResolution",
|
||||
"SaveImage"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:SaveImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:RTXVideoSuperResolution"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:Image Comparer (rgthree)"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大;工作流:RTX_image_upscale。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
1,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
2,
|
||||
1,
|
||||
0,
|
||||
3,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
5,
|
||||
1,
|
||||
0,
|
||||
7,
|
||||
1,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
6,
|
||||
2,
|
||||
0,
|
||||
7,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "SaveImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 2,
|
||||
"localized_name": "图片",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "文件名前缀",
|
||||
"name": "filename_prefix",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "filename_prefix"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "3",
|
||||
"source_values": [
|
||||
"ComfyUI"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "RTXVideoSuperResolution",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 1,
|
||||
"localized_name": "images",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "resize_type",
|
||||
"name": "resize_type",
|
||||
"type": "COMFY_DYNAMICCOMBO_V3",
|
||||
"widget": {
|
||||
"name": "resize_type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "resize_type.scale",
|
||||
"name": "resize_type.scale",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "resize_type.scale"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "quality",
|
||||
"name": "quality",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "quality"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "1",
|
||||
"source_values": [
|
||||
"scale by multiplier",
|
||||
2,
|
||||
"ULTRA"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "2",
|
||||
"source_values": [
|
||||
"ComfyUI_01117_.png",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "Image Comparer (rgthree)",
|
||||
"inputs": [
|
||||
{
|
||||
"dir": 3,
|
||||
"label": "图像_A",
|
||||
"link": 6,
|
||||
"localized_name": "图像_A",
|
||||
"name": "image_a",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"dir": 3,
|
||||
"label": "图像_B",
|
||||
"link": 5,
|
||||
"localized_name": "图像_B",
|
||||
"name": "image_b",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "7",
|
||||
"source_values": [
|
||||
[]
|
||||
],
|
||||
"title": "图像对比"
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/RTX_image_upscale.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "RTX_image_upscale"
|
||||
}
|
||||
@@ -0,0 +1,792 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [
|
||||
"Z-Image\\z_image_turbo_bf16.safetensors",
|
||||
"ZImage\\Z-Image-Turbo-DistillPatch.safetensors",
|
||||
"ae.safetensors",
|
||||
"qwen_3_4b.safetensors"
|
||||
],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"CLIPLoader",
|
||||
"CLIPTextEncode",
|
||||
"ConditioningZeroOut",
|
||||
"EmptySD3LatentImage",
|
||||
"GetNode",
|
||||
"KSampler",
|
||||
"LoraLoaderModelOnly",
|
||||
"PrimitiveStringMultiline",
|
||||
"Reroute",
|
||||
"SaveImage",
|
||||
"SetNode",
|
||||
"TTResolutionSelector",
|
||||
"UNETLoader",
|
||||
"VAEDecode",
|
||||
"VAELoader"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:Reroute"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:CLIPLoader"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ConditioningZeroOut"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VAEDecode"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:SetNode"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:GetNode"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:SaveImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:CLIPTextEncode"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VAELoader"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:EmptySD3LatentImage"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:Reroute"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:TTResolutionSelector"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "LoraLoaderModelOnly 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PrimitiveStringMultiline"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:KSampler"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:UNETLoader"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/3-图像生成/Z-Image;工作流:1_Z-Image-Tubro_文生图。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
2,
|
||||
2,
|
||||
0,
|
||||
5,
|
||||
0,
|
||||
"CLIP"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
3,
|
||||
5,
|
||||
0,
|
||||
4,
|
||||
1,
|
||||
"CONDITIONING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
4,
|
||||
5,
|
||||
0,
|
||||
6,
|
||||
0,
|
||||
"CONDITIONING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
7,
|
||||
4,
|
||||
0,
|
||||
8,
|
||||
0,
|
||||
"LATENT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
45,
|
||||
36,
|
||||
0,
|
||||
37,
|
||||
0,
|
||||
"*"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
46,
|
||||
37,
|
||||
0,
|
||||
4,
|
||||
3,
|
||||
"LATENT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
47,
|
||||
3,
|
||||
0,
|
||||
38,
|
||||
0,
|
||||
"*"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
48,
|
||||
38,
|
||||
0,
|
||||
8,
|
||||
1,
|
||||
"VAE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
60,
|
||||
6,
|
||||
0,
|
||||
4,
|
||||
2,
|
||||
"CONDITIONING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
62,
|
||||
1,
|
||||
0,
|
||||
46,
|
||||
0,
|
||||
"MODEL"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
63,
|
||||
46,
|
||||
0,
|
||||
4,
|
||||
0,
|
||||
"MODEL"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
64,
|
||||
8,
|
||||
0,
|
||||
47,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
65,
|
||||
48,
|
||||
0,
|
||||
10,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
76,
|
||||
41,
|
||||
0,
|
||||
5,
|
||||
1,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
77,
|
||||
55,
|
||||
0,
|
||||
36,
|
||||
0,
|
||||
"INT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
78,
|
||||
55,
|
||||
1,
|
||||
36,
|
||||
1,
|
||||
"INT"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "Reroute",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 47,
|
||||
"name": "",
|
||||
"type": "*"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "38",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "CLIPLoader",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "clip_name",
|
||||
"localized_name": "CLIP名称",
|
||||
"name": "clip_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "clip_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "type",
|
||||
"localized_name": "类型",
|
||||
"name": "type",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "device",
|
||||
"localized_name": "设备",
|
||||
"name": "device",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "device"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "2",
|
||||
"source_values": [
|
||||
"qwen_3_4b.safetensors",
|
||||
"qwen_image",
|
||||
"default"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ConditioningZeroOut",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "conditioning",
|
||||
"link": 4,
|
||||
"localized_name": "条件",
|
||||
"name": "conditioning",
|
||||
"type": "CONDITIONING"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "6",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VAEDecode",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "samples",
|
||||
"link": 7,
|
||||
"localized_name": "Latent",
|
||||
"name": "samples",
|
||||
"type": "LATENT"
|
||||
},
|
||||
{
|
||||
"label": "vae",
|
||||
"link": 48,
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"type": "VAE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "8",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "SetNode",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "输入",
|
||||
"link": 64,
|
||||
"localized_name": "输入",
|
||||
"name": "IMAGE",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "47",
|
||||
"source_values": [
|
||||
"output_image"
|
||||
],
|
||||
"title": "Set_output_image"
|
||||
},
|
||||
{
|
||||
"class_type": "GetNode",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "48",
|
||||
"source_values": [
|
||||
"output_image"
|
||||
],
|
||||
"title": "Get_output_image"
|
||||
},
|
||||
{
|
||||
"class_type": "SaveImage",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "images",
|
||||
"link": 65,
|
||||
"localized_name": "图片",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "filename_prefix",
|
||||
"localized_name": "文件名前缀",
|
||||
"name": "filename_prefix",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "filename_prefix"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "10",
|
||||
"source_values": [
|
||||
"ComfyUI"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "CLIPTextEncode",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "clip",
|
||||
"link": 2,
|
||||
"localized_name": "clip",
|
||||
"name": "clip",
|
||||
"type": "CLIP"
|
||||
},
|
||||
{
|
||||
"label": "text",
|
||||
"link": 76,
|
||||
"localized_name": "文本",
|
||||
"name": "text",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "text"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "5",
|
||||
"source_values": [
|
||||
"未来感亚洲少女,短发荧光蓝,机械耳麦,雨中破旧巷口,霓虹反光,一手高举白色LED牌子「Z-Image开源」,赛博朋克色调,高对比紫青补光,35 mm镜头,胶片颗粒"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VAELoader",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "vae_name",
|
||||
"localized_name": "vae名称",
|
||||
"name": "vae_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "vae_name"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "3",
|
||||
"source_values": [
|
||||
"ae.safetensors"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "EmptySD3LatentImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 77,
|
||||
"localized_name": "宽度",
|
||||
"name": "width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": 78,
|
||||
"localized_name": "高度",
|
||||
"name": "height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "height"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "批量大小",
|
||||
"name": "batch_size",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "batch_size"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "36",
|
||||
"source_values": [
|
||||
1920,
|
||||
1088,
|
||||
1
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "Reroute",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 45,
|
||||
"name": "",
|
||||
"type": "*"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "37",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "TTResolutionSelector",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "use_custom_resolution",
|
||||
"name": "use_custom_resolution",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "use_custom_resolution"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "resolution",
|
||||
"name": "resolution",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "resolution"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "custom_width",
|
||||
"name": "custom_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "custom_height",
|
||||
"name": "custom_height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_height"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "55",
|
||||
"source_values": [
|
||||
false,
|
||||
"1080x1920 (9:16) (竖屏)",
|
||||
1024,
|
||||
1024
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoraLoaderModelOnly",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 62,
|
||||
"localized_name": "模型",
|
||||
"name": "model",
|
||||
"type": "MODEL"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "LoRA名称",
|
||||
"name": "lora_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "lora_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "模型强度",
|
||||
"name": "strength_model",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "strength_model"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "46",
|
||||
"source_values": [
|
||||
"ZImage\\Z-Image-Turbo-DistillPatch.safetensors",
|
||||
0.7
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "PrimitiveStringMultiline",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "值",
|
||||
"name": "value",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "value"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "41",
|
||||
"source_values": [
|
||||
"插画风格特效,半身像,古风,动漫风,萨满少女,面具,华丽,萨满舞,祭祀仪式,神秘仪式氛围, 笔触,线条清晰,强烈的明暗对比,超高清,垂坠感,清冷感,身体特写,最高画质。清透的皮肤,细腻渲染,细节五官,真实细腻的肌理感,极致的皮肤细节刻画,丰富细节,朦胧感,近距镜头,上半身构图,强化面部阴影,柔焦处理的高斯模糊效果,明暗交错的戏剧性光影,虚实结合的构图张力,双色温闪光灯布光,背景光斑虚化处理。 高质量,写实逼真,艳丽色彩,真实人物比例,bjd人偶感,斑驳的面部光影,真实光影,侧光,宿命感,眼神杀,情绪化的眼神,眼神捕捉,直视镜头。人物完整全身图"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "KSampler",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "model",
|
||||
"link": 63,
|
||||
"localized_name": "模型",
|
||||
"name": "model",
|
||||
"type": "MODEL"
|
||||
},
|
||||
{
|
||||
"label": "positive",
|
||||
"link": 3,
|
||||
"localized_name": "正面条件",
|
||||
"name": "positive",
|
||||
"type": "CONDITIONING"
|
||||
},
|
||||
{
|
||||
"label": "negative",
|
||||
"link": 60,
|
||||
"localized_name": "负面条件",
|
||||
"name": "negative",
|
||||
"type": "CONDITIONING"
|
||||
},
|
||||
{
|
||||
"label": "latent_image",
|
||||
"link": 46,
|
||||
"localized_name": "Latent图像",
|
||||
"name": "latent_image",
|
||||
"type": "LATENT"
|
||||
},
|
||||
{
|
||||
"label": "seed",
|
||||
"localized_name": "种子",
|
||||
"name": "seed",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "seed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "steps",
|
||||
"localized_name": "步数",
|
||||
"name": "steps",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "steps"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "cfg",
|
||||
"localized_name": "cfg",
|
||||
"name": "cfg",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "cfg"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "sampler_name",
|
||||
"localized_name": "采样器名称",
|
||||
"name": "sampler_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "sampler_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "scheduler",
|
||||
"localized_name": "调度器",
|
||||
"name": "scheduler",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "scheduler"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "denoise",
|
||||
"link": null,
|
||||
"localized_name": "降噪",
|
||||
"name": "denoise",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "denoise"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "4",
|
||||
"source_values": [
|
||||
571289824891594,
|
||||
"randomize",
|
||||
8,
|
||||
1,
|
||||
"euler",
|
||||
"simple",
|
||||
1
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "UNETLoader",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "unet_name",
|
||||
"localized_name": "UNet名称",
|
||||
"name": "unet_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "unet_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "weight_dtype",
|
||||
"localized_name": "数据类型",
|
||||
"name": "weight_dtype",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "weight_dtype"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "1",
|
||||
"source_values": [
|
||||
"Z-Image\\z_image_turbo_bf16.safetensors",
|
||||
"default"
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/3-图像生成/Z-Image/1_Z-Image-Tubro_文生图.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "1_Z-Image-Tubro_文生图"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,255 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"AudioCrop",
|
||||
"AudioSeparation",
|
||||
"LoadAudio",
|
||||
"PreviewAudio"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:AudioCrop"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:LoadAudio"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewAudio"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:AudioSeparation"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大;工作流:音频人声分离。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
15,
|
||||
11,
|
||||
3,
|
||||
15,
|
||||
0,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
18,
|
||||
10,
|
||||
0,
|
||||
18,
|
||||
0,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
19,
|
||||
18,
|
||||
0,
|
||||
11,
|
||||
0,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "AudioCrop",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "audio",
|
||||
"link": 18,
|
||||
"localized_name": "audio",
|
||||
"name": "audio",
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"label": "start_time",
|
||||
"link": null,
|
||||
"localized_name": "start_time",
|
||||
"name": "start_time",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "start_time"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "end_time",
|
||||
"link": null,
|
||||
"localized_name": "end_time",
|
||||
"name": "end_time",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "end_time"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "18",
|
||||
"source_values": [
|
||||
"0:00",
|
||||
"1:00"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadAudio",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "音频",
|
||||
"name": "audio",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "audio"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "音频UI",
|
||||
"name": "audioUI",
|
||||
"type": "AUDIO_UI",
|
||||
"widget": {
|
||||
"name": "audioUI"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "AUDIOUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "10",
|
||||
"source_values": [
|
||||
"没出息.WAV",
|
||||
null,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewAudio",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "音频",
|
||||
"link": 15,
|
||||
"localized_name": "音频",
|
||||
"name": "audio",
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "音频UI",
|
||||
"name": "audioUI",
|
||||
"type": "AUDIO_UI",
|
||||
"widget": {
|
||||
"name": "audioUI"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "15",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "AudioSeparation",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "audio",
|
||||
"link": 19,
|
||||
"localized_name": "audio",
|
||||
"name": "audio",
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"label": "chunk_fade_shape",
|
||||
"link": null,
|
||||
"localized_name": "chunk_fade_shape",
|
||||
"name": "chunk_fade_shape",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "chunk_fade_shape"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "chunk_length",
|
||||
"link": null,
|
||||
"localized_name": "chunk_length",
|
||||
"name": "chunk_length",
|
||||
"shape": 7,
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "chunk_length"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "chunk_overlap",
|
||||
"link": null,
|
||||
"localized_name": "chunk_overlap",
|
||||
"name": "chunk_overlap",
|
||||
"shape": 7,
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "chunk_overlap"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "11",
|
||||
"source_values": [
|
||||
"logarithmic",
|
||||
16,
|
||||
1.1
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/音频人声分离.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "音频人声分离"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,506 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [
|
||||
"gemma4_e4b_it_fp8_scaled.safetensors"
|
||||
],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"CLIPLoader",
|
||||
"GetVideoComponents",
|
||||
"LoadAudio",
|
||||
"LoadImage",
|
||||
"LoadVideo",
|
||||
"MarkdownNote",
|
||||
"PreviewAny",
|
||||
"TextGenerate"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:CLIPLoader"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewAny"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "LoadImage 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "LoadAudio 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "LoadVideo 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "GetVideoComponents 包含静音/旁路状态,需 API 导出核对"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:TextGenerate"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推;工作流:gemma4_提示词反推(图像视频音频)。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
2,
|
||||
3,
|
||||
0,
|
||||
1,
|
||||
0,
|
||||
"CLIP"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
3,
|
||||
1,
|
||||
0,
|
||||
4,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
5,
|
||||
6,
|
||||
0,
|
||||
7,
|
||||
0,
|
||||
"VIDEO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
7,
|
||||
2,
|
||||
0,
|
||||
1,
|
||||
1,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
8,
|
||||
5,
|
||||
0,
|
||||
1,
|
||||
3,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "CLIPLoader",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "CLIP名称",
|
||||
"name": "clip_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "clip_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "类型",
|
||||
"name": "type",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "type"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "设备",
|
||||
"name": "device",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "device"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "3",
|
||||
"source_values": [
|
||||
"gemma4_e4b_it_fp8_scaled.safetensors",
|
||||
"stable_diffusion",
|
||||
"default"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewAny",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 3,
|
||||
"localized_name": "源",
|
||||
"name": "source",
|
||||
"type": "*"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "4",
|
||||
"source_values": [
|
||||
null,
|
||||
null,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "MarkdownNote",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "8",
|
||||
"source_values": [
|
||||
"Related PR: [#13376](https://github.com/Comfy-Org/ComfyUI/pull/13376)\n\n## Model Links (for Local Users)\n\n**text_encoders**\n\n- [gemma4_e4b_it_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ └── 📂 text_encoders/\n│ └── gemma4_e4b_it_fp8_scaled.safetensors\n```\n\n---\n* Other model weights: https://huggingface.co/Comfy-Org/gemma-4/tree/main/text_encoders\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"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "MarkdownNote",
|
||||
"inputs": [],
|
||||
"mode": 0,
|
||||
"node_id": "9",
|
||||
"source_values": [
|
||||
"**Core Capabilities**\n\n[Gemma 4](https://huggingface.co/google/gemma-4-E2B-it) models handle a broad range of tasks across text, vision, and audio. Key capabilities include:\n\n+ **Thinking** – Built-in reasoning mode that lets the model think step-by-step before answering.\n+ **Long Context** – Context windows of up to 128K tokens (E2B/E4B) and 256K tokens (26B A4B/31B).\n+ **Image Understanding** – Object detection, Document/PDF parsing, screen and UI understanding, chart comprehension, OCR (including multilingual), handwriting recognition, and pointing. Images can be processed at variable aspect ratios and resolutions.\n+ **Video Understanding** – Analyze video by processing sequences of frames.\n+ **Interleaved Multimodal Input** – Freely mix text and images in any order within a single prompt.\n+ **Function Calling** – Native support for structured tool use, enabling agentic workflows.\n+ **Coding** – Code generation, completion, and correction.\n+ **Multilingual** – Out-of-the-box support for 35+ languages, pre-trained on 140+ languages.\n+ **Audio** (E2B and E4B only) – Automatic speech recognition (ASR) and speech-to-translated-text translation across multiple languages.\n"
|
||||
],
|
||||
"title": "Gemma4 Core Capabilities"
|
||||
},
|
||||
{
|
||||
"class_type": "LoadImage",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "image"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "2",
|
||||
"source_values": [
|
||||
"the_lily_veil.png",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadAudio",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "音频",
|
||||
"name": "audio",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "audio"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "音频UI",
|
||||
"name": "audioUI",
|
||||
"type": "AUDIO_UI",
|
||||
"widget": {
|
||||
"name": "audioUI"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择文件上传",
|
||||
"name": "upload",
|
||||
"type": "AUDIOUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "5",
|
||||
"source_values": [
|
||||
"voice_demo.mp3",
|
||||
null,
|
||||
null
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "LoadVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "文件",
|
||||
"name": "file",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "file"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "选择要上传的文件",
|
||||
"name": "upload",
|
||||
"type": "IMAGEUPLOAD",
|
||||
"widget": {
|
||||
"name": "upload"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "6",
|
||||
"source_values": [
|
||||
"video_wan_vace_inpainting_input_video.mp4",
|
||||
"image"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "GetVideoComponents",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 5,
|
||||
"localized_name": "视频",
|
||||
"name": "video",
|
||||
"type": "VIDEO"
|
||||
}
|
||||
],
|
||||
"mode": 4,
|
||||
"node_id": "7",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "TextGenerate",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 2,
|
||||
"localized_name": "clip",
|
||||
"name": "clip",
|
||||
"type": "CLIP"
|
||||
},
|
||||
{
|
||||
"link": 7,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"shape": 7,
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "video",
|
||||
"name": "video",
|
||||
"shape": 7,
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"link": 8,
|
||||
"localized_name": "audio",
|
||||
"name": "audio",
|
||||
"shape": 7,
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "提示词",
|
||||
"name": "prompt",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "prompt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "最大长度",
|
||||
"name": "max_length",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "max_length"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "采样模式",
|
||||
"name": "sampling_mode",
|
||||
"type": "COMFY_DYNAMICCOMBO_V3",
|
||||
"widget": {
|
||||
"name": "sampling_mode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "温度",
|
||||
"name": "sampling_mode.temperature",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "sampling_mode.temperature"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "Top K",
|
||||
"name": "sampling_mode.top_k",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "sampling_mode.top_k"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "Top P",
|
||||
"name": "sampling_mode.top_p",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "sampling_mode.top_p"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "最小概率",
|
||||
"name": "sampling_mode.min_p",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "sampling_mode.min_p"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "重复惩罚",
|
||||
"name": "sampling_mode.repetition_penalty",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "sampling_mode.repetition_penalty"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "种子",
|
||||
"name": "sampling_mode.seed",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "sampling_mode.seed"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "presence_penalty",
|
||||
"name": "sampling_mode.presence_penalty",
|
||||
"shape": 7,
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "sampling_mode.presence_penalty"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "思考模式",
|
||||
"name": "thinking",
|
||||
"shape": 7,
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "thinking"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "use_default_template",
|
||||
"name": "use_default_template",
|
||||
"shape": 7,
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "use_default_template"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "1",
|
||||
"source_values": [
|
||||
"Describe the image, and transcribe the audio",
|
||||
2048,
|
||||
"on",
|
||||
0.7,
|
||||
64,
|
||||
0.95,
|
||||
0.05,
|
||||
1.05,
|
||||
0,
|
||||
0,
|
||||
false,
|
||||
true
|
||||
],
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [
|
||||
{
|
||||
"content": [
|
||||
"Related PR: [#13376](https://github.com/Comfy-Org/ComfyUI/pull/13376)\n\n## Model Links (for Local Users)\n\n**text_encoders**\n\n- [gemma4_e4b_it_fp8_scaled.safetensors](https://huggingface.co/Comfy-Org/gemma-4/resolve/main/text_encoders/gemma4_e4b_it_fp8_scaled.safetensors)\n\n## Model Storage Location\n\n```\n📂 ComfyUI/\n├── 📂 models/\n│ └── 📂 text_encoders/\n│ └── gemma4_e4b_it_fp8_scaled.safetensors\n```\n\n---\n* Other model weights: https://huggingface.co/Comfy-Org/gemma-4/tree/main/text_encoders\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"
|
||||
],
|
||||
"node_id": "8"
|
||||
},
|
||||
{
|
||||
"content": [
|
||||
"**Core Capabilities**\n\n[Gemma 4](https://huggingface.co/google/gemma-4-E2B-it) models handle a broad range of tasks across text, vision, and audio. Key capabilities include:\n\n+ **Thinking** – Built-in reasoning mode that lets the model think step-by-step before answering.\n+ **Long Context** – Context windows of up to 128K tokens (E2B/E4B) and 256K tokens (26B A4B/31B).\n+ **Image Understanding** – Object detection, Document/PDF parsing, screen and UI understanding, chart comprehension, OCR (including multilingual), handwriting recognition, and pointing. Images can be processed at variable aspect ratios and resolutions.\n+ **Video Understanding** – Analyze video by processing sequences of frames.\n+ **Interleaved Multimodal Input** – Freely mix text and images in any order within a single prompt.\n+ **Function Calling** – Native support for structured tool use, enabling agentic workflows.\n+ **Coding** – Code generation, completion, and correction.\n+ **Multilingual** – Out-of-the-box support for 35+ languages, pre-trained on 140+ languages.\n+ **Audio** (E2B and E4B only) – Automatic speech recognition (ASR) and speech-to-translated-text translation across multiple languages.\n"
|
||||
],
|
||||
"node_id": "9"
|
||||
}
|
||||
],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/提示词生成与反推/gemma4_提示词反推(图像视频音频).json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "gemma4_提示词反推(图像视频音频)"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,789 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [
|
||||
"RealESRGAN_x4plus.pth",
|
||||
"rife49.pth"
|
||||
],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"CR Upscale Image",
|
||||
"Float",
|
||||
"ImageListToBatch+",
|
||||
"ImpactImageBatchToImageList",
|
||||
"Int",
|
||||
"RIFE VFI",
|
||||
"VHS_LoadVideo",
|
||||
"VHS_VideoCombine"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:RIFE VFI"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:Int"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:Float"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:Float"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ImpactImageBatchToImageList"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:Int"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:CR Upscale Image"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:ImageListToBatch+"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VHS_LoadVideo"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:VHS_VideoCombine"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大;工作流:视频模型放大插帧(简单快速版)。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
312,
|
||||
123,
|
||||
0,
|
||||
136,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
313,
|
||||
136,
|
||||
0,
|
||||
103,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
317,
|
||||
137,
|
||||
0,
|
||||
104,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
318,
|
||||
104,
|
||||
0,
|
||||
124,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
319,
|
||||
123,
|
||||
2,
|
||||
124,
|
||||
1,
|
||||
"AUDIO"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
325,
|
||||
146,
|
||||
0,
|
||||
104,
|
||||
4,
|
||||
"INT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
327,
|
||||
149,
|
||||
0,
|
||||
123,
|
||||
3,
|
||||
"INT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
332,
|
||||
156,
|
||||
0,
|
||||
103,
|
||||
3,
|
||||
"FLOAT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
333,
|
||||
155,
|
||||
0,
|
||||
124,
|
||||
4,
|
||||
"FLOAT"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
337,
|
||||
136,
|
||||
0,
|
||||
137,
|
||||
0,
|
||||
"IMAGE"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "RIFE VFI",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像",
|
||||
"link": 317,
|
||||
"localized_name": "图像",
|
||||
"name": "frames",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "插值规则(可选)",
|
||||
"localized_name": "插值规则(可选)",
|
||||
"name": "optional_interpolation_states",
|
||||
"shape": 7,
|
||||
"type": "INTERPOLATION_STATES"
|
||||
},
|
||||
{
|
||||
"label": "ckpt名称",
|
||||
"link": null,
|
||||
"localized_name": "ckpt名称",
|
||||
"name": "ckpt_name",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "ckpt_name"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "N帧后清除缓存",
|
||||
"link": null,
|
||||
"localized_name": "N帧后清除缓存",
|
||||
"name": "clear_cache_after_n_frames",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "clear_cache_after_n_frames"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "乘数",
|
||||
"link": 325,
|
||||
"localized_name": "乘数",
|
||||
"name": "multiplier",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "multiplier"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "快速模式",
|
||||
"link": null,
|
||||
"localized_name": "快速模式",
|
||||
"name": "fast_mode",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "fast_mode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "ensemble",
|
||||
"link": null,
|
||||
"localized_name": "ensemble",
|
||||
"name": "ensemble",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "ensemble"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "缩放系数",
|
||||
"link": null,
|
||||
"localized_name": "缩放系数",
|
||||
"name": "scale_factor",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "scale_factor"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "104",
|
||||
"source_values": [
|
||||
"rife49.pth",
|
||||
30,
|
||||
4,
|
||||
false,
|
||||
true,
|
||||
1
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "Int",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "Number",
|
||||
"name": "Number",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "Number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "146",
|
||||
"source_values": [
|
||||
4
|
||||
],
|
||||
"title": "插帧倍率"
|
||||
},
|
||||
{
|
||||
"class_type": "Float",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "Number",
|
||||
"name": "Number",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "Number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "155",
|
||||
"source_values": [
|
||||
"60"
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "Float",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "Number",
|
||||
"name": "Number",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "Number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "156",
|
||||
"source_values": [
|
||||
"2"
|
||||
],
|
||||
"title": "放大倍数"
|
||||
},
|
||||
{
|
||||
"class_type": "ImpactImageBatchToImageList",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像",
|
||||
"link": 312,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "136",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "Int",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"localized_name": "Number",
|
||||
"name": "Number",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "Number"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "149",
|
||||
"source_values": [
|
||||
"16"
|
||||
],
|
||||
"title": "输入帧率"
|
||||
},
|
||||
{
|
||||
"class_type": "CR Upscale Image",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像",
|
||||
"link": 313,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "放大模型",
|
||||
"link": null,
|
||||
"localized_name": "放大模型",
|
||||
"name": "upscale_model",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "upscale_model"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "模式",
|
||||
"link": null,
|
||||
"localized_name": "模式",
|
||||
"name": "mode",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "mode"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "缩放系数",
|
||||
"link": 332,
|
||||
"localized_name": "缩放系数",
|
||||
"name": "rescale_factor",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "rescale_factor"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "拉伸宽度",
|
||||
"link": null,
|
||||
"localized_name": "拉伸宽度",
|
||||
"name": "resize_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "resize_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "重采样方法",
|
||||
"link": null,
|
||||
"localized_name": "重采样方法",
|
||||
"name": "resampling_method",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "resampling_method"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "超采样",
|
||||
"link": null,
|
||||
"localized_name": "超采样",
|
||||
"name": "supersample",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "supersample"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "舍入到倍数",
|
||||
"link": null,
|
||||
"localized_name": "舍入到倍数",
|
||||
"name": "rounding_modulus",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "rounding_modulus"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "103",
|
||||
"source_values": [
|
||||
"RealESRGAN_x4plus.pth",
|
||||
"rescale",
|
||||
2.0000000000000004,
|
||||
1024,
|
||||
"lanczos",
|
||||
"true",
|
||||
8
|
||||
],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "ImageListToBatch+",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像",
|
||||
"link": 337,
|
||||
"localized_name": "图像",
|
||||
"name": "image",
|
||||
"type": "IMAGE"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "137",
|
||||
"source_values": [],
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VHS_LoadVideo",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "批次管理",
|
||||
"localized_name": "批次管理",
|
||||
"name": "meta_batch",
|
||||
"shape": 7,
|
||||
"type": "VHS_BatchManager"
|
||||
},
|
||||
{
|
||||
"label": "vae",
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"shape": 7,
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"label": "视频",
|
||||
"link": null,
|
||||
"localized_name": "视频",
|
||||
"name": "video",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "video"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "强制帧率",
|
||||
"link": 327,
|
||||
"localized_name": "强制帧率",
|
||||
"name": "force_rate",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "force_rate"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义宽度",
|
||||
"link": null,
|
||||
"localized_name": "自定义宽度",
|
||||
"name": "custom_width",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_width"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "自定义高度",
|
||||
"link": null,
|
||||
"localized_name": "自定义高度",
|
||||
"name": "custom_height",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "custom_height"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "帧数读取上限",
|
||||
"link": null,
|
||||
"localized_name": "帧数读取上限",
|
||||
"name": "frame_load_cap",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "frame_load_cap"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "跳过前X帧",
|
||||
"link": null,
|
||||
"localized_name": "跳过前X帧",
|
||||
"name": "skip_first_frames",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "skip_first_frames"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "间隔",
|
||||
"link": null,
|
||||
"localized_name": "间隔",
|
||||
"name": "select_every_nth",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "select_every_nth"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "格式",
|
||||
"link": null,
|
||||
"localized_name": "格式",
|
||||
"name": "format",
|
||||
"shape": 7,
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "123",
|
||||
"source_values": {
|
||||
"custom_height": 0,
|
||||
"custom_width": 0,
|
||||
"force_rate": 0,
|
||||
"format": "AnimateDiff",
|
||||
"frame_load_cap": 0,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 0,
|
||||
"video": "WanVideo_SCAIL_00009-audio.mp4",
|
||||
"videopreview": {
|
||||
"hidden": false,
|
||||
"params": {
|
||||
"filename": "WanVideo_SCAIL_00009-audio.mp4",
|
||||
"force_rate": 0,
|
||||
"format": "video/mp4",
|
||||
"frame_load_cap": 0,
|
||||
"select_every_nth": 1,
|
||||
"skip_first_frames": 0,
|
||||
"type": "input"
|
||||
},
|
||||
"paused": false
|
||||
}
|
||||
},
|
||||
"title": null
|
||||
},
|
||||
{
|
||||
"class_type": "VHS_VideoCombine",
|
||||
"inputs": [
|
||||
{
|
||||
"label": "图像",
|
||||
"link": 318,
|
||||
"localized_name": "图像",
|
||||
"name": "images",
|
||||
"type": "IMAGE"
|
||||
},
|
||||
{
|
||||
"label": "音频",
|
||||
"link": 319,
|
||||
"localized_name": "音频",
|
||||
"name": "audio",
|
||||
"shape": 7,
|
||||
"type": "AUDIO"
|
||||
},
|
||||
{
|
||||
"label": "批次管理",
|
||||
"localized_name": "批次管理",
|
||||
"name": "meta_batch",
|
||||
"shape": 7,
|
||||
"type": "VHS_BatchManager"
|
||||
},
|
||||
{
|
||||
"label": "vae",
|
||||
"localized_name": "vae",
|
||||
"name": "vae",
|
||||
"shape": 7,
|
||||
"type": "VAE"
|
||||
},
|
||||
{
|
||||
"label": "帧率",
|
||||
"link": 333,
|
||||
"localized_name": "帧率",
|
||||
"name": "frame_rate",
|
||||
"type": "FLOAT",
|
||||
"widget": {
|
||||
"name": "frame_rate"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "循环次数",
|
||||
"link": null,
|
||||
"localized_name": "循环次数",
|
||||
"name": "loop_count",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "loop_count"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "文件名前缀",
|
||||
"link": null,
|
||||
"localized_name": "文件名前缀",
|
||||
"name": "filename_prefix",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "filename_prefix"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "格式",
|
||||
"link": null,
|
||||
"localized_name": "格式",
|
||||
"name": "format",
|
||||
"type": "COMBO",
|
||||
"widget": {
|
||||
"name": "format"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Ping-Pong",
|
||||
"link": null,
|
||||
"localized_name": "Ping-Pong",
|
||||
"name": "pingpong",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "pingpong"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "保存到输出文件夹",
|
||||
"link": null,
|
||||
"localized_name": "保存到输出文件夹",
|
||||
"name": "save_output",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "save_output"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "pix_fmt",
|
||||
"type": [
|
||||
"yuv420p",
|
||||
"yuv420p10le"
|
||||
],
|
||||
"widget": {
|
||||
"name": "pix_fmt"
|
||||
}
|
||||
},
|
||||
{
|
||||
"link": null,
|
||||
"name": "crf",
|
||||
"type": "INT",
|
||||
"widget": {
|
||||
"name": "crf"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "保存元数据",
|
||||
"link": null,
|
||||
"localized_name": "保存元数据",
|
||||
"name": "save_metadata",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "save_metadata"
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "修剪音频",
|
||||
"link": null,
|
||||
"localized_name": "修剪音频",
|
||||
"name": "trim_to_audio",
|
||||
"type": "BOOLEAN",
|
||||
"widget": {
|
||||
"name": "trim_to_audio"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "124",
|
||||
"source_values": {
|
||||
"crf": 19,
|
||||
"filename_prefix": "video/ComfyUI",
|
||||
"format": "video/h264-mp4",
|
||||
"frame_rate": 60,
|
||||
"loop_count": 0,
|
||||
"pingpong": false,
|
||||
"pix_fmt": "yuv420p",
|
||||
"save_metadata": false,
|
||||
"save_output": true,
|
||||
"trim_to_audio": false,
|
||||
"videopreview": {
|
||||
"hidden": false,
|
||||
"params": {
|
||||
"filename": "ComfUI_00004-audio.mp4",
|
||||
"format": "video/h264-mp4",
|
||||
"frame_rate": 60,
|
||||
"fullpath": "E:\\ComfyUI-Data\\output\\video\\ComfUI_00004-audio.mp4",
|
||||
"subfolder": "video",
|
||||
"type": "output",
|
||||
"workflow": "ComfUI_00004.png"
|
||||
},
|
||||
"paused": false
|
||||
}
|
||||
},
|
||||
"title": null
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/高清放大/视频模型放大插帧(简单快速版).json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "视频模型放大插帧(简单快速版)"
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,190 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"check_state": "unchecked",
|
||||
"checked_at": null,
|
||||
"missing": [],
|
||||
"model_locations": "待目标机提供",
|
||||
"models": [],
|
||||
"node_packs": [],
|
||||
"node_types": [
|
||||
"MiniMaxH3GuidedWriter",
|
||||
"MiniMaxH3PromptCheck",
|
||||
"PreviewAny"
|
||||
],
|
||||
"source": null
|
||||
},
|
||||
"draft": true,
|
||||
"errors": [
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:MiniMaxH3GuidedWriter"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:MiniMaxH3PromptCheck"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewAny"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "待提供目标机节点定义:PreviewAny"
|
||||
},
|
||||
{
|
||||
"fix": "按具体节点补材料或提供原 ComfyUI API 导出。",
|
||||
"symptom": "未得到可执行节点"
|
||||
}
|
||||
],
|
||||
"io": {
|
||||
"inputs": [],
|
||||
"outputs": []
|
||||
},
|
||||
"materials": [],
|
||||
"params": [],
|
||||
"purpose": "源目录:example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大;工作流:Minimax-H3提示词增强。用途待逐节点复核。",
|
||||
"snapshot_sha": "74234e98afe7498fb5daf1f36ac2d78acc339464f950703b8c019892f982b90b",
|
||||
"source_links": [
|
||||
{
|
||||
"link": [
|
||||
336,
|
||||
169,
|
||||
0,
|
||||
170,
|
||||
2,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
337,
|
||||
170,
|
||||
0,
|
||||
171,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
},
|
||||
{
|
||||
"link": [
|
||||
338,
|
||||
170,
|
||||
8,
|
||||
172,
|
||||
0,
|
||||
"STRING"
|
||||
],
|
||||
"scope": ""
|
||||
}
|
||||
],
|
||||
"source_nodes": [
|
||||
{
|
||||
"class_type": "MiniMaxH3GuidedWriter",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"name": "options",
|
||||
"shape": 7,
|
||||
"type": "H3_REWRITER_OPTIONS"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "169",
|
||||
"source_values": [
|
||||
"图1的男人和图2的女人赤身躺在床上,女人跨坐在他身上,缓慢地起伏,双手撑在他胸口,头向后仰,呼吸越来越急。男人仰面躺着,喘息着低声说:\"看着我。\"女人俯下身吻他,镜头从侧面缓慢推近。\n",
|
||||
"on disk: Qwen3.5-9B-Uncensored-HauhauCS-Aggressive-Q4_K_M.gguf [qwen35, 5.2 GB]",
|
||||
"T2VA",
|
||||
"16:9",
|
||||
10,
|
||||
true,
|
||||
42,
|
||||
"fixed",
|
||||
false,
|
||||
"",
|
||||
"",
|
||||
false,
|
||||
"",
|
||||
false,
|
||||
""
|
||||
],
|
||||
"title": "Write the prompt"
|
||||
},
|
||||
{
|
||||
"class_type": "MiniMaxH3PromptCheck",
|
||||
"inputs": [
|
||||
{
|
||||
"link": null,
|
||||
"name": "options",
|
||||
"shape": 7,
|
||||
"type": "H3_REWRITER_OPTIONS"
|
||||
},
|
||||
{
|
||||
"label": "ref_0",
|
||||
"link": null,
|
||||
"name": "references.ref_0",
|
||||
"shape": 7,
|
||||
"type": "IMAGE,VIDEO,AUDIO"
|
||||
},
|
||||
{
|
||||
"link": 336,
|
||||
"name": "prompt",
|
||||
"type": "STRING",
|
||||
"widget": {
|
||||
"name": "prompt"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "170",
|
||||
"source_values": [
|
||||
"",
|
||||
"T2VA",
|
||||
5
|
||||
],
|
||||
"title": "Check it against the H3 rules"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewAny",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 337,
|
||||
"name": "source",
|
||||
"type": "*"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "171",
|
||||
"source_values": [],
|
||||
"title": "The finished prompt"
|
||||
},
|
||||
{
|
||||
"class_type": "PreviewAny",
|
||||
"inputs": [
|
||||
{
|
||||
"link": 338,
|
||||
"name": "source",
|
||||
"type": "*"
|
||||
}
|
||||
],
|
||||
"mode": 0,
|
||||
"node_id": "172",
|
||||
"source_values": [],
|
||||
"title": "What the check found"
|
||||
}
|
||||
],
|
||||
"source_notes": [],
|
||||
"source_path": "example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json",
|
||||
"status": {
|
||||
"doc_done": false,
|
||||
"exec_verified": false,
|
||||
"imported": true
|
||||
},
|
||||
"steps": [
|
||||
"打开源工作流 example_ComfyUI_workflows/0-基础处理:图像合并-音频分离-视频截取合并-图像视频放大/Minimax-H3提示词增强.json,逐项核对下列源节点与注释。",
|
||||
"补齐节点定义、模型来源及所需素材;完成输入输出映射核对。",
|
||||
"明确触发真实测试后核对产物;本批未提交生成任务。"
|
||||
],
|
||||
"title": "Minimax-H3提示词增强"
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user