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

# image(_:)

Creates a concept structure from the image at the specified URL.

## Declaration

```swift
static func image(_ url: URL) -> ImagePlaygroundConcept?
```

## Parameters

- `url`: The URL of a local file that contains 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(_:)-29ora.md)
