<!--
{
  "availability" : [
    "iOS: 18.4.0 -",
    "iPadOS: 18.4.0 -",
    "macCatalyst: 18.4.0 -",
    "macOS: 15.4.0 -",
    "visionOS: 2.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImagePlayground",
  "identifier" : "/documentation/ImagePlayground/ImagePlaygroundStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Image Playground"
    ],
    "preciseIdentifier" : "s:15ImagePlayground0aB5StyleV"
  },
  "title" : "ImagePlaygroundStyle"
}
-->

# ImagePlaygroundStyle

Style options that determine the appearance of generated images.

```
struct ImagePlaygroundStyle
```

## Overview

When you create images programmatically, you can ask the system to
create images in a particular style. The generative model takes the
requested style option and applies it to the content it generates.

## Topics

### Getting the style options

[`animation`](/documentation/ImagePlayground/ImagePlaygroundStyle/animation)

An option that yields animated images.

[`illustration`](/documentation/ImagePlayground/ImagePlaygroundStyle/illustration)

An option that yields images in a 2D cartoon style.

[`sketch`](/documentation/ImagePlayground/ImagePlaygroundStyle/sketch)

An option that yields images in the style of a hand-drawn sketch.

[`all`](/documentation/ImagePlayground/ImagePlaygroundStyle/all)

An option that allows the creation of images in any style.

### Getting the style identifier

[`id`](/documentation/ImagePlayground/ImagePlaygroundStyle/id)

A text-based description of the style option.

## Relationships

### Conforms To

[`Identifiable`](/documentation/Swift/Identifiable)

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Encodable`](/documentation/Swift/Encodable)

[`Decodable`](/documentation/Swift/Decodable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)