Skip to main content

A Stable Diffusion GUI

Project description

Banner Upload Python Package Discord GitHub GitHub last commit GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests

AI Runner allows you to run Stable Diffusion locally using your own hardware. It comes with drawing tools and an infinite canvas which lets you outpaint to any size you wish.

img.png


Download the official build on itch.io!

This is the compiled version of AI Runner which you can use without installing any additional dependencies.


Pypi installation

If you would like to use AI Runner as a library, follow this method of installation. Currently there isn't much of an external API so using AI Runner as a library is not recommended.

Prerequisites

  • Ubuntu 20.04+ or Windows 10+

  • Python 3.10.6

  • pip-23.0.1

  • pip install airunner

  • pip install git+https://github.com/w4ffl35/diffusers.git@ckpt_fix

  • pip install git+https://github.com/w4ffl35/transformers.git@tensor_fix


Using AI Runner

Type what you would like to see int the prompt textbox. Type what you would like to guide the generator away from in the negative prompt textbox. Click the "Generate" button to generate an image. Adjust settings as you see fit.


Model support

Stable Diffusion v1 and v2 models are supported in the following formats

File formats

  • Diffusers
  • Safetensors
  • ckpt files
  • Textual Inversion embeddings

Models

  • txt2txt
  • img2img
  • txt2pix
  • inpaint / outpaint
  • controlnet

Custom models

  1. Place your custom models in a folder of your choice, for example ~/stablediffusion
  2. If you have textual embeddings place them in ~/<your_folder>/embeddings
  3. Start the app and navigate to settings > preferences
  4. Add the absolute path to the folder you chose to store your models in
  5. Click OK and restart the app

Keyboard / Mouse controls

The following are some previous undocumented features

Misc

  • hold middle mouse + drag - Pan the canvas

With the brush tool selected:

  • hold left or right mouse and drag - Draw on the canvas

With the eraser tool selected:

  • hold left or right mouse and drag - Erase on the canvas

With the active grid area tool selected:

  • hold ctrl or shift and scroll up or down - Changes the width and height of the active grid area

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

airunner-1.8.14.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

airunner-1.8.14-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file airunner-1.8.14.tar.gz.

File metadata

  • Download URL: airunner-1.8.14.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for airunner-1.8.14.tar.gz
Algorithm Hash digest
SHA256 28cc09dab99ec584e032d2ecb25f9d2bbab9ee0ef1de81a0329fa752be4431fb
MD5 6786ad66981f54530e6f55561dedf677
BLAKE2b-256 17c8b14fd6f4ca3cfed3ee1c5a76040ce38dec05fc63fc93af8f8ba4a5923f04

See more details on using hashes here.

File details

Details for the file airunner-1.8.14-py3-none-any.whl.

File metadata

  • Download URL: airunner-1.8.14-py3-none-any.whl
  • Upload date:
  • Size: 14.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for airunner-1.8.14-py3-none-any.whl
Algorithm Hash digest
SHA256 ab4ca8c867443d989c8985d51f97e0ac0090045f75d16c75af9846dc9274496d
MD5 240734083a5f10656ed361c3c35ef671
BLAKE2b-256 13c75e4c669feb448a521fc7e06df71438205f7daebf926bd45a054b0b25d89b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page