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

LiveVideoGenerationOptions.md

93 lines2.0 KB

1---
2id: LiveVideoGenerationOptions
3title: LiveVideoGenerationOptions
4---
5​
6Defined in: [packages/ai/src/types.ts:2436](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2436)
7​
8**`Experimental`**
9​
10Options for live generation (prompt-steerable video sessions).
11​
12 Live generation is an experimental feature and may change.
13​
14## Type Parameters
15​
16### TProviderOptions
17​
18`TProviderOptions` *extends* `object` = `object`
19​
20## Properties
21​
22### abortSignal?
23​
24```ts
25optional abortSignal?: AbortSignal;
26```
27​
28Defined in: [packages/ai/src/types.ts:2459](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2459)
29​
30**`Experimental`**
31​
32Effective abort signal composed by the activity from caller `abortSignal`
33and/or `timeout`. Adapters should forward this to the provider SDK when
34supported. Request-specific — never store on a global client config.
35​
36***
37​
38### logger
39​
40```ts
41logger: InternalLogger;
42```
43​
44Defined in: [packages/ai/src/types.ts:2453](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2453)
45​
46**`Experimental`**
47​
48Internal logger threaded from the generateLiveVideo() entry point. Adapters
49must call logger.request() before the SDK call and logger.errors() in
50catch blocks.
51​
52***
53​
54### model
55​
56```ts
57model: string;
58```
59​
60Defined in: [packages/ai/src/types.ts:2440](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2440)
61​
62**`Experimental`**
63​
64The model to use for live generation
65​
66***
67​
68### modelOptions?
69​
70```ts
71optional modelOptions?: TProviderOptions;
72```
73​
74Defined in: [packages/ai/src/types.ts:2447](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2447)
75​
76**`Experimental`**
77​
78Provider mint options. For fal live this is `tokenDuration`. Reactor
79resolution/seed/audio are browser `sendCommand` fields.
80​
81***
82​
83### prompt
84​
85```ts
86prompt: string;
87```
88​
89Defined in: [packages/ai/src/types.ts:2442](https://github.com/TanStack/ai/blob/main/packages/ai/src/types.ts#L2442)
90​
91**`Experimental`**
92​
93Natural-language description of the shot or scene