Class ImageCaptioningRequest
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents the request body for the Image Captioning API.
public class ImageCaptioningRequest
- Inheritance
-
ImageCaptioningRequest
- Inherited Members
- Extension Methods
Properties
Instances
Gets or sets the list of instances. Only 1 image object allowed.
[JsonPropertyName("instances")]
public List<ImageInstance>? Instances { get; set; }
Property Value
Parameters
Gets or sets the parameters for the image captioning request.
[JsonPropertyName("parameters")]
public ImageCaptioningParameters? Parameters { get; set; }