feat: add configurable image subfolder strategies by Pfannkuchensack · Pull Request #8969 · invoke-ai/InvokeAI

@Pfannkuchensack

Add support for organizing output images into subfolders instead of a
single flat directory. Four strategies are available via the
image_subfolder_strategy config setting: flat (default, current
behavior), date (YYYY/MM/DD), type (by image category), and hash (UUID
prefix for filesystem performance). The strategy can be changed at any
time - existing images keep their paths, only new images use the new
strategy.