跳到主要内容
xAI检查中

xai/grok-imagine-v1.5/image-to-video

xai-grok-imagine-v1-5-image-to-video-economy

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

参数

必填
prompt: string必填

1–20000 chars

aspectRatio: string必填
resolution: string必填
duration: integer必填

Video duration (seconds), range 6-15s 6–15

常用参数
imageUrls: string[]

≤ 7 items · HTTPS image URL or media:<uuid>

请求预览

{
  "model": "xai-grok-imagine-v1-5-image-to-video-economy",
  "input": {
    "aspectRatio": "16:9",
    "resolution": "480p",
    "duration": 6
  }
}

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

预计费用

正在加载价格…

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