TL;DR: I made the script that restores your history.
0) For good measure: Make a backup of your output folder and your history.
1) Download https://aiimag.es/data/aiimages_112_restore_history.zip
2) Unzip it in your aiimages folder
3) Start aiimages -> Settings -> restore history. If you got a lot of images, it might seem stuck. Just leave it running until the button have an effect when you hover them.
4) Restart aiimages.
Limitations:
- Content/Style fields will be both in "Content" :(
- Not all settings are restored, but the prompt, steps, cfg scale etc will. Img2img won't. :(
If you are a dev:
You can expand the method to e.g. work with img2img or detect templates, so you can remove the template prompt from the content. The method is called "RestoryHistory" and is found here: https://github.com/GothaB/aiimages/blob/main/Assets/modules/_main/ToolManager.cs