Veo3
GoogleのVeo 3による高品質動画生成
機能
- テキストから動画生成
- 高品質な出力
- 複数のアスペクト比
- オプションの透かし除去
料金設定
| Model | Credits |
|---|---|
| veo3 (high quality) | 130 (~$1.44) |
| veo3_fast (faster) | 30 (~$0.33) |
エンドポイント
POST
/api/v1/videos/generateパラメータ
| パラメータ | タイプ | 必須 | 説明 |
|---|---|---|---|
| model | string | 必須 | "veo3" or "veo3_fast" |
| type | string | オプション | "text-to-video" or "image-to-video" (default: text-to-video) |
| prompt | string | 必須 | Text description of the video |
| image_urls | string[] | オプション | Input image URLs for image-to-video |
| input_image | string | オプション | Deprecated. Alias for image_urls[0] |
| aspect_ratio | string | オプション | "16:9", "9:16", or "Auto" (aliases: "landscape", "portrait", "square") |
| watermark | boolean | オプション | Include watermark (default: true) |
| seeds | number | オプション | Random seed for reproducibility |
| enable_fallback | boolean | オプション | Enable fallback providers |
| enable_translation | boolean | オプション | 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.bananapro.site/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"
}'