Class StabilityImageOptions
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.Provider.Stability.dll
Syntax
public class StabilityImageOptions : IImageRequestOptions, IProviderRequestOptions
Properties
| Edit this page View SourceAspectRatio
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
public StabilityTypes.AspectRatio? AspectRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| StabilityTypes.AspectRatio? |
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
public float? Creativity { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |
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
public StabilityTypes.StylePreset? StylePreset { get; set; }
Property Value
| Type | Description |
|---|---|
| StabilityTypes.StylePreset? |