Table of Contents

Class GenerateVideosConfig

public class GenerateVideosConfig : PredictionConfigBase
Inheritance
object
GenerateVideosConfig
Inherited Members

Properties

DurationSeconds

Optional. Length of the generated video. "4", "6", "8". Must be "8" when using extension or interpolation (supports both 16:9 and 9:16), and when using referenceImages (only supports 16:9)

public string DurationSeconds { get; set; }

Property Value

string

Image

Optional. An initial image to animate.

public GoogleImage Image { get; set; }

Property Value

GoogleImage

LastFrame

Optional. The final image for an interpolation video to transition. Must be used in combination with the image parameter.

public GoogleImage LastFrame { get; set; }

Property Value

GoogleImage

NegativePrompt

Optional. Text describing what not to include in the video.

public string NegativePrompt { get; set; }

Property Value

string

ReferenceImages

Optional. Up to three images to be used as style and content references. (Veo 3.1 only)

public List<VideoGenerationReferenceImage> ReferenceImages { get; set; }

Property Value

List<VideoGenerationReferenceImage>

Resolution

Optional. The video's resolution. "720p" (default), "1080p" (only supports 8s duration)

public GoogleTypes.Resolution? Resolution { get; set; }

Property Value

GoogleTypes.Resolution?