---
title: "POST /models/{model}/analyze"
method: POST
path: "/models/{model}/analyze"
---

# POST /models/{model}/analyze

`POST /models/{model}/analyze`

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.

## Path parameters

- `model` string, required

## Query parameters

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

## Request body

- ImageUrl
  - `url` string, required — Publicly reachable URL of an image.

## Response `200`

Analysis result based on the domain model.

- DomainModelResults, nullable — Result of image analysis using a specific domain model including additional metadata.
  - `metadata` ImageMetadata, nullable — Image metadata.
    - `format` string, nullable — Image format.
    - `height` integer — Image height, in pixels.
    - `width` integer — Image width, in pixels.
  - `requestId` string, nullable — Id of the REST API request.
  - `result` object — Model-specific response.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.net/azure/apis/cognitiveservices-computervision.md) · [All operations](https://skmtc.net/azure/apis/cognitiveservices-computervision/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cognitiveservices-computervision/versions/c35eebd9bcbe/schema)
