Guides
Invoke AI Brev Template
In this guide, we'll show you how you can run the InvokeAI Stable Diffusion WebUI out of the box. We've pre-configured it to run without issues on Brev!
To get started, hit this link to create a new Invoke Brev environment
Sign up for an account
It'll redirect you to an environment creation page pre-configured with the defaults you need. (We recommend sticking to the default GPU - it's the cheapest that'll do inference with the Stable Diffusion model).
At the bottom, add a payment method...we give you 30 minutes free of GPU use but we just need to make sure people don't abuse our systems 🙂
Hit create!
Installing Brev:
Once your env is created install Brev:
brew install brevdev/homebrew-brev/brev && brev login
If you're not on Mac, install the CLI from here.
Setting up InvokeAI:
Open your new invokeai Brev environment:
brev open invokeai --wait
This will boot you right into the InvokeAI repo.
Run the install script (we recommend sticking with the default options suggested by the installer):
./installer/install.sh.in
Cd into the generated directory:
cd /home/ubuntu/invokeai
Run invoke:
sh invoke.sh
This will start the server and VSCode will automatically forward the port to your local machine.