Skip to main content

analyze_images

Creates, updates, deletes, gets or lists an analyze_images resource.

Overview

Nameanalyze_images
TypeResource
Idazure.ai_content_safety.analyze_images

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
analyze_imageexecendpoint, imageAnalyze Image. A synchronous API for the analysis of potentially harmful image content. Currently, it supports four categories: Hate, SelfHarm, Sexual, and Violence.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )

Lifecycle Methods

Analyze Image. A synchronous API for the analysis of potentially harmful image content. Currently, it supports four categories: Hate, SelfHarm, Sexual, and Violence.

EXEC azure.ai_content_safety.analyze_images.analyze_image 
@endpoint='{{ endpoint }}' --required
@@json=
'{
"image": "{{ image }}",
"categories": "{{ categories }}",
"outputType": "{{ outputType }}"
}'
;