跳到主要内容

默认配置

默认配置文件如下,启动服务时配置文件自动加载,用户可以选择修改配置文件,或者在前端的“设置”会话框中可视化修改,两者等价

[DEFAULT]
selected_model_provider = deepseek
enable_thinking = false
deepseek_api_key = ""
deepseek_base_url = https://api.deepseek.com
openai_api_key = ""
openai_base_url = https://api.chatanywhere.tech/v1
glm_api_key = ""
glm_base_url = https://open.bigmodel.cn/api/coding/paas/v4
qwen_api_key = ""
qwen_base_url = https://dashscope.aliyuncs.com/compatible-mode/v1
use_proxy = false

[Video watch]
raw_language = zh

[Subtitle settings]
font_family = 微软雅黑
preview_text = This is Raw subtitle preview
font_color = #ffffff
font_size = 30
font_weight = 700
background_color = #000000
border_radius = 4
text_shadow = false
text_stroke = true
text_stroke_color = #004323
text_stroke_width = 2
background_style = none
bottom_distance = 70

[Foreign Subtitle settings]
foreign_font_family = 微软雅黑
foreign_preview_text = 这是字幕预设文本
foreign_font_color = #ffffff
foreign_font_size = 24
foreign_font_weight = 400
foreign_background_color = #000000
foreign_border_radius = 4
foreign_text_shadow = false
foreign_text_stroke = true
foreign_text_stroke_color = #004323
foreign_text_stroke_width = 1
foreign_background_style = none
foreign_bottom_distance = 80

[Media Credentials]
bilibili_sessdata = "" # B站的登录接口

[Transcription Engine]
transcription_mode = local
primary_engine = faster_whisper
fallback_engine = ""
fwsr_model = large-v3
elevenlabs_api_key = ""
elevenlabs_model = scribe_v1
include_punctuation = true
alibaba_api_key = ""
alibaba_model = paraformer-realtime-v2
openai_api_key = ""
openai_base_url = https://api.chatanywhere.tech/v1

[Remote VidGo Service]
host = 172.28.241.92 #远端服务网址
port = 8001 # 远端服务端口
use_ssl = false # 远端服务使用域名时需要启用