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

VideoUrlResult.md

96 lines1.3 KB

1---
2id: VideoUrlResult
3title: VideoUrlResult
4---
5​
6Defined in: packages/ai/src/types.ts:2613
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:2627
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:2628
37​
38**`Experimental`**
39​
40***
41​
42### expiresAt?
43​
44```ts
45optional expiresAt?: Date;
46```
47​
48Defined in: packages/ai/src/types.ts:2619
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:2615
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:2617
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:2625
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.