Files

67 lines
1.6 KiB
TOML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# VoiceSynth 语音合成插件配置
[api]
# DashScope API 配置
base_url = "https://dashscope.aliyuncs.com/api/v1"
endpoint = "/services/aigc/multimodal-generation/generation"
api_key = "sk-51989f44c0cd4e2f910181c60d3edb3a"
model = "qwen3-tts-flash"
language_type = "Chinese" # Auto/Chinese/English/Japanese...
stream = true
timeout = 120
task = "tts"
payload_mode = "dashscope" # dashscope/auto/flat/task_flat/input/task_input
alt_endpoint = "/services/aigc/tts"
[voices]
# 默认音色(请求参数里的 voice 值)
default = "Cherry"
# 音色列表:"实际音色:展示名称"
list = [
"Cherry:樱桃",
"Serena:苏瑶",
"Chelsie:千雪",
"Momo:茉兔",
"Vivian:十三",
"Maia:四月",
"Bella:萌宝",
"Jennifer:詹妮弗",
"Kiki:粤语-阿清",
"Katerina:卡捷琳娜",
"Sunny:四川-晴儿",
"Jada:上海-阿珍",
"Ono Anna:小野杏",
"Sohee:素熙",
"Sonrisa:索尼莎",
"Stella:少女阿月",
"Seren:小婉",
"Nini:邻家妹妹",
"Bunny:萌小姬",
"Bellona:燕铮莺",
"Mia:乖小妹",
""
]
[behavior]
enabled = true
enable_group = true
enable_private = true
[reply]
# AI 回复后附带语音的概率 (0.0 - 1.0)
ai_voice_probability = 0.6
# AutoReply 触发时是否允许语音回复
enable_auto_reply_voice = false
# 语音超过 60 秒直接截断
max_duration_seconds = 60
# 粗略估算:每秒多少字符(用于截断文本长度)
max_chars_per_second = 4
[conversion]
# 没有 pysilk 时允许直接发送 raw 音频(需要 Hook 端支持 wav/amr
allow_raw_audio = false
raw_audio_format = "wav" # wav/amr