Someone in Free Cities created a dynamic AI image generator that will create images as the game is played. I'm interested in making something similar for this game, but I'm really struggling with Qgen. I know there's some python among the game files, but does anyone know if QSP has python integration?
Let me tell u how AI generation in Free Cities works first (spoiler - it sux):
1. There is tracking of all data related to a slave, if anything changes - image gets regenerated.
2. All gathered slave data is converted to AI tags next, so for example if age is less than 20 "a young girl" is used, or of >35 "a mature woman". Same is done to everything else, including clothes and all other stuff so AI will better understand what to generate.
3. Then this data is sent to A1111 API in the background and u then after some time u get generated image back.
4. This generated image is saved to local database, so every time u need to show it u don't generate it again and instead get it from the local DB.
5. When the base data changes u go to step 1 and update the image.
Why it sux then?
Well, to generate a good AI art a complicated process is needed, otherwise the updated image will have a totally different girl in it, not the one u expected. Sure, she still will have same hair and eyes color, but it will be a totally new girl.
On top of that there are resolution problems. Like if u will use same prompt and generate 700x500 pic and 1500x1200 pic - those will be totally different. To the point that 1500x1200 pic will have 2 girls instead of 1 and a lot of other stuff that u didn't ask for. So u need to have a different prompt builder for each resolution or just lock to 1. But while almost any GPU can generate 700x500 pic, 1500x1200 pic can be generated only by high end GPUs, but it will have a lot better quality.
And finally there is hands problem. Free Cities deal with it by hiding all hands (hands behind the back tag and same pose), which is kinda meh approach.
To solve all this I've made my own system that generates art and
keeps the same girl while doing it. I will try to incorporate it to Free Cities next year, but unfortunately even the most advanced system will still lose to Elohiem's webgl, so it kinda pointless.
As for Jacko I think it's better to pregenerate all art in advance, which Im already doing. Jacko doesn't have a lot of paramerers compared to Free Cities, so it is possible to pregenerate all + it will give the best result since all images will be picked by hand. I will make a post a bit later about this since I still need to do some work on it before that, but it looks amazing, trust me.