Open History to see the last commit
1---
2id: VideoUrlResult
3title: VideoUrlResult
4---
5
6Defined in: [packages/ai/src/types.ts:2696](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2696)
7
8**`Experimental`**
9
10Result containing the URL to a generated video.
11
12 Video generation is an experimental feature and may change.
13
14## Properties
15
16### artifacts?
17
18```ts
19optional artifacts?: PersistedArtifactRef[];
20```
21
22Defined in: [packages/ai/src/types.ts:2710](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2710)
23
24**`Experimental`**
25
26Persisted artifact references for generated assets, when available
27
28***
29
30### body?
31
32```ts
33optional body?: undefined;
34```
35
36Defined in: [packages/ai/src/types.ts:2711](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2711)
37
38**`Experimental`**
39
40***
41
42### expiresAt?
43
44```ts
45optional expiresAt?: Date;
46```
47
48Defined in: [packages/ai/src/types.ts:2702](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2702)
49
50**`Experimental`**
51
52When the URL expires, if applicable
53
54***
55
56### jobId
57
58```ts
59jobId: string;
60```
61
62Defined in: [packages/ai/src/types.ts:2698](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2698)
63
64**`Experimental`**
65
66Job identifier
67
68***
69
70### url
71
72```ts
73url: string;
74```
75
76Defined in: [packages/ai/src/types.ts:2700](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2700)
77
78**`Experimental`**
79
80URL to the generated video
81
82***
83
84### usage?
85
86```ts
87optional usage?: TokenUsage<ProviderUsageDetails>;
88```
89
90Defined in: [packages/ai/src/types.ts:2708](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2708)
91
92**`Experimental`**
93
94Usage information for the completed generation, when the adapter can report
95it. For usage-based providers (e.g. fal) this carries `billed` — the real
96billed quantity paired with its unit — so consumers can compute exact cost.