Interface GenerateVideosParameters

Class that represents the parameters for generating videos.

interface GenerateVideosParameters {
    config?: GenerateVideosConfig;
    image?: Image;
    model: string;
    prompt?: string;
    source?: GenerateVideosSource;
    video?: Video;
}

Properties

Configuration for generating videos.

image?: Image

The input image for generating the videos. Optional if prompt is provided. Not allowed if video is provided.

model: string

ID of the model to use. For a list of models, see Google models <https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models>_.

prompt?: string

The text prompt for generating the videos. Optional if image or video is provided.

A set of source input(s) for video generation.

video?: Video

The input video for video extension use cases. Optional if prompt is provided. Not allowed if image is provided.