Add-on: synchronous endpoints
Last updated
Was this helpful?
Last updated
Was this helpful?
We offer an add-on for Unitary Premium that allows access to synchronous API endpoints. When you send a request to one of these endpoints, the Policy classification results will be returned in the API response. Therefore, these endpoints do not require the integration of webhooks.
Please get in contact (support@unitary.ai) to discuss pricing if you are interested.
This endpoint predicts the policy categories of a single image.
The request must contain a url
form field (a string containing a URL to download the image file from).
Example CURL:
curl --location --request POST "https://api.unitary.ai/v1/classify/policy/image/now" --header "Authorization: Bearer {API_TOKEN}" --header "Content-Type: multipart/form-data" --form "url={RESOURCE_URL}"
/classify/policy/image/now