Class GenerateMediaRequest
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.
Inherited Members
Namespace: Glitch9.AIDevKit.Google
Assembly: .dll
Syntax
public class GenerateMediaRequest : GenerativeAIRequest
Properties
Config
Declaration
public GenerateMediaConfig Config { get; set; }
Property Value
Type | Description |
---|---|
GenerateMediaConfig |
Prompt
Declaration
public string Prompt { get; set; }
Property Value
Type | Description |
---|---|
string |
Methods
ValidateBody()
Validate the request. This is used to check if all required properties are set. Fix the request if needed.
Declaration
public override void ValidateBody()
Overrides
Glitch9.IO.Networking.RESTApi.RequestBody.ValidateBody()