Docs
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
CodeRabbit
Cloudflare
AG Grid
SerpAPI
Netlify
OpenRouter
Neon
WorkOS
Clerk
Electric
PowerSync
Sentry
Railway
Prisma
Strapi
Unkey
Class References
Function References
Interface References
Type Alias References
Variable References

createVideoOptions

Function: createVideoOptions()

ts
function createVideoOptions<TAdapter, TStream>(options): VideoCreateOptions<TAdapter, TStream>;
function createVideoOptions<TAdapter, TStream>(options): VideoCreateOptions<TAdapter, TStream>;

Defined in: packages/typescript/ai/src/activities/generateVideo/index.ts:547

Create typed options for the generateVideo() function without executing.

Type Parameters

TAdapter

TAdapter extends VideoAdapter<string, any, any, any>

TStream

TStream extends boolean = false

Parameters

options

VideoCreateOptions<TAdapter, TStream>

Returns

VideoCreateOptions<TAdapter, TStream>