A Stable Diffusion app for macOS built with SwiftUI and Apple's ml-stable-diffusion CoreML models.
- Clone this repo
- Clone my fork of ml-stable-diffusion into the repo.
- Follow the instructions to set up the ml-stable-diffusion python library.
- Run
./build-models.sh
. You may need to adjust the Conda setup goo in the script. - Open project in Xcode and click build!
- Write prompt text and adjust parameters in the composer view at the bottom.
- To export an image, just drag it to Finder or any other image editor.
- You can always generate more images from an existing prompt.