mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-20 11:57:03 -04:00
mono2: screenshot
This commit is contained in:
parent
2d84cddca9
commit
eb7a03f971
4 changed files with 23 additions and 19 deletions
|
@ -62,6 +62,13 @@ module.exports.GenerativeImagesModelsImagen = async function(context, prompt){
|
|||
})
|
||||
}
|
||||
|
||||
module.exports.WebUtilsWebPageScreenshot = async function(context, url, allow_adult){
|
||||
return await request(ObeliskApi.WEBUTILS_WEBPAGE_SCREENSHOT, "POST", {}, {
|
||||
url,
|
||||
allow_adult
|
||||
})
|
||||
}
|
||||
|
||||
module.exports.SparkWebSummarize = async function(context, url){
|
||||
return await request(ObeliskApi.SPARK_WEB_SUMMARIZE, "POST", {}, {
|
||||
url
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue