Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Thanks for the detailed review! :)

First the bad news: There is no easy way to restore the aiimages history file. :X
The good news: All those images still have their prompts/settings in the meta info. And InvokeAI can read those meta infos.

So I guess the best way atm to reproduce your workflow would be:
1) Open your aiimages output folder in your Windows Explorer, set the images to maximum size.
2) If you want to use the prompt of an image, copy it into the invokeai output folder.
3) In InvokeAI, you can click on the image and use the "use prompt" button on top.

Let me know if that workflow works for you. :X

In theory it could be possible to scan a folder, read the metadata and rewrite it into an aiimages history file. But that would be quite a bit of work for a deprecated tool. :X

Hey thanks so much for your reply. :)

As a temp workaround that could well be the solution, good thinking and thanks for the suggestion!

Sad/bad news indeed on all fronts, especially re: Aiimages' deprecated status D:

I absolutely love the design of Aiimages, and as a Unity dev I'm still planning to integrate it in to some of my projects. In the Unity space it's still IMHO the best SD tool available, by far, and I've tried them all (except Keijiro Takahashi's recent addition for the Mac folk). Props are due for the work you've put into it!

My waifu is fairly experienced with Python. If you have a sense of what would be involved to scan and rewrite the history file, would you be ok with sharing your pseudo-code thoughts on what steps would be required in Python to achieve the history restoration?

If we have any luck achieving it, we'd of course share the scripts with the community in case anyone else encounters the issue.

Many thanks again Sunija! <3 x


Can you poke me on Discord (Sunija#6598)? :3

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