Search Results for

    Show / Hide Table of Contents

    Class StabilityStyleTransferRequest

    Inheritance
    object
    StabilityRequest
    StabilityStyleTransferRequest
    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 StabilityStyleTransferRequest : StabilityRequest

    Properties

    | Edit this page View Source

    ChangeStrength

    Optional. How much the original image should change. Range between 0.1 and 1. Default 0.9.

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

    CompositionFidelity

    Optional. How closely the output image's style resembles the input image's style. Range between 0 and 1. Default 0.9.

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

    InitImage

    Required. A Base64 image containing the subject you wish to restyle. Every side of the image must be at least 64 pixels. The total pixel count cannot exceed 9,437,184 pixels. Image aspect ratio must be between 1:2.5 and 2.5:1. Supported formats: jpeg, png, webp.

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

    StyleImage

    Required. A Base64 image containing the style you wish to apply. Every side of the image must be at least 64 pixels. The total pixel count cannot exceed 9,437,184 pixels. Image aspect ratio must be between 1:2.5 and 2.5:1. Supported formats: jpeg, png, webp.

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

    StyleStrength

    Optional. Sometimes referred to as denoising, this parameter controls how much influence the style_image has. A value of 0 yields an identical image to the input; 1 ignores the input entirely. Range between 0 and 1. Default 1.

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

    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