Search Results for

    Show / Hide Table of Contents

    Class StabilitySD3Request

    Request body for POST /v2beta/stable-image/generate/sd3. Supports SD3 Large, SD3 Large Turbo, and SD3 Medium models.

    Inheritance
    object
    StabilityRequest
    StabilitySD3Request
    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 StabilitySD3Request : StabilityRequest, IMultipartFormRequest

    Properties

    | Edit this page View Source

    AspectRatio

    Optional. Controls the aspect ratio of the generated image (text-to-image only). Default: 1:1.

    Declaration
    [JsonProperty("aspect_ratio")]
    public StabilityTypes.AspectRatio? AspectRatio { get; set; }
    Property Value
    Type Description
    StabilityTypes.AspectRatio?
    | Edit this page View Source

    Image

    Optional. Raw bytes of the input image for image-to-image mode. Minimum 64 pixels per side. Formats: jpeg, png, webp.

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

    Mode

    Optional. Generation mode. Default: "text-to-image". Use "image-to-image" when providing an input image.

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

    Model

    Required. The SD3 model to use. Values: "sd3-large", "sd3-large-turbo", "sd3-medium".

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

    Strength

    Optional. Influence of the input image on the output. Range: 0 to 1. 0 = preserve input image; 1 = ignore input image. Required for image-to-image mode.

    Declaration
    [JsonProperty("strength")]
    public float? Strength { get; set; }
    Property Value
    Type Description
    float?

    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