[cmd] text2image

This commit is contained in:
derpystuff 2022-05-26 21:53:34 +02:00
parent a3a557379a
commit e3bfaa8803
3 changed files with 46 additions and 0 deletions

View file

@ -180,6 +180,12 @@ module.exports.superresolution = async function(context, url){
})
}
module.exports.text2image = async function(context, text){
return await request(Api.IMAGE_TEXT2IMAGE, "GET", {}, {
text: text
})
}
module.exports.imtranslator = async function(context, text, voice){
return await request(Api.TTS_IMTRANSLATOR, "GET", {}, {
text: text,