---
title: "Content SDK Media API"
slug: "content-sdk-media-api"
abstract: "The Media API supports images in Content SDK applications, including media handling for Image and NextImage components."
---
# Content SDK Media API

The Content SDK media handling API provides the infrastructure for preparing and using images in Content SDK applications. It is used internally by the [`Image`](https://doc.sitecore.com/sai/en/developers/content-sdk/20/the-content-sdk-image-component.html "The Content SDK Image component") and Next.js-specific [`NextImage`](https://doc.sitecore.com/sai/en/developers/content-sdk/20/the-content-sdk-nextimage-component.html "The Content SDK NextImage component") components provided by Content SDK.

The API handles query string parameters in media URLs, and also iterates over the array of `srcSet` parameters for an `Image` to generate a corresponding set of SitecoreAI media URLs.