Class StabilityStyleTransferRequest
Inherited Members
Namespace: Glitch9.AIDevKit.AmazonAws
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class StabilityStyleTransferRequest : StabilityRequest
Properties
| Edit this page View SourceChangeStrength
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? |
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? |
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 |
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 |
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? |