<!--
{
  "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/MediaIntelligenceImageAsset",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "s:17MediaIntelligence0aB10ImageAssetV"
  },
  "title" : "MediaIntelligenceImageAsset"
}
-->

# MediaIntelligenceImageAsset

An image asset to analyze.

```
struct MediaIntelligenceImageAsset
```

## Overview

Create a [`MediaIntelligenceImageAsset`](/documentation/MediaIntelligence/MediaIntelligenceImageAsset) to identify an image you want
[`FaceGroupAnalyzer`](/documentation/MediaIntelligence/FaceGroupAnalyzer) to process. Each asset has a unique identifier
you assign, and a [`MediaIntelligenceImageAsset.Kind`](/documentation/MediaIntelligence/MediaIntelligenceImageAsset/Kind-swift.enum) value that
describes how the framework accesses the image data.

Use the same [`MediaIntelligenceImageAsset.ID`](/documentation/MediaIntelligence/MediaIntelligenceImageAsset/ID-swift.struct) value consistently for
a specified image. The framework uses this identifier to match new
submissions against existing data, so changing the identifier causes
the framework to treat the image as a new asset.

## Topics

### Creating an asset

[`init(id:kind:)`](/documentation/MediaIntelligence/MediaIntelligenceImageAsset/init(id:kind:))

Creates an image asset with the specified identifier and kind.

[`ID`](/documentation/MediaIntelligence/MediaIntelligenceImageAsset/ID-swift.struct)

A unique identifier for an image asset.

[`Kind`](/documentation/MediaIntelligence/MediaIntelligenceImageAsset/Kind-swift.enum)

A value that describes the source of an image asset’s data.

### Inspecting an asset

[`id`](/documentation/MediaIntelligence/MediaIntelligenceImageAsset/id-swift.property)

A unique identifier for the asset.

[`kind`](/documentation/MediaIntelligence/MediaIntelligenceImageAsset/kind-swift.property)

A value that describes how the framework accesses the image data.

## Relationships

### Conforms To

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

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

---

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)