跳到主要内容
Google检查中

gemini-omni-flash/image-to-video

gemini-omni-flash-image-to-video-economy

图生视频输出: 视频输入: 文本 + 图像
正在加载价格…
官方原价 · 未验证
获取 API Key

参数

必填
prompt: string必填

Video prompt. Describe how the reference image should move, camera motion, visual style, and audio cues in detail. 1–2048 chars · 72/2048

imageUrls: string[]必填

Reference images. Use 1 image for single-image video generation or 3 images for reference fusion. 2 images are not supported. ≤ 3 items · HTTPS image URL or media:<uuid>

duration: string必填

Video duration in seconds. Supported values: 4, 6, 8, 10.

resolution: string必填

Video resolution.

常用参数
aspectRatio: string

Video aspect ratio.

请求预览

{
  "model": "gemini-omni-flash-image-to-video-economy",
  "input": {
    "prompt": "make the character smile and slowly turn around, cinematic camera motion",
    "duration": "6",
    "resolution": "720p",
    "aspectRatio": "16:9"
  }
}

网页 Playground 使用你的登录会话发送此请求体。在代码中请使用 API Key 发送相同内容。

预计费用

正在加载价格…

任务接收时预留额度,仅成功后扣费。失败任务释放预留额度;结果未确认时会保留额度,直到核实。