VideoGenerationModelParams

NextID: 15

Fields
sampleCount integer

Number of output videos.

storageUri string

The gcs bucket where to save the generated videos.

fps integer

Frames per second for video generation.

durationSeconds number

Duration of the clip for video generation in seconds.

seed integer

The RNG seed. If RNG seed is exactly same for each request with unchanged inputs, the prediction results will be consistent. Otherwise, a random RNG seed will be used each time to produce a different result. If the sample count is greater than 1, random seeds will be used for each sample.

aspectRatio string

The aspect ratio for the generated video. 16:9 (landscape) and 9:16 (portrait) are supported.

resolution string

The resolution for the generated video. Supported values are: 720p 1080p

personGeneration string

Whether allow to generate person videos, and restrict to specific ages. Supported values are: dont_allow allow_adult allowAll

pubsubTopic string

The pubsub topic where to publish the video generation progress.

negativePrompt string

Optional field in addition to the text content. Negative prompts can be explicitly stated here to help generate the video.

enablePromptRewriting
(deprecated)
boolean

Whether to enable prompt rewriting.

enhancePrompt boolean

If true, the prompt will be improved before it is used to generate videos. The RNG seed, if provided, will not result in consistent results if prompts are enhanced.

generateAudio boolean

If true, audio will be generated along with the video.

compressionQuality string

Compression quality of the generated videos. Supported values are: optimized lossless If not specified, the default value is optimized.

JSON representation
{
  "sampleCount": integer,
  "storageUri": string,
  "fps": integer,
  "durationSeconds": number,
  "seed": integer,
  "aspectRatio": string,
  "resolution": string,
  "personGeneration": string,
  "pubsubTopic": string,
  "negativePrompt": string,
  "enablePromptRewriting": boolean,
  "enhancePrompt": boolean,
  "generateAudio": boolean,
  "compressionQuality": string
}