pride 2024

This commit is contained in:
bignutty 2024-06-01 22:52:13 +02:00
parent 561cecdfdc
commit de373c55e7
5 changed files with 58 additions and 10 deletions

View file

@ -18,6 +18,8 @@ const Api = Object.freeze({
GOOGLE_VISION_SAFETY_LABELS: '/google/vision/safety',
GOOGLE_VISION_WEBDETECTION: '/google/vision/webdetection',
IMAGE_INHOUSE_PRIDE: '/image/inhouse/pride',
IMAGE_DEEPDREAM: '/image/deepai/deepdream',
IMAGE_IMAGEEDITOR: '/image/deepai/imageedit',
IMAGE_SUPERRESOLUTION: '/image/deepai/superresolution',

View file

@ -223,6 +223,12 @@ module.exports.retroWave = async function(context, background = 5, textStyle= 4,
})
}
module.exports.prideborder = async function(context, url){
return await request(Api.IMAGE_INHOUSE_PRIDE, "GET", {}, {
url: url
})
}
module.exports.deepdream = async function(context, url){
return await request(Api.IMAGE_DEEPDREAM, "GET", {}, {
url: url