AI Dev Kit
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    GenerativeAIRequest
    GenerateMediaRequest
    Inherited Members
    GenerativeAIRequest.Model
    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()

    Declaration
    public override void ValidateBody()

    Extension Methods

    RequestExtensions.GenerateImageAsync(GenerateMediaRequest)
    RequestExtensions.GenerateVideoAsync(GenerateMediaRequest)
    In this article
    Back to top Generated by DocFX