Veo 3.1
Google Veo 3.1 video generation via google. Generate high-quality AI videos from text prompts with native audio. · Google
Veo 3.1 mode. fast and quality support the full Veo 3.1 feature set; lite is the lowest-cost option.
Optional random seed for reproducible generations.
Text prompt for video generation
Optional watermark text added to the generated video.
Optional image URLs for image-to-video generation. Use 1-2 images for FIRST_AND_LAST_FRAMES_2_VIDEO and 1-3 images for REFERENCE_2_VIDEO.
Output resolution. 4k uses more credits than 1080p and 720p.
Video generation mode. REFERENCE_2_VIDEO only supports mode=fast and aspect ratios 16:9 or 9:16.
Automatically translate prompts to English before generation.
Configure parameters and click Run to test the API.
curl -X POST /v1/videos/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "veo-3",
"input": {
"mode": "fast",
"resolution": "720p",
"aspect_ratio": "16:9",
"generation_type": "TEXT_2_VIDEO",
"enable_translation": true
}
}'