Metadata-indexer and Viewer for AI-generated images
UNIQUE constraint failed: Image.Path
. In case you are affected, try looking at 'https://github.com/RupertAvery/DiffusionToolkit/issues/218#issuecomment-1939824894'Value cannot be null (Parameter 'element')
errorsDuplicate entries will be removed when you upgrade! This only applies to entries that have the exact same path, which can be caused by manually scanning while Diffusion Toolkit is still working on newly detected files (watched folders).
Images entries will no longer be automatically removed when the image is unreachable. This change is primarily for users who work with removable storage. Previously, scanning would look for any missing images and remove them. With an offline drive, images would suddenly be removed upon starting Diffusion Toolkit.
Images that cannot be loaded will display as "unavailable". This will also affect images that were moved or deleted outside the app. To avoid this, it's recommended to move or delete previously indexed images using Diffusion Toolkit. To remove an image marked unavailable, select the image and right-click > Remove, or press CTRL-X or CTRL-Delete.
Diffusion Toolkit is localized! Translations are currently mostly ChatGPT-provided, so expect grammatical errors. Some areas are not yet translated. Want to contribute to localization? See Localization\README.md
The Albums pane has been replaced with a general-purpose navigation / filter pane. If you find your albums missing, show it with View > Albums.
A folder treeview has been added. While this supports basic adding/removing a folder, some expected functions like being able to move folders is not currently implemented. You can drag images to folders to move them.
Fit-to-preview no longer locks the zoom in the preview. Instead, it will remain on fit to preview until you middle-scroll to zoom or press CTRL - or +.
The popout preview button has been moved to the title bar next to the minimize button. If you close the popout, you can show the preview in the app with the Toggle preview button next to the popout button.
NOTE: This version makes changes to the database schema. On startup, a copy of your database will be created before changes are made.
NOTE:Some bugs have been fixed. Please redownload. Sorry!
models.json
)cache.json
and local modelsIt's been a while since the last update. I've been busy moving to another country, and now that I'm settled in, we can get back to updates.
Thanks once again for everyone who submitted bug reports.
This is a HotFix release that fixes issues with JPG files not loading (Missing XMPCore.dll)
See https://github.com/RupertAvery/DiffusionToolkit/releases/tag/v1.2 for updates.
This includes the HotFix release that fixes issues with JPG files not loading (Missing XMPCore.dll). This hotfix update is provided for users who will be directed to this release. This release is the same as v1.2.1. You can download either. The v1.2.1 is provided for users who want to auto-update.
If you are on v1.0 or v1.1, please update manually for now, as the updaters in those versions are broken.
Dragging from the thumbnail into Explorer now works as Explorer does. By default, the event performed is a Move. Hold Ctrl down while dragging to perform a Copy (the cusor will change)
WARNING - a move performed using this feature is the same as doing it in explorer: Diffusion Toolkit has no control over this, and you will lose Diffusion Toolkit metadata (favorites, rating, nsfw) even when moving to a nested Diffusion Folder.
You can now drag from the Preview pane / window into Explorer / any app that is a drop target, such as PNGInfo, any browser, Photoshop, etc.
This only takes effect when the image is not zoomed it (no scrollbars).
Added in_album: <true|false>
query to allow users primarily to find images that are not yet in any album. This should eventually work is way into some easier-to-access UI setting, not to mention the filter UI.
Added alternate aesthetic score. (https://github.com/vladmandic/sd-extension-aesthetic-scorer) The metadata Tag Description is "Score:", but it is mapped to same field as "aesthetic_score" just so it can be sorted on and filtered without having a separate field. Thanks to abariba for the code suggestion.
Fixed bug where removed images would not reappear in folder view when rescanned. Probably affects newly scanned images not appearing in folders as well. Please Edit > Rebuild Metadata to update folder information.
Fixed issue for Rebuilding Metadata and AutoTag NSFW Tool, any previously manually tagged NSFW would be untagged.
Borderless Window - Gets rid of the unsightly light-colored titlebar, especially in Dark mode. May have some minor side effects like missing the window alignment popup menu on the Maximize/Restore button.
Also applied to popout Preview for a better viewing experience.
Built-in Image Viewer - Double-clicking an image will now open a maximized Preview Popout if the Preview is not already popped out.
While in this view, you can navigate images with the Left and Right cursor keys. You can also cross pages once you reach the beginning or end of the current page. See Improved Navigation in Thumbnail for more details. Note that there will be a slight delay when crossing pages.
You can dismiss the image viewer/popout with Escape.
Optional Recursive Folder Scan for Diffusion Folders. See Settings > General tab
Exclude Folders from Folder Scan. Only relevant if Recursive is enabled, and only allows subfolders of Diffusion Folders.
Improved Zoom in Preview / Image Viewer
Ctrl +/-
now keeps the center of the zoom at center of the viewport.Show/Hide Albums Panel - Put the Albums panel away when not in use. Shortcut: Ctrl+Shift+A
Faster Mouse Scrolling Behavior in Thumbnail - Scrolling was painfully slow before. It's much faster now.
Improved Navigation in Thumbnail
New Keyboard Shortcuts
Ctrl+Shift+A
- Show/Hide Album PaneCtrl+Shift+P
- Show/Hide PreviewCtrl+1
- Folders ViewCtrl+2
- Album ViewCtrl+3
- Diffusions ViewCtrl+4
- Favorites PageCtrl+5
- Recycle BinCtrl+6
- Prompts ViewCtrl+R
- Scan folders for new imagesF5
- Refreshes the current viewImproved Manual (F1) - Table of Contents hyperlinks now work
config.json
and diffusion-toolkit.db
to your executable folder. You can also do it manually.model: realistic*
- match images with model name starting with "realistic".seed: 123*
will show all images have a seed that starts with 123
seed: 123456???000
will show all images have a seed that starts with 123456
, matches any 3 digits, and ends with 000