EN · A lightweight desktop app that reads and neatly displays the generation metadata (prompt, model, sampler, seed, size, LoRA, …) embedded in AI images created with ComfyUI, A1111, Krita AI Diffusion, and more. It supports not only the SDXL family but also many configurations of various models such as ANIMA / Qwen Image.
JA · ComfyUIやA1111、Krita AI Diffusionなどで作られたAI生成画像の生成条件のメタ情報(プロンプト・モデル・サンプラー・seed・サイズ・LoRA など)を読み取って見やすく表示する軽量デスクトップアプリです。SDXL系だけでなく、ANIMA / Qwen Imageなどの様々なモデルのいろいろな構成に対応しています。
🎥 YouTube: 鷹の目週末プログラマーチャンネル · ✍️ Blog: happy-shibusawake.com · 📝 Note: takaweekendprog こちらで画像生成AIなどの解説をしています / Tutorials on AI image generation & more
Existing prompt readers (e.g. SD Prompt Reader) parse the ComfyUI prompt JSON by looking for a
fixed set of node class_types (CheckpointLoaderSimple, CLIPTextEncode, LoraLoader, …).
ANIMA images use a different graph (UNETLoader, CLIPLoader type=qwen_image,
TextEncodeQwenImageEdit, LoraLoaderModelOnly, EmptyQwenImageLayeredLatentImage), so those
readers can't show the conditions.
Comfy Meta Reader uses a sampler-rooted, registry-driven parser: it starts at the final
KSampler, then traces positive/negative conditioning, the model/LoRA chain, and the latent —
resolving node types from a small data table (NodeRegistry). Adding a new family = adding entries
to that table, not rewriting the parser.
| Family | Status |
|---|---|
ANIMA / Qwen Image (UNETLoader + CLIPLoader qwen_image + TextEncodeQwenImageEdit) |
✅ |
AnimagineXL / SDXL (CheckpointLoaderSimple + CLIPTextEncode) |
✅ |
| Multi-LoRA + ControlNet + regional conditioning (combine / mask / area) | ✅ |
A1111 / SD WebUI parameters string |
✅ (basic) |
| Flux / SD3 | scaffolded (latent/loaders registered) |
Extracted fields: positive / negative prompt, model (checkpoint or unet), text encoder (+type),
VAE, LoRA list (with model/clip strength; model-only shows clip n/a), sampler, scheduler, steps,
CFG, seed, denoise, size, ControlNet.
- Download
ComfyMetaReader.Gui.exefrom the Releases page (Windows, no install needed). - Run it and drag & drop a PNG (or click Open image…).
- The generation conditions appear on the right. Use Copy / Copy JSON as needed.
dotnet build -c Release
# CLI (for testing):
dotnet src/ComfyMetaReader.Cli/bin/Release/net8.0/ComfyMetaReader.Cli.dll <image.png> [--json]dotnet publish src/ComfyMetaReader.Gui -c Release -r win-x64 `
-p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true `
-p:EnableCompressionInSingleFile=true --self-contained true -o publish.NET 8 · C# · Avalonia UI · MIT License.
「この画像、どんな設定で作ったんだっけ?」
Comfy Meta Reader は、AI生成画像からプロンプトやモデル、LoRA、Sampler設定などの生成情報を読み取ります。 画像をドラッグ&ドロップするだけで、生成条件をすぐに確認できる軽量でサクサク動く便利ツールです。
Comfy Meta Reader は KSampler 起点・レジストリ駆動のパーサを採用。最終 KSampler から positive/negative、model/LoRA チェーン、latent を辿り、内容を確認し、表示するシンプルな機構です。
| ファミリ | 状態 |
|---|---|
ANIMA / Qwen Image(UNETLoader + CLIPLoader qwen_image + TextEncodeQwenImageEdit) |
✅ |
AnimagineXL / SDXL(CheckpointLoaderSimple + CLIPTextEncode) |
✅ |
| 複数LoRA + ControlNet + 領域指定(combine / mask / area) | ✅ |
A1111 / SD WebUI の parameters 文字列 |
✅(基本対応) |
| Flux / SD3 | 雛形対応(latent/loader 登録済み) |
取得項目: positive / negative プロンプト、モデル(checkpoint または unet)、テキストエンコーダ(+type)、
VAE、LoRA一覧(model/clip 強度。model-only は clip n/a)、sampler、scheduler、steps、CFG、seed、denoise、サイズ、ControlNet。
- Releases から
ComfyMetaReader.Gui.exeをダウンロード(Windows・インストール不要)。 - 起動して PNG をドラッグ&ドロップ(または Open image…)。
- 右側に生成条件が表示されます。必要に応じて Copy / Copy JSON。
dotnet build -c Release
# CLI(検証用):
dotnet src/ComfyMetaReader.Cli/bin/Release/net8.0/ComfyMetaReader.Cli.dll <画像.png> [--json]dotnet publish src/ComfyMetaReader.Gui -c Release -r win-x64 `
-p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true `
-p:EnableCompressionInSingleFile=true --self-contained true -o publish.NET 8 · C# · Avalonia UI · MIT ライセンス。
Created by 鷹の目週末プログラマー (Taka Weekend Programmer) (@taka-pro). If this tool is useful, a star ⭐ is appreciated! / 役に立ったら ⭐ をいただけると嬉しいです。
こちらで画像生成AIなどの解説をしています / I share tutorials on AI image generation and more here:
- 🎥 YouTube — 鷹の目週末プログラマーチャンネル
- ✍️ Blog — happy-shibusawake.com
- 📝 Note — takaweekendprog
🤖 Powered by Claude Code
Inspired by receyuki/stable-diffusion-prompt-reader (MIT). This is an independent reimplementation focused on cross-family ComfyUI graphs (incl. ANIMA).
MIT © 鷹の目週末プログラマー (taka-pro)
- Core engine: PNG metadata + family-agnostic ComfyUI graph parser
- CLI verification (ANIMA / AnimagineXL / dual-region)
- Avalonia GUI: drag & drop, image preview, copy (text/JSON), dark mode
- Single-file self-contained win-x64 exe (compressed, ~43 MB)
- App icon
- JPEG / WEBP metadata,
workflowchunk support - Flux / SD3 verification on real images
- Export to file (txt/json), A1111-style string conversion
- GitHub Actions: auto-build win-x64 release exe
