GithubHelp home page GithubHelp logo

woniesong92 / aiyabot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kilvoctu/aiyabot

0.0 2.0 0.0 1.06 MB

A neat Discord bot for AUTOMATIC1111's Web UI

License: GNU General Public License v2.0

Shell 0.14% Python 99.72% Batchfile 0.14%

aiyabot's Introduction

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 685f9631b56ff8bd43bce24ff5ce0f9a0e9af490 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:

aiyabot's People

Contributors

kilvoctu avatar harubaru avatar pyrotuna avatar philpax avatar saltaccount avatar yoinked-h avatar auwowauwu avatar cyberofficial avatar eidenz avatar btcookies avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.