Search Results for

    Show / Hide Table of Contents

    Class StabilityGenerationRequest

    Inheritance
    object
    StabilityRequest
    StabilityGenerationRequest
    StabilityEraseRequest
    StabilityInpaintingRequest
    StabilityOutpaintingRequest
    StabilitySearchAndRecolorRequest
    StabilitySearchAndReplaceRequest
    Inherited Members
    StabilityRequest.Prompt
    StabilityRequest.NegativePrompt
    StabilityRequest.OutputFormat
    StabilityRequest.Seed
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Glitch9.AIDevKit.AmazonAws
    Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
    Syntax
    public class StabilityGenerationRequest : StabilityRequest

    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
    [JsonProperty("aspect_ratio")]
    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
    [JsonProperty("creativity")]
    public float? Creativity { get; set; }
    Property Value
    Type Description
    float?
    | Edit this page View Source

    Image

    Required for image-to-image mode. Base64-encoded input image. Minimum 64 pixels per side. Supported formats: jpeg, png, webp.

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

    Mode

    Optional. Only for Stable Diffusion 3.5 Large model. Default: text-to-image. Enum: image-to-image or text-to-image. Controls whether this is a text-to-image or image-to-image

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

    Strength

    Required for image-to-image mode. Controls influence of the input image on the output. Range 0 to 1. Value of 0 preserves the input image, value of 1 ignores the input image.

    Declaration
    [JsonProperty("strength")]
    public float? Strength { 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
    [JsonProperty("style_preset")]
    public StabilityTypes.StylePreset? StylePreset { get; set; }
    Property Value
    Type Description
    StabilityTypes.StylePreset?

    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