Search Results for

    Show / Hide Table of Contents

    Class StabilityStyleTransferOptions

    Inheritance
    object
    StabilityStyleTransferOptions
    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 StabilityStyleTransferOptions : IImageRequestOptions, IProviderRequestOptions

    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
    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
    public float? CompositionFidelity { get; set; }
    Property Value
    Type Description
    float?
    | 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
    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
    public float? StyleStrength { get; set; }
    Property Value
    Type Description
    float?

    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