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

VideoGenerationOptions.md

91 lines1.6 KB

1---
2id: VideoGenerationOptions
3title: VideoGenerationOptions
4---
5​
6# Interface: VideoGenerationOptions\<TProviderOptions\>
7​
8Defined in: [types.ts:826](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L826)
9​
10**`Experimental`**
11​
12Options for video generation.
13These are the common options supported across providers.
14​
15 Video generation is an experimental feature and may change.
16​
17## Type Parameters
18​
19### TProviderOptions
20​
21`TProviderOptions` *extends* `object` = `object`
22​
23## Properties
24​
25### duration?
26​
27```ts
28optional duration: number;
29```
30​
31Defined in: [types.ts:836](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L836)
32​
33**`Experimental`**
34​
35Video duration in seconds
36​
37***
38​
39### model
40​
41```ts
42model: string;
43```
44​
45Defined in: [types.ts:830](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L830)
46​
47**`Experimental`**
48​
49The model to use for video generation
50​
51***
52​
53### modelOptions?
54​
55```ts
56optional modelOptions: TProviderOptions;
57```
58​
59Defined in: [types.ts:838](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L838)
60​
61**`Experimental`**
62​
63Model-specific options for video generation
64​
65***
66​
67### prompt
68​
69```ts
70prompt: string;
71```
72​
73Defined in: [types.ts:832](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L832)
74​
75**`Experimental`**
76​
77Text description of the desired video
78​
79***
80​
81### size?
82​
83```ts
84optional size: string;
85```
86​
87Defined in: [types.ts:834](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/types.ts#L834)
88​
89**`Experimental`**
90​
91Video size in WIDTHxHEIGHT format (e.g., "1280x720")