Google's video generation model capable of producing high-quality videos with optional audio from text prompts.
curl https://api.aigateway.sh/v1/videos/generations \
-H "Authorization: Bearer $AIGATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"google/veo-3","prompt":"a drone shot of a mountain lake"}'{
"model": "google/veo-3",
"prompt": "A drone shot of a mountain lake at golden hour",
"duration": 5, // seconds
"aspect_ratio": "16:9"
}
// Response is an async job — poll /v1/jobs/<id> until status === "completed".{
"id": "job_abc123",
"status": "queued", // queued | processing | completed | failed
"model": "google/veo-3",
"created": 1776947082
}
// After completion:
{
"id": "job_abc123",
"status": "completed",
"result": {
"url": "https://media.aigateway.sh/video/abc123.mp4",
"duration": 5,
"resolution": "1920x1080"
}
}# See docs at https://aigateway.sh/docs