Skip to content

StartVideo

Namespace: Vercel.AI.Operations

public static class StartVideo

Starts a video generation. Maps to experimental_startVideo.

Inheritance: object

View source

StartVideoAsync(GenerateVideoRequest, CancellationToken)

Section titled “StartVideoAsync(GenerateVideoRequest, CancellationToken)”
public static Task<StartVideoResult> StartVideoAsync(GenerateVideoRequest request, CancellationToken cancellationToken = default)

Starts one operation and returns without waiting.

Parameters

Name Type Description
request GenerateVideoRequest
cancellationToken CancellationToken

Returns: Task<StartVideoResult>

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product