Skip to main content
POST
/
analyses
/
video
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
{
  "id": "eddec58c-b843-4c8e-a6dd-19155094a1a7",
  "location": "https://api.eyequant.com/v2/analyses/video/eddec58c-b843-4c8e-a6dd-19155094a1a7"
}
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 with the returned id to retrieve the result.
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 to enable it.
The video content must be an AWS S3 URL presigned by EyeQuant. See Analyze videos for how to obtain one and the supported video requirements.
input
object
required
The video input specification.
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).
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
{
  "id": "eddec58c-b843-4c8e-a6dd-19155094a1a7",
  "location": "https://api.eyequant.com/v2/analyses/video/eddec58c-b843-4c8e-a6dd-19155094a1a7"
}