---
title: "init(id:kind:)"
framework: Media Intelligence
role: symbol
role_heading: Initializer
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, tvOS 27.0+, visionOS 27.0+]
path: "mediaintelligence/mediaintelligenceimageasset/init(id:kind:)"
---

# init(id:kind:)

Creates an image asset with the specified identifier and kind.

## Declaration

```swift
init(id: MediaIntelligenceImageAsset.ID, kind: MediaIntelligenceImageAsset.Kind)
```

## Parameters

- `id`: A unique identifier for the asset.
- `kind`: A value that describes how the framework accesses the image data.

## See Also

### Creating an asset

- [MediaIntelligenceImageAsset.ID](mediaintelligence/mediaintelligenceimageasset/id-swift.struct.md)
- [MediaIntelligenceImageAsset.Kind](mediaintelligence/mediaintelligenceimageasset/kind-swift.enum.md)
