---
title: url
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/transcript/imageattachment/url
---

# url

The URL of the original image asset, if the attachment was created from a URL.

## Declaration

```swift
var url: URL? { get }
```

## Discussion

Discussion This is nil if the attachment was created from a CGImage, CIImage, or CVPixelBuffer.

## See Also

### Inspecting an image attachment

- [cgImage](foundationmodels/transcript/imageattachment/cgimage.md)
- [ciImage](foundationmodels/transcript/imageattachment/ciimage.md)
- [orientation](foundationmodels/transcript/imageattachment/orientation.md)
