DSH 插件市场DeepSeek Harness 社区插件目录

comfy-png-inspector

已验证 会话与消息 ★ 16 0.1.0

Inspect ComfyUI PNG metadata from DeepSeek Harness: LoRA chain with strengths, sampler settings, and prompts.

一句话定位

Inspect ComfyUI PNG metadata from DeepSeek Harness: LoRA chain with strengths, sampler settings, and prompts.

安装方式

在 DSH 的 web profile 中执行下面的命令;装完刷新页面即可。

$ dsh plugin --profile web add 'git+https://github.com/zzcyydshhh/comfy-png-inspector.git#4e5a3a9ee22b08ac32b98a2854e46baea85c7226'

兼容的 DSH 版本

>=0.0.1-rc.1 <0.1.0 || >=0.1.0-rc.1 <0.2.0-0 || >=0.2.0-rc.1 <0.3.0-0

作者与热度

zzcyydshhh · ★ 16 · 更新于 2026-11-03

关于这个插件

English | [简体中文](README.zh-CN.md)

ComfyUI Params Inspector

One PNG is a full recipe. Drop a ComfyUI image on the page and you get the workflow that produced it, the whole LoRA chain, and every sampler setting — export it as-is, or pour those parameters into your own template and get a fresh workflow back.

A single page you open by double-clicking index.html. No dependencies, no uploads: images never leave your machine and nothing touches the network.

> Every filename, model name, LoRA name and prompt in the screenshot is synthetic demo data, unrelated to any real asset. The UI itself is in Simplified Chinese.

---

What it does, in thirty seconds

| What you want | What you get |

|---|---|

| "How was this image made?" | Drop the PNG (or a whole output folder) → LoRA order and strengths, seed / steps / CFG / sampler, base model, CLIP, VAE, both prompts |

| "I want to reproduce that result" | Click export this image's workflow JSON → a .workflow.json you can drop back onto a ComfyUI canvas |

| "The PNG has parameters but no canvas graph" | Load a template workflow → rebuild from template → every parameter (including the full LoRA chain) is poured in and a new workflow is written out |

| "I need the parameters for a few hundred old images" | Export CSV / JSON, or batch-pack every workflow into a zip |

---

Four things you think you can see, but can't

1. On the canvas ≠ in the run. The demo image has #91 and #92 sitting right there — both mode: 4 (bypassed), absent from the execution graph entirely. They get their own list here: present but not part of the render.

2. Reading the prompt directly gives you an empty string. CLIPTextEncode.text is usually blank because the text arrives over a link (the output of ZhPromptEnhance, say). The tool walks the link to its source and names it: CLIPTextEncode#4.text[slot 0] ← ZhPromptEnhance#79.text[slot 0].

3. The negative prompt may be computed at runtime. Slot 1 of an enhancer is generated on the spot and never stored in the PNG. It is marked generated at runtime instead of passing the enhancer's input off as the result.

4. Parameters are scattered across dozens of nodes. Seventeen LoRAs chained together, each at its own strength — the tool climbs back from KSampler.model and lists them in true execution order.

---

Features

  • Browse: pick a folder (recursive) / drop a folder / drop single PNGs. Inline thumbnails in the list, a 212px preview that opens full-size in the detail pane.
  • Parameters: seed, steps, CFG, sampler / scheduler, denoise, latent, base model, CLIP (with type), VAE, save prefix, pre-sampler patches (ModelSamplingAuraFlow, CFGNorm, …).
  • LoRA chain: execution order plus strength, drawn as a zero-centred slider (green positive, red negative), copyable as one line per LoRA.
  • Prompts: link resolution with slot annotations, expandable and copyable.
  • Search: filename / LoRA name / prompt body. Ctrl+K to focus, ↑ ↓ to move.
  • Export: parameter table as CSV (UTF-8 BOM, opens cleanly in Excel) and as JSON.
  • Workflow export: emit .workflow.json verbatim, or zip a whole batch.
  • Template rebuild: use an existing workflow as a template, pour the parsed parameters in, get a new workflow. The template is deep-cloned and never written back.
  • DeepSeek Harness plugin: the same parser ships as a DSH bundle exposing comfy_png_inspect to the model.

---

Quick start

git clone https://github.com/zzcyydshhh/comfy-png-inspector.git
cd comfy-png-inspector

Open comfy-png-inspector.html (Chrome / Edge 103+, DecompressionStream required) and drag your ComfyUI output folder into the window.

  • The index.html at the repo root is a one-line redirect kept for GitHub Pages; opening it offline lands on the app too.
  • The UI is bilingual (Chinese / English): switch with 中文 / EN in the top bar, the choice is remembered, and the default follows your browser language.
  • Force a language with the URL: comfy-png-inspector.html?lang=en (or ?lang=zh).

---

Reproducing a workflow: two modes, don't mix them up

After selecting an image the detail pane offers two buttons. The difference is how much data the file carries:

| | Export verbatim | Rebuild from template |

|---|---|---|

| Button | Export this image's workflow JSON | Rebuild from template |

| Needs | A workflow chunk inside the PNG | Any canvas workflow loaded as a template |

| Result | The exact canvas from the moment of generation — node positions, links, bypass state | The template's layout, with the parsed parameters poured in |

| Best for | Straight reproduction, most reliable | API-only PNGs, or mapping back onto the template you use today |

Rebuilding replaces base model / CLIP / VAE / latent size / SaveImage prefix / prompt / KSampler fields, then rebuilds the entire LoRA chain in parsed order and rewires its tail into the consumer the template originally used (e.g. the model input of ModelSamplingAuraFlow). An itemised change list is shown first, followed by a self-check: link endpoints exist, no self-links, KSampler wiring complete.

---

CLI

python cli/comfy_png_parse.py ./output --no-text
python cli/comfy_png_parse.py ./output --csv index.csv --json index.json
python cli/comfy_png_parse.py a.png --full     # full prompt text

Standard library only. Same output as the web UI.

---

DeepSeek Harness plugin

This repository is also a DSH bundle (dsh.bundle in package.json). Installed into the Harness it adds one model-facing tool:

comfy_png_inspect(path, limit?, include_prompt?)

Point it at a PNG or an output directory and it reports, per image, the LoRA chain, sampler settings, base model / CLIP / VAE, latent size, prompts, and bypassed nodes. Parsing is shared with the web UI through comfy-png-core.js — there is no second implementation.

dsh plugin add https://github.com/zzc

同分类对比

同一分类下 Star 最高的 5 个,便于横向比较。

插件作者 Star版本更新
dsh-purge kingcharleslzy-ai 6.3K 1.6.86 2026-11-08
dsh-unrestricted yexi-by 1.1K 0.2.8 2026-11-05
dsh-univer-office dream-num 707 0.4.0 2026-11-03
dsh-synapse liangmianya 697 0.5.7 2026-11-04
dsh-qqbot tencent-connect 570 0.5.5 2026-11-08