@directus-labs/ai-focal-point-detection-operation
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@directus-labs/ai-focal-point-detection-operation", | ||
"description": "Use OpenAI Vision models to find an image's focal points.", | ||
"icon": "extension", | ||
"version": "1.0.2", | ||
"keywords": [ | ||
"directus", | ||
"directus-extension", | ||
"directus-extension-operation" | ||
], | ||
"type": "module", | ||
"files": [ | ||
"dist" | ||
], | ||
"license": "MIT", | ||
"directus:extension": { | ||
"type": "operation", | ||
"path": { | ||
"app": "dist/app.js", | ||
"api": "dist/api.js" | ||
}, | ||
"source": { | ||
"app": "src/app.js", | ||
"api": "src/api.js" | ||
}, | ||
"host": "^10.10.0", | ||
"sandbox": { | ||
"enabled": true, | ||
"requestedScopes": { | ||
"log": {}, | ||
"request": { | ||
"methods": [ | ||
"POST" | ||
], | ||
"urls": [ | ||
"https://api.openai.com/v1/chat/**" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"scripts": { | ||
"build": "directus-extension build", | ||
"dev": "directus-extension build -w --no-minify", | ||
"link": "directus-extension link" | ||
}, | ||
"devDependencies": { | ||
"@directus/extensions-sdk": "11.0.1", | ||
"vue": "^3.4.21" | ||
} | ||
"name": "@directus-labs/ai-focal-point-detection-operation", | ||
"description": "Use OpenAI Vision models to find an image's focal points.", | ||
"icon": "extension", | ||
"version": "1.0.3", | ||
"keywords": [ | ||
"directus", | ||
"directus-extension", | ||
"directus-extension-operation" | ||
], | ||
"type": "module", | ||
"files": [ | ||
"dist" | ||
], | ||
"license": "MIT", | ||
"directus:extension": { | ||
"type": "operation", | ||
"path": { | ||
"app": "dist/app.js", | ||
"api": "dist/api.js" | ||
}, | ||
"source": { | ||
"app": "src/app.js", | ||
"api": "src/api.js" | ||
}, | ||
"host": "^10.10.0", | ||
"sandbox": { | ||
"enabled": true, | ||
"requestedScopes": { | ||
"log": {}, | ||
"request": { | ||
"methods": [ | ||
"POST" | ||
], | ||
"urls": [ | ||
"https://api.openai.com/v1/chat/**" | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
"scripts": { | ||
"build": "directus-extension build", | ||
"dev": "directus-extension build -w --no-minify", | ||
"link": "directus-extension link" | ||
}, | ||
"devDependencies": { | ||
"@directus/extensions-sdk": "11.0.1", | ||
"vue": "^3.4.21" | ||
} | ||
} |
@@ -5,7 +5,7 @@ # AI Focal Point Detection Operation | ||
![The AI Focal Point Detection operation, showing an Openai API Key field and a File URL field.](https://raw.githubusercontent.com/directus-labs/extension-ai-focal-point-detection-operation/main/docs/options.png) | ||
![The AI Focal Point Detection operation, showing an Openai API Key field and a File URL field.](https://raw.githubusercontent.com/directus-labs/extensions/main/packages/ai-focal-point-detection-operation/docs/options.png) | ||
This operation contains two required configuration options - an [OpenAI API Key](https://platform.openai.com), and a link to a file. It returns a JSON object containing the focal point coordinates and the reason these were chosen. | ||
![The output showing a JSON object containing a a flocal_point_x, focal_point_y, and reason parameter.](https://raw.githubusercontent.com/directus-labs/extension-ai-focal-point-detection-operation/main/docs/output.png) | ||
![The output showing a JSON object containing a a flocal_point_x, focal_point_y, and reason parameter.](https://raw.githubusercontent.com/directus-labs/extensions/main/packages/ai-focal-point-detection-operation/docs/output.png) | ||
@@ -12,0 +12,0 @@ You can use the operation to then save the result to a file. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unstable ownership
Supply chain riskA new collaborator has begun publishing package versions. Package stability and security risk may be elevated.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5436
1
2