forked from tracefinity/tracefinity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
22 lines (18 loc) · 757 Bytes
/
Copy path.env.example
File metadata and controls
22 lines (18 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Backend
STORAGE_PATH=./storage
CORS_ORIGINS=["http://localhost:3000","http://localhost:4001"]
MAX_UPLOAD_MB=20
# AI API Key (optional - users can provide their own)
GOOGLE_API_KEY=
# Gemini model for mask generation (optional)
# gemini-3-pro-image-preview - best quality, accurate dimensions (default)
# gemini-2.5-flash-image - faster/cheaper, needs post-hoc alignment
GEMINI_IMAGE_MODEL=gemini-3-pro-image-preview
# Local tracing (optional)
# Comma-separated tracer list, e.g. birefnet-lite,isnet
# Add birefnet-general only when you have installed the optional GPU requirements.
TRACERS=
# auto prefers CUDA when available; cuda requires GPU; cpu disables GPU use
TRACEFINITY_ONNX_PROVIDER=auto
# Frontend
NEXT_PUBLIC_API_URL=http://localhost:8000