Skip to content

VideoOutput

Namespace: Vercel.AI.Operations

public sealed class VideoOutput

One generated video payload from the model.

Inheritance: object

View source

VideoOutput(string, string?, object?, string?)

Section titled “VideoOutput(string, string?, object?, string?)”
public VideoOutput(string type, string? url = null, object? data = null, string? mediaType = null)

Creates an output.

Parameters

Name Type Description
type string
url string
data object
mediaType string

View source

public object? Data { get; }

Base64 string or bytes.

Value: object

View source

public string? MediaType { get; }

Provider media type.

Value: string

View source

public string Type { get; }

url, base64, or binary.

Value: string

View source

public string? Url { get; }

URL for url outputs.

Value: string

View source

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