Class ImageGenerationInstance
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents an instance for image generation.
public class ImageGenerationInstance
- Inheritance
-
ImageGenerationInstance
- Inherited Members
- Extension Methods
Properties
Image
Gets or sets the image data for image generation.
[JsonPropertyName("image")]
public ImageSource? Image { get; set; }
Property Value
Prompt
Gets or sets the text prompt for image generation. Required.
[JsonPropertyName("prompt")]
public string? Prompt { get; set; }