Search Results for

    Show / Hide Table of Contents

    Class GenerateVideosConfig

    Inheritance
    object
    PredictionConfigBase
    GenerateVideosConfig
    Inherited Members
    PredictionConfigBase.AspectRatio
    PredictionConfigBase.PersonGeneration
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Google
    Assembly: Glitch9.AIDevKit.Provider.Google.dll
    Syntax
    public class GenerateVideosConfig : PredictionConfigBase

    Properties

    | Edit this page View Source

    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)

    Declaration
    [JsonProperty("durationSeconds")]
    public string DurationSeconds { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Image

    Optional. An initial image to animate.

    Declaration
    [JsonProperty("image")]
    public GoogleImage Image { get; set; }
    Property Value
    Type Description
    GoogleImage
    | Edit this page View Source

    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
    | Edit this page View Source

    NegativePrompt

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

    Declaration
    [JsonProperty("negativePrompt")]
    public string NegativePrompt { get; set; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    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>
    | Edit this page View Source

    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?

    Extension Methods

    ArrayExtensions.ToArrayOrEmpty<T>(T)
    ArrayExtensions.ToArrayOrNull<T>(T)
    EventExtensions.ToDelta<T>(T, string, int, string, bool)
    EventExtensions.ToDone<T>(T, string, int, string)
    EventExtensions.ToEvent<T>(T)
    EventExtensions.UpcastDelta<T1, T2>(T1, string, int, string, bool)
    FallbackExtensions.IsOr<TParent, TChild>(TParent, TChild)
    ResponseCastingExtensions.GetResult<T>(T)
    SystemExtensions.GetName(object)
    • Edit this page
    • View Source
    In this article
    Back to top AI DevKit Documentation