API Parameters
Complete reference for all VEO3 API parameters, validation rules, and examples.
Required Parameters
Essential parameters that must be included in every request
promptstringDescriptive text for video generation
"A majestic dragon soaring through clouds above a fantasy castle"Validation: Must be a non-empty string
Optional Parameters
Additional parameters to customize video generation
Default Value
veo-3.0-generate-previewAccepted Values
veo-3.0-generate-previewveo-3.0-fast-generate-previewveo-3.1-generate-previewveo-3.1-fast-generate-previewveo-3.1-lite-generate-previewDefault Value
1Accepted Values
1-2Default Value
8Accepted Values
5-8Default Value
16:9Accepted Values
16:99:16Default Value
trueAccepted Values
true, falseDefault Value
trueAccepted Values
true, falseDefault Value
nullAccepted Values
Any stringDefault Value
nullAccepted Values
0-4294967295Default Value
allow_adultAccepted Values
allow_adultdont_allowImage Upload Parameters
Used with POST /api/veo/image-to-video as multipart/form-data. Text fields are the same optional parameters as text-to-video (e.g. model, durationSeconds).
imagefileRequiredReference image file (JPEG/PNG, max 20MB)
Validation: JPEG or PNG format, maximum 20MB
Validation Rules
Parameter validation rules and examples
promptMust be a non-empty string
modelMust be a valid model ID
sampleCountInteger between 1 and 2
durationSecondsInteger between 5 and 8
aspectRatioMust be '16:9' or '9:16'
seedInteger between 0 and 4294967295
Parameter Examples
Common parameter combinations and use cases
{
"prompt": "A cinematic shot of a futuristic city at sunset",
"model": "veo-3.0-generate-preview",
"sampleCount": 1,
"durationSeconds": 8,
"generateAudio": true,
"enhancePrompt": true,
"negativePrompt": "blurry, low quality"
}{
"prompt": "A simple animation of a bouncing ball",
"model": "veo-3.0-fast-generate-preview",
"sampleCount": 1,
"durationSeconds": 5,
"generateAudio": false,
"enhancePrompt": false
}{
"prompt": "A cat playing with a ball of yarn",
"model": "veo-3.0-fast-generate-preview",
"sampleCount": 2,
"durationSeconds": 6,
"generateAudio": true,
"enhancePrompt": true
}{
"prompt": "A serene mountain lake at dawn",
"model": "veo-3.0-generate-preview",
"seed": 12345,
"durationSeconds": 8,
"generateAudio": true,
"enhancePrompt": false
}Parameter Best Practices
Tips for optimal parameter selection
- Use descriptive and specific prompts
- Enable prompt enhancement for better results
- Use negative prompts to avoid unwanted content
- Set seeds for reproducible results
- Choose model based on quality vs speed needs
- Don't use vague or generic prompts
- Don't exceed parameter limits (duration, sample count)
- Don't include inappropriate content in prompts
- Don't use unsupported aspect ratios
- Don't send extremely long prompts (> 500 words)
Next Steps
Ready to use these parameters? Explore these resources