This commit is contained in:
bignutty 2025-01-10 16:32:26 +01:00
parent a8aa4f5470
commit 006d7581ad
3 changed files with 13 additions and 7 deletions

View file

@ -69,6 +69,13 @@ module.exports.GenerativeImagesModelsImagen = async function(context, prompt){
})
}
module.exports.GenerativeImagesModelsWallpaper = async function(context, prompt, format){
return await request(ObeliskApi.GENERATIVEIMAGES_MODELS_WALLPAPER, "POST", {}, {
image_prompt: prompt,
format
})
}
module.exports.WebUtilsWebPageScreenshot = async function(context, url, allow_adult){
return await request(ObeliskApi.WEBUTILS_WEBPAGE_SCREENSHOT, "POST", {}, {
url,

View file