60 lines
2.7 KiB
Bash
60 lines
2.7 KiB
Bash
# Copy to .env.local (never commit real secrets — .env* is gitignored).
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Persistence (Supabase) — see docs/DEPLOY.md. Without these the app runs on
|
|
# browser-local storage only. Client-safe (anon key is gated by RLS).
|
|
# ---------------------------------------------------------------------------
|
|
# NEXT_PUBLIC_SUPABASE_URL=https://YOUR-PROJECT.supabase.co
|
|
# NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-public-key
|
|
# NEXT_PUBLIC_SUPABASE_BUCKET=media
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Generative image editing backend (Restore / Colorize / Replace-Sky / Prompt).
|
|
# NOT required to run the app: object detection, faces, OCR, and Remove Background
|
|
# all run FREE in-browser with no key. Full guide: docs/AI-SETUP.md
|
|
# ---------------------------------------------------------------------------
|
|
# AI_EDIT_PROVIDER=auto # auto | local | huggingface | gemini | none
|
|
#
|
|
# Option 1 — your own local Stable Diffusion (AUTOMATIC1111/Forge/SD.Next; free + private):
|
|
# LOCAL_SD_URL=http://127.0.0.1:7860
|
|
# LOCAL_SD_DENOISE=0.55
|
|
# LOCAL_SD_STEPS=25
|
|
# LOCAL_SD_SAMPLER=Euler a
|
|
#
|
|
# Option 2 — free Hugging Face Inference API (free token, no GPU):
|
|
# HF_API_TOKEN=hf_xxxxxxxx
|
|
# HF_IMAGE_MODEL=timbrooks/instruct-pix2pix
|
|
#
|
|
# Option 3 — Google Gemini (image output needs a BILLED key; free tier is text-only):
|
|
# GEMINI_API_KEY=
|
|
# GEMINI_IMAGE_MODEL=gemini-2.5-flash-image
|
|
|
|
# Optional: override the demo seed image source.
|
|
# NEXT_PUBLIC_SEED_IMAGE_HOST=https://picsum.photos
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# UI customization (all optional; unset = SDK defaults). Full guide: docs/ENV.md
|
|
# ---------------------------------------------------------------------------
|
|
# Feature flags (true/false) — hide any capability:
|
|
# NEXT_PUBLIC_APG_EDITOR=true
|
|
# NEXT_PUBLIC_APG_CAMERA=true
|
|
# NEXT_PUBLIC_APG_AI=true
|
|
# NEXT_PUBLIC_APG_MAP=true
|
|
# NEXT_PUBLIC_APG_IMPORT=true
|
|
# NEXT_PUBLIC_APG_EXPORT=true
|
|
# NEXT_PUBLIC_APG_SHARING=true
|
|
#
|
|
# Theme & appearance:
|
|
# NEXT_PUBLIC_APG_THEME=system # system | light | dark | semi-dark
|
|
# NEXT_PUBLIC_APG_ACCENT=#0a84ff
|
|
# NEXT_PUBLIC_APG_RADIUS=10 # base corner radius (px)
|
|
# NEXT_PUBLIC_APG_SIDEBAR_RADIUS=14 # sidebar panel radius (px)
|
|
# NEXT_PUBLIC_APG_BG_DARK=linear-gradient(165deg,#141018,#241426) # color OR gradient
|
|
# NEXT_PUBLIC_APG_BG_LIGHT=#ffffff
|
|
# NEXT_PUBLIC_APG_SIDEBAR_BG_DARK=rgba(20,20,22,0.6) # rgba() for opacity
|
|
# NEXT_PUBLIC_APG_SIDEBAR_BG_LIGHT=rgba(246,246,248,0.72)
|
|
# NEXT_PUBLIC_APG_ELEVATED_DARK=#2c2c2e
|
|
# NEXT_PUBLIC_APG_ELEVATED_LIGHT=#f5f5f7
|
|
# NEXT_PUBLIC_APG_TEXT_DARK=#f5f5f7
|
|
# NEXT_PUBLIC_APG_TEXT_LIGHT=#1d1d1f
|