chat.create now accepts a safety_identifier and guidelines parameter, and the SDK permits protobuf 7. Remaining changes are changelog and release preparation.
xai-sdk-python
npx @buildinternet/releases get xai-sdk-pythonVideo generation now accepts a last frame and keyframes. The rest of the release is changelog and release-workflow housekeeping.
The SDK now supports reference audio for video generation, a generate_audio option, and 1080p resolution. Also added a quality parameter for image generation, an image_generation server-side tool, and automatic tool_call_id assignment when replaying tool outputs via chat.append(response).
Accept xhigh reasoning_effort and add grok-4.6 to ChatModel.
Added service tier support for priority processing.
Imagine file storage is now available, and image and video generation endpoints accept file-ID inputs. The files client now supports public file URLs and list filtering.
What's Changed Add grok-build-0.1 to ChatModel by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/155 Add context compaction support by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/156 Bump version from 1.14.0 to 1.15.0 by @shawnthapa in…
What's Changed Add enable_image_search to web_search and SERVER_SIDE_TOOL_IMAGE_SEARCH enum by @ushiromiya-lion in https://github.com/xai-org/xai-sdk-python/pull/152 Bump version to 1.14.0 by @ushiromiya-lion in https://github.com/xai-org/xai-sdk-python/pull/153
What's Changed feat: add prepare_extension() for batch video extension by @double-di in https://github.com/xai-org/xai-sdk-python/pull/141 Full Changelog: https://github.com/xai-org/xai-sdk-python/compare/v1.12.2...v1.13.0
What's Changed Add none and medium reasoning effort levels by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/139 Bump version from 1.12.1 to 1.12.2 by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/140
What's Changed Update the CHANGELOG with missing entries by @Omar-V2 in https://github.com/xai-org/xai-sdk-python/pull/135 Add grok-4.3 to ChatModel by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/137 Bump version from 1.12.0 to 1.12.1 by @shawnthapa in…
What's Changed docs: add video generation and extension documentation to README by @double-di in https://github.com/xai-org/xai-sdk-python/pull/127 Add collection descriptions, field definition updates, and bytes chunking by @Omar-V2 in…
What's Changed Support inline file attachments by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/122 Add url support for FileContent by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/123 Bump version from 1.10.0 to 1.11.0 by @shawnthapa in…
What's Changed Add video extension API and reference_image_urls support by @Omar-V2 in https://github.com/xai-org/xai-sdk-python/pull/120 Prepare to release v1.10.0 of the xAI Python SDK by @Omar-V2 in https://github.com/xai-org/xai-sdk-python/pull/121
What's Changed Update grok-4.20 and multi-agent model variants in ChatModel by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/117 Bump version from 1.9.0 to 1.9.1 by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/118
What's Changed feat: add image/video batch support and input_file_id by @double-di in https://github.com/xai-org/xai-sdk-python/pull/112 Fix unknown status handling in polling loops by @Omar-V2 in https://github.com/xai-org/xai-sdk-python/pull/113 Use model type aliases in…
What's Changed Handle video generation failure case by @Omar-V2 in https://github.com/xai-org/xai-sdk-python/pull/110 Prepare to release v1.8.2 of the xAI Python SDK by @Omar-V2 in https://github.com/xai-org/xai-sdk-python/pull/111
What's Changed Update grok-4.20 beta and multi-agent model variants in ChatModel by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/107 Bump version from 1.8.0 to 1.8.1 by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/109
What's Changed Add grok-imagine-image-pro to ImageGenerationModel by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/103 Add agent_count parameter to chat API for multi-agent models by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/104 Add grok-4.20…
What's Changed Deprecate BaseImageResponse.prompt after up_sampled_prompt proto removal by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/96 Add 2K image resolution support by @shawnthapa in https://github.com/xai-org/xai-sdk-python/pull/97 Reduce default…

