跳到主要内容
Google检查中

gemini-omni-flash/text-to-video

gemini-omni-flash-text-to-video-economy

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

参数

必填
prompt: string必填

Video prompt. Describe the scene, subject, motion, environment, camera movement, visual style, and audio cues in detail. 1–2048 chars · 54/2048

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-text-to-video-economy",
  "input": {
    "prompt": "a beautiful sunset over the ocean with seagulls flying",
    "duration": "6",
    "resolution": "720p",
    "aspectRatio": "16:9"
  }
}

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

预计费用

正在加载价格…

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