microsoft sam tts

This commit is contained in:
derpystuff 2023-04-17 15:54:59 +02:00
parent cc972e985b
commit 23fc15fccf
4 changed files with 72 additions and 0 deletions

View file

@ -268,6 +268,15 @@ module.exports.polly = async function(context, text, voice){
})
}
module.exports.sapi4 = async function(context, text, voice, pitch = 50, speed = 150){
return await request(Api.TTS_SAPI4, "GET", {}, {
text,
voice,
pitch,
speed
})
}
module.exports.tiktok = async function(context, text, voice){
return await request(Api.TTS_TIKTOK, "GET", {}, {
text: text,