---
title: "url(width:height:)"
framework: musickit
role: symbol
role_heading: Instance Method
path: "musickit/artwork/url(width:height:)"
---

# url(width:height:)

Returns a URL to request the image asset for a specified width and height.

## Declaration

```swift
func url(width: Int, height: Int) -> URL?
```
