This commit is contained in:
bignutty 2024-12-05 23:06:27 +01:00
parent a644ef6e31
commit 87438da5f4
3 changed files with 63 additions and 0 deletions

View file

@ -272,6 +272,13 @@ module.exports.text2image = async function(context, text){
})
}
module.exports.emogen = async function(context, prompt, style){
return await request(Api.IMAGE_EMOGEN, "GET", {}, {
prompt,
style
})
}
module.exports.imtranslator = async function(context, text, voice){
return await request(Api.TTS_IMTRANSLATOR, "GET", {}, {
text: text,