Table of Contents

Enum VideoGenerationMaskMode

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Enum for the mask mode of a video generation mask.

[JsonConverter(typeof(JsonStringEnumConverter<VideoGenerationMaskMode>))]
public enum VideoGenerationMaskMode
Extension Methods

Fields

INSERT = 0

The image mask contains a masked rectangular region which is applied on the first frame of the input video. The object described in the prompt is inserted into this region and will appear in subsequent frames.

REMOVE = 1

The image mask is used to determine an object in the first video frame to track. This object is removed from the video.

REMOVE_STATIC = 2

The image mask is used to determine a region in the video. Objects in this region will be removed.

OUTPAINT = 3

The image mask contains a masked rectangular region where the input video will go. The remaining area will be generated. Video masks are not supported.