Google Veo 2: Professional Text-to-Video AI Generator | fal
fal-ai/veo2
Text to Video
Veo 2 creates videos with realistic motion and high quality output. Explore different styles and find your own with extensive camera controls.
Inference
Commercial use
This endpoint is deprecated
This model is no longer supported.
Input
Form
Prompt*
The camera floats gently through rows of pastel-painted wooden beehives, buzzing honeybees gliding in and out of frame. The motion settles on the refined farmer standing at the center, his pristine white beekeeping suit gleaming in the golden afternoon light. He lifts a jar of honey, tilting it slightly to catch the light. Behind him, tall sunflowers sway rhythmically in the breeze, their petals glowing in the warm sunlight. The camera tilts upward to reveal a retro farmhouse with mint-green shutters, its walls dappled with shadows from swaying trees. Shot with a 35mm lens on Kodak Portra 400 film, the golden light creates rich textures on the farmer's gloves, marmalade jar, and weathered wood of the beehives.
Additional Settings
Customize your input with more control.
Result
Idle
PreviewJSON
{
"video": {
"url": "https://v3.fal.media/files/tiger/83-YzufmOlsnhqq5ed382_output.mp4"
}
}
For 5s video your request will cost $2.50. For every additional second you will be charged $0.50.
Logs
Readme
Google Veo 2: Text-to-Video and Image-to-Video Generation API
Transform static images into dynamic videos and generate videos from text with Google's advanced Veo 2 model. Now available through fal.ai's developer-friendly API platform.
Overview
Google Veo 2 specializes in both text-to-video generation and image-to-video conversion, enabling creators and developers to produce high-quality video content. The model excels at understanding physics, human movement, and cinematographic principles.
Key Capabilities
The Veo 2 API lets you:
- Generate videos from text prompts with realistic motion
- Convert still images into fluid video animations
- Maintain high visual fidelity during motion generation
- Control camera movements and cinematographic elements
- Process content at production scale
- Generate videos suitable for commercial use
Popular Use Cases
Marketing & Advertising
Transform product photos into engaging video ads, create dynamic social media content, and produce promotional materials that capture attention.
Content Creation
Generate videos from text descriptions, bring static blog images to life, create video thumbnails, and generate dynamic presentations that engage audiences.
E-commerce
Showcase products in motion, create lifestyle videos from product shots, and build immersive shopping experiences.
Creative Projects
Generate cinematic sequences, animate illustrations, and explore motion graphics for artistic endeavors.
Getting Started
Getting up and running with Veo 2 takes just a few minutes:
Install the SDK for your platform:
For JavaScript/TypeScript:
npm install --save @fal-ai/clientFor Python:
pip install fal-clientConfigure your API credentials:
import { fal } from "@fal-ai/client";
fal.config({ credentials: "YOUR_FAL_KEY" });
3. Make your first API call:
For text-to-video:
```javascript
const result = await fal.subscribe("fal-ai/veo2", {
input: {
prompt: "A cinematic tracking shot through a magical ice cave",
duration: "5s",
aspect_ratio: "16:9"
}
});
For image-to-video:
const result = await fal.subscribe("fal-ai/veo2/image-to-video", {
input: {
image_url: "YOUR_IMAGE_URL",
prompt: "A smooth camera movement revealing the scene",
duration: "5s"
}
});
Implementation Best Practices
Consider these guidelines when working with Veo 2:
- Handle API responses asynchronously to manage processing time variations
- Use the subscribe method for real-time status updates
- Implement proper error handling for production environments
- Monitor your API usage through the fal.ai dashboard
- Test with various prompts to understand quality parameters
Advanced Usage
For production deployments, you can enhance your implementation with:
- Webhook URLs for async processing
- Queue management with submit/status/result methods
- Progress tracking with onQueueUpdate callbacks
- File storage integration for media handling
Technical Details
The API accepts:
- Text prompts for video generation
- Images up to high resolution (720p or higher recommended)
- Common image formats (PNG, JPG, WEBP, GIF, AVIF)
- Duration specifications (e.g., "5s", "10s")
- Aspect ratio controls ("16:9", "9:16", "1:1", "auto")
Output formats include:
- MP4 video files
- High-quality video output
- Configurable durations
- Commercial use permitted
Pricing and Usage
Current pricing structure:
- $0.50 per second of generated video
- Example: 5-second video costs $2.50
- Pay-per-use model with no subscription required
- Enterprise plans available with custom rates
Support and Resources
Take advantage of these resources to optimize your implementation:
- Documentation: Complete API reference at https://fal.ai/models/fal-ai/veo2/api
- Examples: Sample code and integration patterns
- Support: Direct access to technical assistance
- Community: Join the Discord community for developer support
- Updates: Regular model improvements and feature additions
Start building with Google Veo 2 today to create engaging video content from your text prompts and static images.