Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
通过 /v1/videos 调用 xAI Grok Imagine Video。
POST
/v1/videos
GET
/v1/videos/{task_id}
https://api.omniall.ai
Authorization: Bearer sk-...
grok-imagine-video-1.5-preview
grok-imagine-video
prompt
seconds
aspect_ratio
resolution
image
reference_images
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": "雨夜霓虹小巷倒影", "seconds": "6", "aspect_ratio": "16:9", "resolution": "720P" }'