grok-imagine-video API

Call grok-imagine-video on 88API with one token: submit a task to the unified /v1/videos API and poll for the result, billed per second or by usage, with several price groups.

Pay as you go Several price groups Free trial credit on sign-up
grok-imagine-video ¥
  • Lowest price
    Lowest-price group: 视频模型1 groups available
See all group prices

About the model

Grok Imagine Video 支持纯文生视频或最多 1 张首帧图生视频,提供 480P/720P、1–15 秒(默认 8 秒)和 16:9、9:16、1:1、4:3、3:4、3:2、2:3 七种比例,生成结果默认带音轨。

Family
Grok Imagine
Vendor
xAI
Endpoint
POST /v1/videos · GET /v1/videos/{id}

grok-imagine-video prices by group

Group price = list price × group ratio. Group names and descriptions are shown exactly as in the console; you can choose a group when creating a token.

Prices in CNY (¥); live prices are shown in the Model Square.

grok-imagine-video prices by group
Group Discount Price Description
视频模型—¥0.1 / second24小时稳定可用

Request example

Submit a task, keep the returned id and poll for the result. See the API docs for supported durations, ratios and resolutions.

1. Submit a task
curl https://api.88api.ai/v1/videos \
  -H "Authorization: Bearer sk-your-token" \
  -H "Content-Type: application/json" \
  -d '{"model": "grok-imagine-video", "prompt": "A silver sports car in a rainy city at night, low-angle tracking shot, neon reflections, cinematic", "duration": 6, "aspect_ratio": "9:16", "resolution": "720p"}'
2. Poll for the result
curl https://api.88api.ai/v1/videos/{id} \
  -H "Authorization: Bearer sk-your-token"

Sign up and call grok-imagine-video

Trial credit is added automatically when you sign up. Create a token and call the model as in the example above.