# Veo 3 Video Generation Setup

## Prerequisites

1. **Python 3.12+** (already specified in pyproject.toml)
2. **Google AI API Key** - Required for authentication

## API Key Setup

### Get Your API Key
1. Visit [Google AI Studio](https://aistudio.google.com/app/apikey)
2. Sign in with your Google account
3. Create a new API key
4. Copy the generated key

### Set Environment Variable

**Linux/macOS:**
```bash
export GOOGLE_AI_API_KEY="your_api_key_here"
```

**Windows:**
```cmd
set GOOGLE_AI_API_KEY=your_api_key_here
```

**Or create a `.env` file:**
```
GOOGLE_AI_API_KEY=your_api_key_here
```

## Installation

```bash
# Install dependencies
uv sync

# Or with pip
pip install google-generativeai>=0.8.0
```

## Usage

```bash
python generate_video.py
```

## Important Notes

- Videos are **8 seconds long, 720p with audio**
- Generated videos are **stored for only 2 days**
- Generation takes **11 seconds to 6 minutes**
- Videos are **watermarked with SynthID**
- Subject to **safety filters** and **regional restrictions**

## Available Models

- `veo-3.0-generate-preview` (default, higher quality)
- `veo-3.0-fast-generate-preview` (faster generation)