releases.shpreview
xAI/Release Notes/Batch API supports Image and Video generation

Batch API supports Image and Video generation

The Batch API now supports image generation, image editing, and video generation in addition to chat completions. Both server-side tools and client-side function tools are also now supported in batch requests. Image and video URLs in batch results expire after 1 hour.

Fetched May 26, 2026