Application Process
To use the API, you need to first apply for the corresponding service on the Veo Videos Generation API page. After entering the page, click the “Acquire” button, as shown in the image below:
If you are not logged in or registered, you will be automatically redirected to the login page inviting you to register and log in. After logging in or registering, you will be automatically returned to the current page.
There will be a free quota granted upon your first application, allowing you to use the API for free.
Basic Usage
First, understand the basic usage method, which involves inputting the promptprompt, the action action, the array of reference images for the first and last frames image_urls, and the model model to obtain the processed result. You first need to simply pass a field action, with the value set to text2video. It mainly includes three actions: text-to-video (text2video), image-to-video (image2video), and get 1080p video (get1080p). Then, we also need to input the model model, which currently mainly includes veo2, veo2-fast, veo3, veo31, veo31-fast, veo31-fast-ingredients, and veo3-fast models, as detailed below:

accept: the format of the response result you want to receive, filled in asapplication/json, which means JSON format.authorization: the key to call the API, which can be directly selected after application.
model: the model for generating the video, mainly includingveo2,veo2-fast,veo3,veo31,veo31-fast,veo31-fast-ingredients, andveo3-fastmodels.action: the action for this video generation task, mainly including three actions: text-to-video (text2video), image-to-video (image2video), and get 1080p video (get1080p).image_urls: when selecting the image-to-video actionimage2video, it is necessary to upload the reference image links for the first and last frames, with a maximum of three reference images.resolution: choose the resolution of the generated video, where the veo31 model supports 4k resolution, while other models do not. All models support 1080p and gif resolutions. If this value is not provided, the default resolution is 720p, mainly divided into:1080p,gif,4k.prompt: the prompt.callback_url: the URL to receive the callback result.
📌 Model Summary
| Model Name | Supported Modes | Image Input Rules |
|---|---|---|
| veo2-fast | Text-to-video (no image) Image-to-video mode (with image) | Only supports 1 image → First frame mode |
| veo3-fast | Text-to-video (no image) Image-to-video mode (with image) | 1 image → First frame mode 3 images → First and last frame mode |
| veo31-fast | Text-to-video (no image) Image-to-video mode (with image) | 1 image → First frame mode 3 images → First and last frame mode |
| veo31-fast-ingredients | ❌ Text-to-video (not supported) ✅ Forced multi-image fusion (must provide images) | 1-3 images → Multi-image fusion mode (up to 3 images) |
| veo2 | Text-to-video (no image) Image-to-video mode (with image) | 1 image → First frame mode 3 images → First and last frame mode |
| veo3 | Text-to-video (no image) Image-to-video mode (with image) | 1 image → First frame mode 3 images → First and last frame mode |
| veo31 | Text-to-video (no image) Image-to-video mode (with image) | 1 image → First frame mode 3 images → First and last frame mode |
🔑 Key Rules Explanation
- General Logic:
- No image input → Automatically triggers text-to-video mode.
- Image input present → Triggers image-to-video mode (specific behavior determined by the number of images).
- Image-to-video Mode Types:
- First frame mode (1 image): The first frame is fixed as the input image.
- First and last frame mode (2 images): The first and last frames are fixed as the input images.
- Multi-image fusion mode (1-3 images): Only supported by
veo31-fast-ingredients, fuses multiple images to generate a video.
- Mode Classification:
- Fast Mode:
veo2-fast,veo3-fast,veo31-fast,veo31-fast-ingredients. - Quality Mode:
veo2,veo3,veo31(higher generation quality).
- Fast Mode:
⚠️ Notes
- The only model that requires image input:
veo31-fast-ingredientsmust have images provided (1-3 images), otherwise it cannot run. - Image quantity limit:
- Except for
veo31-fast-ingredients, other models support a maximum of 3 images as input.
- Except for

success, the status of the video generation task at this time.task_id, the ID of the video generation task at this time.data, the result of the video generation task at this time.id, the video ID of the video generation task at this time.video_url, the video link of the video generation task at this time.created_at, the creation time of the video generation task at this time.complete_at, the completion time of the video generation task at this time.state, the status of the video generation task at this time.
data result.
Additionally, if you want to generate the corresponding integration code, you can directly copy the generated code, for example, the CURL code is as follows:
Image to Video Function
If you want to generate a video based on the first and last frame images, you can set the parameteraction to image2video, and input the array of first and last frame image links image_urls.
Next, we must fill in the prompt words needed for the next step to customize the generated video, specifying the following content:
model: the model for generating the video, mainlyveo2,veo2-fast,veo3, andveo3-fast.image_urls: when selecting the image-to-video actionimage2video, you must upload the reference image links for the first and last frames.prompt: prompt words.


Get 1080p Video Function
If you want to get 1080p for an already generated Veo video, you can set the parameteraction to get1080p, and input the ID of the video you need to get 1080p for. The video ID can be obtained based on basic usage, as shown in the following image:

Note that the video_id here is the ID of the generated video. If you do not know how to generate a video, you can refer to the basic usage above to generate a video.
Next, we must fill in the prompt words needed for the next step to customize the generated video, specifying the following content:
model: the model for generating the video, mainlyveo2,veo2-fast,veo3, andveo3-fast.video_id: the reference video ID used to get the 1080p video.


Specify Video Size Generation
If you want to specify the generation of a custom-sized Veo video, you can set the parameteraspect_ratio to the desired size. Next, we must fill in the prompt words needed for the next step to customize the generated video, specifying the following content:
model: the model for generating the video, mainlyveo2,veo2-fast,veo3, andveo3-fast.aspect_ratio: the size of the video, currently supporting:16:9,16:9,3:4,4:3,1:1, with the default being16:9.translation: whether to enable automatic translation of prompt words, default isfalse. An example of filling in is as follows:


Asynchronous Callback
Since the time taken by the Veo Videos Generation API is relatively long, approximately 1-2 minutes, if the API does not respond for a long time, the HTTP request will keep the connection open, leading to additional system resource consumption. Therefore, this API also provides support for asynchronous callbacks. The overall process is: when the client initiates a request, an additionalcallback_url field is specified. After the client initiates the API request, the API will immediately return a result containing a task_id field, representing the current task ID. When the task is completed, the result of the generated video will be sent to the client-specified callback_url in the form of a POST JSON, which also includes the task_id field, allowing the task result to be associated by ID.
Let’s understand how to operate specifically through an example.
First, the Webhook callback is a service that can receive HTTP requests, and developers should replace it with the URL of their own HTTP server. For demonstration purposes, a public Webhook sample site https://webhook.site/ is used. By opening this site, you can obtain a Webhook URL, as shown in the image:
Copy this URL, and it can be used as a Webhook. The sample here is https://webhook.site/aed5cd28-f8aa-4dca-9480-8ec9b42137dc.
Next, we can set the callback_url field to the above Webhook URL, while filling in the corresponding parameters, as shown in the image:

https://webhook.site/aed5cd28-f8aa-4dca-9480-8ec9b42137dc, as shown in the image:
The content is as follows:
task_id field, and the other fields are similar to the above text, allowing the task to be associated through this field.
Error Handling
When calling the API, if an error occurs, the API will return the corresponding error code and message. For example:400 token_mismatched: Bad request, possibly due to missing or invalid parameters.400 api_not_implemented: Bad request, possibly due to missing or invalid parameters.401 invalid_token: Unauthorized, invalid or missing authorization token.429 too_many_requests: Too many requests, you have exceeded the rate limit.500 api_error: Internal server error, something went wrong on the server.

