Generate high-quality AI videos using Google’s Veo 3.1 model. Available in Fast and Quality variants.
Models
| Model | Description |
|---|
google/veo-3.1-fast | Faster generation, lower cost |
google/veo-3.1-quality | Higher quality, longer processing |
Parameters
| Parameter | Type | Required | Description |
|---|
prompt | string | Yes | Text description of the video |
aspect_ratio | string | No | 16:9 or 9:16 |
start_image_url | string | No | Starting frame image URL |
end_image_url | string | No | Ending frame image URL |
resolution | string | No | 720p (default), 1080p, 4k |
seed | integer | No | Seed for reproducibility |
Example Request - Fast Model
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "google/veo-3.1-fast",
"input": {
"prompt": "A cat walking on the beach at sunset",
"aspect_ratio": "16:9",
"resolution": "1080p"
}
}'
Example Request - Quality Model
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "google/veo-3.1-quality",
"input": {
"prompt": "Cinematic drone shot over mountains",
"aspect_ratio": "16:9",
"resolution": "4k"
}
}'
Image-to-Video
curl -X POST https://api.unifically.com/v1/tasks \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "google/veo-3.1-fast",
"input": {
"prompt": "Animate this scene with gentle movement",
"start_image_url": "https://example.com/start.jpg",
"end_image_url": "https://example.com/end.jpg"
}
}'
Response
{
"code": 200,
"success": true,
"data": {
"task_id": "abc123def456",
"status": "pending"
}
}
Pricing
Fast Model
| Resolution | Price |
|---|
| 720p (default) | $0.30 |
| 1080p | $0.40 |
| 4k | $0.50 |
Quality Model
| Resolution | Price |
|---|
| 720p (default) | $0.60 |
| 1080p | $0.70 |
| 4k | $0.80 |
Tasks with resolution set to 1080p or 4k take a few minutes longer to complete.