Skip to content

VideoCallInputs

Namespace: Vercel.AI.Operations

public sealed class VideoCallInputs

Normalized prompt, frames, and references.

Inheritance: object

View source

VideoCallInputs(string?, VideoModelFile?, IReadOnlyList<VideoFrameFile>?, IReadOnlyList<VideoModelFile>?, IReadOnlyList<OperationWarning>)

Section titled “VideoCallInputs(string?, VideoModelFile?, IReadOnlyList<VideoFrameFile>?, IReadOnlyList<VideoModelFile>?, IReadOnlyList<OperationWarning>)”
public VideoCallInputs(string? prompt, VideoModelFile? image, IReadOnlyList<VideoFrameFile>? frameImages, IReadOnlyList<VideoModelFile>? inputReferences, IReadOnlyList<OperationWarning> warnings)

Creates normalized inputs.

Parameters

Name Type Description
prompt string
image VideoModelFile
frameImages IReadOnlyList<VideoFrameFile>
inputReferences IReadOnlyList<VideoModelFile>
warnings IReadOnlyList<OperationWarning>

View source

public IReadOnlyList<VideoFrameFile>? FrameImages { get; }

Frames.

Value: IReadOnlyList<VideoFrameFile>

View source

public VideoModelFile? Image { get; }

Start image. A first_frame wins over the prompt image.

Value: VideoModelFile

View source

public IReadOnlyList<VideoModelFile>? InputReferences { get; }

References. Null when frames are present.

Value: IReadOnlyList<VideoModelFile>

View source

public string? Prompt { get; }

Prompt text.

Value: string

View source

public IReadOnlyList<OperationWarning> Warnings { get; }

Normalization warnings.

Value: IReadOnlyList<OperationWarning>

View source

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