mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-29 05:09:46 +01:00
Update config.yaml
config
This commit is contained in:
parent
7d737ad312
commit
1ee3fc93de
1 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue