Docs
Code Rabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
Sentry
Prisma
Strapi
Unkey
UI.dev
Code Rabbit
Cloudflare
AG Grid
Netlify
Neon
WorkOS
Clerk
Convex
Electric
Sentry
Prisma
Strapi
Unkey
UI.dev
Community Adapters
Class References
Function References
Interface References
Type Alias References
Variable References
Interface References

ImagePart

Interface: ImagePart<TMetadata>

Defined in: types.ts:133

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:138

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


source

ts
source: ContentPartSource;
source: ContentPartSource;

Defined in: types.ts:136

Source of the image content


type

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

Defined in: types.ts:134