Edit

Imaging overview

Note

The imaging APIs (Image Super Resolution, Image Description, Image Segmentation, Image Foreground Extraction, and Object Erase) currently require a Copilot+ PC with an NPU. For Video Super Resolution, which supports additional hardware, see Get started with video super resolution. For a full overview of hardware support across all Windows AI APIs, see the supported hardware table.

The imaging features supported by the Windows AI APIs enable the following capabilities:

Capability Description
Image Super Resolution Scale and sharpen images up to 8x their original size while maintaining quality.
Image Description Generate text descriptions for images, including brief, detailed, diagram, and accessible formats.
Image Object Extractor Identify specific objects in an image using point and rectangle hints, returning a mask of the identified object.
Image Foreground Extractor Segment the foreground of an image for background removal or sticker generation.
Image Object Erase Remove objects from images and replace the erased area with the image background.

AI Dev Gallery includes interactive samples for the imaging capabilities on this page. You can inspect the C# source for each sample and export it as a Visual Studio project.

For API details, see API ref for AI imaging features.

For content moderation details, see Content safety with generative AI APIs.

Responsible AI

Follow responsible AI recommendations, including transparency and user trust, when using these APIs to modify or generate images in your Windows apps. To help users understand the origin and history of generated or modified images, provide Content Credentials as specified by the Coalition for Content Provenance and Authenticity (C2PA) standards.

See Responsible Generative AI Development on Windows for best practices when adding model-powered imaging features to Windows apps.

In this section

Article Description
Image Super Resolution Learn how to scale and sharpen images.
Image Description Learn how to generate text descriptions for images.
Image Object Extractor Learn how to identify objects in images using hints.
Image Foreground Extractor Learn how to extract foreground from images.
Image Object Erase Learn how to remove objects from images.

See also