Key Metrics
Input Limit
N/A tokens
Output Limit
N/A tokens
Input Cost
N/A/1M
Output Cost
N/A/1M
Sample API Code
import google.generativeai as genai
# Configure the API key
genai.configure(api_key="YOUR_API_KEY")
# Set up the model
model = genai.GenerativeModel('veo-2.0-generate-001')
# Generate video
response = model.generate_content("A cinematic scene of waves crashing on a rocky shore.")
# Save the video
response.video.save("generated_video.mp4")
Required Libraries
google-generativeai
@google/generative-ai
Notes
High quality text- and image-to-video model, capable of generating detailed videos, capturing the artistic nuance in prompts. Supports any image resolution and aspect ratio up to 20MB file size. Can generate up to 2 videos per request.
Capabilities
Video generation
Supported Data Types
Input Types
text
image
Output Types
video
Strengths & Weaknesses
Exceptional at
video generation
artistic nuance
Good at
detail rendering
motion quality
Additional Information
Latest Update
Apr 5, 2024
Knowledge Cutoff