Class ImageCaptioningParameters
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
Represents the parameters for the Image Captioning API.
public class ImageCaptioningParameters
- Inheritance
-
ImageCaptioningParameters
- Inherited Members
- Extension Methods
Properties
Language
Gets or sets the language for the generated captions.
[JsonPropertyName("language")]
public string? Language { get; set; }
Property Value
SampleCount
Gets or sets the number of generated text strings. Must be between 1 and 3.
[JsonPropertyName("sampleCount")]
public int? SampleCount { get; set; }
Property Value
- int?
Seed
Gets or sets the seed for random number generator (RNG). If RNG seed is the same for requests with the inputs, the prediction results will be the same.
[JsonPropertyName("seed")]
public int? Seed { get; set; }
Property Value
- int?
StorageUri
Gets or sets the Cloud Storage location to save the generated text responses.
[JsonPropertyName("storageUri")]
public string? StorageUri { get; set; }