Metachs / sdwebui-nai-api

zlib License
22 stars 3 forks source link

sdwebui-nai-api - Novel AI Image Gen in stable-diffusion webui

An an extension for A1111's stable-diffusion-webui that pulls images using NovelAI's Image Generation Tool API.

Requires an active Novel AI account with Opus or Anlas to spend (NOT FREE). You will need to generate a NovelAI API Token for your account, and enter it into the NAI API section in sd-webui settings menu. See [https://docs.sillytavern.app/usage/api-connections/novelai] for details on generating an API key.

Install using "Extensions > Install from URL" using the repo's URL.

Most locally run extension are NOT supported, obviously. Anything that alter's model behavior is a no go. It does support basic extensions/Scripts that only modify generation parameters such as wildcards, or intiate generation, such as XYZ Grid, ADetailer, and SD Upscale. Running this with certain extensions on may break things.

Note that this is compltely unaffiliated with NovelAI, and I can make no guarantees as to whether this is an allowable usage of Novel AI's services. However, since they provide the means for you to generate an API Token, I believe it is an acceptable use. IE use at you own risk, but you are probably ok if you don't do something stupid like leave generate forever on for days.

Unsupported/TODO