xAI Docs release notes – June 10, 2026
Text-to-Speech
- Added full documentation for the new
with_timestampsparameter on the TTS endpoint. - New “Character-level timestamps” section covers requesting timestamps, response shape (JSON envelope with base64 audio +
audio_timestamps), and handling of special characters. - Updated streaming and non-streaming examples across Python, JavaScript, Swift, and curl to show timestamp usage.
Voice Agent & Realtime API
- Added “Session Resumption” section explaining how to persist conversation history across WebSocket reconnects using
resumption.enabledandconversation_id. - Documented new
turn_detection.idle_timeout_msparameter and theinput_audio_buffer.timeout_triggeredserver event. - Updated request/response schemas and code examples for both features.
REST API Reference
- Added
prompt_cache_keyparameter to the Chat Completions reference. - Removed outdated
service_tierfields from the Images and Videos references (cleanup only).
No pages were added or removed.