This is a small utility that allows you to use NovelAI's image generation or locally (or remote) running Automatic's Stable Diffusion WebUI in AI Roguelite.
Note:
For WebUI usage you must start your WebUI with --api
argument like ./webui.sh --api
.
To run this tool:
- Download the latest archive for your platform, extract in to folder.
- Rename
config.toml.sample
toconfig.toml
and edit it to your liking (adding NovelAI token, etc). - Open
C:\Windows\System32\drivers\etc\hosts
as admin (or/etc/hosts
on Linux) and add the following line:
127.0.0.1 paint.api.wombo.ai
- Open two command line windows (cmd.exe or terminal emulators on Linux), in both go to the folder with the extracted files and in one start the caddy binary, in another start the proxier one. On Windows caddy will ask you to add a certificate, agree on that. On Linux you must start Caddy as
sudo
because it binds to port 443 which is reserved to root by default.
Feel free to open an issue if you have any problems.