Installation & Setup
Get started with VEO3 API in minutes. Create your account, obtain API keys, and make your first video generation request.
Getting Started
Follow these steps to set up your VEO3 API integration
Visit our website and create a new account with your email address. Email verification is required.
Sign UpNavigate to the API Keys section and generate a new key. Give it a descriptive name for easy management.
Go to DashboardChoose from our JavaScript, Python, or other language SDKs for streamlined development.
View SDKsUse curl or your preferred HTTP client to make your first video generation request.
See ExamplesRequirements
What you need before getting started with the VEO3 API
- Valid email address for account creation
- Email verification completion
- Accepted terms of service
- Payment method (for additional credits)
- HTTPS support (required for all API calls)
- JSON parsing capabilities
- HTTP client library or cURL
- Environment variable support (recommended)
- Node.js 14+ (for JavaScript SDK)
- Python 3.7+ (for Python SDK)
- Git (for examples repository)
- Code editor or IDE
SDK Installation
Choose your preferred language and install the official SDK or use HTTP directly
@veo3gen/sdk
npm install @veo3gen/sdkveo3gen
pip install veo3genBuilt-in
curl --versionEnvironment Configuration
Securely configure your API keys using environment variables
Steps:
- 1Create a .env file in your project root
- 2Add your API key: VEO3_API_KEY=veo3_your_key_here
- 3Install dotenv: npm install dotenv
- 4Load in your app: require('dotenv').config()
Example:
// .env
VEO3_API_KEY=veo3_your_api_key_here
// app.js
require('dotenv').config();
const apiKey = process.env.VEO3_API_KEY;Steps:
- 1Create a .env file in your project directory
- 2Add your API key: VEO3_API_KEY=veo3_your_key_here
- 3Install python-dotenv: pip install python-dotenv
- 4Load in your script: from dotenv import load_dotenv
Example:
# .env
VEO3_API_KEY=veo3_your_api_key_here
# app.py
from dotenv import load_dotenv
import os
load_dotenv()
api_key = os.getenv('VEO3_API_KEY')Make Your First Request
Once you've installed the necessary SDK and set up your environment, you're ready to make your first request.
curl -X POST "https://api.veo3gen.co/api/veo/text-to-video" \
-H "Content-Type: application/json" \
-H "X-API-Key: veo3_your_api_key_here" \
-d '{
"prompt": "A peaceful sunset over the ocean",
"model": "veo-3.0-fast-generate-preview",
"durationSeconds": 8,
"generateAudio": true
}'Expected Response:
{
"success": true,
"taskId": "veo_...",
"status": "pending",
"creditsUsed": 190
}Next Steps:
- Check status with taskId
- Download when completed
- View generation history
Common Issues
Solutions for common setup problems
- Ensure X-API-Key header is included
- Check for typos in the API key
- Verify key is active in dashboard
- Regenerate if key seems compromised
- Use HTTPS (not HTTP) for all requests
- Check firewall settings
- Verify DNS resolution works
- Try from different network if needed
Next Steps
Now that you're set up, explore the API capabilities