update wallpaper

This commit is contained in:
derpystuff 2024-04-21 16:20:43 +02:00
parent 12556f2c7a
commit a6a3eaaf05
4 changed files with 90 additions and 7 deletions

View file

@ -96,12 +96,19 @@ module.exports.summarizeWebpage = async function(context, url){
}
// ROBIN
module.exports.aiWallpaper = async function(context, prompt){
return await request(ObeliskApi.AI_WALLPAPER, "POST", {}, {
module.exports.imagen = async function(context, prompt){
return await request(ObeliskApi.GENERATE_IMAGEN, "POST", {}, {
prompt
})
}
module.exports.wallpaper = async function(context, prompt, model){
return await request(ObeliskApi.GENERATE_WALLPAPER, "POST", {}, {
prompt,
model
})
}
// PEACOCK
module.exports.webshot = async function(context, url, allowAdultContent = false){
return await request(ObeliskApi.WEBSHOT, "POST", {}, {