grimoire is a prompt library and builder for Stable Diffusion / ComfyUI.
I tried many prompt management tools but couldn't find one that felt right — features were missing, or the overview was hard to read. So I built grimoire with exactly what I wanted.
Key Features
Tag library organized with YAML files. One button can hold multiple tags, acting like a preset.
Color-coded chips for easy readability at a glance. Right-click to assign a custom color — 12 presets + hex picker.
[New!] Style Palette with custom categories: add, delete, and rename palette categories freely to match your workflow.
Slot Mode: split your positive prompt into named slots (Quality, Character, Outfit, Pose, Camera, Background…). Click a slot, then click tags to fill it.
Suffix Zone: a dedicated row for boilerplate tags — always appended to the end of the final prompt, fully editable and saved in presets.
Preview Window: a floating window that auto-displays generated images as they appear. Syncs theme with grimoire, remembers size and position.
Prompt History: auto-saves your prompt on every Send (up to 50 entries), restorable with one click.
[New!] Pin main window: keep grimoire always on top with the 📌 button.
Randomization within categories, groups, and subgroups — including deeply nested hierarchies.
Danbooru tag autocomplete.
AI prompt generation via Ollama, Claude API, or OpenAI.
Image browser with PNG metadata viewer and one-click settings import.
CivitAI metadata fetch for LoRA / Embedding / Checkpoint (with sample image viewer and trigger word display).
Full generation settings (resolution, aspect ratio, Hires.fix, etc.).
WebUI and ComfyUI support.
WebUI / ComfyUI Integration
To use grimoire with Stable Diffusion WebUI or ComfyUI, a dedicated bridge extension / custom node is required. See GitHub for installation instructions.
WebUI (reForge / A1111): https://github.com/omamesamba-del/sd-webui-grimoire-bridge
ComfyUI: https://github.com/omamesamba-del/comfyui-grimoire-bridge
GitHub
https://github.com/omamesamba-del/grimoire
grimoire は Stable Diffusion / ComfyUI 向けのプロンプトライブラリ&ビルダーです。 いろんなプロンプト管理ツールを試してきましたが、しっくりくるものが見つからなかったので、自分が欲しいものをそのまま作りました。
主な機能
YAML ファイルで整理されたタグライブラリ。1つのボタンに複数タグをまとめてプリセット的に使用可能。
カラーコード付きチップで一目でプロンプトを把握。右クリックでチップ色を自由に変更(12色プリセット+カスタムカラー)。
[New!] カスタムカテゴリ対応のスタイルパレット: パレットのカテゴリを自由に追加・削除・リネームできます。
スロットモード: ポジティブプロンプトを「品質・キャラ・服装・ポーズ・カメラ・背景…」などの名前付きスロットに分割して管理。
Suffix ゾーン: 定番タグ専用の列。最終プロンプトの末尾に常に追記され、プリセットにも保存。
プレビューウィンドウ: 生成画像を自動でリアルタイム表示するフローティングウィンドウ。テーマ同期・サイズ位置記憶対応。
プロンプト履歴: Send ごとにプロンプトを自動保存(最大50件)、ワンクリックで復元。
[New!] メインウィンドウ ピン留め: 📌 ボタンで grimoire を常に最前面に固定できます。
カテゴリ・グループ・サブグループ単位でのランダム化(深い階層も対応)。
Danbooru タグオートコンプリート。
Ollama・Claude API・OpenAI による AI プロンプト生成。
PNG メタデータビューアとワンクリック設定インポート付きの画像ブラウザ。
LoRA / Embedding / Checkpoint の CivitAI メタデータ取得(サンプル画像ビューアとトリガーワード表示付き)。
解像度・アスペクト比・Hires.fix など生成設定の完全サポート。
WebUI・ComfyUI 対応。
WebUI / ComfyUI 連携
grimoire を Stable Diffusion WebUI または ComfyUI と連携するには、専用のブリッジ拡張機能 / カスタムノードが必要です。インストール方法は GitHub をご確認ください。
WebUI (reForge / A1111): https://github.com/omamesamba-del/sd-webui-grimoire-bridge
ComfyUI: https://github.com/omamesamba-del/comfyui-grimoire-bridge
GitHub
Description
Fix: First launch now correctly builds the tag library from bundled YAML files instead of carrying over dev data
Added: Application icon
Style Palette: "Close on Apply" checkbox — auto-closes the palette after applying a tag (works with click, Quick-Add, Danbooru autocomplete, and right-click)





