xAI Docs Release Notes – June 22, 2026
Function Calling (Developers)
- Added guidance and a JSON example showing how to use
oneOf/anyOfat the root of a tool’sparametersschema when every branch is an object. - Updated the validation warning to clarify that only object roots or unions of objects are accepted.
Pricing & Models Pages
- Removed duplicate rows from the token-based and Imagine pricing tables.
- Moved the Imagine API pricing anchor from
/developers/models#imagine-pricingto/developers/pricing#imagine-api-pricing(link updated on the Imagine capabilities page).
Imagine Capabilities
- Added a note that Reference-to-Video requires
grok-imagine-video(not supported ongrok-imagine-video-1.5). - Removed the deprecation notice for
grok-imagine-image-profrom the Image Generation page.