Generate high-quality AI videos using Google’s Veo 3.1 model. Available in Fast and Quality variants.

Models

ModelDescription
google/veo-3.1-fastFaster generation, lower cost
google/veo-3.1-qualityHigher quality, longer processing

Parameters

ParameterTypeRequiredDescription
promptstringYesText description of the video
aspect_ratiostringNo16:9 or 9:16
start_image_urlstringNoStarting frame image URL
end_image_urlstringNoEnding frame image URL
resolutionstringNo720p (default), 1080p, 4k
seedintegerNoSeed 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
ResolutionPrice
720p (default)$0.30
1080p$0.40
4k$0.50
Quality Model
ResolutionPrice
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.