休眠时段操作小程序加提示,博士角色语速调快一点,
刷自己卡没有留言情况下播放最后一条留言,增加角色切换提示音。
This commit is contained in:
@@ -112,14 +112,16 @@ class MiniMaxTTS(TTS, BaseService):
|
||||
"Authorization": f"Bearer {self.api_key}",
|
||||
"Content-Type": "application/json"
|
||||
}
|
||||
|
||||
speed = 1.0
|
||||
if self.selected_role and "boshi" in self.selected_role:
|
||||
speed = 2.0
|
||||
payload = {
|
||||
"model": self.model,
|
||||
"text": text,
|
||||
"stream": True,
|
||||
"voice_setting": {
|
||||
"voice_id": self.voice_id,
|
||||
"speed": 1.0,
|
||||
"speed": speed,
|
||||
"vol": 2.0,
|
||||
"pitch": 0
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user