<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/ImageAttachmentContent",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Foundation Models"
    ],
    "preciseIdentifier" : "s:16FoundationModels22ImageAttachmentContentV"
  },
  "title" : "ImageAttachmentContent"
}
-->

# ImageAttachmentContent

A type that holds image data.

```
struct ImageAttachmentContent
```

## Overview

You don’t create `ImageAttachmentContent` directly. Instead, use one of the
[`Attachment`](/documentation/FoundationModels/Attachment) initializers to attach a
<doc://com.apple.documentation/documentation/CoreGraphics/CGImage>,
<doc://com.apple.documentation/documentation/CoreImage/CIImage>,
<doc://com.apple.documentation/documentation/CoreVideo/cvpixelbuffer-q2e>,
or image file URL.

## Relationships

### Conforms To

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

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

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

---

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)