GenerateVideoResult
Namespace: Vercel.AI.Operations
public sealed class GenerateVideoResultResult of CancellationToken).
Inheritance: object
Constructors
Section titled “Constructors”GenerateVideoResult(IReadOnlyList<GeneratedVideo>, IReadOnlyList<OperationWarning>, IReadOnlyList<ProviderResponse>, JsonElement)
Section titled “GenerateVideoResult(IReadOnlyList<GeneratedVideo>, IReadOnlyList<OperationWarning>, IReadOnlyList<ProviderResponse>, JsonElement)”public GenerateVideoResult(IReadOnlyList<GeneratedVideo> videos, IReadOnlyList<OperationWarning> warnings, IReadOnlyList<ProviderResponse> responses, JsonElement providerMetadata)Creates a result.
Parameters
| Name | Type | Description |
|---|---|---|
videos |
IReadOnlyList<GeneratedVideo> | |
warnings |
IReadOnlyList<OperationWarning> | |
responses |
IReadOnlyList<ProviderResponse> | |
providerMetadata |
JsonElement |
Properties
Section titled “Properties”ProviderMetadata
Section titled “ProviderMetadata”public JsonElement ProviderMetadata { get; }Merged provider metadata.
Value: JsonElement
Responses
Section titled “Responses”public IReadOnlyList<ProviderResponse> Responses { get; }Responses. Each one carries that call’s provider metadata.
Value: IReadOnlyList<ProviderResponse>
public GeneratedVideo Video { get; }First video.
Value: GeneratedVideo
Videos
Section titled “Videos”public IReadOnlyList<GeneratedVideo> Videos { get; }All videos.
Value: IReadOnlyList<GeneratedVideo>
Warnings
Section titled “Warnings”public IReadOnlyList<OperationWarning> Warnings { get; }Warnings.
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product