Grok video API
Host:
https://api.omniall.ai · Auth Authorization: Bearer sk-....
Common models (see Model Square):
grok-imagine-video-1.5-previewgrok-imagine-video
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Call xAI Grok Imagine Video via /v1/videos.
| Action | Method | Path |
|---|---|---|
| Create | POST | /v1/videos |
| Get result | GET | /v1/videos/{task_id} |
https://api.omniall.ai · Auth Authorization: Bearer sk-....
Common models (see Model Square):
grok-imagine-video-1.5-previewgrok-imagine-video| Scenario | Key fields |
|---|---|
| Text-to-video | prompt + seconds + aspect_ratio + resolution |
| Single image-to-video | add image (URL or Data URI) |
| Multi-image reference | add reference_images (do not combine with image) |
curl -X POST "https://api.omniall.ai/v1/videos" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "grok-imagine-video",
"prompt": "Neon alley at night, rain reflections",
"seconds": "6",
"aspect_ratio": "16:9",
"resolution": "720P"
}'