---
title: attachmentLabel
framework: Foundation Models
role: symbol
role_heading: Instance Property
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+, visionOS 27.0+, watchOS 27.0+]
path: foundationmodels/imagereference/partiallygenerated/attachmentlabel
---

# attachmentLabel

The label of the referenced image as the model generates it.

## Declaration

```swift
var attachmentLabel: String.PartiallyGenerated?
```
