API Reference
ImageGenerationOptions
Options for the Responses API image generation built-in tool.
Inheritance
- Object
- ImageGenerationOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property ChatOptions.ImageGeneration
- Method ImageGenerationOptions.Clone
- Property OpenAINativeOptions.ImageGeneration
Accepted by parameters
- Constructor ImageGenerationOptions.ImageGenerationOptions
Constructors
Methods
Inherited Methods
Properties
public Boolean Enabled { get; set; } #Whether to expose the image generation built-in tool to the model.
public String Quality { get; set; } #Optional image quality hint, for example low, medium, high, or auto.
public String Size { get; set; } #Optional output size, for example 1024x1024, 1536x1024, or auto.
public String OutputFormat { get; set; } #Optional output format, for example png, webp, or jpeg.
public Nullable<Int32> OutputCompression { get; set; } #Optional compression level for compressed formats when supported by the selected image model.
public String Background { get; set; } #Optional background preference, for example auto, transparent, or opaque.
public Nullable<Int32> PartialImages { get; set; } #Optional streaming partial image count when supported by the backend.
public String OutputDirectory { get; set; } #Optional directory where generated images should be saved.
public Nullable<Boolean> SaveOutputImages { get; set; } #Optional override for whether generated image base64 payloads should be persisted to disk.