CivArchive
    Grimoire - Prompt Builder with AI Generation for SD / ComfyUI - v1.2.2
    NSFW
    Preview 132390075
    Preview 132390104
    Preview 132390107
    Preview 132390113
    Preview 132390115
    Preview 132390116
    Preview 132390118

    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.

    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 をご確認ください。

    GitHub

    https://github.com/omamesamba-del/grimoire

    Description

    This is a major update. Three new headline features, a redesigned sidebar, and a pile of chip-level improvements.

    Slot Mode

    The biggest addition in this release. Slot Mode splits your positive prompt into named slots — Quality, Character, Outfit, Pose, Camera, Background, and more. Toggle it with the ⊞ button in the Grimoire header.

    Click a slot to focus it, then click any tag in the library to insert it there. Each slot is its own mini prompt area with full chip support. Drag chips between slots. Rename, reorder, add, or remove slots freely — all saved to localStorage. Right-click a slot chip to assign a custom color for quick identification.

    Preview Window

    Click the 🖼 button to open a floating window that automatically displays images as they are generated — no alt-tabbing required. The window stays out of your way until something new arrives, then flashes to show the latest result. Size and position are remembered between sessions. The window theme syncs with grimoire, and it closes automatically when grimoire exits.

    Prompt History

    Every time you hit Send, grimoire saves a copy of your current prompt (up to 50 entries). Click the 🕐 button to browse your history and restore any previous prompt in one click. Duplicate consecutive entries are skipped.

    Other improvements

    • Vertical icon sidebar — replaces the horizontal tab bar; drag to reorder modes to your preference

    • Separator chips — insert [=Label=] dividers to visually group your prompt; double-click to rename

    • Manual chip color — right-click any chip (or a multi-selection) to set a custom color from a 12-color palette or a hex picker; persists across sessions

    • Wildcard display — __xxx__ tokens appear as teal chips and are passed through as-is on send

    • AND tag search — space-separated keywords filter the tag library by all terms at once

    • Ctrl+Wheel weight — hold Ctrl and scroll over a chip to adjust its weight; works on multi-selection too

    • Middle-click to delete — now unified across all chip types: regular chips, separators, and line breaks

    • LoRA popup pinned — the hover popup no longer follows your cursor, so trigger word buttons stay clickable

    • Disabled chip auto-reset — clicking a disabled chip re-enables it instead of silently doing nothing

    Bug fixes

    • Random chip: deeply nested paths (e.g. Category > Group > Subgroup) now display the full breadcrumb and resolve correctly

    • Preview window: Windows Explorer thumbnail browsing no longer triggers false image updates

    • Tag tree: navigating into a subgroup now correctly identifies the parent category

    • Gen mode: default field values (Checkpoint, Steps, Width/Height, CFG) are no longer pre-filled with stale data

    Previous updates

    • v1.1.0 — Suffix Zone. Drag tags from library to chip area. Ctrl+Shift+Z redo. Bulk actions in suffix. Frequent tags limit raised to 60.

    • v1.0.8 / v1.0.7 — Chips: disable/enable from context menu. Quick-Add: Ctrl+Enter. HUD bulk selection. Checkpoint Apply fills Checkpoint field. Fix: default language is English.

    • v1.0.6 — LoRA / Embedding edit modal with CivitAI sample images, trigger words, and personal notes.

    • v1.0.5 — Fix: first launch builds tag library correctly. App icon. Style Palette "Close on Apply" option.

    今回は大型アップデートです。3つの目玉新機能、サイドバーの刷新、そしてチップ操作の大幅改善をお届けします。

    スロットモード

    今回最大の追加機能です。スロットモードはポジティブプロンプトを「品質・キャラ・服装・ポーズ・カメラ・背景…」などの名前付きスロットに分割して管理する機能です。Grimoire ヘッダーの ⊞ ボタンで切り替えます。

    スロットをクリックしてフォーカスし、ライブラリのタグをクリックするだけでそのスロットに挿入できます。各スロットは独立したチップ入力欄として機能します。スロット間のドラッグ移動も可能。スロットの追加・削除・リネーム・並べ替えは自由に行えます(設定は localStorage に保存)。スロットのチップを右クリックするとカスタムカラーを設定できます。

    プレビューウィンドウ

    🖼 ボタンでフローティングウィンドウが開き、画像が生成されるたびに自動で表示します。ウィンドウを切り替えて確認する必要がなくなります。新しい画像が来るとフラッシュエフェクトで通知。サイズと位置はセッション間で記憶され、grimoire のテーマと同期し、grimoire を終了すると一緒に閉じます。

    プロンプト履歴

    Send を押すたびにプロンプトが自動保存されます(最大50件)。🕐 ボタンで履歴一覧を開き、過去のプロンプトをワンクリックで復元できます。連続する同一プロンプトは重複して保存しません。

    その他の改善

    • 縦型アイコンサイドバー — 横並びタブから刷新。モードの表示順をドラッグで自由に変更可能

    • 区切りチップ — [=ラベル=] を挿入してプロンプトをグループ分けできます。ダブルクリックでラベルを編集

    • チップ色手動設定 — 右クリックメニュー(複数選択時は一括)から 12 色パレットまたはカスタムカラーを設定。セッション間で保持

    • ワイルドカード表示 — __xxx__ をティール色チップで表示。送信時はそのまま通過

    • タグ検索 AND 条件 — スペース区切りで入力した全キーワードに一致するタグのみ表示

    • Ctrl+Wheel でウェイト変更 — チップの上で Ctrl+スクロールするとウェイトを調整。複数選択時は一括適用

    • 中クリックで削除 — 通常チップ・区切りチップ・改行チップすべてで統一

    • LoRA ポップアップ固定 — ホバーポップアップがカーソルを追わなくなり、トリガーワードボタンをクリックできるように

    • 無効チップの自動リセット — 無効化されたチップを再追加すると自動で有効状態に戻る

    バグ修正

    • ランダムチップ: 深い階層(カテゴリ > グループ > サブグループ)のパス表示と解決が正しく動作するよう修正

    • プレビューウィンドウ: Windows エクスプローラーのサムネイル読み込みで誤発火する問題を修正

    • タグツリー: サブグループに移動した際に正しい親カテゴリが識別されるよう修正

    • Gen モード: Checkpoint・Steps・Width/Height・CFG などのデフォルト値に不正な初期値が入る問題を修正

    過去の更新

    • v1.1.0 — Suffix ゾーン。ライブラリからチップエリアへのドラッグ挿入。Ctrl+Shift+Z で redo。よく使うタグ上限を 60 に拡大。

    • v1.0.8 / v1.0.7 — チップの右クリック無効化/有効化。Quick-Add: Ctrl+Enter。HUD 一括選択。Checkpoint Apply 強化。

    • v1.0.6 — LoRA / Embedding 編集モーダル(CivitAI サンプル画像・トリガーワード・個人メモ)。

    • v1.0.5 — 修正: 初回起動のタグライブラリ生成。アプリアイコン追加。スタイルパレット「適用で閉じる」オプション。

    FAQ

    Other
    Other

    Details

    Downloads
    31
    Platform
    CivitAI
    Platform Status
    Available
    Created
    5/31/2026
    Updated
    6/12/2026
    Deleted
    -

    Files

    grimoirePromptBuilderWith_v122.zip

    Mirrors