forked from pollinations/pollinations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
67 lines (53 loc) · 2.88 KB
/
.env.example
File metadata and controls
67 lines (53 loc) · 2.88 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# ======================================================================
# IMAGE.POLLINATIONS.AI CONFIGURATION
# ======================================================================
# This file contains configuration specific to the image.pollinations.ai service
# ======================================================================
# SHARED CONFIGURATION - NOW IN /shared/.env
# ======================================================================
# The following variables are now handled by the shared utilities:
# - Queue management is now handled by shared/ipQueue.js
# - Authentication is now handled by shared/auth-utils.js
# ======================================================================
# SERVER CONFIGURATION
# ======================================================================
# Port for the image generation service
PORT=16384
# Enter.pollinations.ai Integration
# Token to authenticate requests from enter.pollinations.ai gateway
# SECURITY: Generate a strong random token (e.g., using: openssl rand -base64 32)
# All requests without a valid ENTER_TOKEN will be rejected with 403
ENTER_TOKEN=your_enter_token_here
# ======================================================================
# ANALYTICS CONFIGURATION
# ======================================================================
# Google Analytics Configuration
# Used for tracking API usage and performance metrics
GA_MEASUREMENT_ID=G-XXXXXXXXXX # Google Analytics 4 Measurement ID
GA_API_SECRET=XXXXXXXXXXXXX # Google Analytics API Secret for server-side tracking
# ======================================================================
# EXTERNAL SERVICE CONFIGURATIONS
# ======================================================================
# External Service API Keys
# Optional: API key for the Meoow 2 service
# MEOOW_2_API_KEY=sk-XXXXXXXXXXXXX
# Cloudflare Configuration
# Required for image processing through Cloudflare Workers
CLOUDFLARE_ACCOUNT_ID=XXXXXXXXXXXXX # Your Cloudflare account ID
CLOUDFLARE_API_TOKEN=XXXXXXXXXXXXX # Cloudflare API token with Workers permission
# ======================================================================
# CONTENT MODERATION
# ======================================================================
# Bad Domains Configuration
# Comma-separated list of domains that should have prompts transformed to their opposites
# Example: scam-site.com,malicious-site.com
BAD_DOMAINS=
# ======================================================================
# NANO BANANA (VERTEX AI GEMINI) CONFIGURATION
# ======================================================================
# ======================================================================
# SEEDREAM (BYTEDANCE ARK) CONFIGURATION
# ======================================================================
# ByteDance ARK API Key for Seedream model
# Required for the seedream model to function
SEEDREAM_API_KEY=your-seedream-api-key-here