Class PredictionRequest
Generate image(s) from a prompt using the Imagen 3 model,
or generate a video from a prompt using the Veo model.
Both Imagen 3 and Veo models are only available on the google paid tier.
Inheritance
PredictionRequest
Assembly: Glitch9.AIDevKit.Provider.Google.dll
Syntax
[JsonConverter(typeof(PredictionRequestConverter))]
public class PredictionRequest : GoogleGeminiRequest, IJsonRequest, IValidatable
Properties
|
Edit this page
View Source
Config
Declaration
[JsonProperty("config")]
public PredictionConfigBase Config { get; set; }
Property Value
|
Edit this page
View Source
Prompt
Declaration
[JsonProperty("prompt")]
public string Prompt { get; set; }
Property Value
Methods
|
Edit this page
View Source
IsValid()
Declaration
Returns
|
Edit this page
View Source
Validate()
Validates the object's parameters and throws if invalid.
Declaration
Implements
Extension Methods