Class StabilityStyleTransferOptions
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.Provider.Stability.dll
Syntax
public class StabilityStyleTransferOptions : IImageRequestOptions, IProviderRequestOptions
Properties
| Edit this page View SourceChangeStrength
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? |
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? |
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 |
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? |