Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.98 KB

File metadata and controls

36 lines (25 loc) · 1.98 KB

This container has a default run command that will automatically start the webserver like this:

cd /opt/stable-diffusion-webui && python3 launch.py \
  --data=/data/models/stable-diffusion \
  --enable-insecure-extension-access \
  --xformers \
  --listen \
  --port=7860

After starting the container, you can navigate your browser to http://$IP_ADDRESS:7860 (substitute the address or hostname of your device). The server will automatically download the default model (stable-diffusion-1.5) during startup.

Other configuration arguments can be found at AUTOMATIC1111/stable-diffusion-webui/wiki/Command-Line-Arguments-and-Settings

  • --medvram (sacrifice some performance for low VRAM usage)
  • --lowvram (sacrafice a lot of speed for very low VRAM usage)

See the stable-diffusion container to run image generation from a script (txt2img.py) as opposed to the web UI.

Tips & Tricks

Negative prompts: https://huggingface.co/spaces/stabilityai/stable-diffusion/discussions/7857

Stable Diffusion XL