Vercel-deployable web interface for Stable Diffusion. Control your Automatic1111 or ComfyUI server from anywhere.
Demo: sd-studio-web.vercel.app
- Remote Control - Connect to your home GPU running Automatic1111
- Mobile-First - Fully responsive, works on Android/iOS
- Real-time Progress - Live preview during image generation
- Gallery - View, download, and reuse generation settings
- Privacy - No data stored on server, direct API calls to your backend
- Dark Mode - Clean dark UI optimized for long sessions
| Layer | Technology |
|---|---|
| Framework | Next.js 14 (App Router) |
| Language | TypeScript |
| Styling | Tailwind CSS |
| State | Zustand |
| Icons | Lucide React |
| Deployment | Vercel |
- Node.js 18+
- npm or pnpm
- Stable Diffusion backend (Automatic1111 with API enabled)
git clone https://github.com/wizelements/sd-studio-web.git
cd sd-studio-web
npm install
cp .env.example .env.local
npm run devOpen http://localhost:3000.
| Variable | Description | Required |
|---|---|---|
NEXT_PUBLIC_SD_API_URL |
Your Stable Diffusion API endpoint | Yes |
SD_API_KEY |
API key if your backend requires auth | No |
Create .env.local from .env.example and configure your backend URL.
On your PC with GPU, configure Automatic1111:
# Windows (webui-user.bat)
set COMMANDLINE_ARGS=--api --listen --cors-allow-origins=*
# Linux/Mac (webui-user.sh)
export COMMANDLINE_ARGS="--api --listen --cors-allow-origins=*"For remote access, use Cloudflare Tunnel or ngrok to expose your local API.
src/
├── app/ # Next.js App Router pages
├── components/ # React components (PromptForm, Gallery, etc.)
├── lib/ # API client and utilities
└── types/ # TypeScript type definitions
npm run dev # Start development server
npm run build # Production build
npm run start # Start production server
npm run lint # Run ESLint
npm run type-check # TypeScript validation- Click Deploy or import from GitHub
- Set environment variables
- Deploy
docker build -t sd-studio-web .
docker run -p 3000:3000 --env-file .env.local sd-studio-web- ComfyUI workflow support
- Image-to-image generation
- ControlNet integration
- Prompt templates and favorites
See SECURITY.md for vulnerability reporting.
Built by Cod3BlackAgency