AM

Veo 3

谷歌Veo 3:高品质视频生成

功能特性
  • 文本到视频生成
  • 高品质输出
  • 多种宽高比
  • 可选水印去除
定价
ModelCredits
veo3 (high quality)130 (~$1.44)
veo3_fast (faster)30 (~$0.33)
端点
POST/api/v1/videos/generate
参数
参数类型必需描述
modelstring必需"veo3" or "veo3_fast"
typestring可选"text-to-video" or "image-to-video" (default: text-to-video)
promptstring必需Text description of the video
image_urlsstring[]可选Input image URLs for image-to-video
input_imagestring可选Deprecated. Alias for image_urls[0]
aspect_ratiostring可选"16:9", "9:16", or "Auto" (aliases: "landscape", "portrait", "square")
watermarkboolean可选Include watermark (default: true)
seedsnumber可选Random seed for reproducibility
enable_fallbackboolean可选Enable fallback providers
enable_translationboolean可选Auto-translate non-English prompts
请求示例
{
  "model": "veo3",
  "prompt": "A drone shot flying over a tropical beach at sunset",
  "aspect_ratio": "16:9"
}
响应示例
{
  "success": true,
  "data": {
    "task_id": "task_veo123",
    "credits_used": 130,
    "remaining_credits": 370,
    "model": "veo3"
  }
}
代码示例
curl -X POST https://gateway.apimall.ai/api/v1/videos/generate \
  -H "Authorization: Bearer sk-your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "veo3",
    "prompt": "A drone shot flying over a tropical beach at sunset",
    "aspect_ratio": "16:9"
  }'
API Documentation - Veo3 | API Mall