Skip to content

A neat Discord bot for AUTOMATIC1111's Web UI

License

Notifications You must be signed in to change notification settings

hwharrison/aiyabot

 
 

Repository files navigation

AIYA

A Discord bot interface for Stable Diffusion

Setup requirements

  • Set up AUTOMATIC1111's Stable Diffusion AI Web UI.
    • AIYA is currently tested on commit bb11bee22ab02aa2fb5b96baa9be8103fff19e6a of the Web UI.
  • Run the Web UI as local host with api (COMMANDLINE_ARGS= --listen --api).
  • Clone this repo.
  • Create a text file in your cloned repo called ".env", formatted like so:
# .env
TOKEN = put your bot token here
  • Run AIYA by running launch.bat (or launch.sh for Linux)

Usage

To generate an image from text, use the /draw command and include your prompt as the query.

Currently supported options

  • negative prompts
  • swap model/checkpoint (see wiki)
  • sampling steps
  • width/height (up to 1024)
  • CFG scale
  • sampling method
  • seed
  • img2img
  • denoising strength
  • batch count
  • Web UI styles
  • face restoration
  • high-res fix
  • CLIP skip

Bonus features

  • /settings command - set per-server defaults for the following (see Notes!):
    • negative prompts
    • model/checkpoint
    • sampling steps / max steps
    • sampling method
    • batch count / max batch count
    • CLIP skip
  • /identify command - create a caption for your image.
  • /stats command - shows how many /draw commands have been used.
  • /tips command - basic tips for writing prompts.
  • /upscale command - resize your image.
  • buttons - certain outputs will contain buttons.
    • 🖋 - edit prompt, then generate a new image with same parameters.
    • 🎲 - randomize seed, then generate a new image with same parameters.
    • 📋 - view the generated image's information.
    • ❌ - deletes the generated image.

Notes

Credits

AIYA only exists thanks to these awesome people:

About

A neat Discord bot for AUTOMATIC1111's Web UI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%