Video Üretimi
Google Veo modelleri üzerinden metinden video üretimi için /v1/video/generations endpoint’i kullanılır.
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 }'Parametreler
Section titled “Parametreler”| Alan | Açıklama |
|---|---|
duration_seconds | 2-16 arası (model destekliyse) |
aspect_ratio | 16:9, 9:16, 1:1 |
max_wait_seconds | Long-running job için polling süresi |
max_budget_usd | Harcama limiti |
file_id | Opsiyonel referans görsel (image-to-video) |
{ "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 }}Fiyatlandırma
Section titled “Fiyatlandırma”Veo modelleri saniye başına native unit üzerinden ücretlendirilir. max_budget_usd ile üst sınır koyarak sürpriz faturadan kaçının.