-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
36 lines (28 loc) · 1.13 KB
/
.env.example
File metadata and controls
36 lines (28 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# API Configuration
LANGFLOW_BASE_URL=your_langflow_base_url_here
LANGFLOW_FLOW_ID=your_langflow_flow_id_or_endpoint_namehere
# Image Generation API Configuration
OPENAI_API_KEY=your_openai_api_key_here
STABILITY_API_KEY=your_stability_api_key_here
# Vite Configuration
VITE_API_URL=http://localhost:5000
# EverArt API Key
EVERART_API_KEY=your_everart_key_here
# Astra DB Configuration
ASTRA_DB_ENDPOINT=your_astra_db_api_endpoint_here
ASTRA_DB_APPLICATION_TOKEN=your_astra_db_application_token_here
# Rate Limiting Configuration
# Using in-memory rate limiting (simple implementation)
# For production with multiple server instances, consider using Upstash Redis
# Maximum requests per time window (default: 10, min: 1, max: 1000)
RATE_LIMIT_MAX_REQUESTS=10
# Time window in hours (default: 1, min: 0.1, max: 24)
# Examples: 1 = 1 hour, 0.5 = 30 minutes, 24 = 1 day
RATE_LIMIT_WINDOW_HOURS=1
# File Upload Security Configuration
# Maximum file size in MB (default: 5)
MAX_FILE_SIZE_MB=5
# Maximum image dimension in pixels (default: 10000)
MAX_IMAGE_DIMENSION=10000
# Image resize dimension for processing (default: 1024)
IMAGE_RESIZE_DIMENSION=1024