ninjaboi4

New Member
Mar 29, 2019
8
16
Hello, thanks for the effort, but it says "Unable to connect to the Stable Diffusion API. Please make sure the API is running and try again."
I reverted to "GenAI_Modified_fix" and it connects fine.
Will try to fix it in the upcoming week, please send me any extra ideas or requests you have so I can add it at the same time.
 

Noname76

New Member
Oct 2, 2017
7
6
The only thing I can think if is the needed extension, ABG Extension. I realize now I never mentioned it in the post you quoted, only my first post regarding my first edits to the mod.
View attachment 4945469
If you haven't installed that, maybe that's the reason.

If you're using Forge, rather than Auto1111, it seems there might be other things to look at, check this post by ycbelane:
https://f95zone.to/threads/lab-rats-2-reformulate-v2025-04.32881/post-17148720
Sorry I didn't leave enough detail. I'm using Auto1111, and already installed ABG extension as your first post.
LR2 version is BetaVTMod4.0.36(all in one package distributed here).
SD model is realDream_dmdtwoV1.safetensors, that the img2img author recommended.

Any other possibilities?
 

AnotherMike

Member
Mar 26, 2020
151
135
Sorry I didn't leave enough detail. I'm using Auto1111, and already installed ABG extension as your first post.
LR2 version is BetaVTMod4.0.36(all in one package distributed here).
SD model is realDream_dmdtwoV1.safetensors, that the img2img author recommended.

Any other possibilities?
Hmm, I don't use the mod-pack so not sure if that might cause it, though I can't really imagine what it'd do that would only interfere with the background removal.

When you say it all turns white, do you mean that it's just an entirely white image, or that it's just the background that turns completely white, while the character is still visible?

I tried using the same SD model here but it works fine for me, what other settings do you have when it comes to sampler, steps, cfg scale, denoising strength and resolution? Are img2img, upscaling and ADetailer turned on or off?

If you try to enable the ABG Remover script in web-ui when generating an image there, do you get the same result or does the transparency work there?
 

JuanSinTierra

Newbie
May 21, 2017
60
62
I'm playing the beta version of two weeks ago or so, I usually don't update mid game, and everything works as far as a know, except the lifestyle coach story, there's no dancing event, and nothing besides helping her choose a dress. I tried using serums to see if it was a matter of not having enough love/obedience/lust, but that was not it, is this a bug or do you have to do something new to get the dancing event on Wednesdays?
 

HTYYHRK

Member
Dec 7, 2018
358
599
Hmm, I don't use the mod-pack so not sure if that might cause it, though I can't really imagine what it'd do that would only interfere with the background removal.

When you say it all turns white, do you mean that it's just an entirely white image, or that it's just the background that turns completely white, while the character is still visible?

I tried using the same SD model here but it works fine for me, what other settings do you have when it comes to sampler, steps, cfg scale, denoising strength and resolution? Are img2img, upscaling and ADetailer turned on or off?

If you try to enable the ABG Remover script in web-ui when generating an image there, do you get the same result or does the transparency work there?
I'm also having that issue, img2img with the abg remover script enabled works in the web ui but I see a white background in game. Maybe it has something to do with the "do not save images with background" option in the script settings, but unfortunately now the generation is just stuck at 0% for me so I can't test it. Is there a way to show the menu bar to manually try creating an image?
 
Last edited:

dspeed

Active Member
Oct 15, 2016
883
1,413
How do I activate the Real Porn Mod from the OP in the download? It doesn't show up under Mod Settings and doesn't show anything during sex but the files seem to be there
 

AnotherMike

Member
Mar 26, 2020
151
135
I'm also having that issue, img2img with the abg remover script enabled works in the web ui but I see a white background in game. Maybe it has something to do with the "do not save images with background" option in the script settings, but unfortunately now the generation is just stuck at 0% for me so I can't test it. Is there a way to show the menu bar to manually try creating an image?
If you turn auto generate off in the GenAI Config, you'll get a little menu over the image where you can manually trigger generation off new images, even if the code thinks nothing has changed and doesn't think a new image is needed, but if your progress is stuck at 0% I'd guess something has broken and needs a restart for it to work.

If there's something wrong with the "Only save background free images" the result would be like what you're describing, but I'm not sure how or why something would go wrong with that.

I guess if, for some reason, the order of the arguments to that script is different between our systems, it could cause issues. I haven't found any way to specifically say "this setting has this value" when calling the script, I only pass along a list of values based on the order of the settings like this:
true, false, false, "#000000", false
to say that the first check box of the settings should be checked (true) and the rest should be left unchecked (false).
But that leads us to the question, in the Automatic 1111 web-ui, when you select the script, is the "Only save background free images" setting the first shown? Like this:
scriptsettings.png

Or does it look different for you?
 

Angramanju

New Member
Feb 17, 2025
1
0
Is there any comprehensive guide on the AI mod? I have installed and configured it successfully, generated couple of pictures, then started playing with configs and ended up getting: Unable to connect to the Stable Diffusion API. Please make sure the API is running and try again. Browser stableUI is working fine and as expected. My guess is that i have made some changes in the config - via game - that crashes the game. Any idea which config can I review so I can bring it to the default value?
 

HTYYHRK

Member
Dec 7, 2018
358
599
If you turn auto generate off in the GenAI Config, you'll get a little menu over the image where you can manually trigger generation off new images, even if the code thinks nothing has changed and doesn't think a new image is needed, but if your progress is stuck at 0% I'd guess something has broken and needs a restart for it to work.

If there's something wrong with the "Only save background free images" the result would be like what you're describing, but I'm not sure how or why something would go wrong with that.

I guess if, for some reason, the order of the arguments to that script is different between our systems, it could cause issues. I haven't found any way to specifically say "this setting has this value" when calling the script, I only pass along a list of values based on the order of the settings like this:
true, false, false, "#000000", false
to say that the first check box of the settings should be checked (true) and the rest should be left unchecked (false).
But that leads us to the question, in the Automatic 1111 web-ui, when you select the script, is the "Only save background free images" setting the first shown? Like this:
View attachment 4948903

Or does it look different for you?
Thanks, I didn't think to disable auto-generate.
That's the way it looks for me. I have tried restarting both a couple times and still get the 0%, I'm not sure when I'll have time to debug. It seems weird to me that we'd have arguments for the extension in a different order since we're presumably both using the latest version of A111 and the extension. For what it's worth the game will show progress if I start another image generation in the web ui, but it doesn't pull it in, so I'm guessing it's an issue with the initial generation request being treated as successful but not actually succeeding, then the game is connecting to the progress request service.

Is there any comprehensive guide on the AI mod? I have installed and configured it successfully, generated couple of pictures, then started playing with configs and ended up getting: Unable to connect to the Stable Diffusion API. Please make sure the API is running and try again. Browser stableUI is working fine and as expected. My guess is that i have made some changes in the config - via game - that crashes the game. Any idea which config can I review so I can bring it to the default value?
I think the default port is 7860, is that what you're using? I don't know how you change it in the game offhand, it might require a script change.
 
4.60 star(s) 73 Votes