.env.exampleβ’3.74 kB
# Pixelle MCP Project Environment Variables Configuration
# Copy this file to .env and modify the configuration values according to your actual situation
# ======== Basic Service Configuration ========
# Service configuration
HOST=localhost
PORT=9004
# Optional, used to specify public access URL, generally not needed for local services,
# configure when service is not on local machine
PUBLIC_READ_URL=""
# ======== ComfyUI Integration Configuration ========
# ComfyUI service address
COMFYUI_BASE_URL=http://localhost:8188
# ComfyUI API Key (required if API Nodes are used in workflows,
# get it from: https://platform.comfy.org/profile/api-keys)
COMFYUI_API_KEY=""
# Cookies used when calling ComfyUI interface, configure if ComfyUI service requires authentication
COMFYUI_COOKIES=""
# Executor type for calling ComfyUI interface, supports websocket and http (both are generally supported)
COMFYUI_EXECUTOR_TYPE=http
# ======== RunningHub Cloud Configuration ========
# RunningHub cloud execution engine configuration
# API base URL for RunningHub service
# Global: https://api.runninghub.ai (for international users)
# China: https://api.runninghub.cn (recommended for Chinese users)
RUNNINGHUB_BASE_URL="https://api.runninghub.ai"
# RunningHub API Key
# Global users get key from: https://www.runninghub.ai
# China users get key from: https://www.runninghub.cn
RUNNINGHUB_API_KEY=""
# ======== Chainlit Framework Configuration ========
# Chainlit auth secret (used for chainlit auth, can be reused or randomly generated)
CHAINLIT_AUTH_SECRET="changeme-generate-a-secure-secret-key"
CHAINLIT_AUTH_ENABLED=true
CHAINLIT_SAVE_STARTER_ENABLED=false
# ======== CDN Configuration ========
# CDN strategy for loading external resources (KaTeX, Google Fonts, etc.)
# Options:
# - "auto": Automatically detect user language (Chinese users get China CDN, others get global CDN)
# - "china": Force all users to use China CDN mirrors (faster for Chinese users)
# - "global": Force all users to use original global CDNs (faster for international users)
# Default: "auto"
CDN_STRATEGY=auto
# ======== LLM Model Configuration ========
# OpenAI configuration
OPENAI_BASE_URL="https://api.openai.com/v1"
# Get your API key at: https://platform.openai.com/api-keys
OPENAI_API_KEY=""
# List OpenAI models to be used, if multiple, separate with English commas
CHAINLIT_CHAT_OPENAI_MODELS="gpt-4o-mini"
# Ollama configuration (local models)
OLLAMA_BASE_URL="http://localhost:11434/v1"
# List Ollama models to be used, if multiple, separate with English commas
OLLAMA_MODELS=""
# Gemini configuration
GEMINI_BASE_URL="https://generativelanguage.googleapis.com/v1beta"
# Get your API key at: https://aistudio.google.com/app/apikey
GEMINI_API_KEY=""
# List Gemini models to be used, if multiple, separate with English commas
GEMINI_MODELS=""
# DeepSeek configuration
DEEPSEEK_BASE_URL="https://api.deepseek.com"
# Get your API key at: https://platform.deepseek.com/api_keys
DEEPSEEK_API_KEY=""
# List DeepSeek models to be used, if multiple, separate with English commas
DEEPSEEK_MODELS=""
# Claude (Anthropic) configuration
CLAUDE_BASE_URL="https://api.anthropic.com"
# Get your API key at: https://console.anthropic.com/settings/keys
CLAUDE_API_KEY=""
# List Claude models to be used, if multiple, separate with English commas
CLAUDE_MODELS=""
# Qwen (Alibaba Cloud) configuration
QWEN_BASE_URL="https://dashscope.aliyuncs.com/compatible-mode/v1"
# Get your API key at: https://bailian.console.aliyun.com/?tab=model#/api-key
QWEN_API_KEY=""
# List Qwen models to be used, if multiple, separate with English commas
QWEN_MODELS=""
# Optional, default model for conversations (can be from any provider above)
CHAINLIT_CHAT_DEFAULT_MODEL=""