videoSummary/config copy.yaml
2025-12-02 18:54:14 +08:00

32 lines
765 B
YAML

# Video Summary Service Configuration
# Server Configuration
server:
host: "0.0.0.0"
port: 8080
mode: "debug" # debug, release, test
# MongoDB Configuration
mongodb:
uri: "mongodb://localhost:27017"
database: "videoSummary"
max_pool_size: 100
min_pool_size: 10
# DashScope API Configuration
dashscope:
api_key: "sk-test" # Set your DashScope API key here
model: "qwen3-vl-plus" # MultiModal model name
fps: 2 # Frames per second for video frame extraction
# Upload Configuration
upload:
max_size: 524288000 # 500MB in bytes
allowed_extensions: ["mp4", "avi", "mov", "mkv", "wmv", "flv", "webm"]
# Logging Configuration
log:
level: "info" # debug, info, warn, error
format: "json" # json, text
output: "stdout" # stdout, file path