TechnologiesMachine Learning & AI

ImagePlayground

iOSmacOStvOSwatchOSvisionOS

ImagePlayground generates images programmatically from text descriptions and style information using the system's generative models. You drive generation with an ImageCreator, describing what to produce through ImagePlaygroundConcept values and configuring the request with ImagePlaygroundOptions, including the ImagePlaygroundStyle to apply. ImagePlaygroundPersonalizationPolicy controls how personal content factors into the result. The framework is available on iOS, macOS, and visionOS.

Image Generation 1

Create images programmatically from text descriptions and style information using the system's generative models.

  • Cl
    ImageCreator
    Generates images programmatically from the description and style information

Describing the Image 1

Express what to generate through reusable concept values.

  • St
    ImagePlaygroundConcept
    Text elements that specify the content to include in the image.

Configuring Generation 2

Tune the request with options and the visual style to apply.

  • St
    ImagePlaygroundOptionsiOS 26.4+
    A type that stores the options that affect the image-generation process.
  • St
    ImagePlaygroundStyle
    Style options that determine the appearance of generated images.

Personalization 1

Control how personal content factors into generated images.

  • En
    ImagePlaygroundPersonalizationPolicy
    An option for enabling or disabling personalization in the system interface.

Classes 1

  • Cl
    ImagePlaygroundViewController
    Displays a standard system interface to generate images from

Extends 2

ViewEnvironmentValues
← Machine Learning & AI