[KongchangAI]
Concept

ImageGenerationOptions

An image generation options configuration class in Microsoft.Extensions.AI that can set parameters such as the media type (for example, image/png) and the number of images to generate, and is used to constrain model requests.

Timeline (last 90 days)

Oct 18

In Microsoft.Extensions.AI 10.10, HostedImageGenerationTool is an AITool-derived class that contains no executable logic and merely carries ImageGenerationOptions metadata, serving as a marker.

Unverified50%
Oct 18

The number of images the model requests can be limited via the Count and size parameters in ImageGenerationOptions, avoiding disk and billing problems caused by the model generating too many variants.

Unverified50%

All Facts (2)

Source Articles