<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaIntelligence",
  "identifier" : "/documentation/MediaIntelligence/KeyFrameAnalysisRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "s:17MediaIntelligence23KeyFrameAnalysisRequestC"
  },
  "title" : "KeyFrameAnalysisRequest"
}
-->

# KeyFrameAnalysisRequest

A request that identifies the best representative frame of a video.

```
final class KeyFrameAnalysisRequest
```

## Overview

Use this type to find the single frame that best represents the
overall content of the video. Pass it to
[`analyze(_:for:)`](/documentation/MediaIntelligence/VideoAnalyzer/analyze(_:for:)) to receive a
[`KeyFrameAnalysisRequest.Result`](/documentation/MediaIntelligence/KeyFrameAnalysisRequest/Result) value containing the frame’s
timestamp.

Use the timestamp to seek a player to that position or to
extract a thumbnail image.

## Topics

### Creating a request

[`init()`](/documentation/MediaIntelligence/KeyFrameAnalysisRequest/init())

Creates a key frame analysis request.

### Inspecting the result

[`Result`](/documentation/MediaIntelligence/KeyFrameAnalysisRequest/Result)

The output of a key frame analysis.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Request`](/documentation/MediaIntelligence/VideoAnalyzer/Request)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)