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

VideoPart.md

38 lines654 Bytes

1---
2id: VideoPart
3title: VideoPart
4---
5​
6Defined in: [packages/ai/src/types.ts:306](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L306)
7​
8Video content part for multimodal messages. AG-UI `VideoPart` with typed metadata.
9​
10## Extends
11​
12- `VideoPart`
13​
14## Type Parameters
15​
16### TMetadata
17​
18`TMetadata` = `unknown`
19​
20Provider-specific metadata type
21​
22## Properties
23​
24### metadata?
25​
26```ts
27optional metadata?: TMetadata;
28```
29​
30Defined in: [packages/ai/src/types.ts:308](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L308)
31​
32Provider-specific metadata (e.g., duration, resolution)
33​
34#### Overrides
35​
36```ts
37AGUIVideoPart.metadata
38```