Class GenerateVideosConfig
Inherited Members
Namespace: Glitch9.AIDevKit.Google
Assembly: Glitch9.AIDevKit.Provider.Google.dll
Syntax
public class GenerateVideosConfig : PredictionConfigBase
Properties
| Edit this page View SourceDurationSeconds
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)
Declaration
[JsonProperty("durationSeconds")]
public string DurationSeconds { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Image
Optional. An initial image to animate.
Declaration
[JsonProperty("image")]
public GoogleImage Image { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleImage |
LastFrame
Optional. The final image for an interpolation video to transition. Must be used in combination with the image parameter.
Declaration
[JsonProperty("lastFrame")]
public GoogleImage LastFrame { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleImage |
NegativePrompt
Optional. Text describing what not to include in the video.
Declaration
[JsonProperty("negativePrompt")]
public string NegativePrompt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ReferenceImages
Optional. Up to three images to be used as style and content references. (Veo 3.1 only)
Declaration
[JsonProperty("referenceImages")]
public List<VideoGenerationReferenceImage> ReferenceImages { get; set; }
Property Value
| Type | Description |
|---|---|
| List<VideoGenerationReferenceImage> |
Resolution
Optional. The video's resolution. "720p" (default), "1080p" (only supports 8s duration)
Declaration
[JsonProperty("resolution")]
public GoogleTypes.Resolution? Resolution { get; set; }
Property Value
| Type | Description |
|---|---|
| GoogleTypes.Resolution? |