Search Results for

    Show / Hide Table of Contents

    Class StabilityImageOptions

    Inheritance
    object
    StabilityImageOptions
    StabilityInpaintOptions
    StabilityOutpaintOptions
    Implements
    IImageRequestOptions
    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.Provider.Stability.dll
    Syntax
    public class StabilityImageOptions : IImageRequestOptions, IProviderRequestOptions

    Properties

    | Edit this page View Source

    AspectRatio

    Optional. Controls the aspect ratio of the generated image. This parameter is only valid for text-to-image requests. Default 1:1. Enum: 16:9, 1:1, 21:9, 2:3, 3:2, 4:5, 5:4, 9:16, 9:21.

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

    Creativity

    creativity ??(number) Indicates how creative the model should be when upscaling an image. Higher values will result in more details being added to the image during upscaling. Range between 0.1 and 0.5. Default 0.35

    Declaration
    public float? Creativity { get; set; }
    Property Value
    Type Description
    float?
    | Edit this page View Source

    StylePreset

    style_preset ??Guides the image model towards a particular style. Enum: 3d-model, analog-film, anime, cinematic, comic-book, digital-art, enhance, fantasy-art, isometric, line-art, low-poly, modeling-compound, neon-punk, origami, photographic, pixel-art, tile-texture.

    Declaration
    public StabilityTypes.StylePreset? StylePreset { get; set; }
    Property Value
    Type Description
    StabilityTypes.StylePreset?

    Implements

    IImageRequestOptions
    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