grok-imagine-video AI 视频 API

grok-imagine-video 可通过 Flatkey 使用,适用于视频生成;Flatkey 通过 /v1/videos 路由此模型,供应商为 xAI。$0.072 per second。

图生视频参考引导视频短视频
供应商
xAI
官方价格
$0.090 / 秒
Flatkey 价格
$0.072 / 秒-20%
生成器配置 · Playground(注册前可编辑)

输入

快捷 Prompt
参考图片0 / 1
开始生成

输出

预览

请求摘要

接口
POST /v1/videos
模型 ID
grok-imagine-video
时长
5s
参考媒体

仅供预览。登录后即可向 Flatkey 提交此请求。

请求预览
{
  "model": "grok-imagine-video",
  "prompt": "Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.\n\nVisual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent. Keep this medium and palette consistent across all beats.\n\nShot plan: 6-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.\n00:00–00:02: Frame the mustard-jacketed man and white envelope in the stairwell.\n00:02–00:04: Ease closer as he opens the envelope and reads.\n00:04–00:06: Hold his upward glance toward the landing without changing eyeline direction.\n\nContinuity and finish: Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.\nAvoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.",
  "duration": 5
}

API 性能

grok-imagine-video API 可靠性与可用性

当生产流量达到足够规模后,这里会显示 grok-imagine-video 的 Flatkey 实时请求遥测数据。

供应商平均可用性
最近 30 天
延迟
最近 30 天
请求量
233
30 天窗口
成功推理趋势

API 活动

grok-imagine-video API 使用量与请求活动

查看最近统计窗口内 grok-imagine-video 的请求量和成功推理活动。

请求量
233
30 天窗口
延迟
最近 30 天
可用性
最近 30 天
成功推理趋势活动

grok-imagine-video 价格

grok-imagine-video API 价格与计费

下方价格来自当前模型的 Flatkey 定价数据,以及定价 API 返回的可见分组。

Flatkey 价格

价格 / 秒

实时目录模型
$0.072 / 秒
价格 / 秒
$0.072 / 秒$0.090 / 秒
先试 prompt
共用余额

充值余额

充值余额

图像、视频、音频和文本模型共用同一个 Flatkey 余额和 API Key。

模型目录
模型类型
文生视频
API
/v1/videos
计费依据
时长
1–15s
画面比例
adaptive

grok-imagine-video AI 视频生成器与 API: 核心能力

xAI 的 grok-imagine-video 路由支持 文本 · 图像 · 视频。目录分类:Marketing。

grok-imagine-video视频生成

通过 /v1/videos 将文字简报转换为视频生成结果。

grok-imagine-video参考工作流

当 grok-imagine-video 路由接受参考媒体或上下文时,可使用已有参考进行创作。

grok-imagine-video渠道适配版本

将一个创意调整为店铺、营销活动或内容流水线所需的不同版本。

grok-imagine-video生产交接

将确认后的结果从提示词探索带入可重复的 Flatkey 生成工作流。

对比

grok-imagine-video API 对比:能力与访问方式

在调整集成前,将 grok-imagine-video 的目录事实与上一代基线进行对比。

能力上一代grok-imagine-video
供应商此目录快照未验证xAI
模态此目录快照未验证文本 · 图像 · 视频
上下文此目录快照未验证目录未列出上下文窗口
端点此目录快照未验证/v1/videos
计费此目录快照未验证$0.072 per second

提示词库

grok-imagine-video 视频生成提示词示例

先使用一个面向视频生成的 grok-imagine-video 提示词,再调整 Playground 中显示的请求字段。

微短剧与漫剧创作者

A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.

展开完整提示词收起提示词

Creative direction

A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.

Visual treatment

Live-action suspense with subdued stairwell light and a mustard jacket accent. Keep this medium and palette consistent across all beats.

Shot plan

6-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:02

    Frame the mustard-jacketed man and white envelope in the stairwell.

  2. 00:02–00:04

    Ease closer as he opens the envelope and reads.

  3. 00:04–00:06

    Hold his upward glance toward the landing without changing eyeline direction.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

做一个类似的
广告与电商营销团队

A white travel mug with a blue lid stands in a dark studio close-up. The hinged lid flips open and a thin column of steam rises from the cup while the locked camera holds the product against the black background.

展开完整提示词收起提示词

Creative direction

A white travel mug with a blue lid stands in a dark studio close-up. The hinged lid flips open and a thin column of steam rises from the cup while the locked camera holds the product against the black background.

Visual treatment

Photoreal product close-up with white ceramic, a blue lid and restrained steam. Keep this medium and palette consistent across all beats.

Shot plan

6-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:02

    Hold the white mug and blue lid in a dark studio close-up.

  2. 00:02–00:04

    Rotate the hinged lid upward around its fixed hinge.

  3. 00:04–00:06

    Let a thin steam column rise and hold the open product profile.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

做一个类似的
影视概念设计与前后期团队

A man enters an empty industrial room beside the sea and walks toward a large window. The camera follows from behind as the ocean and warm sunset fill the opening, ending on his silhouette against the view.

展开完整提示词收起提示词

Creative direction

A man enters an empty industrial room beside the sea and walks toward a large window. The camera follows from behind as the ocean and warm sunset fill the opening, ending on his silhouette against the view.

Visual treatment

Live-action location reveal with industrial shadows and warm coastal sunset. Keep this medium and palette consistent across all beats.

Shot plan

10-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:03

    Follow the man from behind through the industrial room.

  2. 00:03–00:06

    Approach the large window as the sunset ocean fills the opening.

  3. 00:06–00:10

    Stop behind his silhouette and retain detail around the window frame.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

做一个类似的
游戏美术与动画制作人员

A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read.

展开完整提示词收起提示词

Creative direction

A man stands still in a neutral gray studio while a compact quadcopter drone circles behind and beside him. Keep the camera locked at waist height so the drone's orbit, distance, and the subject's profile remain easy to read.

Visual treatment

Live-action character-and-drone study with neutral gray lighting and clear spatial separation. Keep this medium and palette consistent across all beats.

Shot plan

6-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:02

    Hold the man in profile in the neutral gray studio.

  2. 00:02–00:04

    Move the quadcopter behind and beside him along a clear curved path.

  3. 00:04–00:06

    Keep its distance from the man as the locked camera holds the composition.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

做一个类似的
自媒体博主与知识科普创作者

A presenter speaks at a home desk into a black microphone. Cut to a close view of one hand connecting a small audio cable and adapter, then return to the seated presenter continuing the explanation.

展开完整提示词收起提示词

Creative direction

A presenter speaks at a home desk into a black microphone. Cut to a close view of one hand connecting a small audio cable and adapter, then return to the seated presenter continuing the explanation.

Visual treatment

Live-action creator demonstration with natural desk lighting and restrained depth of field. Keep this medium and palette consistent across all beats.

Shot plan

10-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:03

    Establish the seated presenter speaking into the black microphone.

  2. 00:03–00:06

    Cut to the hand aligning and inserting the cable into the adapter.

  3. 00:06–00:10

    Return to the original desk framing as the explanation continues.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

做一个类似的
音乐制作人与视觉艺术家

A man in a dark gallery pushes and rotates a glowing turquoise rectangular panel. Orange and purple panels light up around him as he changes its angle, ending with the three colored surfaces arranged across the room.

展开完整提示词收起提示词

Creative direction

A man in a dark gallery pushes and rotates a glowing turquoise rectangular panel. Orange and purple panels light up around him as he changes its angle, ending with the three colored surfaces arranged across the room.

Visual treatment

Light-installation performance with turquoise, orange and purple emissive panels. Keep this medium and palette consistent across all beats.

Shot plan

10-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.

  1. 00:00–00:03

    Frame the man touching the turquoise panel in the dark gallery.

  2. 00:03–00:06

    Follow his hands pushing and rotating the panel while orange and purple panels illuminate.

  3. 00:06–00:10

    Hold all three colored surfaces in their final arrangement.

Continuity and finish

Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.

  1. Avoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.

做一个类似的

为什么使用 grok-imagine-video API

为什么通过 Flatkey 使用 grok-imagine-video?

通过一个网关管理 grok-imagine-video、账户控制以及模型目录中的其他模型。

一个 API 使用 grok-imagine-video

明确保留 grok-imagine-video 模型 ID 和端点,同时与其他工作负载共用 Flatkey 密钥。

实时目录价格

发送请求前查看当前 grok-imagine-video 计费维度,并在账户中确认最终预估。

实用的模型交接

在公开 Playground 中测试 grok-imagine-video 提示词,再将相同设置带入经过身份验证的集成。

用量与路由控制

集中管理 grok-imagine-video 的密钥、配额和路由,无需改变应用面向供应商的工作流。

grok-imagine-video API

grok-imagine-video API 集成指南

使用上方模型 ID 调用 /v1/videos;为当前路由保留已记录的请求字段和计费单位。

向 /v1/videos 发送经过身份验证的请求,并将 model 设置为 grok-imagine-video。
在 SDK 配置中使用 grok-imagine-video,让路由和用量报告对应到预期的目录条目。
扩展 grok-imagine-video 请求前,查看 $0.072 per second 和账户限制。
先在 Playground 中开始,再在服务器或 agent 中使用 Flatkey API 密钥复用相同请求结构。
curl https://router.flatkey.ai/v1/videos \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-..." \
  -d '{
  "model": "grok-imagine-video",
  "prompt": "Creative direction: A young man in a mustard jacket stands in an empty stairwell holding a white envelope. He opens it, studies the contents, and looks upward toward the landing as the camera moves from a medium view into his reaction.\n\nVisual treatment: Live-action suspense with subdued stairwell light and a mustard jacket accent. Keep this medium and palette consistent across all beats.\n\nShot plan: 6-second timing reference. Scale all beat boundaries proportionally to the selected output duration and compose for the selected aspect ratio.\n00:00–00:02: Frame the mustard-jacketed man and white envelope in the stairwell.\n00:02–00:04: Ease closer as he opens the envelope and reads.\n00:04–00:06: Hold his upward glance toward the landing without changing eyeline direction.\n\nContinuity and finish: Preserve the established rendering style, subject identity, costume or product geometry, palette and light direction throughout. Keep moving subjects in focus; ease camera starts and stops, and let the final composition settle. Retain readable silhouettes during effects and preserve contact points during interactions.\nAvoid: identity drift, extra limbs, duplicated props, intersecting geometry, texture flicker, exposure pumping, abrupt camera jumps, unrequested text, logos or watermarks.",
  "duration": 5
}'
文档

常见问题

grok-imagine-video API
价格、功能与使用常见问题

关于 grok-imagine-video 价格、能力、端点访问和目录限制的答案。

grok-imagine-video 用于什么任务?
grok-imagine-video 由 xAI 列入视频生成目录;目录列出的模态为:文本 · 图像 · 视频。
grok-imagine-video 如何计费?
grok-imagine-video 当前显示 $0.072 per second。适用费率可能因路由、账户组和请求设置而变化。
调用 grok-imagine-video 使用哪个 API 端点?
Flatkey 通过 /v1/videos 路由此模型。将模型字段设为 grok-imagine-video,并遵循该端点支持的字段。
grok-imagine-video 有哪些上下文或输入限制?
grok-imagine-video 标注为 目录未列出上下文窗口。其他限制取决于路由和当前账户可用性,生产使用前请确认。