<!--
{
  "availability" : [
    "iOS: 26.4.0 -",
    "iPadOS: 26.4.0 -",
    "macCatalyst: 26.4.0 -",
    "macOS: 26.4.0 -",
    "visionOS: 26.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/View/imagePlaygroundOptions(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI4ViewP15ImagePlaygroundE05imageE7OptionsyQrAD0deG0VF"
  },
  "title" : "imagePlaygroundOptions(_:)"
}
-->

# imagePlaygroundOptions(_:)

Sets the options to use when generating an image.

```
nonisolated func imagePlaygroundOptions(_ options: ImagePlaygroundOptions = ImagePlaygroundOptions()) -> some View
```

## Parameters

`options`

The options to apply when generating an image.

## Return Value

An image playground sheet that generates images using the specified `options`.

## Discussion

If you don’t provide any custom options, the sheet applies the default options
to image generation.

---

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)