Video Generation
Google Veo models power text-to-video through /v1/video/generations.
Example
Section titled “Example”curl https://llmtr.com/v1/video/generations \ -H "Authorization: Bearer sk_your_key" \ -H "Content-Type: application/json" \ -d '{ "model": "google/veo-3.1-generate-preview", "prompt": "A cinematic drone shot over Cappadocia at sunrise", "duration_seconds": 8, "aspect_ratio": "16:9", "max_wait_seconds": 180, "max_budget_usd": 3.00 }'Parameters
Section titled “Parameters”| Field | Description |
|---|---|
duration_seconds | 2-16 (if supported by the model) |
aspect_ratio | 16:9, 9:16, 1:1 |
max_wait_seconds | Polling timeout for long-running job |
max_budget_usd | Spend cap |
file_id | Optional reference image for image-to-video |
Response
Section titled “Response”{ "id": "videogen_xxx", "status": "succeeded", "url": "https://storage.llmtr.com/video/xxx.mp4", "duration_seconds": 8, "usage": { "seconds_generated": 8, "native_cost_usd": 2.40 }}Pricing
Section titled “Pricing”Veo models are billed per second by native unit. Always cap with max_budget_usd.