mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-27 07:24:57 -04:00
pride 2024
This commit is contained in:
parent
561cecdfdc
commit
de373c55e7
5 changed files with 58 additions and 10 deletions
|
@ -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',
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue