mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-26 14:48:22 -04:00
new tts funny gauzi voice
This commit is contained in:
parent
1b6597ed43
commit
6097695561
4 changed files with 59 additions and 0 deletions
|
@ -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',
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -410,6 +410,13 @@ module.exports.TIKTOK_VOICES = [
|
|||
}
|
||||
]
|
||||
|
||||
module.exports.PLAYHT_VOICES = [
|
||||
{
|
||||
"name": "Conrad (German)",
|
||||
"value": "de-DE-ConradNeural"
|
||||
}
|
||||
]
|
||||
|
||||
module.exports.IMTRANSLATOR_VOICES = [
|
||||
{
|
||||
"name": "English (Male)",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue