diff --git a/docs/en/ImageManager.md b/docs/en/ImageManager.md index dc24eee..ff7f502 100644 --- a/docs/en/ImageManager.md +++ b/docs/en/ImageManager.md @@ -52,6 +52,18 @@ Select multiple images with `Ctrl + Click` (`Cmd + Click` on macOS) or `Shift + * **Queue Workflow**: Run a workflow with selected images as inputs in order (batch processing). * **Move to Trash**: Move selected images to Trash. +### Image Analytics + +Click the **BarChart2 icon** in the gallery header to open a modal showing image statistics. + +* **Total Images**: The total number of registered images. +* **Category Rankings**: Top 5 items for Positive Prompt, Negative Prompt, Tag, Model, Created Date, and Resolution. +* **Click to Search**: Click any item to switch to the search bar and run a search with the corresponding query (e.g., `tag:girl`, `pos:1girl`). +* **See All**: Click "See all" for each category to view the full list. You can filter by partial match and toggle count sort (ascending/descending). +* **Refresh**: Use the "Refresh" button in the modal to re-run the aggregation. + +Aggregation runs in the background on app startup, and results are cached for instant display. + --- ## 2. Image Detailed Viewer (Viewer) @@ -163,6 +175,7 @@ You can narrow results using the following syntax: | `id:` | Search by exact database ID | `id:123` | | `filename:` | Search by filename (exact or partial match) | `filename:image.png` `filename:img` | | `date:` | Search by date | `date:2024-01-01` (day), `date:2024-01` (month) | +| `resolution:` | Search by resolution | `resolution:1024x1024` | | `after:` | Search after a date | `after:2024-01-01` | | `before:` | Search before a date | `before:2024-01-01` | | `pos:` | Search Positive prompt only | `pos:cat` | diff --git a/docs/ja/ImageManager.md b/docs/ja/ImageManager.md index a2ca99d..d9364ed 100644 --- a/docs/ja/ImageManager.md +++ b/docs/ja/ImageManager.md @@ -45,6 +45,18 @@ ComfyUI 画面左側のサイドバーに表示されるパネルです。 * **Queue Workflow**: 選択した画像を順番に入力としてワークフローを実行します(バッチ処理)。 * **Move to Trash**: 選択した画像をゴミ箱へ移動します。 +### 画像分析 (Image Analytics) + +ギャラリーヘッダーの **BarChart2 アイコン** をクリックすると、画像の集計サマリを表示するモーダルが開きます。 + +* **総画像数**: 登録されている画像の総数。 +* **カテゴリ別ランキング**: Positive Prompt、Negative Prompt、Tag、Model、作成日、解像度ごとに上位5件を表示。 +* **項目クリックで検索**: 各項目をクリックすると、検索窓に移動し、対応する検索クエリ(例: `tag:girl`、`pos:1girl`)で検索を実行します。 +* **全部見る**: 各カテゴリの「See all」をクリックすると、全件リストを表示。部分一致での絞り込みや、カウントの昇順/降順切り替えが可能です。 +* **更新**: モーダル内の「Refresh」ボタンで、集計を再実行できます。 + +集計はアプリ起動時にバックグラウンドで実行され、結果はキャッシュに保存されるため、表示は即時に行われます。 + --- ## 2. 画像詳細ビューアー (Viewer) @@ -143,6 +155,7 @@ ComfyUI 画面左側のサイドバーに表示されるパネルです。 | `id:` | データベースのIDで完全一致検索 | `id:123` | | `filename:` | ファイル名で検索(完全一致、部分一致) | `filename:image.png` `filename:img` | | `date:` | 日付で検索 | `date:2024-01-01` (特定日), `date:2024-01` (月指定) | +| `resolution:` | 解像度で検索 | `resolution:1024x1024` | | `after:` | 指定日以降を検索 | `after:2024-01-01` | | `before:` | 指定日以前を検索 | `before:2024-01-01` | | `pos:` | Positive プロンプトのみ検索 | `pos:cat` |