Share via


MessageInputImageUrlBlock interface

An image-URL block in a new message, referencing an external image by URL.

Extends

Properties

imageUrl

Information about the external image URL, including the URL and optional detail level.

type

Must be 'image_url' for an externally hosted image block.

Property Details

imageUrl

Information about the external image URL, including the URL and optional detail level.

imageUrl: MessageImageUrlParam

Property Value

type

Must be 'image_url' for an externally hosted image block.

type: "image_url"

Property Value

"image_url"