Skip to content

AI Runner Manual

w4ffl35 edited this page May 2, 2023 · 9 revisions

image

Download the official build for AI Runner


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

Stable Diffusion Path (custom model folder)

image

AI Runner has several models listed in the model dropdown by default. When you attempt to use a model the program will automatically download it from huggingface.co.

If you want to use your own models that you've downloaded or trained, plcae them into a folder of your choice then in the tool bar navigate to Settings > Preferences and add the absolute path to the folder you created.


LoRA

In order to use LoRA files, you must enable the airunner-lora extension from the extensions menu.

Watch LoRA setup video on YouTube

  1. Ensure you have set your stable diffusion path (See Stable Diffusion Path for more info)
  2. Place lora files in a folder called lora inside of your stable diffusion folder.
  3. Navigate to Settings > Extensions
  4. In the extensions popup window click Install next to the airunner-lora extension
  5. Restart AI Runner

A new LoRA tab will be visible to the right of the embeddings tab

image


Textual Inversion

Place textual inversion embeddings in a folder called embeddings inside of your custom model folder.

Embeddings will be visible in the Embeddings tab to the right of the Prompt tab

image


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++

Huggingface cache directory

By default, models downloaded from huggingface will be stored in ~/home/.cache/huggingface. To change the default huggingface cache directory, set the HF_HOME environment variable to your desired path.

Example

HF_HOME="<path>" airunner