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

createVideoOptions.md

34 lines785 Bytes

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