Search Results for

    Show / Hide Table of Contents

    Class StabilityUpscaleRequest

    Request body for synchronous upscale endpoints: POST /v2beta/stable-image/upscale/conservative POST /v2beta/stable-image/upscale/fast The creative upscale endpoint is async (deferred) and uses a different polling flow.

    Inheritance
    object
    StabilityRequest
    StabilityUpscaleRequest
    Implements
    IMultipartFormRequest
    Inherited Members
    StabilityRequest.Prompt
    StabilityRequest.NegativePrompt
    StabilityRequest.Seed
    StabilityRequest.OutputFormat
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.Stability
    Assembly: Glitch9.AIDevKit.Provider.Stability.dll
    Syntax
    public class StabilityUpscaleRequest : StabilityRequest, IMultipartFormRequest

    Properties

    | Edit this page View Source

    Creativity

    Optional. Creativity strength (conservative upscale only). Indicates how much detail is added during upscaling. Range: 0.1 to 0.5. Default: 0.35.

    Declaration
    [JsonProperty("creativity")]
    public float? Creativity { get; set; }
    Property Value
    Type Description
    float?
    | Edit this page View Source

    Image

    Required. Raw bytes of the image to upscale. Formats: jpeg, png, webp. Minimum 64 pixels per side.

    Declaration
    [JsonProperty("image")]
    public byte[] Image { get; set; }
    Property Value
    Type Description
    byte[]

    Implements

    IMultipartFormRequest

    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