All models
Grok Imagine Video 1.5 Preview
xai/grok-imagine-video-1.5-preview
xAI Video GenerationImage-to-VideoMultimodal
xAI's next-generation video generation model. Generates, edits, and extends videos from text and image inputs. Supports multiple aspect ratios and resolutions with improved quality over the previous generation.
Quick start
# Inspect the price — a plain request returns the 402 challenge:
curl -i https://api.glianalabs.com/v1/infer \
-H "content-type: application/json" \
-d '{
"model": "xai/grok-imagine-video-1.5-preview",
"image": <object>,
"prompt": <string>,
"video": <object>
}'
# Pay + run in one step with the mppx CLI (create a wallet: npx mppx account create):
npx mppx https://api.glianalabs.com/v1/infer \
-J '{"model": "xai/grok-imagine-video-1.5-preview", "image": "<object>", "prompt": "<string>", "video": "<object>"}'Examples

Parameters
Input
_operation string
aspect_ratio string
duration integer
image object
output object
prompt string
reference_images array
resolution string
size string
user string
video object
Output
video: string