mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
editimage command
This commit is contained in:
parent
3d6233a0a7
commit
f35586fe89
7 changed files with 51 additions and 4 deletions
|
@ -222,6 +222,13 @@ module.exports.deepdream = async function(context, url){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.imageedit = async function(context, url, prompt){
|
||||
return await request(Api.IMAGE_IMAGEEDITOR, "GET", {}, {
|
||||
url: url,
|
||||
prompt: prompt
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.waifu2x = async function(context, url){
|
||||
return await request(Api.IMAGE_WAIFU2X, "GET", {}, {
|
||||
url: url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue