---
title: "Retrieve Domination Emotion For A Specific Frame"
method: GET
path: "/v1/videos/{video_id}/frames/{frame_id}/dominant_emotion"
tags: ["Video Emotion API"]
---

# Retrieve Domination Emotion For A Specific Frame

`GET /v1/videos/{video_id}/frames/{frame_id}/dominant_emotion`

## Request

- Base URL: `https://api.imentiv.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.imentiv.ai/v1/videos/{video_id}/frames/{frame_id}/dominant_emotion`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://api.imentiv.ai/oauth/authorize`
    - Token URL: `https://api.imentiv.ai/oauth/token` scopes: `media.read`

This API endpoint is designed to fetch and return the dominant emotion of frames within a video based on its video_id.
If face_id is provided, the dominant emotion of a specific face will be the output.

## Path parameters

- `video_id` string, required: Unique identifier of the video from which the frame’s dominant emotion is to be fetched.
- `frame_id` string, required: The unique id of the frame from which the dominant emotion is to be fetched.

## Query parameters

- `face_id` string, nullable: The id of the face whose dominant emotion is to be retrieved. If not provided, the dominant emotion for the entire frame will be returned.

## Response `200`

Successful Response

- FrameEmotionResponseData: Model for dominant emotion data of a frame. Attributes: frame_id (str): Identifier for the video frame. face_id (Optional[int]): Face ID detected in the frame. dominant_emotion (Optional[str]): Most prominent emotion detected. message (Optional[str]): Optional message or status info.
  - `frame_id` string, required
  - `face_id` integer, nullable
  - `dominant_emotion` string, nullable
  - `message` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-22** `536bf48bb9fb`: 3 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - the endpoint scheme security `BearerAuth` was added to the API
  - the endpoint scheme security `OAuth2Delegated` was added to the API

[Operation history](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai/changes/v1/videos/:video_id/frames/:frame_id/dominant_emotion/get.md)

---

[API](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai.md) - [All operations](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai/llms.txt) - [OpenAPI document](https://skmtc.dev/imentiv/apis/welcome-to-imentiv-ai/revisions/bc15cec7e794?raw)
