Veo 3.1 圖生影片 API
Upload 1 image to animate a still, or 2 images to create a first-to-last-frame transition
拖放圖片,或點擊瀏覽
支援 PNG, JPEG, WebP。最大 10MB。您也可以從剪貼簿貼上 (Ctrl+V)。
Describe the video you want to generate
Video framing for the generated result
結果
結果將顯示在此處
費用: $3.2/次請求
Veo 3.1 API 實作指南
Veo 3.1 API 文件
請先在演練場執行,再開啟完整 API 文件查看整合細節。
簡介
Animate one image or create a first-to-last-frame transition
程式碼範例
1curl -X POST https://api.modelhunter.ai/api/v1/veo/image-to-video \2-H "Authorization: Bearer YOUR_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"model": "veo3",6"input": {7"image_urls": [8"https://example.com/image.jpg"9],10"prompt": "A futuristic cityscape at sunset with neon signs",11"aspect_ratio": "16:9"12}13}'
Schema
查看完整 API 文件輸入
model此能力對應的模型 ID。
值: veo3
image_urlsUpload 1 image to animate a still, or 2 images to create a first-to-last-frame transition
promptDescribe the video you want to generate
aspect_ratioVideo framing for the generated result
選項: 16:9, 9:16, Auto
預設值: 16:9
seedOptional random seed between 10000 and 99999 for reproducible generations
範圍: 10000 到 99999
enable_translationAutomatically translate non-English prompts to English before generation
預設值: true
watermarkOptional watermark text added to the rendered video
webhookUrl任務完成時接收 Webhook 通知的 URL。
metadata附加到任務上用於追蹤的自訂鍵值中繼資料。
回應 (HTTP 202)
success請求是否已成功受理。
data.id唯一任務 ID,可輪詢 GET /api/v1/tasks/{id} 取得結果。
data.status任務狀態: pending, processing, completed, failed.
data.type生成類型: image-to-video.
data.provider供應商: veo.
data.model本次生成使用的模型 ID。
data.created_at任務建立時間(ISO 8601)。
data.estimated_seconds任務完成前的預估秒數。