You can use Veo on Vertex AI to extend videos to between 1 and 30 seconds in length. You can extend videos using either the Google Cloud console or the Vertex AI API.
The following models support extending videos:
-
veo-2.0-generate-exp -
veo-2.0-generate-preview -
veo-3.1-generate-preview -
veo-3.1-fast-generate-preview -
veo-3.1-generate-001 -
veo-3.1-fast-generate-001 -
veo-3.1-lite-generate-001
For information about writing effective text prompts for video generation, see the Veo prompt guide .
Before you begin
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project : Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
- Create a project
: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles .
-
Enable the Vertex AI API.
Roles required to enable APIs
To enable APIs, you need the Service Usage Admin IAM role (
roles/serviceusage.serviceUsageAdmin), which contains theserviceusage.services.enablepermission. Learn how to grant roles . -
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Roles required to select or create a project
- Select a project : Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
- Create a project
: To create a project, you need the Project Creator role
(
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission. Learn how to grant roles .
-
Enable the Vertex AI API.
Roles required to enable APIs
To enable APIs, you need the Service Usage Admin IAM role (
roles/serviceusage.serviceUsageAdmin), which contains theserviceusage.services.enablepermission. Learn how to grant roles . -
Set up authentication for your environment.
Select the tab for how you plan to use the samples on this page:
Console
When you use the Google Cloud console to access Google Cloud services and APIs, you don't need to set up authentication.
REST
To use the REST API samples on this page in a local development environment, you use the credentials you provide to the gcloud CLI.
Install the Google Cloud CLI.
If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity .
For more information, see Authenticate for using REST in the Google Cloud authentication documentation.
Limitations
Input videos are subject to the following limitations when using Veo extend:
- The input file must be MP4.
- The length must be 1 to 30 seconds.
- The frame rate must be 24 frames per second.
- The resolution must be one of: 720p, 1080p, or 4k.
- The aspect ratio for input videos can be either 9:16 or 16:9.
Output videos are subject to the following limitations:
- The output file is MP4.
- The extended length is 7 seconds.
- The frame rate is 24 frames per second.
- The resolution can be 720p, 1080p, or 4k.
- The aspect ratio for output videos can be either 9:16 or 16:9.
Extend a video
The following examples show how you can extend a Veo video:
Console
-
In the Google Cloud console, go to the Vertex AI > Media Studiopage.
-
Click Video.
-
In the Taskmenu, select Video extension.
-
From the Modelmenu, select a model from the displayed options.
-
In the Input videosection, click Add.
-
In the Promptbox, enter a text prompt that describes the videos to generate.
-
Optional: Adjust the following Parameters:
-
Number of results: adjust the slider or enter a value between 1and 4.
-
Video length: select a video length from the menu.
-
Output directory: click Browseto create or select a Cloud Storage bucket to store the generated files.
-
-
Click Run.

