grok-imagine-video AI 视频 API
grok-imagine-video 可通过 Flatkey 使用,适用于视频生成;Flatkey 通过 /v1/videos 路由此模型,供应商为 xAI。$0.072 per second。
输出
预览请求摘要
- 接口
- 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 实时请求遥测数据。
API 活动
grok-imagine-video API 使用量与请求活动
查看最近统计窗口内 grok-imagine-video 的请求量和成功推理活动。
grok-imagine-video 价格
grok-imagine-video API 价格与计费
下方价格来自当前模型的 Flatkey 定价数据,以及定价 API 返回的可见分组。
充值余额
图像、视频、音频和文本模型共用同一个 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.
- 00:00–00:02
Frame the mustard-jacketed man and white envelope in the stairwell.
- 00:02–00:04
Ease closer as he opens the envelope and reads.
- 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.
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.
- 00:00–00:02
Hold the white mug and blue lid in a dark studio close-up.
- 00:02–00:04
Rotate the hinged lid upward around its fixed hinge.
- 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.
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.
- 00:00–00:03
Follow the man from behind through the industrial room.
- 00:03–00:06
Approach the large window as the sunset ocean fills the opening.
- 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.
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.
- 00:00–00:02
Hold the man in profile in the neutral gray studio.
- 00:02–00:04
Move the quadcopter behind and beside him along a clear curved path.
- 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.
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.
- 00:00–00:03
Establish the seated presenter speaking into the black microphone.
- 00:03–00:06
Cut to the hand aligning and inserting the cable into the adapter.
- 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.
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.
- 00:00–00:03
Frame the man touching the turquoise panel in the dark gallery.
- 00:03–00:06
Follow his hands pushing and rotating the panel while orange and purple panels illuminate.
- 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.
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;为当前路由保留已记录的请求字段和计费单位。
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 价格、能力、端点访问和目录限制的答案。