Readme update for veo 3.1 model default
This commit is contained in:
parent
6dd180bce8
commit
9548d9f262
1 changed files with 10 additions and 13 deletions
23
README.md
23
README.md
|
|
@ -1,6 +1,6 @@
|
|||
# Veo 3.0 & 3.1 Video Generator
|
||||
# Veo 3.1 Video Generator
|
||||
|
||||
A full-stack web application for generating AI videos using Google's Veo 3.0 and Veo 3.1 models. Generate videos from text prompts with advanced features including frame interpolation, reference images, and customizable parameters.
|
||||
A full-stack web application for generating AI videos using Google's Veo 3.1 models. Generate videos from text prompts with advanced features including frame interpolation, reference images, and customizable parameters.
|
||||
|
||||
## Quick Start
|
||||
|
||||
|
|
@ -34,8 +34,7 @@ cd veo3_poc
|
|||
- **Quad Model Support**: Choose between four models:
|
||||
- **Veo 3.1** (Standard): High-quality with advanced features - $0.40/sec
|
||||
- **Veo 3.1 Fast**: Optimized speed with frame interpolation - $0.15/sec
|
||||
- **Veo 3.0** (Standard): Proven high-quality generation - $0.40/sec
|
||||
- **Veo 3.0 Fast**: Optimized for speed and cost - $0.15/sec
|
||||
|
||||
|
||||
### Veo 3.1 Advanced Features
|
||||
- **Frame Interpolation**: Upload both first and last frames to generate smooth transitions between them (8-second videos only)
|
||||
|
|
@ -64,7 +63,7 @@ cd veo3_poc
|
|||
|
||||
- Python 3.13+ (or 3.8+)
|
||||
- Node.js 16+
|
||||
- Google Cloud Project with Veo 3.0 and Veo 3.1 API access
|
||||
- Google Cloud Project with Veo 3.1 API access
|
||||
- Google Cloud Storage bucket
|
||||
- Service account JSON key with appropriate permissions
|
||||
- Microsoft Azure AD application configured (for production SSO)
|
||||
|
|
@ -197,7 +196,7 @@ veo3_poc/
|
|||
│ │ └── storage.py # GCS operations and image processing
|
||||
│ ├── app.py # Flask app initialization and CORS config
|
||||
│ ├── config.py # Configuration management
|
||||
│ ├── video_generator.py # Core Veo 3.0 integration logic
|
||||
│ ├── video_generator.py # Core 3.1 integration logic
|
||||
│ ├── requirements.txt # Python dependencies
|
||||
│ ├── .env.development # Development environment config
|
||||
│ ├── .env.production # Production environment config
|
||||
|
|
@ -259,8 +258,6 @@ The application uses environment-specific configuration files:
|
|||
| `WEBHOOK_ENABLED` | Enable usage tracking | `true` or `false` |
|
||||
|
||||
**Available Models:**
|
||||
- `veo-3.0-generate-preview` - Veo 3.0 Standard
|
||||
- `veo-3.0-fast-generate-preview` - Veo 3.0 Fast
|
||||
- `veo-3.1-generate-preview` - Veo 3.1 Standard (with advanced features)
|
||||
- `veo-3.1-fast-generate-preview` - Veo 3.1 Fast (frame interpolation only)
|
||||
|
||||
|
|
@ -280,7 +277,7 @@ The application uses environment-specific configuration files:
|
|||
### Backend
|
||||
- `flask==3.0.0` - Web framework
|
||||
- `flask-cors==4.0.0` - Cross-origin resource sharing
|
||||
- `google-genai==1.47.0` - Google Gen AI SDK for Veo 3.0 & 3.1 (with advanced features support)
|
||||
- `google-genai==1.47.0` - Google Gen AI SDK for 3.1 (with advanced features support)
|
||||
- `google-cloud-storage==2.12.0` - GCS file operations
|
||||
- `google-cloud-aiplatform==1.38.0` - Vertex AI platform
|
||||
- `hypercorn==0.15.0` - ASGI server for production
|
||||
|
|
@ -393,10 +390,10 @@ sudo journalctl -u veo-video-generator -f
|
|||
|-------|----------------|----------|
|
||||
| **Authentication fails** | Azure AD misconfiguration | Verify `VITE_MSAL_CLIENT_ID`, `VITE_MSAL_AUTHORITY`, and redirect URIs match Azure AD app |
|
||||
| **Backend connection error** | Service not running or CORS issue | Check `systemctl status veo-video-generator` and `FRONTEND_URL` in backend `.env` |
|
||||
| **Video generation fails** | Invalid credentials or API access | Verify service account permissions and Veo 3.0/3.1 APIs are enabled in GCP |
|
||||
| **Video generation fails** | Invalid credentials or API access | Verify service account permissions and Veo 3.1 APIs are enabled in GCP |
|
||||
| **Image upload rejected** | Invalid format or size | Ensure image is <10MB and meets minimum 720x720 resolution |
|
||||
| **Download hangs** | GCS permission issue | Check service account has `storage.objects.get` permission on bucket |
|
||||
| **Model not found** | Wrong region or model ID | Verify Veo 3.0/3.1 is available in specified `REGION` |
|
||||
| **Model not found** | Wrong region or model ID | Verify Veo 3.1 is available in specified `REGION` |
|
||||
| **Reference images fail** | Wrong model or constraints | Reference images require Veo 3.1 Standard model, 16:9 aspect ratio, and 8-second duration |
|
||||
| **Last frame fails** | Wrong constraints | Last frame interpolation requires Veo 3.1 model (Standard or Fast) and 8-second duration |
|
||||
| **SDK parameter error** | Outdated SDK version | Ensure `google-genai>=1.47.0` is installed for Veo 3.1 features |
|
||||
|
|
@ -413,7 +410,7 @@ sudo journalctl -u veo-video-generator -f
|
|||
- ✅ Required duration: 8 seconds
|
||||
- ✅ Required aspect ratio: 16:9 only
|
||||
- ✅ Maximum images: 3 reference images
|
||||
- ❌ Not supported in: Veo 3.1 Fast, Veo 3.0 models
|
||||
- ❌ Not supported in: Veo 3.1 Fast
|
||||
|
||||
### Debug Mode
|
||||
|
||||
|
|
@ -503,7 +500,7 @@ For local testing without authentication:
|
|||
## Notes
|
||||
|
||||
- The original `veo.py` standalone script has been replaced by the full-stack application
|
||||
- **Quad model support**: Veo 3.0 (Standard & Fast) and Veo 3.1 (Standard & Fast)
|
||||
- **Quad model support**: Veo 3.1 (Standard & Fast)
|
||||
- **Veo 3.1 advanced features**: Frame interpolation and reference images with conditional UI
|
||||
- Multi-video generation support (1-4 videos per request)
|
||||
- Unlimited job submissions with intelligent queue management
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue