Docs
Cloudflare
CodeRabbit
Railway
AG Grid
Netlify
SerpAPI
Clerk
OpenRouter
WorkOS
Sentry
Electric
Unkey
Prisma
Cloudflare
CodeRabbit
Railway
AG Grid
Netlify
SerpAPI
Clerk
OpenRouter
WorkOS
Sentry
Electric
Unkey
Prisma
Class References
Function References
Interface References
Type Alias References
Variable References
Interface References

VideoPart

Interface: VideoPart<TMetadata>

Defined in: packages/ai/src/types.ts:250

Video content part for multimodal messages.

Type Parameters

TMetadata

TMetadata = unknown

Provider-specific metadata type

Properties

metadata?

ts
optional metadata: TMetadata;
optional metadata: TMetadata;

Defined in: packages/ai/src/types.ts:255

Provider-specific metadata (e.g., duration, resolution)


source

ts
source: ContentPartSource;
source: ContentPartSource;

Defined in: packages/ai/src/types.ts:253

Source of the video content


type

ts
type: "video";
type: "video";

Defined in: packages/ai/src/types.ts:251