invokeai_gallery
Browse, search, download, and manage generated images from InvokeAI.
Instructions
Browse, search, download, and manage generated images.
[RATIONALE] The gallery is a single searchable feed (gallery endpoint) with per-image actions; one portmanteau keeps discovery and mutation together.
Return Format
{"success": bool, "operation": str, "data": {...}, "message": str, "images": [{"image_name", "url", "thumbnail_url", "width", "height"}]}
Examples
invokeai_gallery(operation="list", limit=20) invokeai_gallery(operation="search", query="cyberpunk") invokeai_gallery(operation="download", image_name="abc123.png")
Notes:
URLs returned are absolute (InvokeAI host), usable in chat/browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max images. | |
| query | No | Search text for operation='search' (prompt metadata). | |
| offset | No | Pagination offset. | |
| starred | No | Filter to starred images only. | |
| board_id | No | Filter images by board. | |
| operation | Yes | Gallery operation to perform. | |
| image_name | No | InvokeAI image_name (required for get, metadata, download, delete, star, unstar). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||