Light Dark

hot.dev/xai — xAI (Grok) API bindings for Hot. Includes Responses (Chat), Models, Collections (RAG), Images, Live Search (Web/X), and Video APIs.

Version: 1.0.4

Author: Hot Dev

License: Apache-2.0

Add to your project

"hot.dev/xai": "1.0.4"

Add this to your deps in hot.hot

Namespaces

::xai

NamespaceFunctionsTypesDescription
::api21Make an authenticated HTTP request to the xAI API.
::collections1211Make an HTTP request with Management API Key.
::images66Generate images from a text prompt.
::models22List available models from the xAI API.
::responses1118Create a response (non-streaming).
::search53Create a web search tool configuration for the Responses API.