How to run AUTOMATIC1111 Stable Diffusion WebUI on Brev

In this guide, we show you how you can run the AUTOMATIC1111 Stable Diffusion WebUI out of the box with Brev. We've pre-configured the environment so everything is ready to go...

We've preset it with the config you will need.

1) Open your remote environment in VSCode

brev open stable-diffusion-webui --wait

If you don't have the Brev CLI, you can install it here

2) Install dependencies and run the server:


Everything should run without error out of the box.

VSCode will automatically forward the port of the server to your local machine. If not, go to the ports tab and forward port 7860 and head over to

If you have any problems, contact us on Discord or Twitter