---
title: Making photo and video actions available to Siri and Apple Intelligence
framework: appintents
role: article
path: appintents/making-photo-and-video-actions-available-to-siri-and-apple-intelligence
---

# Making photo and video actions available to Siri and Apple Intelligence

## Making photo and video actions available to Siri and Apple Intelligence

Making photo and video actions available to Siri and Apple Intelligence Create app intents and entities to integrate your app’s photo and video functionality with Siri and Apple Intelligence.

Overview

To integrate your app’s photo and video capabilities with Siri and Apple Intelligence, you use Swift macros that generate additional properties and add protocol conformance for your app intent, app entity, and app enumeration implementation that Apple Intelligence needs.

> Note > Siri’s personal context understanding, onscreen awareness, and in-app actions are in development and will be available with a future software update.

For example, if your app allows someone to open a photo, use the [AppIntent(schema:)](/documentation/appintents/appintent(schema:)) macro and provide the assistant schema that consists of the `.photos` domain and the [openAsset](/documentation/appintents/assistantschemas/photosintent/openasset) schema:

```swift @AppIntent(schema: .photos.openAsset) struct OpenAssetIntent: OpenIntent {     var target: AssetEntity

@Dependency     var library: MediaLibrary

@Dependency     var navigation: NavigationManager

@MainActor     func perform() async throws -> some IntentResult {         let assets = library.assets(for: [target.id])         guard let asset = assets.first else {             throw IntentError.noEntity         }

navigation.openAsset(asset)         return .result()     } } ```

To learn more about assistant schemas, see [Integrating actions with Siri and Apple Intelligence](/documentation/appintents/integrating-actions-with-siri-and-apple-intelligence). For a list of available app intents in the `.photos` domain, see [AssistantSchemas.PhotosIntent](/documentation/appintents/assistantschemas/photosintent).
