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

createVideoOptions.md

30 lines653 Bytes

1---
2id: createVideoOptions
3title: createVideoOptions
4---
5​
6# Function: createVideoOptions()
7​
8```ts
9function createVideoOptions<TAdapter>(options): VideoCreateOptions<TAdapter>;
10```
11​
12Defined in: [activities/generateVideo/index.ts:249](https://github.com/TanStack/ai/blob/main/packages/typescript/ai/src/activities/generateVideo/index.ts#L249)
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`, `object`\>
21​
22## Parameters
23​
24### options
25​
26`VideoCreateOptions`\<`TAdapter`\>
27​
28## Returns
29​
30`VideoCreateOptions`\<`TAdapter`\>