OptionalabortAbort signal which can be used to cancel the request.
NOTE: AbortSignal is a client-only operation. Using it to cancel an operation will not cancel the request in the service. You will still be charged usage for any applicable operations.
OptionalaspectThe aspect ratio for the generated video. 16:9 (landscape) and 9:16 (portrait) are supported.
OptionalcompressionCompression quality of the generated videos.
OptionaldurationDuration of the clip for video generation in seconds.
OptionalenhanceWhether to use the prompt rewriting logic.
OptionalfpsFrames per second for video generation.
OptionalgenerateWhether to generate audio along with the video.
OptionalhttpUsed to override HTTP request options.
OptionallastImage to use as the last frame of generated videos. Only supported for image to video use cases.
OptionalmaskThe mask to use for generating videos.
OptionalnegativeExplicitly state what should not be included in the generated videos.
OptionalnumberNumber of output videos.
OptionaloutputThe gcs bucket where to save the generated videos.
OptionalpersonWhether allow to generate person videos, and restrict to specific ages. Supported values are: dont_allow, allow_adult.
OptionalpubsubThe pubsub topic where to publish the video generation progress.
OptionalreferenceThe images to use as the references to generate the videos. If this field is provided, the text prompt field must also be provided. The image, video, or last_frame field are not supported. Each image must be associated with a type. Veo 2 supports up to 3 asset images or 1 style image.
OptionalresolutionThe resolution for the generated video. 720p and 1080p are supported.
OptionalseedThe 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.
Configuration for generating videos.