xAI Docs release notes (2026-06-24)
Developers – Tools
- Function calling: Updated the AI SDK JavaScript example to import
stepCountIsand demonstrate thestopWhenoption for limiting tool-use steps.
Developers – Model capabilities
- Video generation: Added
1080presolution to the supported options table, along with a note that1080pis available only ongrok-imagine-video-1.5for image-to-video generation. - Text reasoning: Updated the Python streaming example to handle both
response.reasoning_text.deltaandresponse.reasoning_summary_text.deltaevents.