> ## Documentation Index
> Fetch the complete documentation index at: https://developers.eyequant.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a video analysis

> Submit a video for per-frame visual saliency analysis.

Create a visual saliency analysis for a video. The request returns `201 Created` with the new `id` and a `location` URL (also returned in the `Location` response header). Poll [Get a video analysis](https://developers.eyequant.com/api-reference/get-video-analysis.md) with the returned `id` to retrieve the result.

> [!WARNING]
>
> Video analysis is gated by the `dynamic-saliency` add-on. If it is not enabled for your account, this endpoint returns `404`. Contact [sales@eyequant.com](mailto:sales@eyequant.com) to enable it.

> [!NOTE]
>
> The video `content` must be an AWS S3 URL presigned by EyeQuant. See [Analyze videos](https://developers.eyequant.com/guides/analyzing-videos.md) for how to obtain one and the supported video requirements.

**input** `object` *required*

The video input specification.

**input properties**

**content** `string` *required*

The URL to the video. Currently only AWS S3 URLs presigned by EyeQuant are allowed.

**title** `string` *required*

The title of the video.

**id** `string`

The id of the new video analysis.

**location** `string`

The URL where the result can be retrieved (also returned in the `Location` header).

```bash cURL theme={null}
curl \
  -X POST \
  -H "Authorization: Bearer $apikey" \
  -H "Content-Type: application/json" \
  -d '{"input":{ "content":"https://s3.example.com/video-test-eyequant/users/EQWML/7ee3f6ce-a259-46e9-8eae-7964b56ca004-vi-0", "title":"The video title." }}' \
  https://api.eyequant.com/v2/analyses/video
```

```json 201 theme={null}
{
  "id": "eddec58c-b843-4c8e-a6dd-19155094a1a7",
  "location": "https://api.eyequant.com/v2/analyses/video/eddec58c-b843-4c8e-a6dd-19155094a1a7"
}
```

```json 400 theme={null}
{
  "error": {
    "code": "invalid_request",
    "message": "Invalid request."
  }
}
```

```json 404 theme={null}
{
  "error": {
    "code": "resource_not_found",
    "message": "We could not find an analysis for the given id."
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.