---
title: Image Playground
framework: Image Playground
role: collection
role_heading: Framework
platforms: [iOS 18.1+, iPadOS 18.1+, Mac Catalyst 18.1+, macOS 15.1+, visionOS 2.4+]
path: imageplayground
---

# Image Playground

Present a system interface to generate images based on descriptive information.

## Overview

Overview Use the ImagePlayground framework to generate custom images using system-supported styles. To generate images, you specify a text description of what you want, an optional image, and the style you want the image to adopt. Use that information to present a system sheet from your SwiftUI view, or present a system view controller from your UIKit or AppKit interface. The system interface manages all interactions with the person, and upon success delivers an image for you to incorporate into your content. You can also use a programmatic interface to generate images without interactions.

## Topics

### SwiftUI presentation

- [imagePlaygroundSheet(isPresented:concept:sourceImage:onCompletion:onCancellation:)](swiftui/view/imageplaygroundsheet(ispresented:concept:sourceimage:oncompletion:oncancellation:).md)
- [imagePlaygroundSheet(isPresented:concepts:sourceImage:onCompletion:onCancellation:)](swiftui/view/imageplaygroundsheet(ispresented:concepts:sourceimage:oncompletion:oncancellation:).md)
- [imagePlaygroundSheet(isPresented:concepts:sourceImageURL:onCompletion:onCancellation:)](swiftui/view/imageplaygroundsheet(ispresented:concepts:sourceimageurl:oncompletion:oncancellation:).md)

### UIKit and AppKit presentation

- [ImagePlaygroundViewController](imageplayground/imageplaygroundviewcontroller.md)

### Programmatic creation

- [ImageCreator](imageplayground/imagecreator.md)

### Platform support

- [ImagePlaygroundConcept](imageplayground/imageplaygroundconcept.md)
- [ImagePlaygroundStyle](imageplayground/imageplaygroundstyle.md)

### Structures

- [ImagePlaygroundOptions](imageplayground/imageplaygroundoptions.md)
