v1

latestOpenAPI 3.0.02026-07-1493353.1 KB

This operation recognizes content within an image by applying a domain-specific model. The list of domain-specific models that are supported by the Computer Vision API can be retrieved using the /models GET request. Currently, the API provides following domain-specific models: celebrities, landmarks. Two input methods are supported -- (1) Uploading an image or (2) specifying an image URL. A successful response will be returned in JSON. If the request failed, the response will contain an error code and a message to help understand what went wrong.

post/models/{model}/analyze

Path parameters

modelstring required

The domain-specific content to recognize.

Query parameters

language'en' | 'es' | 'ja' | 'pt' | 'zh'

The desired language for output generation. If this parameter is not specified, the default value is "en".Supported languages:en - English, Default. es - Spanish, ja - Japanese, pt - Portuguese, zh - Simplified Chinese.

Request body

urlstring required

Publicly reachable URL of an image.

Response

Analysis result based on the domain model.

requestIdstring nullable

Id of the REST API request.

resultobject

Model-specific response.