Skip to main content
POST
Veo 3.1 Lite Text-to-Video
Generate videos from text prompts using the Google Veo 3.1 Lite model. Supports 4s/6s/8s durations, 720p/1080p resolutions, 16:9 and 9:16 aspect ratios, and optional audio generation.
This is an asynchronous API and only returns the task_id of the async task. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

string
required
Enum value: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

integer
Random seed for reproducible results
string
required
Text description for video generationLength limit: 0 - 2048
integer
default:8
Video duration (seconds)Allowed values: 4, 6, 8
string
default:"720p"
Output video resolutionAllowed values: 720p, 1080p
string
default:"16:9"
Video aspect ratioAllowed values: 16:9, 9:16
integer
default:1
Number of videos to generateValue range: [1, 4]
boolean
default:true
Whether to automatically optimize the prompt
boolean
default:false
Whether to generate audio at the same time
string
Content that should not appear in the videoLength limit: 0 - 2048
string
default:"allow_adult"
Controls whether generating people is allowedAllowed values: dont_allow, allow_adult

Response

string
Use task_id to request the Get Task Result API to retrieve the generated output.