Skip to content

@chinmaymk/aikit v0.0.40


@chinmaymk/aikit / ImageContent

Interface: ImageContent

Defined in: types.ts:35

A picture is worth a thousand tokens. Use this for multimodal messages.

Properties

type

type: "image"

Defined in: types.ts:37

Yup, it's an image.


image

image: string

Defined in: types.ts:39

Base64 encoded image or a data URL. Don't worry, the AI knows what to do with it.

Released under the MIT License.