---
title: "image(_:)"
framework: imageplayground
role: symbol
role_heading: Type Method
path: "imageplayground/imageplaygroundconcept/image(_:)-29ora"
---

# image(_:)

Creates a concept structure from the specified image object.

## Declaration

```swift
static func image(_ image: CGImage) -> ImagePlaygroundConcept
```

## Parameters

- `image`: The image you want to pass to the diffusion model.

## Discussion

Discussion Call this method when you want to use an image as the basis for generating a new image. Typically, you include other text-based concept structures in addition to this one. Include at most one image among the collection of concepts. Including more than one image yields unpredictable image results.

## See Also

### Describing the image

- [text(_:)](imageplayground/imageplaygroundconcept/text(_:).md)
- [extracted(from:title:)](imageplayground/imageplaygroundconcept/extracted(from:title:).md)
- [drawing(_:)](imageplayground/imageplaygroundconcept/drawing(_:).md)
- [image(_:)](imageplayground/imageplaygroundconcept/image(_:)-2s44c.md)
