illustration
TypeScriptstatic get illustration(): ImagePlaygroundStyleSwift declarationstatic let illustration: ImagePlaygroundStyleAn option that yields images in a 2D cartoon style.
struct · iOS 18.4+ · SDK 27.1
struct ImagePlaygroundStyleStyle options that determine the appearance of generated images. 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.
static get illustration(): ImagePlaygroundStyleSwift declarationstatic let illustration: ImagePlaygroundStyleAn option that yields images in a 2D cartoon style.
static get externalProvider(): ImagePlaygroundStyleSwift declarationstatic let externalProvider: ImagePlaygroundStyleAn option that yields images in a style provided by an external provider
get id(): stringSwift declarationlet id: StringA text-based description of the style option.
static get all(): Array<ImagePlaygroundStyle>Swift declarationstatic var all: [ImagePlaygroundStyle] { get }An option that allows the creation of images in any style.
static get any(): ImagePlaygroundStyleSwift declarationstatic let any: ImagePlaygroundStyleAn option that yields images in a style inferred from the prompt.
static get emoji(): ImagePlaygroundStyleSwift declarationstatic let emoji: ImagePlaygroundStyleAn option that yields images in an emoji style.
static get sketch(): ImagePlaygroundStyleSwift declarationstatic let sketch: ImagePlaygroundStyleAn option that yields images in the style of a hand-drawn sketch.
static get animation(): ImagePlaygroundStyleSwift declarationstatic let animation: ImagePlaygroundStyleAn option that yields animated images.
No declarations were skipped in this snapshot.