Grok

Grok Video API

视频 APIHOT

Grok Video API 让团队可以用 API 优先的方式,把 Grok Imagine 视频生成接入生产工作流。它在同一个模型家族内支持提示词文生视频、参考图图生视频、视频放大和视频延长。

你可以先在 Playground 中验证提示词、源图片、任务 ID、时长、画面比例和 payload 行为,再把 Grok 视频生成接入应用、创意工具或内容生产管线。

模型类型:
价格

最低成本从 $0.01/s

当前模型
Grok Imagine Text to Video

480p: 2 积分/秒 - 文生视频 - 输出秒数 × 2

720p: 3 积分/秒 - 文生视频 - 输出秒数 × 3

480p: 10 积分/秒 - 文生视频 - 输出秒数 × 10

720p: 14 积分/秒 - 文生视频 - 输出秒数 × 14

美元估算按最佳年付套餐 $0.005/积分 计算。最终计费跟随所选 Grok 视频模式和输出设置。

提交后生成记录会显示在这里
API 输入

核心请求字段

用可预测 payload 管理提示词、图片 URL、源任务 ID、画面比例和回调设置。

请求 JSON
{
  "model": "grok-imagine/text-to-video",
  "input": {
    "prompt": "A couple of doors open to the right one by one randomly and stay open, to show the inside, each is either a living room, or a kitchen, or a bedroom or an office, with little people living inside.",
    "aspect_ratio": "2:3",
    "mode": "normal",
    "duration": "6",
    "resolution": "480p"
  }
}

使用 Grok Imagine Text to Video 生成

本页的 Playground、请求示例、请求字段和价格都会跟随当前选择的模型类型变化。

查看 API 详细文档

打开完整 API 文档,查看接口、鉴权、任务轮询和 payload 细节。 /models/grok-imagine.md

promptstringText prompt describing the desired video motion. Required field.
aspect_ratioenumSpecifies the width-to-height ratio of the generated video. Controls the aspect ratio of the output. (2:3, 3:2, 1:1, 16:9, 9:16)
modeenumSpecifies the generation mode affecting the style and intensity of motion. (fun, normal, spicy)
durationnumberThe duration of the generated video (in seconds) (6-30). (Minimum: 6, Maximum: 30, Step: 1)
resolutionenumThe resolution of the generated video. (480p, 720p, 1080p)
nsfw_checkerbooleanDefaults to false. You can set it to false based on your needs. If set to false, our content filtering will be disabled, and all results will be returned directly by the model itself.
能力

Grok Video API 为视频工作流带来的能力

页面按 API 优先的结构组织:先测试模型,再理解字段,最后进入集成。

文生视频生成

把详细提示词转成短视频概念,适合社媒内容、广告、产品瞬间和快速创意探索。

图生视频运动

基于源图片生成动态视频,同时保留团队已经确认的主体、构图和视觉方向。

放大和延长

对成功的 Grok 短片进行视频放大,或通过延长任务继续已有生成结果。

API 就绪 payload

在一条集成路径中处理模型 ID、提示词、图片 URL、任务 ID、画面比例、回调和任务轮询。

快速开始

从 Grok 视频测试到生产请求

适合团队先验证输出质量,再把 Grok 视频生成接入自己的应用。

1. 选择模式

提示词直出选择文生视频;需要源图动起来选择图生视频;已有结果再进入放大或延长模式。

2. 提交生成

使用账户密钥、模型 ID、提示词、可选图片 URL 或源任务 ID,以及回调地址调用 API。

3. 轮询并复用

跟踪任务直到成功,然后把输出 URL 用于产品、营销工作流或下一轮视频任务。

使用场景

你可以用 Grok Video API 创作什么

当产品需要可重复的 Grok 视频输出,而不是一次性手动生成时,可以直接接入 API。

TikTok、Reels、Shorts 的提示词短视频
商品静图动效和活动视觉
快速分镜和概念视频探索
广告、缩略图和落地页视频变体
成功生成短片的高清放大版本
面向迭代创意管线的视频延长
社区案例

社区公开的 Grok 视频成功案例

查看数据库中公开且已成功生成的 Grok 视频作品,打开案例可继续查看提示词、参数和生成结果。

查看更多
videoGrok Imagine Image to Video

Grok Imagine Image to Video

البنت 25 المصريه تدخن سيجاره مارلبورو قصيره جدا المشهد ثابته لا تتغير

2026年8月17日查看详情
videoGrok Imagine Image to Video

Grok Imagine Image to Video

البنت المصريه تدخن سيجاره قصيره جدا المشهد ثابته لا تتغير

2026年8月17日查看详情
videoGrok Imagine Image to Video

Grok Imagine Image to Video

البنت 20 المصريه على اليسار تدخن سيجاره قصيره جدا

2026年8月17日查看详情
videoGrok Imagine Image to Video

Grok Imagine Image to Video

Subject's tidying his hair, then moving a little going on right to take a bowl of a noodle with a fork on it, then using a fork to blowing and eat it with soo many big mouthful to quench hungry until a very wet mouth moving smoothly, micro-movements only, framing and background locked,

2026年8月17日查看详情
videoGrok Imagine Image to Video

Grok Imagine Image to Video

Use the provided image as the exact visual reference. Keep the green-clad woman in the foreground, seated naturally on her camel. Do not change the positions of the other women, army, camels, flags, mountains, or scenery. She loudly **shouts these Arabic verses across the surrounding army**, like a powerful warrior-poet addressing thousands of warriors. Fierce, commanding, proud, and emotionally intense: "إِنْ تُقْبِلُوا نُعَانِقْ! وَنَفْرُشِ النَّمَارِقْ! أَوْ تُدْبِرُوا نُفَارِقْ! فِرَاقَ غَيْرِ وَامِقْ!" Her mouth and lower face remain completely covered. The veil **subtly moves and deforms naturally with her jaw and mouth movements underneath**, but never reveals her lips. Add **strong but graceful hand gestures** while she speaks: she occasionally raises one hand toward the surrounding army, opens her palm outward while delivering a line, then brings it back naturally. On the final lines, she makes a firm, commanding gesture toward the distant army.

2026年8月17日查看详情
videoGrok Imagine Image to Video

Grok Imagine Image to Video

Use the provided image as the exact visual reference. Keep the green-clad woman in the foreground, seated naturally on her camel. Do not change the positions of the other women, army, camels, flags, mountains, or scenery. She suddenly **shouts these Arabic verses loudly across the surrounding army**, projecting her voice like a powerful warrior-poet addressing thousands of warriors. She is fierce, commanding, proud, and emotionally intense — NOT quietly reciting. "إِنْ تُقْبِلُوا نُعَانِقْ! وَنَفْرُشِ النَّمَارِقْ! أَوْ تُدْبِرُوا نُفَارِقْ! فِرَاقَ غَيْرِ وَامِقْ!" Strong pauses between lines. The final two lines become especially forceful and threatening. Her eyes show fierce determination. Natural mouth movement and subtle head movement. The camera slowly pushes toward her while slightly orbiting. The army subtly reacts by looking toward her. Photorealistic historical cinematic realism, dramatic desert atmosphere, realistic camel and fabric movement. No music.

2026年8月17日查看详情
生产说明

面向真实 Grok 视频 API 工作流构建

账户级执行

用户登录后提交任务,并通过现有 SdanceAI 生成流程消耗积分。

参考和任务输入

图生视频接收源图片 URL;放大和延长工作流可以基于已完成的视频任务 ID 继续处理。

按模式迭代

先用文生视频或图生视频探索方向,再把满意结果送入放大或延长工作流。

常见问题

Grok Video API 常见问题

Grok Video API 最适合什么场景?

它适合可重复的短视频生成,包括提示词短片、源图动画、视频变体、高清放大和创意序列延长。

当前支持哪些 Grok 视频模式?

本页当前提供 Grok Imagine Text to Video、Grok Imagine Image to Video、Grok Imagine Video Upscale 和 Grok Imagine Video Extend。

Text to Video 和 Image to Video 有什么区别?

Text to Video 只从提示词开始生成。Image to Video 会结合一张或多张源图片和提示词,更适合需要主体或构图连续性的场景。

什么时候使用放大或延长?

已有成功 Grok 视频并希望获得更高质量版本时使用放大;想把已完成生成继续成更长片段时使用延长。

接入前在哪里测试?

可以直接使用本页 Playground 测试提示词、图片 URL、源任务 ID、比例、回调和 API payload。

API 支持回调吗?

支持。请求 schema 在对应模式下包含回调设置,你的服务可以接收任务完成通知。

Grok Video API 可以用于商业工作流吗?

本页面面向生产视频工作流配置。商业使用前,请确认账户套餐、积分余额、模型可用性以及适用的内容政策要求。

可以让现有商品图动起来吗?

可以。使用图生视频模式,传入源图片 URL,并在提示词中描述运动、镜头和最终视觉方向。

如何控制成本?

先用提示词或图生视频快速测试,把放大和延长留给已经接近目标效果的短片。

可以查看实际 API 字段吗?

可以。在本页选择一个 Grok 视频模式后,请求 JSON、字段列表和价格面板都会跟随更新。

开始接入

把 Grok 视频接入你的生产工作流

先打开生成器测试 Grok 视频提示词或源图片,确认效果后再通过 API 文档接入到生产流程。

API 就绪
工作流
4 种
视频模式
任务 ID
后续处理