---
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.
  - `result` object — Model-specific response.
  - `requestId` string, nullable — Id of the REST API request.
  - `metadata` ImageMetadata, nullable — Image metadata.
    - `width` integer — Image width, in pixels.
    - `height` integer — Image height, in pixels.
    - `format` string, nullable — Image format.

## Other responses

- `default` — Error response.

---

[API](https://skmtc.dev/azure/apis/computer-vision-client.md) · [All operations](https://skmtc.dev/azure/apis/computer-vision-client/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/computer-vision-client/revisions/5fb9df827f90/schema)
