Video API (Video Generation)
The Video API provides powerful AI video generation capabilities, supporting high-quality video content creation from text descriptions.
Endpoint
POST https://aiapi.services/vertex/v1/video/generationsAuthentication
All requests must include your API key in the HTTP header:
Authorization: Bearer YOUR_API_KEYSupported Models
Veo 3.0 Series
veo-3.0-generate-001- Veo 3.0 standard version, latest generation video modelveo-3.0-fast-generate-001- Veo 3.0 fast version, optimized generation speed
Veo 2.0 Series
veo-2.0-generate-001- Veo 2.0, mature video generation technology
See Available Models for complete model list.
Request Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
prompt | string | Video description text, detailing video scenes and actions |
model | string | Model ID to use, e.g., veo-3.0-generate-001 |
Optional Parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
size | string | 720p | Video resolution: 480p, 720p, 1080p |
duration | number | 5 | Video duration (seconds), range: 2-10 |
fps | integer | 24 | Frame rate: 24, 30, 60 |
n | integer | 1 | Number of videos to generate (1-4) |
Code Examples
cURL
curl https://aiapi.services/vertex/v1/video/generations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "veo-3.0-generate-001",
"prompt": "A cute cat playing with a ball in a sunny garden",
"size": "720p",
"duration": 5,
"n": 1
}'Response Format
{
"id": "video_gen_abc123",
"object": "video.generation",
"created": 1702548600,
"model": "veo-3.0-generate-001",
"data": [
{
"id": "task_xyz789",
"status": "processing",
"url": null
}
]
}Related Resources
- Authentication - Learn how to get and use API keys
- Available Models - View all supported models and pricing
- Image API - AI image generation
Last updated on