Skip to content

SebastianAigner/stable-diffusion-web-extended

Repository files navigation

Extended web interface and prompt queue for Stable Diffusion

An alternative frontend for lstein/stable-diffusion.

Features:

  • 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.

Usage

Using the hosted version

For regular usage, simply open the interface in your browser and follow the setup instructions.

Running a local copy

If you'd like to use a local copy instead, check out the project and run:

$ npm install # or pnpm install or yarn install

Then, run:

yarn dev, npm dev or npm start

Then, follow the setup instructions to make sure it works with your local installation of stable-diffusion.

Contributing

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! 🤗

Setting up and running the project

This is a SolidJS TypeScript project. General instructions for SolidJS projects apply:

$ npm install # or pnpm install or yarn install

Learn more on the Solid Website and come chat with us on our Discord

Available Scripts

In the project directory, you can run:

npm dev or npm start

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.

npm run build

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!

Deployment

You can deploy the dist folder to any static host provider (netlify, surge, now, etc.)

About

Extended web interface and prompt queue for https://github.com/lstein/stable-diffusion/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors