d5bbc14c8d
- BASE_URL, API_KEY, MODEL now read from process.env (Bun auto-loads .env)
- requireEnv() fails fast at startup if any is missing
- request body simplifies to { prompt, size, referenceImages? }
- client drops the three fields from form and localStorage
- add .env.example as the variable-name source of truth
- AGENTS.md notes the 0.0.0.0 bind now exposes the upstream quota to
anyone reachable on the network
4 lines
68 B
Bash
4 lines
68 B
Bash
BASE_URL=https://api.openai.com/v1
|
|
API_KEY=sk-...
|
|
MODEL=gpt-image-2
|