Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Currently I'm using both of your standalone offline tools. I have been generating material in Aiimages over the last half a year, and this month have started using InvokeAi mainly for the Unified Canvas feature. Taking images made in Aiimages, and importing them to InvokeAI to develop them further with the canvas toolset.

I have three instances/installs of Aiimages that I use for separate content/workflows using different models, and also because after 20k+ images are in history, in my experience it gets a little slow and frequently crashy when scrolling through the vast galleries.

With InvokeAi, I find its design more of a hassle for accessing earlier generations because it only loads 50 (or is it 100?) images in to cache, and then I have to constantly scroll down and click to load another 50/100 images. I generate LOTS of images per prompt so accessing the images becomes cumbersome in InvokeAi. Very klunky and limiting in contrast with Aiimages, in that respect. Pros and Cons yo!

For my workflow, being able to load up one of the Aiimages instances and quickly scrolling the history to get the precise prompt for an image to work on inside InvokeAi's unified canvas has been invaluable.  So while I still have the images, and still have the dream_md / .txt prompt histories for each of the three Aiimages instances intact in their respective folders, I can no longer easily scroll the history to access the image with corresponding prompts.

Aiimages handles the Style/Content fields a little differently to InvokeAi with its Prompt/Negative fields. For instance, if I copy a Style/Content prompt from Aiimages into InvokeAI's prompt field, all is well until I reload the prompt at a later stage, as it then takes the original prompting character/token sequence and populates the Negative prompt field with any [negatives] from the original Aiimages prompt. It appears to modify the generated output aesthetic quite dramatically at times when this happens, so I usually just copy the prompt from Aiimages back in to the InvokeAi prompt field each time I want to return to a theme (say for going past the 1024 x 1024 limit in Aiimages) to keep the precise prompt.

If I'm not mistaken, this also means the metadata when taking an image from one application to the other changes the numerical(/character?) string that the prompts are converted into, so I very much hope to retain the history of images generated in my Aiimages instances over the last 6 months inside Aiimages for easy access of/reference to the original prompts.

Thanks so much for releasing these tools for the beginners, the Unity devs in the case of Aiimages, and for the folk who just like to run their machines offline to avoid the overlords snooping and auto-update tampering with their delicate work environments! :D x

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