Google Gemini
Veo 3.1 Generate Preview
Create asynchronous video tasks with veo-3.1-generate-preview via POST /v1/predictions.
POST
Overview
Google Veo 3.1 Generate Preview (veo-3.1-generate-preview) supports:
- Text-to-video —
promptonly - First / last frame —
first_frame_url,last_frame_url - Reference images — up to 3 URLs in
reference_image_urlsfor consistent subject appearance
Input parameters
Authorizations
Authorization: Bearer YOUR_API_KEY
Body
application/json
Model ID. Use veo-3.1-generate-preview for this endpoint.
Available options:
veo-3.1-generate-preview Example:
"veo-3.1-generate-preview"
Optional HTTPS callback URL when the task completes, fails, or is cancelled.
Response
Async task created