You can use Veo on Gemini Enterprise Agent Platform to generate new videos using an existing image as the first frame. Image first frame to video available through Gemini Enterprise Agent Platform Media Studio or using the Gemini Enterprise Agent Platform video generation API .
The following models support generating videos from an image:
-
veo-2.0-generate-001 -
veo-2.0-generate-exp -
veo-2.0-generate-preview -
veo-3.0-generate-preview -
veo-3.0-fast-generate-preview -
veo-3.0-generate-001 -
veo-3.0-fast-generate-001 -
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 more 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 Agent Platform 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 Agent Platform 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.
Generate videos from an image
- Input image 1

- Text prompt: the elephant moves around naturally

1 Image generated using Imagen on Gemini Enterprise Agent Platform from the prompt: A Crochet elephant in intricate patterns walking on the savanna
You can generate novel videos using only an image as an input, or and image and descriptive text as the inputs. The following samples show you basic instructions to generate videos from image and text.
Console
-
In the Google Cloud console, go to the Agent Platform > Media Studiopage.
-
Click Video.
-
In the Taskmenu, select Image-to-video.
-
From the Modelmenu, select a model from the displayed options.
-
In the Promptbox, enter a text prompt that describes the videos to generate.
-
In the Input imagessection, click Startto upload an image for the first frame.
-
Optional: click Endto upload an image for the last frame.
-
Optional: Adjust the following Parameters:
-
Aspect ratio: choose either 16:9or 9:16.
-
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.

