Documentation
Framework
Version
Class References
Function References
Interface References
Type Alias References
Variable References

ImagePart

Interface: ImagePart<TMetadata>

Defined in: types.ts:51

Image content part for multimodal messages.

Type Parameters

TMetadata

TMetadata = unknown

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

Properties

metadata?

ts
optional metadata: TMetadata;
optional metadata: TMetadata;

Defined in: types.ts:56

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


source

ts
source: ContentPartSource;
source: ContentPartSource;

Defined in: types.ts:54

Source of the image content


type

ts
type: "image";
type: "image";

Defined in: types.ts:52