A React and Next.js progressive web front end with Material UI that sends Stable Diffusion jobs to local installs, local Docker, or remote GPU backends such as banana.dev.
Overview
This project is a progressive web application front end for running Stable Diffusion image generation from a browser-oriented stack built on React, Next.js, and Material UI. It targets web developers who want a familiar JavaScript UI instead of only Python-centric tooling.
Generation requests can target a local Stable Diffusion install on the same machine, a local Docker image, execution of an existing local tree via spawned Python, or a remote banana.dev serverless GPU container. Production deployments default toward the remote GPU path when environment flags mark production, while local Docker is documented as the recommended on-machine option.
Development flow uses yarn install and yarn dev after cloning, with environment variables selecting backends and API keys for paid remote inference. Optional registration and login can be enforced in production builds through compile-time public flags, and internationalization uses Next.js routing with Lingui translation workflows.
The accompanying kiri.art site demonstrates community image history, while the codebase remains oriented toward self-hosted or custom deployments for experimentation with latent diffusion from a web stack.
Key features
- Next.js Material UI web interface
- Local Stable Diffusion backends
- Local Docker inference target
- Remote banana.dev GPU option
- Optional production registration
- Lingui-based i18n workflow
- Community image history concept
Use cases
- Web dev Stable Diffusion experiments
- Self-hosted SD browser UI
- GPU-less dev via remote backend
- Deployable PWA image playground