GET
/v1/schemas/fal/video/xai/grok-imagine-video/v1.5/image-to-video
Accept:
| field | recorded source |
|---|---|
| schema | Source linked above. upstream-spec Source trace3103963e3121ba5fe8f2a551211b68587de31f588ebc526a22d414701f8e8b35{
"fetchedAt": 1795410001,
"extractorVersion": "2",
"verifiedAt": null
} |
Request body
8 properties · 2 required · 1 $defs| property | type | description | constraints |
|---|---|---|---|
| prompt* | string | Text description of desired changes or motion in the video. | length ≤ 4096 |
| image_url* | string | URL of the input image for video generation. | |
| generate_audio | boolean | Whether to generate audio. When unset, xAI's default applies (audio included). | nullable |
| enable_safety_checker | boolean | Authorized callers may set false to request relaxed screening. | default: true |
| end_image_url | string | URL of an image to pin as the exact last frame. Supported on Grok Imagine Video 1.5 (not Lite). Billed as an additional input image. | nullable |
| resolution | enum | Resolution of the output video. | 480p | 720p | 1080p · default: "720p" |
| duration | integer | Video duration in seconds. | 1 ≤ n ≤ 15 · default: 6 |
| keyframes | XAIVideoKeyframe[] | Up to 4 images pinned at exact times strictly inside the clip. Supported on Grok Imagine Video 1.5 (not Lite). Each is billed as an additional input image. | items ≤ 4 · nullable |
Types
1 $defsXAIVideoKeyframeobject
| timestamp* | number | Time in seconds at which the image is pinned. Must be strictly between 0 and the video duration. | n > 0 |
| image_url* | string | URL of the image to pin at `timestamp`. |
Validate a payload
before you spend tokensshell
$ curl -X POST https://modelschemas.com/v1/validate \
-d '{"provider":"fal","endpointId":"xai/grok-imagine-video/v1.5/image-to-video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}