File size: 993 Bytes
59bd45e | 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 | # Voice Text Processor Configuration
# Copy this file to .env and fill in your values
# Required: Zhipu AI API Key (for semantic parsing)
# 获取方式: https://open.bigmodel.cn/ -> API Keys
ZHIPU_API_KEY=your_zhipu_api_key_here
# Required: MiniMax API Key (for image generation)
# 获取方式: https://platform.minimax.io/ -> API Keys
# 格式示例: sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
MINIMAX_API_KEY=your_minimax_api_key_here
# Optional: MiniMax Group ID (已废弃,保留用于兼容性)
MINIMAX_GROUP_ID=your_group_id_here
# Optional: Data storage directory (default: data/)
DATA_DIR=data
# Optional: Maximum audio file size in bytes (default: 10485760 = 10MB)
MAX_AUDIO_SIZE=10485760
# Optional: Logging level (default: INFO)
# Valid values: DEBUG, INFO, WARNING, ERROR, CRITICAL
LOG_LEVEL=INFO
# Optional: Log file path (default: logs/app.log)
LOG_FILE=logs/app.log
# Optional: Server host (default: 0.0.0.0)
HOST=0.0.0.0
# Optional: Server port (default: 8000)
PORT=8000
|