Class StabilityRequest
Shared base for all Stability AI native API generation and edit requests. All requests use multipart/form-data encoding.
Inheritance
StabilityRequest
Implements
Inherited Members
Namespace: Glitch9.AIDevKit.Stability
Assembly: Glitch9.AIDevKit.Provider.Stability.dll
Syntax
public abstract class StabilityRequest : IMultipartFormRequest
Properties
| Edit this page View SourceNegativePrompt
Optional. Keywords of what you do not wish to see in the output image. Max 10,000 characters.
Declaration
[JsonProperty("negative_prompt")]
public string NegativePrompt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OutputFormat
Optional. Output image format. Supported: png, jpeg, webp. Default: png.
Declaration
[JsonProperty("output_format")]
public string OutputFormat { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Prompt
Required. What you wish to see in the output image. A strong, descriptive prompt clearly defining elements, colors, and subjects leads to better results.
Declaration
[JsonProperty("prompt")]
public string Prompt { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Seed
Optional. A fixed value to guide the randomness of the generation. Omit or pass 0 for a random seed. Range: 0 to 4294967295.
Declaration
[JsonProperty("seed")]
public int? Seed { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |