ImageContentPart interface

Properties

image_url

The URL of the image.

type

Type of the message content. Should always be 'image_url'.

Property Details

image_url

The URL of the image.

image_url: string | { url: string }

Property Value

string | { url: string }

type

Type of the message content. Should always be 'image_url'.

type: "image_url"

Property Value

"image_url"