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

createVideoOptions.md

32 lines645 Bytes

1---
2id: createVideoOptions
3title: createVideoOptions
4---
5​
6```ts
7function createVideoOptions<TAdapter, TStream>(options): VideoCreateOptions<TAdapter, TStream>;
8```
9​
10Defined in: packages/ai/src/activities/generateVideo/index.ts:1113
11​
12Create typed options for the generateVideo() function without executing.
13​
14## Type Parameters
15​
16### TAdapter
17​
18`TAdapter` *extends* [`VideoAdapter`](../interfaces/VideoAdapter.md)\<`string`, `any`, `any`, `any`, `any`, `any`\>
19​
20### TStream
21​
22`TStream` *extends* `boolean` = `false`
23​
24## Parameters
25​
26### options
27​
28`VideoCreateOptions`\<`TAdapter`, `TStream`\>
29​
30## Returns
31​
32`VideoCreateOptions`\<`TAdapter`, `TStream`\>