Status: [UNTESTED] Endpoints found: https://api.example.com/v1/chat/completions https://api.example.com/v1/chat https://api.example.com/v1/chat/completions` https://api.example.com/v1/images/generations` http://localhost:3001/v1/images/generations Source: https://github.com/platberlitz/sd-proxy # SD Proxy ## TL;DR Multi-backend image generation proxy with web UI and login protection. Supports 15+ backends (A1111, ComfyUI, GPT Image, NovelAI, PixAI, Kie.ai, Naistera, etc.) with OpenAI-compatible API. Features: prompt AI, queue system, history, gallery, real-time progress, export/import. **Quick start:** `git clone → npm install → npm start → http://localhost:3001 → admin/admin` --- Full-featured image generation proxy with OpenAI-compatible API, comprehensive web dashboard, and login protection. ## Quick Start ```bash git clone https://github.com/platberlitz/sd-proxy.git cd sd-proxy npm install npm start # Open http://localhost:3001 # Login: admin / admin ``` ## Authentication - **Default credentials:** `admin` / `admin` - **Custom credentials:** Set `ADMIN_USER` and `ADMIN_PASS` environment variables - **Session security:** Set `SESSION_SECRET` for production - **API access:** `/api/*` endpoints require login by default (`API_AUTH_REQUIRED=true`) - **Public API exceptions:** `/api/session`, `/api/progress/:sessionId`, `/api/logs/:sessionId` - **Legacy mode:** Set `API_AUTH_REQUIRED=false` to make `/api/*` public again (not recommended) - **No-login mode:** Set `LOGIN_REQUIRED=false` or `DISABLE_LOGIN=true` to remove the login page and make the UI/API routes public ```bash # Custom credentials example ADMIN_USER="myuser" ADMIN_PASS="mypass" npm start ``` ```bash # API compatibility toggles API_AUTH_REQUIRED=false npm start # legacy public /api/* LOGIN_REQUIRED=false npm start # no web login page ALLOW_LOCAL_URL_OVERRIDE=false npm start # ignore x-local-url header entirely MODEL_PROXY_ALLOWED_HOSTS="api.openai.com,openrouter.ai" npm start ``` ## Supported Backends | Backend | API Key | Notes | |---------|---------|-------| | **Local A1111** | No | Full control, all local features | | **Local ComfyUI** | No | Advanced workflows | | **Pollinations** | No (free) | No signup, instant use | |