Class OpenAIDiffusionOptionsBase
Base class for OpenAI diffusion model request options (DALL-E, GPT-Image, Sora). Contains parameters shared across OpenAI's image and video generation APIs.
Inheritance
OpenAIDiffusionOptionsBase
Implements
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public abstract class OpenAIDiffusionOptionsBase : IProviderRequestOptions
Properties
| Edit this page View SourceQuality
The quality of the image that will be generated. HD creates images with finer details and greater consistency across the image. This param is only supported for OpenAIModel.DallE3.
Declaration
public OpenAITypes.ImageQuality? Quality { get; set; }
Property Value
| Type | Description |
|---|---|
| OpenAITypes.ImageQuality? |
Remarks
Defaults to SD
Style
The style of the generated images. Vivid causes the model to lean towards generating hyper-real and dramatic images. Natural causes the model to produce more natural, less hyper-real looking images. This param is only supported for OpenAIModel.DallE3.
Declaration
public OpenAITypes.ImageStyle? Style { get; set; }
Property Value
| Type | Description |
|---|---|
| OpenAITypes.ImageStyle? |
Remarks
Defaults to Vivid