- stable-diffusion-webui from https://github.com/AUTOMATIC1111/stable-diffusion-webui (found under
/opt/stable-diffusion-webui
) - with TensorRT extension from https://github.com/AUTOMATIC1111/stable-diffusion-webui-tensorrt
- see the tutorial at the Jetson Generative AI Lab
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.
Negative prompts: https://huggingface.co/spaces/stabilityai/stable-diffusion/discussions/7857
Stable Diffusion XL