new tts funny gauzi voice

This commit is contained in:
derpystuff 2022-10-06 21:56:35 +02:00
parent 1b6597ed43
commit 6097695561
4 changed files with 59 additions and 0 deletions

View file

@ -40,6 +40,7 @@ const Api = Object.freeze({
SEARCH_YOUTUBE: '/search/youtube',
TTS_IMTRANSLATOR: '/tts/imtranslator',
TTS_PLAYHT: '/tts/playht',
TTS_POLLY: '/tts/polly',
TTS_TIKTOK: '/tts/tiktok',
TTS_VOICEFORGE: '/tts/voiceforge',

View file

@ -229,6 +229,13 @@ module.exports.imtranslator = async function(context, text, voice){
})
}
module.exports.playht = async function(context, text, voice){
return await request(Api.TTS_PLAYHT, "GET", {}, {
text: text,
voice: voice
})
}
module.exports.polly = async function(context, text, voice){
return await request(Api.TTS_POLLY, "GET", {}, {
text: text,