The multi-year contract will allow Perplexity to utilize Getty images in its AI-powered search and discovery tools.