mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-10 07:03:08 -04:00
microsoft sam tts
This commit is contained in:
parent
cc972e985b
commit
23fc15fccf
4 changed files with 72 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue