Grok

grok-imagine

视频 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)
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

Real life scene, bank Holiday monday, new build living room on sofa, randy dominant 70-year-old Salford bloke next door dad wearing a crisp diffferent cotton business shirt with a sheen large stiff pinched collar, top buttons undone, tucked tightly in

Real life scene, bank Holiday monday, new build living room on sofa, randy dominant 70-year-old Salford bloke next door dad wearing a crisp diffferent cotton business shirt with a sheen large stiff pinched collar, top buttons undone, tucked tightly into dark smart trousers with a black belt., he is otk disciplining a 40 year old, 5 foot, thug scally bloke, who is wearing simlar, filthy talking, swearing

2026年7月12日查看详情
videoGrok Imagine

Use the uploaded image as the only reference. Create an 8-second vertical (9:16) ultra-realistic cinematic fashion video. The woman must remain exactly the same person as in the reference image. Preserve her facial features, skin tone, hairstyle, body p

Use the uploaded image as the only reference. Create an 8-second vertical (9:16) ultra-realistic cinematic fashion video. The woman must remain exactly the same person as in the reference image. Preserve her facial features, skin tone, hairstyle, body proportions, natural expression, and overall appearance consistently throughout the entire video. The dress must remain exactly the same dress shown in the reference image. Do not redesign, restyle, or modify it in any way. Preserve the exact yellow color, the same cotton fabric texture, embroidery, covered buttons, stitching, round neckline, sleeves, waist seam, silhouette, length, wrinkles, folds, and every visible detail exactly as in the original image. The back of the dress is extremely important. Keep it exactly the same as the reference image. It has a simple, clean back with only the waist seam. There must be NO belt, NO sash, NO ribbon, NO bow, NO back tie, NO pleats, NO gathers, NO decorative elements, NO extra seams, and NO redesign of the back. The woman begins sitting naturally on the sofa in the seaside lounge. She smiles gently, stands up naturally, then slowly walks through the elegant Mediterranean seaside corridor beside the ocean. The corridor has white walls, blue wooden railings, Mediterranean flowers, green vines, and beautiful coastal plants. The sea remains visible beside her during the walk. Her walking is slow, elegant, and completely natural. She has realistic posture, subtle arm movement, natural breathing, and soft hair movement from the sea breeze. The dress moves only with realistic fabric physics while keeping its exact original shape and design. The camera starts with a medium shot, then smoothly follows behind her with a stabilized cinematic tracking shot, clearly showing the original back of the dress while she walks. At the end of the corridor, she gently stops, turns her head toward the sea, and smiles softly while looking at the horizon. Bright Mediterranean afternoon sunlight, realistic shadows, natural ocean reflections, crystal-blue water, gentle waves, subtle movement of flowers and leaves in the breeze. Professional luxury fashion commercial, photorealistic, 4K HDR, full-frame cinema camera, natural skin texture, sharp details, stable camera movement, no AI look. Negative Prompt: No dress redesign, no color change, no fabric change, no belt, no sash, no ribbon, no bow, no pleats, no gathers, no extra seams, no accessories, no body reshaping, no face changes, no identity drift, no clothing deformation, no flickering, no warped hands, no distorted anatomy, no AI artifacts.

2026年7月12日查看详情
videoGrok Imagine

1950s Ad card and board dice game for family named "crack me"

1950s Ad card and board dice game for family named "crack me"

2026年7月12日查看详情
videoGrok Imagine

No zoom, no music, static camera. She doesnt change her pose but arch her back and relies on the block from the back. She imitate medieval torture like sit and stand impaling on black rubber stake

No zoom, no music, static camera. She doesnt change her pose but arch her back and relies on the block from the back. She imitate medieval torture like sit and stand impaling on black rubber stake

2026年7月12日查看详情
videoGrok Imagine

No music, no zoom, static camera, keep their poses. used by him with an animal passion and frenzy pace in supernatural tempo from the very start of the video

No music, no zoom, static camera, keep their poses. used by him with an animal passion and frenzy pace in supernatural tempo from the very start of the video

2026年7月12日查看详情
videoGrok Imagine

No music, no zoom, static camera, keep their pose. hardly used by him with an animal passion and frenzy in supernatural tempo from the very start of the video

No music, no zoom, static camera, keep their pose. hardly used by him with an animal passion and frenzy in supernatural tempo from the very start of the video

2026年7月12日查看详情
生产说明

面向真实 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
后续处理