Parameters
Complete reference for all VEO3 API parameters. Learn about required and optional parameters, validation rules, data types, and usage examples.
400 Bad Request response with detailed error information.Required Parameters
These parameters must be included in every video generation request
string
Non-empty string, max 1000 characters
A majestic dragon soaring through clouds above a fantasy castle
Optional Parameters
These parameters have default values and can be omitted from requests
string
veo-3.0-generate-preview
veo-3.0-generate-preview, veo-3.0-fast-generate-preview
veo-3.0-fast-generate-preview
Must be a valid model ID
integer
1
1-2
2
Integer between 1 and 2
integer
8
5-8
8
Integer between 5 and 8 (all billed as 8 seconds)
string
16:9
16:9, 9:16
16:9
Currently only 16:9 supported
boolean
true
true, false
true
Boolean value
boolean
true
true, false
true
Boolean value
string
null
blurry, low quality, dark
Optional string, max 500 characters
integer
null
0-4294967295
12345
Optional integer for deterministic output
string
allow_adult
allow_adult, dont_allow
allow_adult
Controls if people can appear in videos
Image Upload Parameters
Parameters specific to image-to-video generation endpoint
20MB
JPEG or PNG, max 20MB
Usage Examples
Common parameter combinations for different use cases
{
"prompt": "A peaceful sunset over the ocean",
"model": "veo-3.0-fast-generate-preview"
}{
"prompt": "A futuristic cityscape with flying cars and neon lights",
"model": "veo-3.0-generate-preview",
"sampleCount": 2,
"durationSeconds": 8,
"aspectRatio": "16:9",
"generateAudio": true,
"enhancePrompt": true,
"negativePrompt": "blurry, low quality, dark",
"seed": 42,
"personGeneration": "allow_adult"
}{
"image": "landscape.jpg",
"prompt": "Animate this landscape with gentle wind movement",
"model": "veo-3.0-generate-preview",
"durationSeconds": 8,
"generateAudio": true,
"enhancePrompt": true
}{
"prompt": "A cat playing in a garden",
"model": "veo-3.0-generate-preview",
"seed": 123456,
"enhancePrompt": false
}Validation Rules
Parameter validation is strict. Submitting invalid parameters will result in a 400 error. It's recommended to validate inputs on your end before sending requests.
- Prompt must be non-empty and under 1000 characters
- Negative prompt is optional, max 500 characters
- Model ID must match available models exactly
- String values are case-sensitive
- sampleCount: 1 or 2 only
- durationSeconds: 5, 6, 7, or 8 seconds
- seed: 0 to 4,294,967,295 (32-bit unsigned integer)
- All numeric values must be valid integers
- generateAudio: true or false
- enhancePrompt: true or false
- Boolean values must be actual booleans, not strings
- Default values apply when parameter is omitted
- Images: JPEG or PNG format only
- Maximum file size: 20MB
- Minimum resolution: 256x256 pixels
- Maximum resolution: 4096x4096 pixels
Common Mistakes
Avoid these common parameter validation errors
"generateAudio": "true""generateAudio": true"model": "veo-3.0-generate""model": "veo-3.0-generate-preview""durationSeconds": 10"durationSeconds": 8"sampleCount": 5"sampleCount": 2Parameter Compatibility
Understanding how parameters work together
- All parameters work with both models
- seed + enhancePrompt=false for reproducible results
- sampleCount + different seeds for variety
- negativePrompt + enhancePrompt for refined output
- Image uploads override model selection
- VEO Fast doesn't support image-to-video
- enhancePrompt may alter reproducibility
- Duration affects billing (always 8s minimum)
Next Steps
Learn about error handling and see practical examples