Table of Contents

Class VideoInstance

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Internal representation of a single instance within the Vertex AI payload.

public class VideoInstance
Inheritance
VideoInstance
Inherited Members
Extension Methods

Properties

Image

Gets or sets the optional input image for video generation.

[JsonPropertyName("image")]
public ImageSample? Image { get; set; }

Property Value

ImageSample

LastFrame

Gets or sets the optional image to use as the last frame of the video.

[JsonPropertyName("lastFrame")]
public ImageSample? LastFrame { get; set; }

Property Value

ImageSample

Mask

Gets or sets an optional mask for inserting, removing or outpainting content.

[JsonPropertyName("mask")]
public VideoGenerationMask? Mask { get; set; }

Property Value

VideoGenerationMask

Prompt

Gets or sets the text prompt for video generation.

[JsonPropertyName("prompt")]
public string? Prompt { get; set; }

Property Value

string

ReferenceImages

Gets or sets optional asset or style reference images.

[JsonPropertyName("referenceImages")]
public List<VideoGenerationReferenceImage>? ReferenceImages { get; set; }

Property Value

List<VideoGenerationReferenceImage>