Installation & Setup

Get started with VEO3 API in minutes. Create your account, obtain API keys, and make your first video generation request.

Quick Setup5 MinutesFree Tier Available

Getting Started

Follow these steps to set up your VEO3 API integration

1
Create Account
Sign up for a VEO3 account to get started

Visit our website and create a new account with your email address. Email verification is required.

Sign Up
2
Generate API Key
Create your first API key in the dashboard

Navigate to the API Keys section and generate a new key. Give it a descriptive name for easy management.

Go to Dashboard
3
Install SDK (Optional)
Install our official SDKs for easier integration

Choose from our JavaScript, Python, or other language SDKs for streamlined development.

View SDKs
4
Make First Request
Test your setup with a simple API call

Use curl or your preferred HTTP client to make your first video generation request.

See Examples

Requirements

What you need before getting started with the VEO3 API

Account Requirements
  • Valid email address for account creation
  • Email verification completion
  • Accepted terms of service
  • Payment method (for additional credits)
Technical Requirements
  • HTTPS support (required for all API calls)
  • JSON parsing capabilities
  • HTTP client library or cURL
  • Environment variable support (recommended)
Development Environment
  • 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

JavaScript/Node.js
Official JavaScript SDK for Node.js and browser environments
Package:

@veo3gen/sdk

npm install @veo3gen/sdk
Python
Official Python SDK with async support
Package:

veo3gen

pip install veo3gen
cURL
Use standard HTTP requests with cURL
Package:

Built-in

curl --version

Environment Configuration

Securely configure your API keys using environment variables

Node.js/JavaScript
Set up environment variables for Node.js projects

Steps:

  1. 1
    Create a .env file in your project root
  2. 2
    Add your API key: VEO3_API_KEY=veo3_your_key_here
  3. 3
    Install dotenv: npm install dotenv
  4. 4
    Load 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;
Python
Configure environment variables for Python projects

Steps:

  1. 1
    Create a .env file in your project directory
  2. 2
    Add your API key: VEO3_API_KEY=veo3_your_key_here
  3. 3
    Install python-dotenv: pip install python-dotenv
  4. 4
    Load 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.

First API Request
Make your first video generation request to test your setup
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

API Key Issues
  • 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
Network Issues
  • 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