Sign In

New Tool "MR Stable Diffusion Quick Sprite" to image generation with background removal

New Tool "MR Stable Diffusion Quick Sprite" to image generation with background removal

Objective:

Generating sprites to use in my games.

Software to install

Install components

Stable Diffusion

Follow this article to learn how to install it: https://civitai.com/articles/3725/stable-diffusion-with-automatic-a1111-how-to-install-and-run-on-your-computer

Background Removal

  1. Go to the Extension Tab in Stable Diffusion

  2. Click Install from Url

  3. write the url : https://github.com/AUTOMATIC1111/stable-diffusion-webui-rembg.git

  4. Click Install

  5. Restart Stable Diffusion

MR Stable Diffusion Quick Sprite

Download the Zip file , unzip it and run the .exe

You need .net 4.8 framework installed on your pc.

Enable API in stable Diffusion

Edit the "webui-user.bat" file adding --api at the end of your COMMANDLINE_ARGS

Restart stable diffusion

To check if the API works go to : http://127.0.0.1:7860/docs

How to use the App

When you run the app you have few of the options of stable diffusion:

  • Checkpoint

  • Vae

  • Sampling Method

  • Sampling Steps

  • Width and Height

  • CFG Scale

  • Seed (-1 random)

  • Last Seed (remembers the last generated seed , you can copy to your seed)

  • Settings for Background Removal

When you press "Generate" it will generate an image but won't save it.

With the flag disabled

when the flag is enabled

If you want to "Copy to the clipboard" or save it you have couple of buttons on the bottom.

Thank you for reading. I hope my suggestions inspire your creative endeavors.

5

Comments