Video generation API · xAI

Grok Imagine Video Lite API

Call Grok Imagine Video Lite by xAI from your own code with one GluonArt API key. OpenAI-compatible requests, from 180 credits per clip, paid from a credit balance with no subscription.

Grok Imagine Video Lite API example

Copy, set GLUONART_API_KEY, run.

Start, poll and download · curl
curl https://api.gluonart.com/v1/videos \
  -H "Authorization: Bearer $GLUONART_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "grok-imagine-video-1-5-lite",
    "prompt": "Waves rolling onto a black sand beach at sunset",
    "seconds": 6,
    "size": "1280x720"
  }'

# Poll until "status" is "completed" (polling is free)
curl https://api.gluonart.com/v1/videos/VIDEO_ID -H "Authorization: Bearer $GLUONART_API_KEY"

# Download the MP4
curl -o video.mp4 https://api.gluonart.com/v1/videos/VIDEO_ID/content -H "Authorization: Bearer $GLUONART_API_KEY"

Parameters and price

Live values from the GluonArt catalogue. 1,000 credits = $1.

Model id
grok-imagine-video-1-5-lite
Price
180 credits ($0.18) for 6s at 480p, up to 600 credits for 15s at 720p
Endpoint
POST /v1/videos, then poll GET /v1/videos/{id}
seconds
6, 8, 10, 12, 15
size
848x480, 1280x720
audio
Always on
Start frame (image)
Optional

Questions

How much does the Grok Imagine Video Lite API cost?

180 credits ($0.18) for 6s at 480p, up to 600 credits for 15s at 720p. You pay from a prepaid credit balance (1,000 credits = $1), with no subscription and no monthly minimum. Credits never expire.

Can I use the OpenAI SDK with Grok Imagine Video Lite?

Yes. Set the base URL to https://api.gluonart.com/v1, use your GluonArt API key, and pass "grok-imagine-video-1-5-lite" as the model. Videos use the same start, poll and download flow as OpenAI's videos API.

Do I need a separate account with xAI?

No. One GluonArt API key and one credit balance cover Grok Imagine Video Lite and every other image and video model on the API.

What happens if a video fails?

The price is charged when the video starts and refunded automatically if it fails. The status turns to failed and the error says why.

Other video model APIs

All models and prices: GluonArt API for developers.

Start building with Grok Imagine Video Lite

Create a key in your dashboard and start calling the API. You pay only for what you generate.

Get an API key