-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
35 lines (30 loc) · 1.1 KB
/
.env.example
File metadata and controls
35 lines (30 loc) · 1.1 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
# Image Generation Provider Configuration
# Supported providers: openrouter, openai, mock
IMAGE_PROVIDER=openrouter
IMAGE_MODEL=sourceful/riverflow-v2-max-preview
IMAGE_TIMEOUT=60.0
IMAGE_PROVIDER_DELAY=2.0
# Vision Classification Provider Configuration
# Supported providers: openrouter, openai, mock
VISION_PROVIDER=openrouter
VISION_MODEL=openai/gpt-4o-mini
VISION_TIMEOUT=30.0
# OpenRouter API Configuration (shared by both providers)
# Get your API key from: https://openrouter.ai/keys
OPENROUTER_API_KEY=
OPENROUTER_SITE_URL=http://localhost:8000
OPENROUTER_SITE_NAME=Image Generation & Classification API
# OpenAI API Configuration (when provider=openai)
# Get your API key from: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# Storage Configuration
# Supported backends: minio, none
# Use "minio" to convert base64 images to HTTP URLs, "none" to keep base64
STORAGE_BACKEND=minio
# MinIO S3 Configuration (when STORAGE_BACKEND=minio)
MINIO_ENDPOINT=minio:9000
MINIO_ACCESS_KEY=minioadmin
MINIO_SECRET_KEY=minioadmin
MINIO_BUCKET=generated-images
MINIO_PUBLIC_URL=http://localhost:9000
MINIO_SECURE=false