---
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/mediaintelligencevideoasset/init(id:kind:)"
---

# init(id:kind:)

Creates a video asset with the specified identifier and kind.

## Declaration

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

## Parameters

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

## See Also

### Creating an asset

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