Search Results for

    Show / Hide Table of Contents

    Class GoogleDiffusionOptionsBase

    Base class for Google diffusion model request options (Imagen, Veo). Contains parameters shared across Google's image and video generation APIs.

    Inheritance
    object
    GoogleDiffusionOptionsBase
    GoogleImagenOptions
    GoogleVeoOptions
    Implements
    IProviderRequestOptions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit
    Assembly: Glitch9.AIDevKit.dll
    Syntax
    public abstract class GoogleDiffusionOptionsBase : IProviderRequestOptions

    Properties

    | Edit this page View Source

    AspectRatio

    The aspect ratio of the generated media. Supported values vary by model.

    Declaration
    public GoogleTypes.AspectRatio? AspectRatio { get; set; }
    Property Value
    Type Description
    GoogleTypes.AspectRatio?
    | Edit this page View Source

    PersonGeneration

    Controls whether the model is allowed to generate images of people. See GoogleTypes.PersonGeneration for available policy values.

    Declaration
    public GoogleTypes.PersonGeneration? PersonGeneration { get; set; }
    Property Value
    Type Description
    GoogleTypes.PersonGeneration?

    Implements

    IProviderRequestOptions

    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