Search Results for

    Show / Hide Table of Contents

    Class OpenAIDiffusionOptionsBase

    Base class for OpenAI diffusion model request options (DALL-E, GPT-Image, Sora). Contains parameters shared across OpenAI's image and video generation APIs.

    Inheritance
    object
    OpenAIDiffusionOptionsBase
    OpenAIDalle3Options
    OpenAIGptImageOptions
    OpenAISoraOptions
    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 OpenAIDiffusionOptionsBase : IProviderRequestOptions

    Properties

    | Edit this page View Source

    Quality

    The quality of the image that will be generated. HD creates images with finer details and greater consistency across the image. This param is only supported for OpenAIModel.DallE3.

    Declaration
    public OpenAITypes.ImageQuality? Quality { get; set; }
    Property Value
    Type Description
    OpenAITypes.ImageQuality?
    Remarks

    Defaults to SD

    | Edit this page View Source

    Style

    The style of the generated images. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images. This param is only supported for OpenAIModel.DallE3.

    Declaration
    public OpenAITypes.ImageStyle? Style { get; set; }
    Property Value
    Type Description
    OpenAITypes.ImageStyle?
    Remarks

    Defaults to Vivid

    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