xAI shipped Python SDK v1.20.0 on 2026-09-24 (PyPI xai-sdk). For grok-imagine-video-1.5 it adds last_frame_url/last_frame_file_id to pin the exact closing frame (optionally interpolating from a pinned first frame) and a keyframes list to pin up to four in-clip reference images at second timestamps strictly inside the duration. Docs list video at about $0.08/sec with 480p/720p/1080p. Aimed at Imagine pipelines that need controllable start/end framing or storyboard alignment.
Key Takeaways
- ✓Shipped: v1.20.0 — pip install -U xai-sdk
- ✓last_frame_url/file_id pins the exact end frame; combine with image_* to interpolate first→last on grok-imagine-video-1.5
- ✓keyframes: up to 4 {image_url|image_file_id, timestamp} entries with in-clip second timestamps
- ✓Docs list ~$0.08/sec video with 480p/720p/1080p
- ✓See CHANGELOG and docs.x.ai Imagine / video guides
Discussion & Comments
0Sign in to join the discussion
Connect with AI developers to exchange benchmark insights.