/ai-roguelite-nai

Makes AI Roguelite work with NovelAI's image generation

Primary LanguageNimMIT LicenseMIT

ai-roguelite-nai

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:

  1. Download the latest archive for your platform, extract in to folder.
  2. Rename config.toml.sample to config.toml and edit it to your liking (adding NovelAI token, etc).
  3. 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

  1. 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.