Grok Video Overview
Grok video documents have been collated into the Grok Video directory under the video series. This page is kept as a compatible entry to facilitate continued access from the old link.
Recommended reading
Quick Example
Grok video using the unified asynchronous video portal:
bash
curl https://moonnexai.com/v1/videos \
-H "Authorization: Bearer <MOONNEXAI_API_KEY>" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-video-1.5",
"prompt": "一只红色狐狸走过清晨雪林,电影感,轻微手持镜头。",
"input_reference": "https://example.com/first-frame.jpg",
"seconds": "15",
"aspect_ratio": "16:9",
"size": "720P"
}'Query task:
bash
curl https://moonnexai.com/v1/videos/task_xxx \
-H "Authorization: Bearer <MOONNEXAI_API_KEY>"grok-video-1.5, grok-imagine-video-1.5-preview and grok-image-video. The first two models support up to 5 reference images with single reference images, grok-image-video; the specific field and duration limitations should be submitted by following the Grok Video page description.
Grok Imagine 1.5 Preview Example:
json
{
"model": "grok-imagine-video-1.5-preview",
"prompt": "保留参考图主体,加入轻微镜头推进和自然动作,不添加文字或水印。",
"input_reference": "https://example.com/source.jpg",
"seconds": "15",
"aspect_ratio": "16:9",
"size": "720P"
}Please refer to task status and actual piece of media after submission; the official result may keep the original reference images painting.