You're looking at a specific version of this model. Jump to the model overview.

google /veo-3.1:ed5b1767

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
prompt
string
Text prompt for video generation
aspect_ratio
None
16:9
Video aspect ratio
duration
None
8
Video duration in seconds
image
string
Input image to start generating from. Ideal images are 16:9 or 9:16 and 1280x720 or 720x1280, depending on the aspect ratio you choose.
last_frame
string
Ending image for interpolation. When provided with an input image, creates a transition between the two images.
reference_images
array
[]
1 to 3 reference images for subject-consistent generation (reference-to-video, or R2V). Reference images only work with 16:9 aspect ratio and 8-second duration. Last frame is ignored if reference images are provided.
negative_prompt
string
Description of what to exclude from the generated video
resolution
None
1080p
Resolution of the generated video
generate_audio
boolean
True
Generate audio with the video
seed
integer
Random seed. Omit for random generations

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}