import requests


def get_download_url(id, auth):
    """Get a download image url given an image id and oauth token"""
    url = f"https://api.gettyimages.com/v3/downloads/images/{id}?auto_download=false"
    headers = {
        "Api-Key": auth["api_key"],
        "Authorization": "Bearer " + auth["access_token"]
    }
    response = requests.request("POST", url, headers=headers)
    return response