功能
Veo 3.1 文生影片 API
結果
閒置
結果將顯示在此處
費用: $3.2/次請求
Veo 3.1 API 實作指南
1
2
3
Veo 3.1 API 文件
請先在演練場執行,再開啟完整 API 文件查看整合細節。
簡介
Generate premium Veo videos from text prompts
程式碼範例
request.sh
1curl -X POST https://api.modelhunter.ai/api/v1/veo/text-to-video \2-H "Authorization: Bearer YOUR_API_KEY" \3-H "Content-Type: application/json" \4-d '{5"model": "veo3",6"input": {7"prompt": "A futuristic cityscape at sunset with neon signs",8"aspect_ratio": "16:9"9}10}'
Schema
查看完整 API 文件輸入
modelstring
必填
此能力對應的模型 ID。
值: veo3
promptstring
必填
Describe the video you want to generate
aspect_ratiostring
Video framing for the generated result
選項: 16:9, 9:16, Auto
預設值: 16:9
seednumber
Optional random seed between 10000 and 99999 for reproducible generations
範圍: 10000 到 99999
enable_translationboolean
Automatically translate non-English prompts to English before generation
預設值: true
watermarkstring
Optional watermark text added to the rendered video
webhookUrlstring
任務完成時接收 Webhook 通知的 URL。
metadataobject
附加到任務上用於追蹤的自訂鍵值中繼資料。
回應 (HTTP 202)
successboolean
請求是否已成功受理。
data.idstring
唯一任務 ID,可輪詢 GET /api/v1/tasks/{id} 取得結果。
data.statusstring
任務狀態: pending, processing, completed, failed.
data.typestring
生成類型: text-to-video.
data.providerstring
供應商: veo.
data.modelstring
本次生成使用的模型 ID。
data.created_atstring
任務建立時間(ISO 8601)。
data.estimated_secondsnumber
任務完成前的預估秒數。