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

VideoStatusResult.md

70 lines1.3 KB

1---
2id: VideoStatusResult
3title: VideoStatusResult
4---
5​
6# Interface: VideoStatusResult
7​
8Defined in: [packages/typescript/ai/src/types.ts:1584](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1584)
9​
10**`Experimental`**
11​
12Status of a video generation job.
13​
14 Video generation is an experimental feature and may change.
15​
16## Properties
17​
18### error?
19​
20```ts
21optional error: string;
22```
23​
24Defined in: [packages/typescript/ai/src/types.ts:1592](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1592)
25​
26**`Experimental`**
27​
28Error message if status is 'failed'
29​
30***
31​
32### jobId
33​
34```ts
35jobId: string;
36```
37​
38Defined in: [packages/typescript/ai/src/types.ts:1586](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1586)
39​
40**`Experimental`**
41​
42Job identifier
43​
44***
45​
46### progress?
47​
48```ts
49optional progress: number;
50```
51​
52Defined in: [packages/typescript/ai/src/types.ts:1590](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1590)
53​
54**`Experimental`**
55​
56Progress percentage (0-100), if available
57​
58***
59​
60### status
61​
62```ts
63status: "pending" | "processing" | "completed" | "failed";
64```
65​
66Defined in: [packages/typescript/ai/src/types.ts:1588](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L1588)
67​
68**`Experimental`**
69​
70Current status of the job