An alternative frontend for lstein/stable-diffusion.
- Prompt queue: Submit multiple prompts to Stable Diffusion, and have them executed in succession.
- Automatic prompt repetition: When your queue is empty, your last prompt is automatically repeated to make sure you always keep dreaming.
For regular usage, simply open the interface in your browser and follow the setup instructions.
If you'd like to use a local copy instead, check out the project and run:
$ npm install # or pnpm install or yarn installThen, run:
Then, follow the setup instructions to make sure it works with your local installation of stable-diffusion.
Pull requests or any kind of contributions are very welcome!
This project is based on the original embedded web interface in lstein/stable-diffusion (MIT), rewritten into SolidJS.
I am a SolidJS beginner, and made this during some late nights, so the code is far from perfect. For example:
- The CSS could do with an overhaul
- The queue display is not based on reactivity, but just updates on a timer.
There's also some features that are currently not working:
- img2img
- (probably more that I'm not aware of)
If you'd like to contribute to any of these, then I'd be more than happy to receive your pull request! 🤗
This is a SolidJS TypeScript project. General instructions for SolidJS projects apply:
$ npm install # or pnpm install or yarn installLearn more on the Solid Website and come chat with us on our Discord
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
Builds the app for production to the dist folder.
It correctly bundles Solid in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)
