- txt2img (/txt2img)
- img2img (/img2img)
- Change loaded model (/changemodel)
- Get loaded models (/loadedmodels)
- Get loaded embeddings (/loadedembeddings)
- Dynamic API, set to whatever AUTOMATIC Web UI url you want. (/setapi)
- Image info/data retrieval
- ControlNet support
- Add image upscaler for before & after generation
- (?) Add image regeneration
- (?) Load samplers, models dynamically into choices
- (?) Add multiple webui API support
- (?) Make a better way of returning image data, currently it truncates values of >1024 characters due to discord embed limits
- Built ontop of AUTOMATIC-1111 Web-UI & its API
- Clone this repo
- npm install
- Create a .env file with the below parameters
- npm start
| Variable Name | Type | Information | | TOKEN | string | discord auth token | | CLIENT_ID | string |discord bot client id | | GUILD_ID | string | discord server guild id | | STORE_IMAGE_DATA_MIN | number (minutes) | how long you want to store image data in memory |
If you don't know what to put here, click this
- Image generation data is removed from memory after a set amount of time.