Class StabilityUltraRequest
Request body for POST /v2beta/stable-image/generate/ultra. Highest-quality single-image generation, highest credit cost.
Implements
Inherited Members
Namespace: Glitch9.AIDevKit.Stability
Assembly: Glitch9.AIDevKit.Provider.Stability.dll
Syntax
public class StabilityUltraRequest : StabilityRequest, IMultipartFormRequest
Properties
| Edit this page View SourceAspectRatio
Optional. Controls the aspect ratio of the generated image (text-to-image only). Default: 1:1.
Declaration
[JsonProperty("aspect_ratio")]
public StabilityTypes.AspectRatio? AspectRatio { get; set; }
Property Value
| Type | Description |
|---|---|
| StabilityTypes.AspectRatio? |
Image
Optional. Input image for image-to-image generation. Raw bytes. Minimum 64 pixels per side. Formats: jpeg, png, webp.
Declaration
[JsonProperty("image")]
public byte[] Image { get; set; }
Property Value
| Type | Description |
|---|---|
| byte[] |
Strength
Optional. Influence of the input image on the output. Range: 0 to 1. Required when image is provided.
Declaration
[JsonProperty("strength")]
public float? Strength { get; set; }
Property Value
| Type | Description |
|---|---|
| float? |