Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

ImagePart.md

52 lines961 Bytes

Interface: ImagePart<TMetadata>

Defined in: types.ts:124

Image content part for multimodal messages.

Type Parameters

TMetadata

TMetadata = unknown

Provider-specific metadata type (e.g., OpenAI's detail level)

Properties

metadata?

optional metadata: TMetadata;

Defined in: types.ts:129

Provider-specific metadata (e.g., OpenAI's detail: 'auto' | 'low' | 'high')


source

source: ContentPartSource;

Defined in: types.ts:127

Source of the image content


type

type: "image";

Defined in: types.ts:125