Update config.yaml

config
This commit is contained in:
ikun441 2025-03-11 18:47:10 +08:00 committed by GitHub
parent 7d737ad312
commit 1ee3fc93de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -387,17 +387,22 @@ TTS:
#开发相关疑问请提交至3497689533@qq.com #开发相关疑问请提交至3497689533@qq.com
#角色id获取地址:ctrl+f快速检索角色——网站管理者不允许发布,可询问网站管理者:1069379506 #角色id获取地址:ctrl+f快速检索角色——网站管理者不允许发布,可询问网站管理者:1069379506
#各参数意义见开发文档:https://www.yuque.com/alexuh/skmti9/wm6taqislegb02gd?singleDoc# #各参数意义见开发文档:https://www.yuque.com/alexuh/skmti9/wm6taqislegb02gd?singleDoc#
#针对部分二次元角色,可选是否启用百度翻译服务,当to_lang的值等于JA时启用,该操作会导致延迟变高,并会将文本翻译为日语,输出日语语音。
#若填入JA,请填好你的APP ID和key:https://api.fanyi.baidu.com/
type: ttson type: ttson
token: your_token token: your_token
voice_id: 1695 voice_id: 1695
speed_factor: 1 speed_factor: 1
pitch_factor: 0 pitch_factor: 0
volume_change_dB: 0 volume_change_dB: 0
to_lang: ZH to_lang: JA
url: https://u95167-bd74-2aef8085.westx.seetacloud.com:8443/flashsummary/tts?token= url: https://u95167-bd74-2aef8085.westx.seetacloud.com:8443/flashsummary/tts?token=
format: mp3 format: mp3
output_file: tmp/ output_file: tmp/
emotion: 1 emotion: 1
baidu_url: https://fanyi-api.baidu.com/api/trans/vip/translate?
appid: your_appid
key: your_key
OpenAITTS: OpenAITTS:
# openai官方文本转语音服务,可支持全球大多数语种 # openai官方文本转语音服务,可支持全球大多数语种
type: openai type: openai
@ -433,4 +438,4 @@ manager:
enabled: false enabled: false
ip: 0.0.0.0 ip: 0.0.0.0
port: 8002 port: 8002
use_private_config: false use_private_config: false